Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2016-11-22

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:07gevaertsWell, 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:23gevaertsah, found it!
00:05:23gevaerts[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:38gevaertsSo I'm 99% certain it's only for themes, and only for viewports
00:06:12gevaertsConvincing me otherwise will require working examples or specific line numbers in the source :)
00:06:44[Saint]Hmmmm, fair. I'll concede.
00:07:54gevaertsAnyway, 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:11tuaimhi 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:05BilgusTorC 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:14BilgusClipZip http://www.mediafire.com/file/aka83gc2ijp2umc/CLIPZIP_SELBL-SL__REL_11-21-rockbox-full.zip
02:14:43BilgusClip+ http://www.mediafire.com/file/noei1yvqziks1is/CLIPPLUS_SELBL-SL__REL_11-21-rockbox-full.zip
02:21:34BilgusOuch do't use Filter First Keypress with either of those
02:21:41Bilgusdon't*
02:24:43 Quit krnlyng (Ping timeout: 260 seconds)
02:30:16Bilgusok 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__builtinso 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__builtinlcd_set_viewport
02:40:36[Saint]I'm not positive of how conditional draw is handled outside of the theme engine.
02:47:17__builtinalright, I feel like I'm misunderstanding viewports completely
02:47:54__builtinif 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__builtinalright then something's up
02:56:08***Saving seen data "./dancer.seen"
02:59:13__builtinhttp://pastebin.com/Y42VqxVn <<< should this clip things properly?
03:00
03:03:51__builtinWOW, I figured it out
03:04:00__builtinI was using drawrect() instead of fillrect()
03:10:57__builtinwell 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__builtinor 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__builtinwhen someone hears "release" they generally expect something that's been well-tested or at least not broken
03:28:26__builtinthe dev builds are not always that way
03:28:40__builtinsee 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__builtinyeah, "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__builtinhmm, 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:26TorCBilgus: Just downloaded the new build, and will install.
05:04:56TorC[Saint]: For your open DAP, have you heard about the EOMA68 computer coming out soon?
05:06:18TorCAccording 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:42TorCThe 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:03TorCBilgus: 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:37TorCGood 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:11TorC[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:23TorCAnd 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:22TorCI 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:59TorCTrue, 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:01DBUGEnqueued 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:55BilgusTorC actually I re introduced it but fixed it again :)
05:29:24BilgusI'll be committing a more polished version shortly if you want to wait a few
05:30:03***Alert Mode OFF
05:32:45CtcpIgnored 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:07TorCBilgus: I'd already long installed it by the time I got your last note.
05:45:54TorCInitial test shows none of the problems I remember just now to test for, and has a nice, responsive backlight.
05:46:28TorCOne oddity, but not that big a deal: Volume no BL only works on WPS (of the screens I've tested so far).
05:46:53TorCIn file browser, etc. the backlight comes on anyway.
05:52:30Bilgusno its will only work in wps and fm
05:53:23Bilgusit 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:43TorCMakes 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:26TorCA case can be made both ways. It just surprised me when I saw the BL come on with volume in non-WPS.
05:55:07TorCThere is, of course, no play/pause/seek/skip elsewhere, so the question of those working elsewhere is moot.
06:00
06:00:02TorCOr 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:17Bilgusthe 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:13Bilguskind of like how softlock only works in those places where it is really useful
06:08:59TorCNP. 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:57TorC"It should be understandable without the manual," they say.
06:11:06Bilgusthat 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:13Bilguspersonally 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:21TorCI'll write the first draft for the convenience of updating.
06:13:12TorCI 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:56TorCKind of like the "First press enables BL" in the dangerous mode for advanced users.
06:14:25Bilgusalso I added the disable on external power and save settings when turned off
06:14:40TorCI'd forgotten about that use case for volume turning on BL.
06:14:47Bilgusonce these firmware files are done uploading ill post the whole lot
06:14:54 Quit alexweissman (Ping timeout: 250 seconds)
06:14:55TorCGreat.
06:17:59Bilgushttp://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:59Bilgusexcept for talk functionality these should be prime time I really need someone skilled with how talk works
06:19:51BilgusI'm especially interested in that fuzev2 scroll wheel since it threw a wrench in my plans 2x now..
06:21:02TorCSorry 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:36Bilgusalready 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:03TorCBilgus: If it helps, http://pastie.org/10967295 It goes to /manual/configure_rockbox/display_options.tex
06:54:40TorCMy 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:44Bilguscool done.
07:37:42 Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
07:37:42 Quit pixelma (Quit: .)
07:37:42BilgusI'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:35dongsanyone remember offhand how is display connceted on sansaclip
08:42:39dongsis it SPI or I2C
08:42:45dongsthe 0.96+ oled
08:42:59dongsor 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:53mauzzzHi, 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:55GodEaterI don't think so - I think you'll just have to wait for scorche to wake up and take action
09:33:41mauzzzok :)
09:43:05GodEaternote, that won't be for a long time - he's in Arizona, and won't wake up for hours yet =/
09:43:32pamaurydongs: from the code, it seems the sansa clip uses the SSD1303
09:45:10pamauryit usually uses the 6800/8080 parallel interface
09:45:48pamauryon 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:55mauzzzthx 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:04wodzpamaury: 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:31pamaurywodz: 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:51pamaury*s/broken/problem
12:48:48pamaurythe 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:37pamaury_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:39pamaury_it would be worth checking if 1.13 works or if we need to upgrade
12:57:41pamaury_I don't know if ct-ng is backward compatible
12:57:44pamaury_wodz: do you want to try?
12:58:00wodzpamaury_: On which gcc version you based this new toolchain?
12:58:29pamaury_4.9.3
13:00
13:00:28pamaury_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:56pamaury_there is a 4.10 but I don't think they have a stable plan for it
13:05:26wodzpamaury_: It is not clear to me what is lifetime of particular gcc branches so it is hard to advise something
13:06:13dongspamaury_: thank you
13:06:52pamaury_wodz: g#1424 for rockboxdev.sh and g#1422 for ct-ng config if you are interested
13:06:53fs-bluebotGerrit review #1424 at http://gerrit.rockbox.org/r/1424 : rockboxdev.sh: add Sony toolchain, based on crosstool-ng (WIP) by Amaury Pouly
13:08:04pamaury_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:49wodzMaybe I'll find time later today to fiddle with this.
13:10:02pamaury_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:38devsndhey everyone
17:27:37 Quit toli (Ping timeout: 256 seconds)
17:27:40pamauryhi
17:29:46devsndpamaury, 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:22devsndand 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:26pamauryno 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:36pamauryBut I'm not available until 21:00 tonight
17:33:02devsndsure, thanks
17:33:09pamaurylook 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:25devsndok
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:48TorCBilgus: 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:58Bilgusnp 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:40lebelliumpamaury: can the toolchain be built yet or is it still WIP?
21:32:56pamaurylebellium: 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:26pamaurylebellium: you need to be at g#1424
21:34:46 Quit Bray90820 (Ping timeout: 252 seconds)
21:35:11pamaurylebellium: also download ct-ng-config from g#1422
21:35:55pamaurythen copy ct-ng-config to /tmp/rbdev-dl/ct-ng-config
21:35:55pamaurygo to tools/ and run ./rockboxdev.sh, select sony target (z) and you should be rolling
21:36:11pamauryI 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:35pamaurylike:
21:36:35pamauryRBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh
21:41:38lebellium g#1422 is already merged
21:42:56pamauryno
21:43:16pamauryat least it's no supposed to be
21:43:23lebelliumhttp://gerrit.rockbox.org/r/#/c/1422
21:44:42pamauryah, ok Bjorn pushed it
21:44:49pamauryI wasn't aware ^^
21:45:20pamaurylebellium: so actually it's much simpler now
21:45:29pamaurydon't bother downloading ct-ng-config
21:45:36pamauryjust
21:45:36pamauryRBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh
21:45:44 Join xorly [0] (~xorly@ip-89-176-10-118.net.upcbroadband.cz)
21:45:54lebelliumwhat's strange is that I don't see the commit here https://www.rockbox.org/recent.shtml#code
21:46:12pamauryit's a different repo (www)
21:46:21lebelliumah
21:46:24pamaurybecause it gets uploaded to the website
21:55:19lebelliumgrrr I made a mistake
21:56:05pamaurywhat did you do?
21:56:24lebelliumI run simply rockboxdev.sh, it started downloading files, I closed the terminal, I reopened it and typed RBDEV..... instead
21:56:35lebelliumand now it says
21:56:38lebelliumROCKBOXDEV: Skipping download of http://www.rockbox.org/gcc/sony/ct-ng-config: File already exists
21:56:40lebelliummkdir: cannot create directory `/tmp/rbdev-build/build-sony': File exists
21:56:42lebelliumubuntu@ubuntu-VirtualBox:~/rockbox/tools$
21:57:07pamaurylebellium: rm -rf /tmp/rbdev-build
21:57:38pamauryand run it again
21:58:04lebelliumthanks
21:58:10lebelliumI should learn those basic commands
21:58:22lebelliumI'm such a linux noob
22:00
22:00:47lebellium[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
22:00:48lebellium[ERROR] >>
22:00:50lebellium[ERROR] >> Error happened in: do_cc_get[scripts/build/cc/gcc.sh]
22:00:51lebellium[ERROR] >> called from: main[scripts/crosstool-NG.sh@533]
22:01:13pamauryah dammit, I thought that could happen, wait a minute
22:04:19pamaurylebellium: I updated g#1424
22:04:20fs-bluebotGerrit review #1424 at http://gerrit.rockbox.org/r/1424 : rockboxdev.sh: add Sony toolchain, based on crosstool-ng (WIP) by Amaury Pouly
22:04:39lebelliumok
22:09:44lebelliumpamaury: 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:57pamaurylebellium: hum, did you rm -rf rbdel-build/ in the mean time?
22:19:16lebelliumyes, because it didn't work without
22:19:34pamauryah, what prefix did you choose?
22:19:41lebelliumwell, I did "rm -rf /tmp/rbdev-build"
22:19:44lebelliumwith tmp
22:19:50pamauryno I mean for rockboxdev.sh
22:19:56pamauryRBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh
22:20:14lebelliumI didn't change the prefix
22:20:20lebelliumI just typed what you wrote
22:20:37pamauryok, so rm -rf ~/arm-sony-linux-gnueabi/
22:20:48pamaurysorry for the mess
22:21:06lebelliumNo, I'm sorry
22:21:17lebelliumsince I don't understand what I'm doing, that's not easy
22:21:19lebellium:P
22:22:19pamauryok, well the prefix specifies where the toolchain is installed
22:22:35pamaurythe first thing rockboxdev.sh did is to download and install a tool called ct-ng
22:22:53pamaurybut the version was too old, so I changed it but you have to remove the old first
22:23:23pamauryas 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:20lebelliumok
22:26:23lebelliumso I did:
22:26:29lebelliumrm -rf ~/arm-sony-linux-gnueabi/
22:26:35lebelliumrm -rf /tmp/rbdev-build
22:26:39lebelliumRBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh
22:26:59lebelliumafter typing "z" it says
22:27:01lebelliumRBDEV_PREFIX=~/arm-sony-linux-gnueabi ./rockboxdev.sh
22:27:03lebelliumoops
22:27:31lebelliumit says ROCKBOXDEV: Skipping download of http://www.rockbox.org/gcc/sony/ct-ng-config: File already exists
22:27:32lebellium[INFO ] Performing some trivial sanity checks
22:27:44lebelliumstarts downloading things
22:27:48lebelliumand same error again
22:27:57pamauryhum, that's odd
22:28:08pamauryok, let me try on my computer from scratch
22:30:58pamauryok, that's interesting, I have a different error from you :-/
22:31:06pamauryat building crosstool...
22:33:38pamaurydamn it, that's why I hate toolchain
22:35:22 Quit [Saint] (Quit: Going dark for routine maintenance)
22:35:40lebellium[Saint] rage quited
22:35:46lebelliumhe hates toolchains as well
22:36:15__builtinis there a way to suppress all warnings from gcc?
22:36:47pamaurylol, 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:06pamaury__builtin: probably but why would you want to do that?
22:38:06 Join TheLemonMan [0] (~root@unaffiliated/thelemonman)
22:39:17pamaurylebellium: so on your machine, rockboxdev.sh successfully downloaded and installed crosstool-ng-1.22.0 ?
22:39:40pamaurycan you pastebin the entire log?
22:40:19lebelliumyep
22:40:30__builtinpamaury: puzzles produces thousands of errors
22:41:15pamaury__builtin: I think -W inhibits all warnings
22:41:16lebelliumpamaury: http://pastie.org/private/hgqv3yqhjga02pwqzbzoaa
22:41:24__builtinok
22:41:35__builtinit's far too many to fix by hand
22:42:11pamaurylebellium: 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:18pamaurywhich is why you have the error
22:42:25lebelliumI have a working toolchain for YP-R0
22:42:34lebelliumI'd like to keep it working if possible :P
22:42:58pamaurycrosstool is not used by the toolchain, it's only the tool to the build the toolchain
22:43:33pamaurylet me see if I can add some version check to rockboxdev.sh
22:43:53pamauryhonestly I really recommend against installed toolchain in /usr/local but too late for you now :-p
22:44:35lebelliumI 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:41lebelliumso I don't really care where it is :P
22:46:04lebelliumprobably 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:02pamaurylebellium: 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:50lebelliumokay
22:51:12wodzpamaury: What are the benefits of using ct-ng? My experience is that it *always* brings pain...
22:51:49pamaurywodz: you might be right
22:52:20pamaurybut then it means I have to discover how one builds a toolchain with glibc and all its crazy complexity
22:54:21pamauryif I understand correctly, ct-ng builds gcc in two steps (twice ?)
22:55:12pamauryI'll look into it
22:56:27***Saving seen data "./dancer.seen"
22:58:43 Quit krabador (Quit: Leaving)
22:58:50wodzpamaury: 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:23wodzpamaury: 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:23pamaurywodz: I think it has to do with linking
23:00:33pamauryfirst you build a bare-metal toolchain, to build glibc
23:00:58pamauryand then you build a toolchain that targets glibc, but it needs the glibc library, header and linker file I guess
23:01:16wodzpamaury: you are right
23:01:25 Join [Saint] [0] (~sinner@rockbox/staff/saint)
23:01:26pamaurymaybe that can be done in one step, since those don't really need glibc to be built
23:01:29wodza bit of chicken and egg problem :P
23:01:34pamaury(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:34wodzpamaury: since the target is arm v7 maybe it is worth to try with clang
23:03:48pamauryunfortunately mp200 is still armv6
23:05:08wodzpamaury: CPU: ARMv7 Processor [412fc092] revision 2 (ARMv7), cr=10c53c7f
23:05:22wodzpamaury: at least e470
23:06:09wodzah you mean predecesor of emxx?
23:06:10pamaurythis one uses emxx, which has a Cortex Ax
23:06:27pamaurybut the older ones use mp200
23:07:01 Join Miles_ [0] (63fe171e@gateway/web/freenode/ip.99.254.23.30)
23:07:18wodzv6 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__builtinooh nice, twiddle works :D
23:47:33__builtinkind of

Previous day | Next day