00:00:15 | | Quit pamaury (Ping timeout: 240 seconds) |
00:00:17 | [Saint] | I'm fairly confident however that most things that can draw using x,y coordinates can have both positive and negative values though. |
00:01:07 | gevaerts | Well, maybe, but I can't find code that does that in any of the lcd stuff in firmware/ |
00:04:09 | | Quit devsnd (Quit: Leaving) |
00:04:23 | gevaerts | ah, found it! |
00:05:23 | gevaerts | [Saint]: as far as I can see, the negative number handling is in apps/gui/skin_engine/skin_parser.c, lines 2139..2185, in the viewport parsing code |
00:05:38 | gevaerts | So I'm 99% certain it's only for themes, and only for viewports |
00:06:12 | gevaerts | Convincing me otherwise will require working examples or specific line numbers in the source :) |
00:06:44 | [Saint] | Hmmmm, fair. I'll concede. |
00:07:54 | gevaerts | Anyway, I'm based on what I assume __builtin is working on, I'm fairly sure this is entirely academical anyway :) |
00:10:11 | [Saint] | Indeed. |
00:17:04 | | Join tuaim [0] (~tuaim@unaffiliated/gartral) |
00:17:11 | tuaim | hi all |
00:21:35 | | Join toli [0] (~toli@ip-62-235-243-203.dsl.scarlet.be) |
00:28:10 | [Saint] | Hmmmm, I would rather like to piss around with USb audio on the Classic 6G but this requires some work on top of the Designware driver. |
00:29:18 | [Saint] | Hello tuaim. |
00:29:30 | [Saint] | Are you looking to lurk, converse, or seeking specific support? |
00:30:12 | [Saint] | Judging by the *-community traffic I'm guessing the former two as opposed to the latter one. |
00:30:32 | [Saint] | Anyhoo - welcome. |
00:32:25 | | Quit ender` (Quit: Never in the history of opinions have I been wrong, except for that one time when I thought I was wrong. — Glen Cook: Wicked Bronze Ambition) |
00:47:22 | [Saint] | A /little/ off-topic, but does anyone have any specific recommendations for a segmented or LCD/OLED display in a Raspberry Pi Zero form factor Pi HAT? |
00:50:42 | [Saint] | I have mated a Raspberry Pi Zero, an RTC daughterboard, a HiFiBerry DAC+ Zero, and an 800mAh LiPo together. |
00:50:42 | [Saint] | I'm using a JEOS based on Debian/busybox and Warble/librockbox. |
00:51:12 | [Saint] | I have a basic DPAD I have constructed from dome mombrane compression switches. |
00:51:47 | [Saint] | I'm waiting on settling on a display before I commit to designing a case for it all. |
00:52:48 | [Saint] | The whole thing so far, has cost me less than $50 USD including shipping. |
00:53:37 | [Saint] | I kinda want to provide a hardware recipe and a software image as in 'in your face!" type answer to an open DAP. |
00:53:43 | [Saint] | *as an |
00:54:06 | | Quit PurlingNayuki (Remote host closed the connection) |
00:55:57 | [Saint] | One could also build this out of a Raspberry Pi 1/2/3 Model A/B/B+ and the HifiBerry DAC+ or HifiBerry Digi+ |
00:56:03 | *** | Saving seen data "./dancer.seen" |
00:56:22 | | Join PurlingNayuki [0] (~Thunderbi@2001:da8:215:4ff:e8d7:8e7f:96bb:fa38) |
00:56:41 | [Saint] | This would allow more room for physical controls, a much larger battery, and a nicer display. |
00:57:44 | [Saint] | If I did it that way I would still consider the JEOS approach but I would drop Warble in favor of our SDL app and use a nicer LCD/OLED display. |
00:59:26 | [Saint] | With a Pi 3 things get a little bit more exciting by having onboard WiFi and BT/BTLE radios. |
01:00 |
01:00:01 | [Saint] | But it is hardly a pocketable form factor - but honestly it is a pretty silly form factor even with the Pi Zero. |
01:00:20 | [Saint] | ...still smaller than a Gigabeat or Archos, though. :P |
01:02:11 | | Quit ZincAlloy (Quit: Leaving.) |
01:03:20 | [Saint] | Once I have a solid hardware package for A/B and Zero form factors I would like to look at selling kits to build Pi-based Rockbox JOES DAPs. |
01:04:16 | [Saint] | One issue I'm facing at the moment is very difficult to overcome elegantly due to the fact that Rockbox must be compiled assuming a fixed resolution. So I am handling it in a fairly inelegant way. |
01:06:28 | [Saint] | Presently I am providing two Rockbox SDL application instances, and deciding which one to launch based on detecting an HDMI connection. But this is something I might end up dropping altogether. |
01:08:24 | [Saint] | Unfortunately this doesn't work for the case of composite out, because you can't detect whether or not there is a display connected to either the coaxial or 3.5mm combined composite ports. |
01:11:11 | [Saint] | Another downside I haven't overcome yet is that I don't have any system deployed to charge the battery from a USB connection so it must be disconnected and charged. |
01:13:05 | [Saint] | This isn't too much of an issue with the Pi Zero and HifiBerry DAC+ Zero solution as the 800mAh battery with a debian-base/busybox JEOS and librockbox gets about 60~70 hours of lossy playback. |
01:30:13 | | Join Bilgus [0] (ae6611d9@gateway/web/freenode/ip.174.102.17.217) |
01:43:33 | | Quit toli (Ping timeout: 256 seconds) |
01:48:55 | | Join PurlingNayuki1 [0] (~Thunderbi@2001:da8:215:4ff:a848:c15a:ce93:cfcc) |
01:49:37 | | Quit PurlingNayuki (Ping timeout: 245 seconds) |
01:49:37 | | Nick PurlingNayuki1 is now known as PurlingNayuki (~Thunderbi@2001:da8:215:4ff:a848:c15a:ce93:cfcc) |
01:51:41 | | Join toli [0] (~toli@ip-62-235-239-67.dsl.scarlet.be) |
02:00 |
02:07:05 | Bilgus | TorC I have gone back to the previous method but worked around the delay issues (i think) if you're available to torture test I have one compiled |
02:11:14 | Bilgus | ClipZip http://www.mediafire.com/file/aka83gc2ijp2umc/CLIPZIP_SELBL-SL__REL_11-21-rockbox-full.zip |
02:14:43 | Bilgus | Clip+ http://www.mediafire.com/file/noei1yvqziks1is/CLIPPLUS_SELBL-SL__REL_11-21-rockbox-full.zip |
02:21:34 | Bilgus | Ouch do't use Filter First Keypress with either of those |
02:21:41 | Bilgus | don't* |
02:24:43 | | Quit krnlyng (Ping timeout: 260 seconds) |
02:30:16 | Bilgus | ok ClipZip http://www.mediafire.com/file/spi66r6cxhx7aap/CLIPZIP_SELBL-SL__REL_11-21-2-rockbox-full.zip Clip+ http://www.mediafire.com/file/upj8fzp9ac6jp25/CLIPPLUS_SELBL-SL__REL_11-21-2-rockbox-full.zip |
02:35:07 | | Quit toli (Ping timeout: 256 seconds) |
02:35:41 | __builtin | [Saint]: so... if I call set_viewport from inside a viewport it gives me another viewport inside that viewport? |
02:37:43 | | Join krnlyng [0] (~liar@178.112.139.211.wireless.dyn.drei.com) |
02:38:03 | [Saint] | Yes. But I would be willing to guess you're not thinking about it in the terms it applies to. |
02:38:24 | [Saint] | Technically speaking any viewport set is a child viewport of the main fullscreen viewport. |
02:38:56 | __builtin | so would that mean to switch viewports I first need to "escape" to the default viewport? |
02:39:24 | [Saint] | How do you mean 'switch viewports'? |
02:39:42 | __builtin | lcd_set_viewport |
02:40:36 | [Saint] | I'm not positive of how conditional draw is handled outside of the theme engine. |
02:47:17 | __builtin | alright, I feel like I'm misunderstanding viewports completely |
02:47:54 | __builtin | if I have this: lcd_set_viewport({x = 10, y = 10, w = 10, h = 10}), and then draw a pixel at (0, 0), will it be offset to (10, 10)? |
02:54:50 | [Saint] | Yes. |
02:56:07 | __builtin | alright then something's up |
02:56:08 | *** | Saving seen data "./dancer.seen" |
02:59:13 | __builtin | http://pastebin.com/Y42VqxVn <<< should this clip things properly? |
03:00 |
03:03:51 | __builtin | WOW, I figured it out |
03:04:00 | __builtin | I was using drawrect() instead of fillrect() |
03:10:57 | __builtin | well that makes most of the games playable now |
03:24:40 | [Saint] | I thought of a way to handle the naming scheme of the development and release builds. |
03:25:04 | [Saint] | I think we should consider renaming the dev builds to 'release' builds, and keeping the release and renaming it as 'legacy'. |
03:25:55 | __builtin | or we could just do releases more often ;) |
03:25:56 | [Saint] | Might help to clear up some confusion, as the only reason to use the release at this point is if you have one of the ancient old targets where we need to give a shit about binsize. |
03:26:19 | [Saint] | __builtin: it's really hard to orchestrate that with the manpower available. |
03:27:50 | [Saint] | There's only like...two targets where I would actually advise someone to prefer the release over the development build. |
03:28:13 | __builtin | when someone hears "release" they generally expect something that's been well-tested or at least not broken |
03:28:26 | __builtin | the dev builds are not always that way |
03:28:40 | __builtin | see the "#error lol" incident ;) |
03:50:30 | [Saint] | The who in the what now? |
03:52:30 | * | __builtin broke a few builds with "#error lol" recently |
03:52:55 | [Saint] | hahahaha |
03:53:12 | __builtin | yeah, "woops" |
03:53:29 | * | __builtin was testing a conditional macro and it slipped into the commit |
04:00 |
04:02:18 | | Join toli [0] (~toli@62.235.64.15) |
04:08:48 | __builtin | hmm, looks like my "wrapper" trig functions don't work |
04:09:12 | | Quit toli (Ping timeout: 256 seconds) |
04:16:27 | | Join JanC_ [0] (~janc@lugwv/member/JanC) |
04:17:43 | | Nick JanC is now known as Guest78373 (~janc@lugwv/member/JanC) |
04:17:43 | | Quit Guest78373 (Killed (asimov.freenode.net (Nickname regained by services))) |
04:17:43 | | Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) |
04:22:21 | | Join toli [0] (~toli@ip-62-235-238-119.dsl.scarlet.be) |
04:27:20 | | Quit toli (Ping timeout: 256 seconds) |
04:31:44 | | Quit PurlingNayuki (Remote host closed the connection) |
04:33:03 | | Join PurlingNayuki [0] (~Thunderbi@2001:da8:215:4ff:a848:c15a:ce93:cfcc) |
04:56:09 | *** | Saving seen data "./dancer.seen" |
04:59:56 | | Quit alexweissman (Remote host closed the connection) |
05:00 |
05:00:24 | | Quit mc2739 (Ping timeout: 260 seconds) |
05:03:24 | | Join mc2739 [0] (~mc2739@rockbox/developer/mc2739) |
05:04:26 | TorC | Bilgus: Just downloaded the new build, and will install. |
05:04:56 | TorC | [Saint]: For your open DAP, have you heard about the EOMA68 computer coming out soon? |
05:06:18 | TorC | According to the latest update a few days ago, the designer has seen a working model of something that says the EOMA50 is feasible, and may be designed and released sometime after the second (in process) more powerful EOMA68 computer. |
05:07:42 | TorC | The latter, being a CF card physical format, would be about the right size for a DAP. Probably a little bulkier than some, but could be made much smaller than others, or have room for a great big battery in a 2.5" HDD format DAP. |
05:11:03 | TorC | Bilgus: by "filter first button press", I assume you mean the mode where the first press only turns on BL - though IIUC, you fixed that bug already. |
05:11:27 | [Saint] | TorC: it would be useless for this requirement. |
05:11:37 | TorC | Good reminder to pay attention to settings I don't use, though. |
05:11:53 | [Saint] | I need accessible GPIO and i2s at least. |
05:13:28 | | Join toli [0] (~toli@ip-62-235-242-184.dsl.scarlet.be) |
05:15:03 | [Saint] | At the least I need tx/rx, USB, and i2s accessible, and it would need a decent quality DAC or 8 additional general purpose IO pins in order to connect one. |
05:15:11 | TorC | [Saint]: Ah. Thought I'd make sure. I suppose without those, you'd have to cobble together something that imitates USB HID. Though IIRC, there's something about pins that can operate in one of those modes upon request, but that might make the player too specialized a piece of equipment. |
05:15:23 | TorC | And more, apparently. |
05:15:59 | [Saint] | The Pi Zero is pretty much perfect but foolishly hard to obtain. |
05:17:03 | [Saint] | Pi A/B or Pi 2/3 B are significantly larger, but it opens up the door to a more general purpose device that can be both a fixed position media center and a portable DAP. |
05:17:19 | [Saint] | For varying definitions of portable. |
05:17:22 | TorC | I guess maybe I've been out of the rPi loop too much for too long. |
05:17:46 | | Quit toli (Ping timeout: 256 seconds) |
05:17:59 | TorC | True, there are quite a few definitions floating around. Pick whichever one you please... Just like standards :) |
05:20:01 | [Saint] | The Pi 3 B seems like the obvious candidate, as it is: |
05:20:01 | [Saint] | - available in bulk |
05:20:01 | [Saint] | - has onboard BT/BTLE and 2.4GHz WiFi |
05:20:01 | DBUG | Enqueued KICK [Saint] |
05:20:01 | [Saint] | - has 10/100 Ethernet |
05:20:02 | [Saint] | - can PXE boot and USB boot |
05:20:02 | *** | Alert Mode level 1 |
05:20:02 | [Saint] | - is big enough to provide a decent LCD/OLED static or touchscreen experience |
05:20:04 | [Saint] | - has plenty of room to kludge the RTC daughterboard and battery in there between the Pi itself and the digital/analog DAC/AMP daughterboard |
05:22:06 | [Saint] | I think I will just end up forgetting about the potential use case of a fixed position Rockbox JEOS media center as it makes the use case of the external display very fucky. |
05:22:41 | [Saint] | Unless I was to rip off the combined composite and 3.5mm unamplified stero jack off the board. |
05:23:01 | [Saint] | I can detect HDMI jack sensing, but not composite jack sensing. |
05:24:18 | [Saint] | So I can't tell the JEOS to conditionally boot either the the SDL app instance built to match the Rpi's Videocore framebuffer resolution, or the SDL app instance built to match the onboard LCD/OLED display resolution. |
05:27:55 | Bilgus | TorC actually I re introduced it but fixed it again :) |
05:29:24 | Bilgus | I'll be committing a more polished version shortly if you want to wait a few |
05:30:03 | *** | Alert Mode OFF |
05:32:45 | Ctcp | Ignored 1 channel CTCP requests in 0 seconds at the last flood |
05:32:45 | * | [Saint] waits for the international or en-UTF8 version as he doesn't speak Polish |
05:43:07 | TorC | Bilgus: I'd already long installed it by the time I got your last note. |
05:45:54 | TorC | Initial test shows none of the problems I remember just now to test for, and has a nice, responsive backlight. |
05:46:28 | TorC | One oddity, but not that big a deal: Volume no BL only works on WPS (of the screens I've tested so far). |
05:46:53 | TorC | In file browser, etc. the backlight comes on anyway. |
05:52:30 | Bilgus | no its will only work in wps and fm |
05:53:23 | Bilgus | it could be expanded i suppose but i see no real need since you need to see what you are doing in those screens |
05:53:43 | TorC | Makes sense, on the whole. Arguably volume should work elsewhere, but the other keys need to come on in the other screens as you mention. |
05:54:26 | TorC | A case can be made both ways. It just surprised me when I saw the BL come on with volume in non-WPS. |
05:55:07 | TorC | There is, of course, no play/pause/seek/skip elsewhere, so the question of those working elsewhere is moot. |
06:00 |
06:00:02 | TorC | Or if you prefer, they'd better trigger the BL anytime they don't have the WPS function, which the volume does in most cases - and probably the reason I was surprised by the current behaviour. |
06:02:17 | Bilgus | the filtering only occurs in fm and wps not that it is hard to add more contexts I just don't see any value in it |
06:03:13 | Bilgus | kind of like how softlock only works in those places where it is really useful |
06:08:59 | TorC | NP. Understandable. Might be worth adding a note to the manual, though the people most likely to ask here probably won't read it. |
06:10:26 | | Join alexweissman [0] (~alexweiss@184-15-120-222.dr02.chtn.wv.frontiernet.net) |
06:10:57 | TorC | "It should be understandable without the manual," they say. |
06:11:06 | Bilgus | that is assuming it even gets added to the builds so I guess when the time comes if it becomes a problem it can be addressed |
06:12:13 | Bilgus | personally it would kind of piss me off if I was in the middle of a screen other than wps or fm and every button didn't enable the backlight |
06:12:21 | TorC | I'll write the first draft for the convenience of updating. |
06:13:12 | TorC | I suppose it's true. One advantage of the volume keys enabling BL outside of WPS/FM is they become a safe way to turn it on, just like down in WPS. |
06:13:56 | TorC | Kind of like the "First press enables BL" in the dangerous mode for advanced users. |
06:14:25 | Bilgus | also I added the disable on external power and save settings when turned off |
06:14:40 | TorC | I'd forgotten about that use case for volume turning on BL. |
06:14:47 | Bilgus | once these firmware files are done uploading ill post the whole lot |
06:14:54 | | Quit alexweissman (Ping timeout: 250 seconds) |
06:14:55 | TorC | Great. |
06:17:59 | Bilgus | http://www.mediafire.com/file/b1m9yomciedii9x/CLIPPLUS_SELBL-SL__REL_11-22-rockbox-full.zip http://www.mediafire.com/file/3kptlmmc0rp2qh3/CLIPZIP_SELBL-SL__REL_11-22-rockbox-full.zip http://www.mediafire.com/file/pdvdhvr3bhbr9bd/FUZEPLUS_SELBL-SL__REL_11-22-rockbox-full.zip http://www.mediafire.com/file/c7z6wada51ybvjy/FUZEV2_SELBL-SL__REL_11-22-rockbox-full.zip.zip |
06:18:59 | Bilgus | except for talk functionality these should be prime time I really need someone skilled with how talk works |
06:19:51 | Bilgus | I'm especially interested in that fuzev2 scroll wheel since it threw a wrench in my plans 2x now.. |
06:21:02 | TorC | Sorry I can't help you with that. I don't own one. |
06:24:50 | [Saint] | Bilgus: you just need to append the strings you added to the english voice file |
06:25:04 | [Saint] | s/voice/lang/ |
06:25:35 | [Saint] | you can simply follow the format for string and description, you must append to the end of the lang file or you'll break voicing. |
06:26:02 | [Saint] | don't worry about translations, these are handled by volunteers. |
06:26:29 | [Saint] | you just need to handle english.lang |
06:27:22 | [Saint] | I am disappearing for ~20 minutes, let me know if you get stuck - compared to what you have done so far this should be trivial and obvious to you. |
06:27:47 | [Saint] | it's just a simple plain text list file of which you can easily establish the format of. |
06:28:36 | Bilgus | already did that but the actual Mask_select.c file needs talk too |
06:28:56 | [Saint] | Ooooooh, right. |
06:29:20 | [Saint] | That should be easily derived from, for example, settings.c |
06:29:33 | [Saint] | monkey see, monkey do, as it were. |
06:38:25 | | Join toli [0] (~toli@62.235.115.11) |
06:54:03 | TorC | Bilgus: If it helps, http://pastie.org/10967295 It goes to /manual/configure_rockbox/display_options.tex |
06:54:40 | TorC | My git seems to have been uninstalled when my HDD died, and I never thought to get it working again. |
06:56:12 | *** | Saving seen data "./dancer.seen" |
06:58:14 | | Quit scorche|sh (Ping timeout: 250 seconds) |
06:59:22 | | Quit TheSeven (Ping timeout: 258 seconds) |
06:59:54 | | Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) |
07:00 |
07:13:13 | | Join krabador [0] (~krabador@unaffiliated/krabador) |
07:22:44 | Bilgus | cool done. |
07:37:42 | | Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
07:37:42 | | Quit pixelma (Quit: .) |
07:37:42 | Bilgus | I'm off I'll check the logs for any bugs thx TorC |
07:37:53 | | Join pixelma [0] (~pixelma@rockbox/staff/pixelma) |
07:37:54 | | Join amiconn [0] (~amiconn@rockbox/developer/amiconn) |
07:38:36 | | Quit Bilgus () |
07:42:16 | | Quit toli (Ping timeout: 256 seconds) |
07:44:20 | | Quit pixelma (Quit: .) |
07:44:20 | | Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
07:44:31 | | Join amiconn [0] (~amiconn@rockbox/developer/amiconn) |
07:44:31 | | Join pixelma [0] (~pixelma@rockbox/staff/pixelma) |
07:49:24 | | Quit krabador (Quit: Leaving) |
08:00 |
08:00:28 | | Quit nlogex (Ping timeout: 265 seconds) |
08:07:56 | | Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) |
08:21:47 | | Join wodz [0] (~wodz@94-75-75-29.home.aster.pl) |
08:25:32 | | Join ender` [0] (krneki@foo.eternallybored.org) |
08:26:31 | | Join toli [0] (~toli@62.235.148.6) |
08:31:34 | | Quit toli (Ping timeout: 256 seconds) |
08:42:35 | dongs | anyone remember offhand how is display connceted on sansaclip |
08:42:39 | dongs | is it SPI or I2C |
08:42:45 | dongs | the 0.96+ oled |
08:42:59 | dongs | or is it even better, 8088/parallel interface? |
08:48:44 | | Join petur [0] (~petur@91.183.48.77) |
08:48:44 | | Quit petur (Changing host) |
08:48:44 | | Join petur [0] (~petur@rockbox/developer/petur) |
08:56:16 | *** | Saving seen data "./dancer.seen" |
09:00 |
09:15:47 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
09:26:54 | | Join mauzzz [0] (52a1292d@gateway/web/freenode/ip.82.161.41.45) |
09:28:53 | mauzzz | Hi, new to rockbox, trying to download themes but themes.rockbox.org seems down, so is forum. Is there another server I can try? |
09:30:55 | GodEater | I don't think so - I think you'll just have to wait for scorche to wake up and take action |
09:33:41 | mauzzz | ok :) |
09:43:05 | GodEater | note, that won't be for a long time - he's in Arizona, and won't wake up for hours yet =/ |
09:43:32 | pamaury | dongs: from the code, it seems the sansa clip uses the SSD1303 |
09:45:10 | pamaury | it usually uses the 6800/8080 parallel interface |
09:45:48 | pamaury | on the clip it seems to use the "DBOP" which afaiu it some kind of generic parallel interface |
09:46:41 | | Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz) |
09:47:55 | mauzzz | thx GodEater |
09:48:35 | | Join toli [0] (~toli@62.235.124.114) |
09:51:25 | | Join girafe2 [0] (~girafe@LFbn-1-8015-136.w90-112.abo.wanadoo.fr) |
09:51:48 | | Quit pamaury (Ping timeout: 248 seconds) |
09:53:43 | | Quit toli (Ping timeout: 256 seconds) |
09:53:44 | | Quit girafe (Ping timeout: 256 seconds) |
10:00 |
10:02:14 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:98b6:6834:df22:bf80) |
10:09:02 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:2c3c:779f:b5ae:7426) |
10:20:37 | | Join toli [0] (~toli@213.49.130.64) |
10:38:56 | | Quit Moarc (Ping timeout: 240 seconds) |
10:39:42 | | Join Moarc [0] (~chujko@a105.net128.okay.pl) |
10:47:36 | | Quit xorly (Ping timeout: 240 seconds) |
10:47:42 | | Quit mauzzz (Quit: Page closed) |
10:56:18 | *** | Saving seen data "./dancer.seen" |
10:56:39 | | Join pamaury [0] (~quassel@rockbox/developer/pamaury) |
11:00 |
11:22:25 | | Join robertd1 [0] (~as@201.211.53.103) |
11:56:35 | | Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz) |
11:59:04 | wodz | pamaury: Any advances with sony's toolchain? |
12:00 |
12:11:59 | | Quit toli (Ping timeout: 256 seconds) |
12:43:50 | | Join toli [0] (~toli@62.235.148.81) |
12:44:31 | pamaury | wodz: yeah, yesterday I realized my new toolchain was no working so I had to recreate it (a stupid broken about float ABI). I managed to compile alsa-lib with it, but I need to integrate the alsa-lib build in rockboxdev.sh |
12:44:51 | pamaury | *s/broken/problem |
12:48:48 | pamaury | the ne toolchain does'nt rely on Sony's kernel, which was the whole point |
12:48:49 | | Quit toli (Ping timeout: 256 seconds) |
12:56:20 | *** | Saving seen data "./dancer.seen" |
12:57:07 | | Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury) |
12:57:37 | pamaury_ | I also noticed that the crosstool-ng version downloaded by rockboxdev.sh is ancient (1.13) and I built my toolchain using 1.22 |
12:57:39 | pamaury_ | it would be worth checking if 1.13 works or if we need to upgrade |
12:57:41 | pamaury_ | I don't know if ct-ng is backward compatible |
12:57:44 | pamaury_ | wodz: do you want to try? |
12:58:00 | wodz | pamaury_: On which gcc version you based this new toolchain? |
12:58:29 | pamaury_ | 4.9.3 |
13:00 |
13:00:28 | pamaury_ | 4.9 is the last 4.x stable branch, there is already a 4.9.4 but not listed by ct-ng (also quite recent, from a few motnhs ago) so I went safe |
13:00:56 | pamaury_ | there is a 4.10 but I don't think they have a stable plan for it |
13:05:26 | wodz | pamaury_: It is not clear to me what is lifetime of particular gcc branches so it is hard to advise something |
13:06:13 | dongs | pamaury_: thank you |
13:06:52 | pamaury_ | wodz: g#1424 for rockboxdev.sh and g#1422 for ct-ng config if you are interested |
13:06:53 | fs-bluebot | Gerrit review #1424 at http://gerrit.rockbox.org/r/1424 : rockboxdev.sh: add Sony toolchain, based on crosstool-ng (WIP) by Amaury Pouly |
13:08:04 | pamaury_ | if you want to try it, you'll need to manual copy sony/ct-ng-config to the temporary dl dir (/tmp/rbdev-dl) so that rockboxdev.sh does not try to download it (since it's not on the website yet) |
13:08:49 | wodz | Maybe I'll find time later today to fiddle with this. |
13:10:02 | pamaury_ | we could upgrade ct-ng in rockboxdev.sh to 1.22 since ypr0 toolchain doesn't build anyway... |
13:16:17 | | Join toli [0] (~toli@ip-62-235-196-198.dsl.scarlet.be) |
13:43:23 | | Quit pamaury_ (Ping timeout: 250 seconds) |
14:00 |
14:28:13 | | Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury) |
14:33:18 | | Quit akaWolf (Read error: Connection reset by peer) |
14:33:32 | | Join akaWolf [0] (~akaWolf@unaffiliated/akawolf) |
14:40:56 | | Join paulk-minnie [0] (~paulk@37.162.104.104) |
14:41:02 | | Quit akaWolf (Read error: Connection reset by peer) |
14:41:11 | | Join akaWolf [0] (~akaWolf@unaffiliated/akawolf) |
14:44:59 | | Quit xorly (Ping timeout: 256 seconds) |
14:46:48 | | Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz) |
14:56:19 | | Quit elensil (Quit: Leaving.) |
14:56:21 | *** | Saving seen data "./dancer.seen" |
14:57:10 | | Quit wodz (Ping timeout: 246 seconds) |
15:00 |
15:12:11 | | Quit toli (Ping timeout: 256 seconds) |
15:18:55 | | Join toli [0] (~toli@ip-62-235-215-138.dsl.scarlet.be) |
15:31:34 | | Join paulk-minnie_ [0] (~paulk@no3.u-bordeaux.fr) |
15:33:48 | | Quit paulk-minnie (Ping timeout: 258 seconds) |
15:41:58 | | Quit puckipedia (Quit: fix hostname) |
15:43:14 | | Join puckipedia [0] (puck@puckipedia.com) |
15:44:06 | | Quit ZincAlloy (Quit: Leaving.) |
15:48:04 | | Quit pamaury_ (Ping timeout: 244 seconds) |
16:00 |
16:05:27 | | Quit tchan (Quit: WeeChat 1.6) |
16:05:59 | | Join smoke_fumus [0] (~smoke_fum@dynamic-vpdn-93-125-14-117.telecom.by) |
16:06:34 | | Quit smoke_fumus (Client Quit) |
16:06:49 | | Join newbie33 [0] (~smoke_fum@dynamic-vpdn-93-125-14-117.telecom.by) |
16:07:21 | | Quit newbie33 (Client Quit) |
16:07:39 | | Join smoke_fumus [0] (~smoke_fum@dynamic-vpdn-93-125-14-117.telecom.by) |
16:15:24 | | Join tchan [0] (~tchan@c-50-129-174-2.hsd1.il.comcast.net) |
16:15:24 | | Quit tchan (Changing host) |
16:15:24 | | Join tchan [0] (~tchan@lunar-linux/developer/tchan) |
16:28:03 | | Quit robertd1 (Ping timeout: 250 seconds) |
16:30:39 | | Quit paulk-minnie_ (Ping timeout: 250 seconds) |
16:34:39 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:98b6:6834:df22:bf80) |
16:35:18 | | Join alexweissman [0] (~alexweiss@184-15-120-222.dr02.chtn.wv.frontiernet.net) |
16:36:03 | | Quit toli (Ping timeout: 256 seconds) |
16:41:36 | | Join paulk-minnie_ [0] (~paulk@no3.u-bordeaux.fr) |
16:42:13 | | Join robertd1 [0] (~as@201.208.231.245) |
16:44:30 | | Join toli [0] (~toli@62.235.115.106) |
16:56:22 | *** | Saving seen data "./dancer.seen" |
16:57:00 | | Quit paulk-minnie_ (Quit: Leaving) |
17:00 |
17:03:21 | | Join newbie40 [0] (~smoke_fum@dynamic-vpdn-93-125-14-117.telecom.by) |
17:06:43 | | Quit smoke_fumus (Ping timeout: 260 seconds) |
17:13:00 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:d18b:1051:3fb7:1fe) |
17:13:48 | | Quit newbie40 (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
17:13:59 | | Join smoke_fumus [0] (~smoke_fum@dynamic-vpdn-93-125-14-117.telecom.by) |
17:17:54 | | Join scorche|sh [0] (~scorche@rockbox/administrator/scorche) |
17:19:01 | | Join nlogex [0] (~filip@dhcp-198-2-91-25.cable.user.start.ca) |
17:19:54 | | Quit alexweissman (Remote host closed the connection) |
17:20:43 | | Join paulk-collins [0] (~paulk@gagarine.paulk.fr) |
17:22:49 | | Join devsnd [0] (~devsnd@p200300D46BC01D00768258B9B753B5B5.dip0.t-ipconnect.de) |
17:23:38 | devsnd | hey everyone |
17:27:37 | | Quit toli (Ping timeout: 256 seconds) |
17:27:40 | pamaury | hi |
17:29:46 | devsnd | pamaury, I finished the lcd init code for the init_seq_0 yesterday as well, but didn't get around to try to draw something on the screen |
17:31:22 | devsnd | and also I did not understand some parts of the init_seq_1 that reference some addresses; some if which seem to be constants, others not however. Do I have to read those locations from the device memory? |
17:32:26 | pamaury | no you can't, those are usually variable that the OF driver uses, typically screen size, orientation. I'll have a look. The datasheet can help. |
17:32:36 | pamaury | But I'm not available until 21:00 tonight |
17:33:02 | devsnd | sure, thanks |
17:33:09 | pamaury | look at the other drivers as well, there are comments. And look at real drivers in rockbox (firmare/target/arm/imx233/sony-nwz/lcd-*.c) |
17:33:25 | devsnd | ok |
17:37:54 | | Quit pamaury (Remote host closed the connection) |
17:46:29 | | Quit petur (Read error: Connection reset by peer) |
18:00 |
18:06:14 | | Quit devsnd (Remote host closed the connection) |
18:09:12 | | Join devsnd [0] (~devsnd@p200300D46BC01D00768258B9B753B5B5.dip0.t-ipconnect.de) |
18:26:25 | | Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
18:40:36 | | Quit elensil (Quit: Leaving.) |
18:56:25 | *** | Saving seen data "./dancer.seen" |
19:00 |
19:00:42 | | Join Bilgus [0] (ae6611d9@gateway/web/freenode/ip.174.102.17.217) |
19:06:48 | TorC | Bilgus: Haven't gotten much time to test yet, and probably won't until tonight. I am working on it, and will probably install the latest version on some Clip+s. One is technically mine, but in practice all of those belong to others around here. |
19:09:58 | Bilgus | np i have been testing it on my clip+ and fuze+ with no discernable issues, the more testing the better imo, also once you are satisfied if you could add tested to gerrit, don't forget soft lock :) |
19:13:11 | | Join JanC_ [0] (~janc@lugwv/member/JanC) |
19:14:27 | | Quit JanC (Killed (sinisalo.freenode.net (Nickname regained by services))) |
19:14:27 | | Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) |
19:26:27 | | Join lebellium [0] (~chatzilla@89-93-179-5.hfc.dyn.abo.bbox.fr) |
19:33:50 | | Join Senji [0] (~Senji@85.187.103.250) |
19:34:06 | | Quit Senji (Read error: Connection reset by peer) |
19:34:15 | | Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
19:34:55 | | Quit Moarc (Ping timeout: 268 seconds) |
19:35:03 | | Join Senji [0] (~Senji@85.187.103.250) |
19:36:50 | | Join Moarc [0] (~chujko@a105.net128.okay.pl) |
19:37:51 | | Join Senji_ [0] (~Senji@85.187.103.250) |
19:40:40 | | Quit Senji (Ping timeout: 258 seconds) |
19:57:47 | | Quit paulk-collins (Remote host closed the connection) |
20:00 |
20:00:54 | | Quit xorly (Ping timeout: 252 seconds) |
20:11:41 | | Part robertd1 |
20:14:45 | | Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz) |
20:15:48 | | Join krabador [0] (~krabador@unaffiliated/krabador) |
20:17:05 | | Quit PurlingNayuki (Ping timeout: 258 seconds) |
20:17:12 | | Join PurlingNayuki1 [0] (~Thunderbi@2001:da8:215:4ff:5133:b034:e86d:f929) |
20:22:48 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
20:44:10 | | Quit xorly (Ping timeout: 252 seconds) |
20:51:38 | | Join toli [0] (~toli@62.235.78.57) |
20:56:26 | *** | Saving seen data "./dancer.seen" |
21:00 |
21:18:31 | | Join Rower [0] (husvagn@d83-183-134-99.cust.tele2.se) |
21:22:32 | | Quit fs-bluebot (Ping timeout: 245 seconds) |
21:22:47 | | Quit bluebrother (Ping timeout: 256 seconds) |
21:24:22 | | Join bluebrother [0] (~dom@rockbox/developer/bluebrother) |
21:31:40 | lebellium | pamaury: can the toolchain be built yet or is it still WIP? |
21:32:56 | pamaury | lebellium: it can be built, at least enough to build the test tools |
21:34:17 | | Join Bray90820_ [0] (~bray90820@50-83-212-56.client.mchsi.com) |
21:34:26 | pamaury | lebellium: you need to be at g#1424 |
21:34:46 | | Quit Bray90820 (Ping timeout: 252 seconds) |
21:35:11 | pamaury | lebellium: also download ct-ng-config from g#1422 |
21:35:55 | pamaury | then copy ct-ng-config to /tmp/rbdev-dl/ct-ng-config |
21:35:55 | pamaury | go to tools/ and run ./rockboxdev.sh, select sony target (z) and you should be rolling |
21:36:11 | pamaury | I suggest you install it in a prefix of its own |
21:36:33 | | Join fs-bluebot [0] (~fs-bluebo@xd9baf4d7.dyn.telefonica.de) |
21:36:35 | pamaury | like: |
21:36:35 | pamaury | RBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh |
21:41:38 | lebellium | g#1422 is already merged |
21:42:56 | pamaury | no |
21:43:16 | pamaury | at least it's no supposed to be |
21:43:23 | lebellium | http://gerrit.rockbox.org/r/#/c/1422 |
21:44:42 | pamaury | ah, ok Bjorn pushed it |
21:44:49 | pamaury | I wasn't aware ^^ |
21:45:20 | pamaury | lebellium: so actually it's much simpler now |
21:45:29 | pamaury | don't bother downloading ct-ng-config |
21:45:36 | pamaury | just |
21:45:36 | pamaury | RBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh |
21:45:44 | | Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz) |
21:45:54 | lebellium | what's strange is that I don't see the commit here https://www.rockbox.org/recent.shtml#code |
21:46:12 | pamaury | it's a different repo (www) |
21:46:21 | lebellium | ah |
21:46:24 | pamaury | because it gets uploaded to the website |
21:55:19 | lebellium | grrr I made a mistake |
21:56:05 | pamaury | what did you do? |
21:56:24 | lebellium | I run simply rockboxdev.sh, it started downloading files, I closed the terminal, I reopened it and typed RBDEV..... instead |
21:56:35 | lebellium | and now it says |
21:56:38 | lebellium | ROCKBOXDEV: Skipping download of http://www.rockbox.org/gcc/sony/ct-ng-config: File already exists |
21:56:40 | lebellium | mkdir: cannot create directory `/tmp/rbdev-build/build-sony': File exists |
21:56:42 | lebellium | ubuntu@ubuntu-VirtualBox:~/rockbox/tools$ |
21:57:07 | pamaury | lebellium: rm -rf /tmp/rbdev-build |
21:57:38 | pamaury | and run it again |
21:58:04 | lebellium | thanks |
21:58:10 | lebellium | I should learn those basic commands |
21:58:22 | lebellium | I'm such a linux noob |
22:00 |
22:00:47 | lebellium | [ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs' |
22:00:48 | lebellium | [ERROR] >> |
22:00:50 | lebellium | [ERROR] >> Error happened in: do_cc_get[scripts/build/cc/gcc.sh] |
22:00:51 | lebellium | [ERROR] >> called from: main[scripts/crosstool-NG.sh@533] |
22:01:13 | pamaury | ah dammit, I thought that could happen, wait a minute |
22:04:19 | pamaury | lebellium: I updated g#1424 |
22:04:20 | fs-bluebot | Gerrit review #1424 at http://gerrit.rockbox.org/r/1424 : rockboxdev.sh: add Sony toolchain, based on crosstool-ng (WIP) by Amaury Pouly |
22:04:39 | lebellium | ok |
22:09:44 | lebellium | pamaury: same error |
22:12:12 | | Quit Rower (Ping timeout: 256 seconds) |
22:13:58 | | Quit vflyson (Ping timeout: 246 seconds) |
22:15:17 | | Join Rower [0] (husvagn@d83-183-134-99.cust.tele2.se) |
22:17:02 | | Quit Rower (Client Quit) |
22:17:06 | | Join vflyson [0] (~vflyson@cupcake.uberspace.net) |
22:18:57 | pamaury | lebellium: hum, did you rm -rf rbdel-build/ in the mean time? |
22:19:16 | lebellium | yes, because it didn't work without |
22:19:34 | pamaury | ah, what prefix did you choose? |
22:19:41 | lebellium | well, I did "rm -rf /tmp/rbdev-build" |
22:19:44 | lebellium | with tmp |
22:19:50 | pamaury | no I mean for rockboxdev.sh |
22:19:56 | pamaury | RBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh |
22:20:14 | lebellium | I didn't change the prefix |
22:20:20 | lebellium | I just typed what you wrote |
22:20:37 | pamaury | ok, so rm -rf ~/arm-sony-linux-gnueabi/ |
22:20:48 | pamaury | sorry for the mess |
22:21:06 | lebellium | No, I'm sorry |
22:21:17 | lebellium | since I don't understand what I'm doing, that's not easy |
22:21:19 | lebellium | :P |
22:22:19 | pamaury | ok, well the prefix specifies where the toolchain is installed |
22:22:35 | pamaury | the first thing rockboxdev.sh did is to download and install a tool called ct-ng |
22:22:53 | pamaury | but the version was too old, so I changed it but you have to remove the old first |
22:23:23 | pamaury | as for /tmp/rbdev-dl/, that's the temporary build directory, the script won't let you run a new build in an existing directory, for safety reasons |
22:26:20 | lebellium | ok |
22:26:23 | lebellium | so I did: |
22:26:29 | lebellium | rm -rf ~/arm-sony-linux-gnueabi/ |
22:26:35 | lebellium | rm -rf /tmp/rbdev-build |
22:26:39 | lebellium | RBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh |
22:26:59 | lebellium | after typing "z" it says |
22:27:01 | lebellium | RBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh |
22:27:03 | lebellium | oops |
22:27:31 | lebellium | it says ROCKBOXDEV: Skipping download of http://www.rockbox.org/gcc/sony/ct-ng-config: File already exists |
22:27:32 | lebellium | [INFO ] Performing some trivial sanity checks |
22:27:44 | lebellium | starts downloading things |
22:27:48 | lebellium | and same error again |
22:27:57 | pamaury | hum, that's odd |
22:28:08 | pamaury | ok, let me try on my computer from scratch |
22:30:58 | pamaury | ok, that's interesting, I have a different error from you :-/ |
22:31:06 | pamaury | at building crosstool... |
22:33:38 | pamaury | damn it, that's why I hate toolchain |
22:35:22 | | Quit [Saint] (Quit: Going dark for routine maintenance) |
22:35:40 | lebellium | [Saint] rage quited |
22:35:46 | lebellium | he hates toolchains as well |
22:36:15 | __builtin | is there a way to suppress all warnings from gcc? |
22:36:47 | pamaury | lol, I'm just super confused, I installed ct-ng on my machine from git 1.22.0 branch no problem, but when the tool installs it from the official tarball, it fails |
22:37:06 | pamaury | __builtin: probably but why would you want to do that? |
22:38:06 | | Join TheLemonMan [0] (~root@unaffiliated/thelemonman) |
22:39:17 | pamaury | lebellium: so on your machine, rockboxdev.sh successfully downloaded and installed crosstool-ng-1.22.0 ? |
22:39:40 | pamaury | can you pastebin the entire log? |
22:40:19 | lebellium | yep |
22:40:30 | __builtin | pamaury: puzzles produces thousands of errors |
22:41:15 | pamaury | __builtin: I think -W inhibits all warnings |
22:41:16 | lebellium | pamaury: http://pastie.org/private/hgqv3yqhjga02pwqzbzoaa |
22:41:24 | __builtin | ok |
22:41:35 | __builtin | it's far too many to fix by hand |
22:42:11 | pamaury | lebellium: ok, we have a problem, apparently you have crosstool 1.13.2 installed in /usr/local/bin, I guess from the ypr0 toolchain |
22:42:18 | pamaury | which is why you have the error |
22:42:25 | lebellium | I have a working toolchain for YP-R0 |
22:42:34 | lebellium | I'd like to keep it working if possible :P |
22:42:58 | pamaury | crosstool is not used by the toolchain, it's only the tool to the build the toolchain |
22:43:33 | pamaury | let me see if I can add some version check to rockboxdev.sh |
22:43:53 | pamaury | honestly I really recommend against installed toolchain in /usr/local but too late for you now :-p |
22:44:35 | lebellium | I don't know how I got it but I have a working toolchain without pain while dozens people here complain all the time it doesn't build |
22:44:41 | lebellium | so I don't really care where it is :P |
22:46:04 | lebellium | probably lorenzo or kugel helped me install it back to 2011 |
22:47:52 | | Join wodz [0] (~wodz@89-77-223-98.dynamic.chello.pl) |
22:50:02 | pamaury | lebellium: I think I found out how to check ct-ng version, but that means we will need to defer toolchain building to another day |
22:50:50 | lebellium | okay |
22:51:12 | wodz | pamaury: What are the benefits of using ct-ng? My experience is that it *always* brings pain... |
22:51:49 | pamaury | wodz: you might be right |
22:52:20 | pamaury | but then it means I have to discover how one builds a toolchain with glibc and all its crazy complexity |
22:54:21 | pamaury | if I understand correctly, ct-ng builds gcc in two steps (twice ?) |
22:55:12 | pamaury | I'll look into it |
22:56:27 | *** | Saving seen data "./dancer.seen" |
22:58:43 | | Quit krabador (Quit: Leaving) |
22:58:50 | wodz | pamaury: I know quite a few tools build compiler twice but I can't understand why in case of crosscompiler. On non crosscompiler you build twice to have 'pure' version - first compilation uses whatever compiler you have to build bootstrap compiler and then actual compiler is built using bootstrap. |
22:59:23 | wodz | pamaury: Maybe this is the same with the twist that final compiler targets other architecture |
22:59:46 | | Join krabador [0] (~krabador@unaffiliated/krabador) |
23:00 |
23:00:23 | pamaury | wodz: I think it has to do with linking |
23:00:33 | pamaury | first you build a bare-metal toolchain, to build glibc |
23:00:58 | pamaury | and then you build a toolchain that targets glibc, but it needs the glibc library, header and linker file I guess |
23:01:16 | wodz | pamaury: you are right |
23:01:25 | | Join [Saint] [0] (~sinner@rockbox/staff/saint) |
23:01:26 | pamaury | maybe that can be done in one step, since those don't really need glibc to be built |
23:01:29 | wodz | a bit of chicken and egg problem :P |
23:01:34 | pamaury | (ie headers and linker files) |
23:02:02 | * | pamaury thinks clang might be much better with respect to this, since you can easily retarget |
23:02:51 | * | pamaury goes to bed |
23:03:34 | wodz | pamaury: since the target is arm v7 maybe it is worth to try with clang |
23:03:48 | pamaury | unfortunately mp200 is still armv6 |
23:05:08 | wodz | pamaury: CPU: ARMv7 Processor [412fc092] revision 2 (ARMv7), cr=10c53c7f |
23:05:22 | wodz | pamaury: at least e470 |
23:06:09 | wodz | ah you mean predecesor of emxx? |
23:06:10 | pamaury | this one uses emxx, which has a Cortex Ax |
23:06:27 | pamaury | but the older ones use mp200 |
23:07:01 | | Join Miles_ [0] (63fe171e@gateway/web/freenode/ip.99.254.23.30) |
23:07:18 | wodz | v6 is also supported by clang |
23:21:24 | | Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 50.0/20161104212021]) |
23:26:05 | | Join Jinx [0] (~Jinx@unaffiliated/jinx) |
23:27:45 | | Quit pamaury (Remote host closed the connection) |
23:28:02 | | Join paulk-collins [0] (~paulk@gagarine.paulk.fr) |
23:29:21 | | Quit wodz (Quit: Leaving) |
23:35:37 | | Quit TheLemonMan (Quit: "It's now safe to turn off your computer.") |
23:47:25 | __builtin | ooh nice, twiddle works :D |
23:47:33 | __builtin | kind of |