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 2011-10-29

00:05:20 Quit TheLemonMan (Quit: WeeChat 0.3.6)
00:05:26bertrikChanges for the clip zip port are here: if anyone's interested
00:05:44bertrikDual-boot to the OF by holding vol- during boot
00:06:04bertrikDisplay is still off (no red component apparently)
00:06:16***Saving seen data "./dancer.seen"
00:06:23 Quit bertrik (Quit: And That, My Liege, Is How We Know the Earth to Be Banana Shaped)
00:09:08funmanbertrik: what color output does RGB565SWAPPED give?
00:16:05 Join Acorn [0] (2e4019ad@gateway/web/freenode/ip.
00:16:56 Quit funman (Quit: leaving)
00:28:22 Join ChickeNES [0] (~ChickeNES@
00:31:55 Join Llorean [0] (~DarkkOne@rockbox/user/Llorean)
00:33:23 Join Strife89 [0] (
00:33:27AcornIs it possible to begin playing an arbitrary file or playlist using the plugin API?
01:04:08 Quit ender` (Quit: There is no reason anyone would want a computer in their home. -- Ken Olson, president, chairman and founder of DEC)
01:05:49 Quit tjb0607 (Read error: Connection reset by peer)
01:09:10 Join tjb0607 [0] (
01:09:59 Quit PokeYouInDaEye (Quit: CGI:IRC (EOF))
01:12:22 Quit ReimuHak_ (Quit: Leaving...)
01:12:35 Join ReimuHak_ [0] (
01:22:22 Quit ChickeNES (Read error: Connection reset by peer)
01:22:43 Join ChickeNES [0] (~ChickeNES@
01:37:42 Quit keyb_gr (Ping timeout: 260 seconds)
01:47:50 Quit ReimuHak_ (Quit: Leaving...)
01:57:32 Quit GeekShadow (Ping timeout: 260 seconds)
01:57:56 Join GeekShadow [0] (
02:06:17***Saving seen data "./dancer.seen"
02:08:52 Quit Strife89 (Quit: Reboot)
02:12:17 Join Horscht [0] (
02:12:17 Quit Horscht (Changing host)
02:12:17 Join Horscht [0] (~Horscht@xbmc/user/horscht)
02:15:09 Part domonoky
02:57:55 Quit AlexP (Remote host closed the connection)
03:02:18 Quit GeekShadow (Remote host closed the connection)
03:11:45 Quit ChickeNES (Quit: Computer has gone to sleep.)
03:33:20 Join Strife1989 [0] (
03:34:26 Nick Strife1989 is now known as Strife89 (
04:06:19***Saving seen data "./dancer.seen"
04:17:03 Quit [7] (Disconnected by services)
04:17:14 Join TheSeven [0] (~TheSeven@rockbox/developer/TheSeven)
04:27:54 Quit Topy (Read error: Connection reset by peer)
04:33:14 Join ReimuHak_ [0] (
04:39:35 Quit Acorn (Ping timeout: 265 seconds)
04:45:04 Quit amiconn (Disconnected by services)
04:45:05 Quit pixelma (Disconnected by services)
04:45:05 Join amiconn_ [0] (quassel@rockbox/developer/amiconn)
04:45:07 Join pixelma_ [0] (quassel@rockbox/staff/pixelma)
04:45:09 Nick pixelma_ is now known as pixelma (quassel@rockbox/staff/pixelma)
04:45:27 Nick amiconn_ is now known as amiconn (quassel@rockbox/developer/amiconn)
04:46:06 Join [Saint] [0] (~Saint]@
04:46:06 Quit [Saint] (Changing host)
04:46:06 Join [Saint] [0] (~Saint]@unaffiliated/saint/x-8516940)
04:47:43 Quit Riviera (Ping timeout: 248 seconds)
04:59:08 Join Topy44 [0] (
04:59:30 Quit MethoS- (Remote host closed the connection)
05:01:18 Quit TheSeven (Disconnected by services)
05:01:38 Join [7] [0] (~TheSeven@rockbox/developer/TheSeven)
05:22:22 Quit Strife89 (Quit: Heading home.)
05:25:09 Quit amiconn (Disconnected by services)
05:25:10 Join amiconn_ [0] (quassel@rockbox/developer/amiconn)
05:25:10 Quit pixelma (Disconnected by services)
05:25:12 Join pixelma_ [0] (quassel@rockbox/staff/pixelma)
05:25:14 Nick pixelma_ is now known as pixelma (quassel@rockbox/staff/pixelma)
05:25:31 Nick amiconn_ is now known as amiconn (quassel@rockbox/developer/amiconn)
05:34:53 Join Rob2223 [0] (
05:38:38 Quit Rob2222 (Ping timeout: 260 seconds)
05:43:04 Join zibit [0] (
05:45:38 Quit ReimuHak_ (Quit: Leaving...)
06:06:22***Saving seen data "./dancer.seen"
06:30:44 Join Rob2222 [0] (
06:34:38 Quit Rob2223 (Ping timeout: 256 seconds)
06:43:10 Quit robin0800 (Quit: Leaving)
07:41:40 Quit zibit ()
07:43:11 Quit antil33t (Ping timeout: 256 seconds)
07:47:11 Join bertrik [0] (
07:47:12 Quit bertrik (Changing host)
07:47:12 Join bertrik [0] (~bertrik@rockbox/developer/bertrik)
08:06:23***Saving seen data "./dancer.seen"
08:08:48 Quit factor (Read error: Connection reset by peer)
08:24:16 Join n1s [0] (~quassel@rockbox/developer/n1s)
08:25:26 Join factor [0] (~factor@
08:42:13 Join fyrestorm [0] (
08:51:48 Quit bertrik (Ping timeout: 240 seconds)
09:07:35 Quit n1s (Ping timeout: 240 seconds)
09:09:27tjb0607my microSDHC card in my Sansa E260 is mounting read-only recently
09:09:50tjb0607the built in memory is mounting just fine though
09:09:56tjb0607any idea on how I can fix this?
09:20:57[Saint]checking for fs corruption would probably be a good start.
09:34:37desowin_what is the policy for port status pages? Is it supposed to reflect the progress that has been commited or is it enough for "someone who does the port to achieve something working but not quite decent for inclusion"?
09:35:43 Quit Bagder (Ping timeout: 248 seconds)
09:59:18 Join Bagder [0] (
09:59:19 Quit Bagder (Changing host)
09:59:19 Join Bagder [241] (~daniel@rockbox/developer/bagder)
10:01:11 Quit Farthen (Excess Flood)
10:02:36 Join Farthen [0] (~Farthen@2a01:4f8:101:2a4:0:bc28:b2e1:9)
10:06:25***Saving seen data "./dancer.seen"
10:18:12 Quit Farthen (Excess Flood)
10:18:36 Join Farthen [0] (~Farthen@2a01:4f8:101:2a4:0:bc28:b2e1:9)
10:24:24 Quit [Saint] (Ping timeout: 260 seconds)
10:49:40 Join pamaury [0] (~quassel@
10:49:41 Quit pamaury (Changing host)
10:49:41 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
10:56:52 Quit fyrestorm (Read error: Connection reset by peer)
11:13:57 Join ender` [0] (
11:19:44 Join mortalis [0] (~mortalis@
11:37:31 Join n1s [0] (~quassel@rockbox/developer/n1s)
11:39:32 Quit pamaury (Ping timeout: 245 seconds)
11:40:46 Quit mortalis (Quit: KVIrc 4.1.1 Equilibrium
11:40:49 Join lebellium [0] (
11:42:58 Join lorenzo92 [0] (
11:44:00lorenzo92hi all! For my R0 port I decided that I must take another path, exploit SDL only for audio and not for graphics
11:44:09lorenzo92this why recompiling a kernel is too buggy
11:44:19lorenzo92samsung didn't provide the right things probably
11:44:35lorenzo92so I need to use directly a framebuffer (/dev/fb0)
11:48:36 Join Kiwi_Cam [0] (
11:49:47 Quit fs-bluebot (Read error: Connection reset by peer)
11:52:02 Quit KiwiCam (Ping timeout: 245 seconds)
11:52:08lorenzo92I just need to figure out how RB drawing (from lcd init, to udpate ecc) everything
11:52:50 Join fs-bluebot [0] (
11:58:14kugellorenzo92: what's wrong with sdl drawing?
11:58:34 Quit Llorean (Read error: Connection reset by peer)
11:58:56lorenzo92nothing...but recompiling a kernel drives me mad; no framebuffer sleep is possible (= device crash); OF crashes after song changes etc
11:59:03kugelJdGordon: is r30846 alright?
11:59:48lorenzo92no usb is accessible throug script...I really don't know what's the mess, I tried lots of hacks loosing only time
11:59:49kugellorenzo92: you don't need to recompile the kernel if you don't do sdl drawing?
12:00:15lorenzo92yes..accessing directly to framebuffer. In this way I don't need to recompile it
12:00:36 Join Llorean [0] (
12:00:44lorenzo92and so, as we have no multiple apps running it's the best deal
12:00:59kugelI don't know how the linux framebuffer works, but I assume it's similar to what we call framebuffer
12:01:01lorenzo92it should be even faster than sdl and maybe less power consuming
12:01:09JdGordonkugel: its not obviously wrong.. need to have more thna a 10s look to say if it is right though.. probably is
12:01:12kugeli.e. just an array of pixels
12:01:14lorenzo92yes should be.
12:01:17lorenzo92ah yes it is
12:01:49lorenzo92in 2 words: I map a memory region (240*320*3 size) and then here are our beautiful pixels
12:02:20lorenzo92uhm...3 bytes x pixel?
12:02:37kugelwe use 2 byte per pixel
12:02:43lorenzo92ah ok :)
12:02:45kugelRGB565 format
12:03:11kugelwell, we supprt a number of other formats as well, but this is the easiest to work with
12:03:44kugelyou only need to port putting that pixel array to the screen, with format conversion possibly now I need to see some other ports. Do you suggest me one?
12:04:38lorenzo92what are the main functions to be "binded"?
12:04:58kugellcd_init_device(), lcd_update() and lcd_update_rect()
12:05:40kugel(lcd_update()/_rect can wrap each other if wanted)
12:06:26***Saving seen data "./dancer.seen"
12:07:04lorenzo92perfect. Seem to be not so difficult, maybe it is a bit for me that I'm still not so C-guru haha
12:08:18lorenzo92ah another question...lcd-charcell in your sdl port is used to simlulate something? Do I need it?
12:08:35kugelthe simulators use sdl
12:08:53lorenzo92okay I guessed that. So I need to remove them..thanks
12:09:40 Join mgue [0] (
12:10:08 Join thomasjfox [0] (~thomasjfo@rockbox/developer/thomasjfox)
12:10:40 Join MethoS- [0] (~clemens@
12:14:10 Join GeekShadow [0] (
12:14:25lorenzo92so I need to deeply modify the lcd-bitmpap.c....
12:17:31lebelliumHello, the %Vb(color) tag doesn't work when the %X tag is used?!!!
12:21:27lebelliumI don't manage to set a background color in a viewport when there is a general background (%X)
12:23:38 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
12:24:12kugelplorenzo92: just create a new file if you don't use ask
12:24:45lorenzo92yes that way of course. I won't use the SDL one ;)
12:25:48JdGordonlebellium: yep, nothing you can do about that unfortunately
12:25:52JdGordonlongstanding issue
12:26:00 Quit amiconn (Remote host closed the connection)
12:26:00 Quit pixelma (Read error: Connection reset by peer)
12:26:34 Join amiconn [0] (quassel@rockbox/developer/amiconn)
12:26:36 Join pixelma [0] (quassel@rockbox/staff/pixelma)
12:26:46lebelliumJdGordon: That's not the answer I expected but thank you very much, now it's clear, I won't waste much time on it lol
12:27:09 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
12:27:24 Quit amiconn (Remote host closed the connection)
12:27:24 Quit pixelma (Remote host closed the connection)
12:30:05 Join liar [0] (
12:31:38 Join KiwiCam [0] (
12:32:34 Join keyb_gr [0] (
12:34:07 Quit Kiwi_Cam (Ping timeout: 245 seconds)
12:39:51lorenzo92lcd_update_rect -> this is the only function that really makes the framebuffer data visible right?
12:42:40lorenzo92on the screen...
12:45:12kugelyes (lcd_update() too)
12:46:01lorenzo92and the rb framebuffer data is stored in?
12:46:23lorenzo92ah this ? lcd_framebuffer
12:47:15 Join Thra11 [0] (
12:52:47 Join benedikt93 [0] (~benedikt9@unaffiliated/benedikt93)
12:52:47 Join AlexP [0] (~alex@rockbox/staff/AlexP)
12:58:33 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
13:00:15 Join TheLemonMan [0] (
13:09:00 Quit thomasjfox (Remote host closed the connection)
13:11:07 Join Acorn [0] (2e4019ad@gateway/web/freenode/ip.
13:11:11AcornIs it possible to begin playing an arbitrary file or playlist using the plugin API?
13:13:46JdGordonis ft_enter() in he plugin api?
13:16:32dionoeawouldn't playlis_add() + function to play file at given index work ?
13:17:02dionoeaprobably playlist_start i guess
13:17:51 Quit keyb_gr (Ping timeout: 258 seconds)
13:19:01kugelAcorn: yes
13:19:26AcornAh, so I need to create a playlist and then play that?
13:21:06kugelright. have a look at pictureflow
13:21:21 Join keyb_gr [0] (
13:27:22lorenzo92okay. I'm seeing something on the screen but seems to be monochrome + crappy
13:27:29lorenzo92but that's fine, need to tune something
13:28:46Acornkugel: Is there any way to find out what index in the playlist is currently being played? Or do you have to keep track of that yourself by checking for track changes?
13:29:15Acornusing audio_has_changed_track()
13:29:43lorenzo92kugel: this is what I get opening FB device...The framebuffer device was opened successfully.
13:29:45lorenzo92240x320, 24bpp
13:29:46lorenzo92The framebuffer device was mapped to memory successfully.
13:29:55 Join The_Seeker [0] (
13:30:32kugelAcorn: doesn't look like there's a function for that
13:32:52kugellorenzo92: 24bpp doesn't match rockbox framebuffer
13:33:05lorenzo92okay. it is 16 bit right?
13:33:18lorenzo92i should be able to change it easily...
13:33:23 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
13:34:01 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
13:38:12 Join pixelma [0] (quassel@rockbox/staff/pixelma)
13:38:12 Join amiconn [0] (quassel@rockbox/developer/amiconn)
13:41:41 Join y4n [0] (y4n@unaffiliated/y4ndexx)
13:48:40 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
13:48:58 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
13:49:27 Quit pamaury (Client Quit)
13:49:33 Join pamaury [0] (~quassel@
13:49:33 Quit pamaury (Changing host)
13:49:33 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
13:49:40lorenzo92great!!! It's working fairly well hehe
13:49:53lorenzo92many I need to implement lcd sleep etc
13:50:13lorenzo92now rb is usable with OF
13:53:37lorenzo92kugel: basically it's just this to update screen hehe -> memcpy(out, p, pixels * 2);
13:53:42lorenzo92indeed simplier than sdl
13:54:30 Quit pamaury (Ping timeout: 252 seconds)
14:06:29***Saving seen data "./dancer.seen"
14:07:49 Join domonoky [0] (~Domonoky@rockbox/developer/domonoky)
14:10:06lorenzo92kugelp: don't know why but it's even faster the startup etc. Using OF kernel is the best solution
14:10:40kugelpnot surprised :-)
14:12:12lorenzo92what is supposed to do lcd_blit_yuv? I just copied-pasted from original lcd-bitmap...
14:19:40n1sit's used by the mpegplayer plugin to convert from yuv and blit to the display without going via framebuffer
14:25:35lorenzo92so I'll keep it..thanks
14:26:01lorenzo92i still have some little glitches but the base is working fine ;)
14:29:29 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
14:34:23 Nick soap_ is now known as soap (~soap@rockbox/staff/soap)
14:45:04 Join mortalis [0] (
14:52:37 Join [Saint] [0] (~Saint]@unaffiliated/saint/x-8516940)
15:11:13 Join pamaury [0] (~quassel@
15:11:13 Quit pamaury (Changing host)
15:11:14 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
15:18:43 Quit Staphylo (Quit: Bye Bye =))
15:19:30 Quit benedikt93 (Quit: Bye ;))
15:23:50 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
15:28:40 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
15:37:44 Quit The_Seeker (Quit: I know your passwords)
15:50:15 Quit lorenzo92 (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20111008085652])
16:06:31***Saving seen data "./dancer.seen"
16:06:59 Quit mortalis (Quit: CGI:IRC (EOF))
16:12:24 Join abckb__ [0] (~abckb@
16:19:20abckb__hi, i have an ipod shuffle 2nd generation, can i install rockbox on it?
16:22:18Bagderabckb__: no, rockbox doesn't run on any shuffle
16:22:19CIA-14New commit by pamaury (r30849): sbtools: factor key code, introduce crypto layer, move from open/read/... to fopen/fread/..., add support for encryption/decryption using a device ...
16:23:04abckb__Bagder: ok thanks
16:24:14CIA-14r30849 build result: All green
16:31:01 Part abckb__ ("Ex-Chat")
16:34:27 Join ReimuHak_ [0] (
16:44:57 Quit pamaury (Ping timeout: 245 seconds)
16:46:50 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
16:46:58 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
17:07:44 Quit TheLemonMan (Quit: WeeChat 0.3.6)
17:08:13 Nick [sanyi] is now known as [Sanyi] (~sanyi@unaffiliated/alexanderc)
17:08:23 Quit Topy44 (Ping timeout: 240 seconds)
17:16:04CIA-14New commit by kugel (r30850): Better fix for FS #12337. Use 0 to make the line height calculated from the font height, as before r30773.
17:17:36CIA-14r30850 build result: All green
17:19:11 Quit Unhelpful (Ping timeout: 240 seconds)
17:28:01 Join einhirn [0] (
17:35:45kugelhm; I wonder if we could support 32bit bitmaps (ARGB8888) for themes
17:37:14kugelfrom what I gather there's no problem to re-use the alpha blending from AAF for transparent bitmaps
17:40:51kugelthe only problem is that they need a different in-ram representation than normal bitmaps (which are converted to native format at loading time)
17:42:35kugelanyone fancy implementing it? :)
17:57:41 Quit Zarggg (Ping timeout: 258 seconds)
17:57:53 Join ChickeNES [0] (~ChickeNES@
18:02:46 Quit Llorean (Changing host)
18:02:46 Join Llorean [0] (~DarkkOne@rockbox/user/Llorean)
18:05:15 Join Zarggg [0] (
18:05:59 Quit factor (Ping timeout: 240 seconds)
18:06:35***Saving seen data "./dancer.seen"
18:08:06 Join factor [0] (~factor@
18:11:06 Join bertrik [0] (~bertrik@rockbox/developer/bertrik)
18:11:30 Quit factor (Read error: Connection reset by peer)
18:11:41 Join factor [0] (~factor@
18:22:34bertrikI figured out part of the problem with the weird colours on the clip zip, I was incorrectly writing a bunch of (what seems like) curves that map the pixel value into RGB intensities
18:23:00bertrikbut red and blue are still reversed, so it appears as BGR565 encoding instead of RGB565
18:26:48bertrikapparently there can be two different kinds of display on the clip zip, but unfortunately I can't find a datasheet for the one now in my clip zip
18:27:09bertrik(I expect that the display controller allows me to switch between RGB and BGR)
18:30:54 Quit einhirn (Read error: Connection reset by peer)
18:32:44 Join lorenzo92 [0] (
18:33:48 Join toffe82_ [0] (
18:34:27lorenzo92I was wondering how hold button works...I already set up the keymap and then enabled the support, but then?
18:34:43 Join Unhelpful [0] (~quassel@rockbox/developer/Unhelpful)
18:43:29 Quit bertrik (Remote host closed the connection)
18:44:27 Quit ChickeNES (Quit: Computer has gone to sleep.)
18:45:38 Join bertrik [0] (
18:45:38 Quit bertrik (Changing host)
18:45:38 Join bertrik [0] (~bertrik@rockbox/developer/bertrik)
18:47:08 Quit Acorn (Quit: Page closed)
18:56:13kugelhmm, I'm actually pondering having a go at transparent bitmap support
18:57:32kugelthinking about the internal representation. What would be nicer/better? store as 32bbp (as in the bitmap file), ARGB8565 (24bbp) or alpha and colors entirely separately?
18:57:54kugel(e.g. a rgb565 buffer and a alpha buffer (4 or 8 bbp))
18:58:19kugelI think the latter would be the easiest to implement, since the existing rgb565 can be reused
18:58:59 Join pamaury [0] (~quassel@
18:58:59 Quit pamaury (Changing host)
18:58:59 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
19:01:49CIA-14New commit by pamaury (r30851): sbtools: move sb file production to its own file with a clean api, factor key reading even more
19:02:08pamauryZoiah: here ?
19:02:09 Quit pamaury (Client Quit)
19:02:15 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
19:02:18Zoiahpamaury: yes. :D
19:02:44pamauryI've got all the tools ready to decrypt the firmware
19:02:55ZoiahI saw the blinking taskbar, went to the channel and thought: "Shit, did I just miss him again?".
19:02:57ZoiahWoo. :)
19:03:20pamauryjust need to commit one more thing and you'll be able to test it :)
19:03:22CIA-14r30851 build result: All green
19:03:32ZoiahI'll fire up my VM.
19:04:21CIA-14New commit by pamaury (r30852): sbtools: add options to override real key and IV, fix output prefix in sbtoelf, unify command line to add keys
19:05:11 Quit Unhelpful (Ping timeout: 240 seconds)
19:05:49CIA-14r30852 build result: All green
19:06:21 Nick kugel is now known as kugelp (~kugel@rockbox/developer/kugel)
19:06:42 Join thomasjfox [0] (~thomasjfo@rockbox/developer/thomasjfox)
19:07:03ZoiahI need to:
19:07:04Zoiah- $(LD) $(LDFLAGS) -o $@ $^
19:07:04Zoiah+ $(LD) -o $@ $^ $(LDFLAGS)
19:07:08Zoiah- $(LD) $(LDFLAGS) -o $@ $^
19:07:08Zoiah+ $(LD) -o $@ $^ $(LDFLAGS)
19:07:22Zoiahcrypto.o: In function `crypto_apply':
19:07:22Zoiah/home/smite/tmp/rockbox/utils/sbtools/crypto.c:75: undefined reference to `libusb_init'
19:08:00bertrikok, here it goes
19:08:06CIA-14New commit by bertrik (r30853): Sansa clip zip: update mkamsboot and fix various drivers to make it boot to the main firmware
19:08:38pamauryZoiah: ok thanks, will change that, I need to commit the usbotp part also
19:09:41CIA-14r30853 build result: All green
19:09:44CIA-14New commit by pamaury (r30854): sbtools: fix compilation when linker expects correctly ordered files
19:11:03pamauryZoiah: ok with this ?
19:11:12CIA-14r30854 build result: All green
19:12:45 Quit Zarggg (Ping timeout: 260 seconds)
19:13:08Zoiahpamaury: seems to build fine now. :)
19:14:20pamauryok, now I need to do something. I wrote the tool to encrypt/decrypt on device
19:14:36pamaurybut the final production and crafting is rather dependent on the device
19:14:46pamauryso I don't really know how to do this
19:14:57ZoiahCan I help you with anything?
19:15:19 Quit liar (Remote host closed the connection)
19:15:28pamauryIt's more a question of how I organize things to commit, I don't want to commit something particular to your device :)
19:15:42pamauryperhaps a README with the instruction is better
19:15:58ZoiahOr you just tarball it up and I'll give it a spin?
19:16:22pamauryyeah that might works, I will torture myself on this issue later :)
19:17:34 Join Zarggg [0] (
19:18:32ZoiahSorry, wrong window. :)
19:19:23pamauryI sent you the archive
19:19:38pamaurythe best way would be to unzip it in utils/ in the roxkbox SVN
19:19:47pamauryso you utils/imxusbotp/*
19:20:49pamaurywhen it's done, you don't need to rebuild, I sent you the fully built version but I encourage you to check it's build correctly with make clean && make
19:21:33pamaurythen in utils/imxusbotp/ do: sudo ../imx_hid_recovery/imxhidrecovery 1024
19:22:59pamaurydone ?
19:23:15ZoiahBuilds fine.
19:23:17ZoiahNow to try. :)
19:24:14ZoiahOk, ran.
19:24:58pamauryok, when you have sent the file to the device, go in the directory where you have the .sb file of the device. Let's say you want to decrypt you do: (you will need to recompile sbtoelf with the latest svn version)
19:24:58pamaurysudo sbtoelf -a "usbotp(066f:3780)" -o FIRMWARE.
19:25:36ZoiahOne moment.
19:26:20ZoiahFinal signature:
19:26:20Zoiah Encrypted SHA-1:
19:26:20Zoiah 9E 08 F6 CF 22 1C CA B0 BC 64 64 AA F0 8D A2 33
19:26:20Zoiah 31 2B 41 F9 F4 39 28 16 37 08 50 98 21 5A 0C 6A
19:26:20Zoiah File SHA-1:
19:26:21***Alert Mode level 1
19:26:21Zoiah 82 07 C6 5E C9 56 17 32 B6 82 30 18 1F C8 15 2F 55 0B 36 55 Ok
19:26:29ZoiahLol, it looks like it worked. :D
19:27:26pamauryvictory \o/
19:27:49pamauryI would appreciate if you send me the files produces (all the FIRMWARE.*)
19:27:54ZoiahJust wanted to ask this. :)
19:29:37pamauryI would be tempted to say we did a great job :)
19:29:51pamaurynow you need to reverse engineer the firmware :)
19:29:58ZoiahIDA to the rescue. ;)
19:30:17ZoiahTo figure out the parts and stuff, right?
19:30:24ZoiahOr something else in particular?
19:31:27pamauryBasically if you want to port rockbox you will need to figure out: the hardware (did you open it ?), what to keep in the OF (like memory init and so one), how to init the external hardware like LCD, nand/sd/audio codec if any...
19:31:31pamaurythe main step is the lcd
19:32:18pamauryIt would be great if you could write things on the wiki so information is not lost
19:33:10ZoiahI'll give it a whirl. :)
19:33:29bertrikhow do I generate bitmaps for plugins? pitch notes for the pitch detector plugin, for example
19:35:09bertrikand can anyone explain /home/bertrik/rockbox.git/rockbox/apps/recorder/jpeg_idct_arm.S:25:31: error: apps/core_asmdefs.h: No such file or directory ?
19:35:15 Nick [Sanyi] is now known as [sanyi] (~sanyi@unaffiliated/alexanderc)
19:36:22***Alert Mode OFF
19:37:31 Nick [sanyi] is now known as [Sanyi] (~sanyi@unaffiliated/alexanderc)
19:37:40 Join stoffel [0] (
19:39:27 Quit lorenzo92 (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20111008085652])
19:39:40 Nick kugelp is now known as kugel (~kugel@rockbox/developer/kugel)
19:39:55bertrikoh, that last thing just needed a make clean it seems
19:40:42 Join robin0800 [0] (~robin0800@
19:43:37 Quit Horscht (Quit: Verlassend)
19:49:07 Join benedikt93 [0] (~benedikt9@unaffiliated/benedikt93)
19:57:13Zoiahpamaury: why do all sections have a counterpart with 'L' on the second character?
19:58:06pamaurydon't know, of all sb files I've seen I can tell this one is really different
19:58:18pamaurydata sections are basically useless for you
19:58:26pamaurythey contain data like images for example
19:58:55pamauryplay is probably the firmware, host is usb
19:59:05pamaury____ is init/boot
19:59:16pamaurymlc_ is something I've never seen
19:59:16ZoiahDoes the device run ELFs concurrently?
19:59:25ZoiahOr is there always only one running?
19:59:50pamauryno, it begins with ____, then ____ can switch to another section
20:00:07pamauryusually it's switching to host if usb is plugged and play otherwise
20:00:25pamaurybut here there are more so I can't really tell, you'll have to look at the code to see
20:00:46pamauryIn any case, you should begin with ____ and then go to host because these are probably the "simplest"
20:01:01Zoiahhost is very readable.
20:01:51 Quit stoffel (Ping timeout: 248 seconds)
20:02:43pamauryAre there special "modes" on the device ?
20:02:55pamauryPerhaps the "L" are overlays like plugins
20:03:08ZoiahThey're very similar to the non-L.
20:03:33pamaurygood point
20:03:39pamaurylanguage difference perhaps ?
20:03:49pamauryor region ?
20:06:31pamaurytry to diff the resulting elf ? :)
20:06:37***Saving seen data "./dancer.seen"
20:06:58ZoiahI do.
20:07:04ZoiahSome are very different, some are minimal.
20:07:47 Join Jerom [0] (~jerome@
20:08:19pamauryindeed, just a few bytes, what a waste
20:09:08pamauryit would be interesting to know what are mlc_ and lba_, I'll have a try at reverse engineering, don't focus on them presently :)
20:10:39bertrikbacklight-target.h is weird
20:13:35 Quit robin0800 (Ping timeout: 240 seconds)
20:13:45Zoiahpamaury: all .L.. versions are shorter than the normal versions.
20:14:38pamaurybertrik: w.r.t to what ?
20:15:02 Join robin0800 [0] (~robin0800@
20:15:33 Quit thomasjfox (Remote host closed the connection)
20:15:45bertrikit has prototypes that other code depends upon, so those prototypes could better be in backlight.h and not be repeated in every backlight-target.h instance
20:15:58pamauryZoiah: or perhaps this firmware handles several plays / versions of the hardware
20:22:13Zoiahpamaury: the difference between regular and L seems a bit too consistent to me for that.
20:23:27ZoiahLooks like it refers to the internal storage as 'a:/' on a few places.
20:23:38Zoiahfor i in FIRMWARE*elf; do echo $i; strings $i | grep -i "a:/"; done
20:24:45pamauryZoiah: If you want I can send you my ida files for the fuze+, if they are based on the same sdk, it will save you some time because some part were really tricky to understand
20:25:01ZoiahPlease. :)
20:25:37pamauryok, I'll do that later, don't want to boot my VM now but I'll do it :)
20:25:53ZoiahIt refers to sdk_os stuff a few times.
20:26:07pamauryok, then it's probably based on it
20:26:41ZoiahI think the mlc_/lba_ things are ran before the normal runtime.
20:26:57ZoiahIt also handles reading the / and updating the device.
20:27:18 Quit MethoS- (Read error: Connection reset by peer)
20:27:49lebelliumhello guys, why "%?if(%mp, =, 0)<a|%x(A, 03_albumart_songlist_04bis.bmp, 2, 0)>" doesn't work?
20:28:11lebelliumI want to display the picture only when playback is not stopped
20:28:37lebelliumbut I don't know what the format of %mp. Seems like it's neither "Stop" nor "0"
20:31:00pamaurylebellium: isn't it documented in the manual ? (I've never written a wps)
20:31:11 Quit robin0800 (Ping timeout: 240 seconds)
20:32:13lebelliumpamaury: I read this page again and again but sometimes I don't understand how to use some tags in conditional tags, that's not clear like for this %mp
20:32:50 Join robin0800 [0] (~robin0800@
20:34:19bertrikany volunteers to port cabbiev2 to a 96x96 resolution?
20:34:40pamaurylebellium: I can't really help you since I've never written a wps. Perhaps bertrik ? JdGordon ?
20:34:44pamaury[Saint] ?
20:35:32lebelliumpamaury: Yep no problem, thanks anyways :) If a theme expert read these words I assume he will help me
20:35:52Zoiahpamaury: hmm, the difference between lba/mlc is similar to the difference between regular and L. :)
20:36:11ZoiahActually, mlc/lba and regular/L respectively.
20:36:57pamauryinteresting, that's doesn't tell what mlc is however :) Perhaps some updater
20:37:00pamauryor recovery
20:37:11pamauryis there such thing ?
20:37:21Zoiahmlc is ran before the regular firmware.
20:37:29ZoiahIt checks for presence of / among other things.
20:37:38ZoiahPhilips uses the regular 3780 recovery for recovery.
20:38:15pamauryyou can't tell, it must be ran before but it might also never go to the main firmware after it
20:38:33ZoiahThe recovery is even built in as standard feature in their media management App, Philips Songbird.
20:38:56pamauryah yeah, you told me that :)
20:39:11pamauryI'll disassemble it and see :)
20:39:12ZoiahIf I put a false it takes far longer to progress through the 'Updating' bar which happens during booting.
20:39:29ZoiahAnd it's the only ELF that refers to
20:39:32pamauryit might be interesting for you to read the SbFileFormat page on the wiki to understand the format a bit
20:39:36pamauryI need to leaf
20:39:50ZoiahOk, will do.
20:39:54ZoiahThanks for your hard work. :)
20:41:35 Quit robin0800 (Ping timeout: 240 seconds)
20:42:18ZoiahMy random guess would mean that mlc refers to the internal NAND flash and lba would refers to some lba-addressable SD card.
20:43:58 Join robin0800 [0] (~robin0800@
20:46:36ZoiahEven though pLay.1.elf is shorter than play.1.elf, it does refer to a lot of NAND_ functions, where the other does not.
20:49:24ZoiahHm, should see which functions refer to the NAND_ thing and if they also exist in the other. :)
20:52:28Zoiahpamaury: maybe it would be beneficial to also dump the bootloader of this device to see if it has been customized in any way?
20:53:58 Quit pamaury (Ping timeout: 252 seconds)
20:56:53 Quit mgue (Ping timeout: 258 seconds)
20:58:32 Join mgue [0] (
21:08:28 Join Acorn [0] (2e4019ad@gateway/web/freenode/ip.
21:08:57AcornIs there any way to start playing a specific playlist using the plugin API?
21:15:24jhMikeSit appears the needed functions are already present. if not, add them
21:20:11 Quit guymann (Ping timeout: 255 seconds)
21:24:42Acornwhich functions should I be looking at? I see there's one for creating a playlist which you can then play, but none to specify a playlist file
21:28:06jhMikeSprobably playlist_insert_playlist
21:30:59 Quit Zarggg (Ping timeout: 260 seconds)
21:32:09 Quit robin0800 (Ping timeout: 252 seconds)
21:33:38 Join robin0800 [0] (~robin0800@
21:36:39 Quit Thra11 (Ping timeout: 244 seconds)
21:41:49 Quit robin0800 (Ping timeout: 244 seconds)
21:43:51 Join robin0800 [0] (~robin0800@
21:50:14 Join Thra11 [0] (
22:02:00 Join fml [0] (
22:03:15fmlOut of C curiosity: what does the following line do (from lcd-bitmap-common.c): height = s->vp->line_height ?: (int)font_get(s->vp->font)->height; There is no first expression. Is it standard C?
22:05:41CIA-14New commit by bertrik (r30855): Sansa clip zip: add missing prototype to backlight-target.h
22:06:38jhMikeSfont_get must return a struct pointer
22:06:40***Saving seen data "./dancer.seen"
22:07:19CIA-14r30855 build result: All green
22:07:22 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
22:07:44jhMikeSoops, misread
22:08:02pamauryZoiah: no there is no benefit in dumping the bootloader, it's stored in ROM and can't be customized. Much stmp3780 are shipped with version A4 and there is a A5 too fixed a few issues
22:08:14CIA-14New commit by bertrik (r30856): Sansa clip zip: update target configuration with correct battery capacity, album art
22:08:16Zoiahpamaury: ahh, ok.
22:08:24jhMikeSfml: I think that means leave height as is unless the test fails?
22:08:54Zoiahpamaury: who decides which elf to run next? The bootloader? or is the bootloader told that by the elf in some form of exitcode/return?
22:09:43Zoiahpamaury: also, I just noticed that the output of sbtoelf is not always consistent. Some files differ between runs.
22:09:48 Quit ReimuHak_ (Ping timeout: 240 seconds)
22:09:54CIA-14r30856 build result: All green
22:10:08ZoiahI do: for i in {1..10}; do mkdir $i; sudo ../sbtoelf -a "usbotp(066f:3780)" -z -o $i/FIRMWARE.; done
22:10:40pamauryZoiah: the elf files shouldn't differ :-/
22:11:38ZoiahThe changes aren't distributed in filesize, strangely enough.
22:11:58pamauryyou should read the SbFileFormat page on the wiki or download the source of sbtoelf on freescale website (there is a pdf with the spec); basically the elf files are just a way to reverse engineer it, it's not something really concrete
22:12:40jhMikeSfml: yeah, it's basically "height = s->vp->line_height ? height : (int)font_get(s->vp->font)->height;" and not standard
22:12:49pamaurythe first section to be executed is ____, it "runs" ____.0 then ____.1 etc and then either it stops or one of the "CALL" asks the bootloader to jump to another section
22:13:50fmljhMikeS: I didn't know it's possible (I mean the syntax). Shouldn't it be changed to standard?
22:13:51pamauryZoiah: the command line is a bit crypitc for me, what does it do ?
22:14:10 Join ReimuHak_ [0] (~reimu@
22:14:26jhMikeSfml: not like we don't use gcc extensions if we darn well please, and if linux uses it, it must be right as well :)
22:14:32Zoiahpamaury: amount of differing versions of that file.
22:15:01Zoiahpamaury: so, 10 runs of sbtoelf on the same source ends up with 10 different copies of FIRMWARE.____.2.elf.
22:15:04pamaurycan you pastebin the diff between two versions. Check that the output of sbelf says all checksums are right,
22:15:06 Nick [Sanyi] is now known as [sanyi] (~sanyi@unaffiliated/alexanderc)
22:15:40pamauryperhaps I broke sbtoelf in one of the recent commits :-/
22:15:46pamaurylet me check
22:16:36ZoiahI'll re-run my sbtoelfs and record the outputs.
22:17:59pamaurymight be some padding I introduce in the elf files, that's really weird
22:18:45ZoiahMaybe my box is broken. ;)
22:18:54ZoiahIt's curious how one file _always_ changes.
22:18:58 Join The_Seeker [0] (
22:18:58ZoiahAnd the rest just randomly.
22:19:49pamaurygive me a minute, I will hack my tools to decrypt your file now that I have the real key
22:20:24Zoiahpamaury: output of sbtoelf is even the same, even though it results in 10 different copies of FIRMWARE.____.2.elf
22:21:01 Quit The_Seeker (Client Quit)
22:22:37pamauryok, if the output is the same, it means crc went all good so the tools either adds some padding I'm not aware of (that would be strange ^^) or this is some uninitialized data (bad !)
22:23:48 Quit keyb_gr (Ping timeout: 240 seconds)
22:24:29pamauryZoiah: I've got the answer
22:24:35ZoiahWoo. :)
22:24:56pamauryI think because of some padding, when fseek-ing, it will write some unitialized data
22:25:29pamaurythat is, if I fwrite from 0 to 6 and then fseek to 8, byte 7 will be random
22:25:34ZoiahThat makes sense.
22:26:02pamaurythat's a bit bad, I'll try to change that, I don't like this behaviour
22:26:24pamauryI knew it, because valgrind report unitialized data when fseeking
22:33:34ZoiahBTW, SA3ARAK08 (succesor of this device) has the same firmware format, but different key.
22:33:44ZoiahBut the sectionnames aren't encrypted.
22:33:55ZoiahThere they have a mlc_ and mmc_ instead of mlc_ and lba_.
22:34:46ZoiahAnd an S version of every executable.
22:35:38ZoiahOh, and philips supplies,,, etc.
22:35:42ZoiahBut they're all identical. :)
22:35:56ZoiahAnd I tried to sign up for the wiki, but it does not like me. :(
22:35:57 Quit fml (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238])
22:36:39 Quit Llorean (Read error: Connection reset by peer)
22:36:59pamauryperhaps you need to ask, don't remember I signed up a long time ago :)
22:40:50pamauryZoiah: which tool do you use to make a hex diff ?
22:41:24CIA-14New commit by jethead71 (r30857): Fix FS #12356 : next track advances when skip in repeat one mode. audio_flush_and_reload_track wasn't called when the setting changed from the playback ...
22:41:27Zoiahpamaury: diff -urN <(xxd file1) <(xxd file2)
22:41:37pamauryor ok, I thought about that :)
22:42:09ZoiahThere probably are better tools, but this one is stuck in my brain. ;)
22:42:26pamaurywhich one is the file changing all the time so I can check ?
22:42:48CIA-14r30857 build result: All green
22:43:01AcornI'm attempting to play a playlist from an Lua script, but I'm getting the error "/test.lua:6: attempt to index field 'contexts' (a nil value)". What am I doing wrong?
22:43:16ZoiahFIRMWARE.____.2.elf changes most frequently.
22:43:38Acornoh, just realised the error is thrown by the input handling
22:44:26Zoiahpamaury: oh, and not sure if this is your code, but the abort() thrown by the default getopt-handler is a bit harsh. ;)
22:44:45Acornhmm, now it just gets stuck on a "loading.." splash :(
22:44:58Zoiahpamaury: and confusing, because the usage outputs a -r for raw mode, but getopt doesn't handle it.
22:45:51pamauryZoiah: abort should never happen, it means a bug, I must have overlooked the short mode
22:46:57pamaurystrangly enough I don't seem to get different files accross executions
22:47:45Zoiah switch(c)
22:47:45Zoiah {
22:47:48Zoiah default:
22:47:48Zoiah abort();
22:47:48pamauryZoiah: do you have a 32-bit or a 64-bit machine ? Perhaps this is related to it
22:48:07Zoiahpamaury: 32-bit VM with latest Ubuntu running on 64-bit Windows 7. ;)
22:48:45pamauryhum, I'm running a 64-bit one, so I would be the most likely to see strange things :)
22:49:06 Quit Thra11 (Ping timeout: 252 seconds)
22:49:27Zoiah-00001a0: 041c 0000 6602 5709 cc00 0000 0000 0000 ....f.W.........
22:49:27Zoiah+00001a0: 041c 0000 6602 e708 cc00 0000 0000 0000 ....f...........
22:49:52 Quit benedikt93 (Quit: Bye ;))
22:49:55 Join lorenzo92 [0] (
22:50:00ZoiahIt's always 0x1a6 that's different.
22:50:14 Quit lorenzo92 (Client Quit)
22:50:17pamauryZoiah: try this
22:51:53pamauryor perhaps there is a bug somewhere but the data is written with some delay and it only shows up on fseek...
22:52:11 Quit y4n (Quit: PÆNTS ØLF!)
22:52:27AcornDoes anyone know of an example Lua script that plays a playlist? or does some other playback control?
22:52:56Zoiahpamaury: still same effect.
22:53:11 Quit robin0800 (Ping timeout: 240 seconds)
22:54:32pamauryI don't have the same content at this location !
22:56:04 Join robin0800 [0] (~robin0800@
22:56:05ZoiahFIRMWARE.____.2.elf, right?
22:57:05 Quit scorche (Disconnected by services)
22:57:12 Join scorche` [0] (~scorche@rockbox/administrator/scorche)
22:58:56pamauryZoiah: I *might* have the answer this time
23:01:33 Join Thra11 [0] (
23:05:33 Join keyb_gr [0] (
23:11:03pamauryIt's related to the elf section offset of bss portions (which don't have an offset), it's not initialized but I don't see why...
23:13:16pamauryZoiah: can you run sbtoelf with valgrind ?
23:18:33Zoiahpamaury: I could give it a whirl.
23:21:31Zoiahpamaury: I've never used valgrind before, do I need to give it any particular parameters?
23:21:52pamauryno, just valgrind sbtoelf ...
23:21:59pamauryand if you need sudo, do sudo valgrind
23:22:03pamauryand NOT valgrind sudo
23:24:19Zoiah==15320== LEAK SUMMARY:
23:24:19Zoiah==15320== definitely lost: 1,024 bytes in 21 blocks
23:24:19Zoiah==15320== indirectly lost: 154 bytes in 10 blocks
23:24:19Zoiah==15320== possibly lost: 32 bytes in 2 blocks
23:24:19Zoiah==15320== still reachable: 328 bytes in 2 blocks
23:24:23pamaurystop it before the end, it will be damn slow
23:24:40pamauryleak is normal, free-ing everything is a real mess and it doesn't allocate a lot here :)
23:25:00pamauryI'm more interested in error message like unitialized data
23:25:43pamaurythanks, apparently you get the same error message in fseek
23:28:05ZoiahIt's probably not superrelevant to our goal, but still. ;)
23:30:03Acorntrying to get anywhere with plugin writing is seriously frustrating :(
23:30:33pamauryAcorn: plugins in lua are not really documented I think
23:30:34pamauryno it's really relevant, I tried to fflush after fwrite and the error is then in fflush so it's be related
23:31:43Acornpamaury: yeah, not much documentation at all. Although I'm trying the example at the bottom of the page and that isn't working..
23:32:05pamauryAcorn: did you had a look at the existing plugins in lua ? I think there is a game
23:32:45Acornpamaury: yeah, although I'm trying to do something with audio playback, and there are no examples of that, other than the short on the page I linked
23:32:56Acorn*short one
23:33:21AcornIf I was doing something wrong I would have thought I would have gotten some output in the emulator console
23:34:09pamauryI don't lua and I've not written plugins in a while so unfortunately I can't really help, I don't know who can help you.
23:39:27lebelliumIs it possible to change the scroll bar color independantly from the text color in the UI viewport?
23:41:01 Quit Thra11 (Quit: kthxbai)
23:42:06 Join Highlander [0] (~Connor_Ma@2a01:e35:2ec2:dcd0:5d9a:3b06:315:6a45)
23:58:06 Join Zarggg [0] (

Previous day | Next day