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 2013-01-26

00:02:21benj007I have to go, byee
00:02:25benj007and thanks
00:02:35 Quit benj007 (Quit: Leaving...)
00:03:58 Part eckoit
00:05:08Marexpamaury: hey, interesting
00:05:36Marexpamaury: if I write the GRAM by hand (using writereg(0x22, value) in a loop), the smartLCD displays the stuff
00:06:44pamaurythat means you have a problem with dma setup
00:07:08pamaurycan you try without bypass ? just send N pixels and stop
00:07:23Marexyah
00:08:11pamauryat least the lcd setup is correct, that's a good thing
00:08:16Marexpamaury: yep
00:08:26Marexpamaury: it seems it's really this OTM2201A
00:08:37Marexbtw no luck on "that" stmp datashit
00:09:01pamauryI don't remember how I find out this was a OTM2201A. Any reason ?
00:10:05Marexpamaury: it just matches well with the datasheet
00:10:24pamauryyeah but do you know how many controllers there are out there ?! :)
00:13:38Marexpamaury: yea well if it's a clone, it's a good one
00:14:23pamauryanyway, those lcd datasheet are close to useless for us
00:16:27pamauryso what about the dma without bypass ?
00:22:55Marexsame thing, lemme poke into it for a bit
00:24:00MarexI think there's an issue when it's receiving data via RGB IF
00:25:35pamauryif it words with writereg but not with dma that clearing means something is wrong with the dma, that's exactly the same protocol. Stupid question but are you sure that xres is a multiple of 2 ?
00:25:59Marexhm, let's see
00:26:06pamauryor even that xres and yres are nonzero ?!
00:26:25Marexpamaury: they're \mathbb{N} for sure :p
00:26:39pamaury^^
00:27:09Marexnah ... I ate too much today, I'm not getting into such a discussion :
00:27:10Marex:)
00:27:39Marexsomething is clearly wrong, but something is also clearly written
00:27:58Marexsince I see two black stripes emerging from the bottom of the screen with a white stripe inbetween
00:28:06pamaurywith dma ?
00:28:21Marexyea
00:28:33pamaurybypass count ?
00:29:04Marexbut I also have 0xc of the smartLCD set to 0x111 (RGBIF, RGBIF, 16bpp)
00:29:46pamauryhum, do whatever you want but I told you, with the OF value (0) it works, if you put something else, I don't know what will happen
00:29:54pamauryi'll have to read the datasheet because of you !
00:30:15Marexpamaury: I can read it myself too, you know :p
00:30:34pamauryyeah but some terms might not refer to what you think
00:31:03pamauryI get suspicous when I see RGBIF
00:31:51Marexoh
00:31:53Marexwait up (!)
00:32:03pamauryok, so you *don't* want to set 0xc to 0x111, that's a bad idea, the lcdif is setup in system mode, not RGB
00:33:35Marexpamaury: yep, you were right
00:33:42MarexI think now I managed to get _some_ output
00:33:45Marexlet's see
00:33:54pamauryyou can try with 0x11
00:34:42pamauryexternal clock is useful only for RGB interface when sending moving pictures
00:34:50pamauryso 0x1 would suffice
00:35:02pamauryand about 16 vs 18 bit, I must says I'm confused
00:35:54pamaurybecause the OF set it to 0x0 so 18-bit, but I'm pretty my driver set databus to 16-bit
00:36:35pamaury*sure
00:36:39Marexpamaury: yep
00:36:40 Join ender` [0] (~ender@foo.eternallybored.org)
00:36:45Marexpamaury: it's weird
00:36:48pamaurythat *might* mean that they wired the bus in a weird way
00:37:46pamaurythey probably wire lcdif_{0-7} to lcd_{1-8} and lcdif_{8-15} to lcd_{10-17}, I don't see another explaination
00:38:22pamauryanyway, setting reg 0xc to 0x0 or 0x1 is safe, at worse you'll get bad colours
00:38:25Marexpamaury: check PM please
00:46:28 Quit pamaury (Remote host closed the connection)
00:47:46 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
00:54:44Tornewell this ipod problem is really entertaining. :)
00:55:13Torneipodvideo with ssd, the bootloader can access the disk just fine but rockbox fails to see it in RDY state during ata_init
01:00
01:04:44pamauryMarex: so, any success when setting reg 0xc to 1 or 0 ?
01:04:58 Quit ender` (Quit: Punch a psychic today: ask them if they saw it coming.)
01:10:39Marexpamaury: yep ... pity the DMA still gives me some grief
01:11:52Marexhttps://lh3.googleusercontent.com/-bwbcKKE5NMY/UQMexLPW49I/AAAAAAAAHas/Bn4eqnvKYaQ/s1130/IMG_20130126_010822.jpg heh :)
01:13:06pamaurycan you upload your new code ?
01:14:13pamauryMarex: is it normal that it is rotated ?
01:17:05pamauryotherwise the output looks good, except for the colour inversion
01:17:46Marexpamaury: the color is ok, where is it inverted ?
01:18:00Marexpamaury: it's rotated because I set up the LCD controller to do so
01:18:03pamauryah ok, strange colour then :p
01:18:15Marexit's the bloody camera on my gaylaxy nexus junker
01:18:34pamauryso this is working picture then, and dma doesn't work yet
01:18:34Marexstill, automated refresh doesn't work, which sux
01:18:46MarexI can trigger refresh manually ... no good
01:18:48Marextime to hack on DMA
01:20:32 Quit pamaury (Quit: this->disconnect())
01:24:04 Quit fs-bluebot (Ping timeout: 264 seconds)
01:25:10 Quit bluebrother^ (Read error: Operation timed out)
01:25:29 Join fs-bluebot [0] (~fs-bluebo@f053154210.adsl.alicedsl.de)
01:26:55 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
01:38:17 Quit lebellium (Quit: ChatZilla 0.9.89 [Firefox 19.0/20130116072953])
01:38:51 Join ender` [0] (~ender@foo.eternallybored.org)
01:48:47TorneThis is really weird and annoying. The bootloader initalises the ssd in here perfectly fine every time, but the main binary dies in one ppart of ata_init or another
01:48:57Tornebut the ata code is the same either way
01:56:38***Saving seen data "./dancer.seen"
01:57:45 Quit kadath (Quit: Leaving)
02:00
02:04:49 Quit ender` (Quit: Sex is dirty - if you do it right. -- Isaac Asimov)
02:13:03 Quit pixelma (Ping timeout: 256 seconds)
02:13:12 Join pixelma [0] (pixelma@rockbox/staff/pixelma)
02:13:39 Quit enriched (Remote host closed the connection)
02:17:43 Quit bertrik (Ping timeout: 255 seconds)
02:31:03 Join redhot [0] (~redhot@kvitka.znet.kiev.ua)
02:31:23redhothi
02:32:48redhotI've got "Data abort" error on booting RockBox 3.12 @ my SanDisk Sansa Clip+
02:32:57redhotAny suggestion how to fix it?
02:37:24 Quit [Saint] (Remote host closed the connection)
02:39:49 Join [Saint] [0] (~saint@rockbox/user/saint)
02:40:02funmanlearn how to code and spend many years looking at the code to fix it
02:43:12 Quit redhot (Read error: No route to host)
03:00
03:56:40***Saving seen data "./dancer.seen"
04:00
04:16:27 Join CaptainKewl [0] (~captainke@207-237-110-248.c3-0.nyr-ubr2.nyr.ny.cable.rcn.com)
04:23:12 Join amiconn_ [0] (quassel@rockbox/developer/amiconn)
04:23:12 Quit amiconn (Disconnected by services)
04:23:15 Nick amiconn_ is now known as amiconn (quassel@rockbox/developer/amiconn)
04:23:18 Join pixelma_ [0] (pixelma@rockbox/staff/pixelma)
04:23:18 Quit pixelma (Disconnected by services)
04:23:20 Nick pixelma_ is now known as pixelma (pixelma@rockbox/staff/pixelma)
04:23:22 Join TheSphinX_ [0] (~briehl@p579CCEF6.dip.t-dialin.net)
04:26:41 Quit TheSphinX^ (Ping timeout: 245 seconds)
04:33:15 Quit Cinos (Quit: ZNC - http://znc.in)
04:34:34 Join Cinos [0] (Cinos@a.not-so-innocent.hazel-eyed.little.catboy.tk)
04:42:05 Quit prof_wolfff (Ping timeout: 264 seconds)
04:56:29 Quit CaptainKewl (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
05:00
05:14:20 Quit SuperBrainAK (Quit: pbly going to sleep /_\)
05:16:15 Quit TheSeven (Disconnected by services)
05:16:24 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
05:33:23 Quit TheSphinX_ (Read error: Operation timed out)
05:33:59 Join TheSphinX^ [0] (~briehl@91.50.32.24)
05:56:42***Saving seen data "./dancer.seen"
07:00
07:03:39 Join TheSphinX_ [0] (~briehl@p5B32258C.dip.t-dialin.net)
07:06:47 Quit TheSphinX^ (Ping timeout: 245 seconds)
07:14:29 Join Belzebub_ [0] (~torrentow@elite.kablownia.org)
07:16:47 Quit Belzebub (Ping timeout: 240 seconds)
07:22:53 Join Belzebub [0] (~torrentow@elite.kablownia.org)
07:24:07 Quit Belzebub_ (Ping timeout: 246 seconds)
07:25:59 Quit mc2739 (Ping timeout: 264 seconds)
07:27:27 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
07:31:19 Join Belzebub_ [0] (~torrentow@elite.kablownia.org)
07:32:30 Quit Belzebub (Ping timeout: 245 seconds)
07:55:04 Join kevku [0] (~kevku@2001:470:27:773:0:feed:c0f:fee)
07:56:46***Saving seen data "./dancer.seen"
08:00
08:08:33 Join |akaWolf| [0] (~akaWolf@188.134.9.161)
08:24:36 Quit XavierGr (Ping timeout: 248 seconds)
08:34:58 Join melmothX [0] (~melmoth@unaffiliated/melmothx)
09:00
09:39:10 Quit kevku (Ping timeout: 245 seconds)
09:47:25 Quit Wardo (Quit: Blarglarg)
09:51:10 Join Tuco1 [0] (~Tuco@unaffiliated/tuco)
09:56:48***Saving seen data "./dancer.seen"
10:00
10:15:24 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
10:26:35 Join Ward [0] (~Mirandaha@176-120-190-109.dsl.ovh.fr)
10:26:58 Nick Ward is now known as Guest75883 (~Mirandaha@176-120-190-109.dsl.ovh.fr)
10:38:41 Quit Tuco1 (Ping timeout: 256 seconds)
10:42:11 Nick Belzebub_ is now known as Belzebub (~torrentow@elite.kablownia.org)
10:42:53 Join kevku [0] (~kevku@2a01:d0:ffff:34a::8:3)
10:44:03 Join lebellium [0] (~chatzilla@lns-c10k-ld-02-m-212-194-176-149.dsl.sta.abo.bbox.fr)
11:00
11:19:40 Join redhot [0] (~AndChat26@kvitka.znet.kiev.ua)
11:19:50redhotHello everyone!
11:21:41redhotDoes anyone know how to fix data abort issue on rock box?
11:26:14 Join zaphee [0] (~user@ede67-2-82-232-36-5.fbx.proxad.net)
11:30:08redhotPeople :-)
11:46:22*bluebrother wonders if he is people
11:51:07 Join ender` [0] (~ender@foo.eternallybored.org)
11:56:52***Saving seen data "./dancer.seen"
12:00
12:00:10 Quit ender` (Quit: My computer NEVER cras)
12:07:46 Join ender` [0] (~ender@foo.eternallybored.org)
12:15:01redhotOK then
12:16:56 Join dfkt [0] (dfkt@unaffiliated/dfkt)
12:23:43 Join Horscht [0] (~Horscht@xbmc/user/horscht)
12:34:03 Quit Horscht (Quit: quit)
12:34:32 Join Horscht [0] (~Horscht@xbmc/user/horscht)
12:46:09 Quit Horscht (Read error: Connection reset by peer)
12:46:32 Join Horscht [0] (~Horscht@xbmc/user/horscht)
12:47:11 Quit Horscht (Read error: Connection reset by peer)
12:47:30 Join Horscht [0] (~Horscht@xbmc/user/horscht)
12:48:47 Quit Horscht (Client Quit)
12:49:30 Join Horscht [0] (~Horscht@xbmc/user/horscht)
12:50:11 Join y4n [0] (~y4n@unaffiliated/y4ndexx)
12:54:56 Quit Horscht (Quit: Changing server...)
13:00
13:03:25 Join Horscht [0] (~Horscht@xbmc/user/horscht)
13:13:14 Quit Horscht (Quit: quit)
13:13:40 Join Horscht [0] (~Horscht@xbmc/user/horscht)
13:15:06 Quit Horscht (Client Quit)
13:15:28 Join Horscht [0] (~Horscht@xbmc/user/horscht)
13:27:12 Join einhirn [0] (Miranda@bsod.vpn.tu-clausthal.de)
13:29:34 Quit redhot (Ping timeout: 252 seconds)
13:35:09 Join prof_wolfff [0] (~prof_wolf@62.83.50.196.dyn.user.ono.com)
13:42:17 Join TheSphinX^ [0] (~briehl@p5B321FE9.dip.t-dialin.net)
13:45:39 Quit TheSphinX_ (Ping timeout: 248 seconds)
13:47:54 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
13:55:44 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
13:56:55***Saving seen data "./dancer.seen"
14:00
14:00:17 Join TheSphinX_ [0] (~briehl@p5B323C8A.dip.t-dialin.net)
14:03:47 Quit TheSphinX^ (Ping timeout: 264 seconds)
14:06:03 Quit pamaury (Quit: this->disconnect())
14:17:58 Quit TheSphinX_ (Read error: Operation timed out)
14:19:42 Quit Horscht (Quit: quit)
14:21:46 Quit bertrik (Ping timeout: 240 seconds)
14:24:33 Join n1s [0] (~n1s@nl118-168-30.student.uu.se)
14:24:33 Quit n1s (Changing host)
14:24:33 Join n1s [0] (~n1s@rockbox/developer/n1s)
14:24:48 Join TheSphinX^ [0] (~briehl@p5B3228FA.dip.t-dialin.net)
14:26:13 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
14:29:40 Join sakax [0] (~sakax@d8D862D2D.access.telenet.be)
14:37:41 Join sentriz [0] (~Senan@78.143.151.93)
14:40:00 Quit kevku (Ping timeout: 245 seconds)
14:45:11 Quit sakax (Ping timeout: 256 seconds)
14:55:55copperEven emCORE's fallback Rockbox image has problems with USB on my laptop :(
14:58:07 Quit sentriz (Ping timeout: 252 seconds)
15:00
15:01:49 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
15:08:53copperhmmm
15:09:30copperrunning the latest Classic build, my 300x300 cover artwork is really tiny, like 5x5 pixels
15:09:36 Join ender1 [0] (~ender@foo.eternallybored.org)
15:09:55 Quit ender` (Ping timeout: 252 seconds)
15:30:35copperI don't have that problem with a build from december 4, 2012
15:40:30pamauryMarex: did you succeed with dma ?
15:46:20 Join Horscht [0] (~Horscht@xbmc/user/horscht)
15:47:53 Join kevku [0] (~kevku@2001:470:27:773:0:feed:c0f:fee)
15:56:57***Saving seen data "./dancer.seen"
15:59:06 Quit ender1 (Quit: Doesn't it strike you as mildly ironic that most of the people who are against abortion are people you wouldn't want to fuck in the first place? -- George Carlin)
16:00
16:08:45 Quit ruskie (Ping timeout: 245 seconds)
16:11:44 Join Horschti [0] (~Horscht@xbmc/user/horscht)
16:12:18 Quit Horschti (Client Quit)
16:15:28 Quit Horscht (Ping timeout: 244 seconds)
16:17:28 Join ender` [0] (~ender@foo.eternallybored.org)
16:26:55 Join TheLemonMan [0] (~LemonBoy@unaffiliated/thelemonman)
16:33:04 Join mt [0] (~quassel@rockbox/developer/mt)
16:49:56 Join mt_ [0] (~quassel@41.233.10.227)
16:49:56 Quit mt (Read error: Connection reset by peer)
16:53:42 Join mt [0] (~quassel@41.233.10.227)
16:53:42 Quit mt_ (Read error: Connection reset by peer)
16:53:42 Quit mt (Changing host)
16:53:42 Join mt [0] (~quassel@rockbox/developer/mt)
16:54:10Marexpamaury: not really, but I figured the BYPASS_COUNT can't be set in 8080 mode
16:54:20Marexpamaury: so I suspect I'll need to work around that somehow
16:54:22 Quit mt (Read error: Connection reset by peer)
16:54:30pamauryyeah, it's really a dotclk/vsync thing
16:54:49Marexpamaury: but anyway −− now I need NAND/GPMI driver so I can load stuff from SD (the SD-NAND bridge is really stunning feat)
16:54:56 Quit prof_wolfff (Ping timeout: 256 seconds)
16:55:05Marexthen I can load Linux ;-D
16:55:05pamauryMarex: nope, SD uses the SSP
16:55:16pamauryGPMI for nand and ata
16:55:19Marexpamaury: really ? why is there that phison 8007 junk ?
16:55:27pamauryyeah, really useful
16:55:37 Join mt [0] (~quassel@41.233.10.227)
16:55:37 Quit mt (Changing host)
16:55:37 Join mt [0] (~quassel@rockbox/developer/mt)
16:55:40pamauryyou wouldn't want to write a FTL
16:55:47MarexI understood from the rockbox website they did something horrible
16:55:57Marexpamaury: we have all the NAND stuff for MX28 in U-Boot for a while now :)
16:56:21pamauryyeah but I'm not quite sure that the FTL is same for all stmps
16:56:40pamaurybeside, vendors sometimes introduce subtle modifications ^^
16:56:44Marexpamaury: it doesn't matter to me, I'll wipe it clean anyway and put UBI/UBIFS on it
16:57:08pamauryok ^^, anyway with sd you don't have to worry. What do you mean by something horrible ?
16:57:28pamauryif you are adventurous, I could suggest something for continuous lcd refresh but I have no idea if it will work, I need to test on my xfi3 before
17:00
17:00:59Marexpamaury: let's just discard the LCD for a while now
17:01:11Marexpamaury: I got it working enough to be able to use it to debug stuff :)
17:01:40Marexpamaury: my understanding was that the Phison 8007 chip was somehow converting SD interface to NAND interface
17:01:45Marexpamaury: which would be really awkward
17:01:48pamauryok, but i want to test a theory
17:02:00pamauryyes it does, why would that be awkard ?
17:02:34Marexpamaury: how is SD connected over SSP then?
17:02:43Marexam I missing some essential part there ?
17:03:07Marexconnecting SD on GPMI bus is awkward ;-)
17:03:09 Quit mt (Read error: Connection reset by peer)
17:03:48pamauryssp is just a generic term, the ssp block can do sd/sdio/mmc/spi
17:03:56Marexyep
17:04:14pamauryit's wired a standard 4-bit sd card
17:04:17pamaury*as a
17:04:19Marexpamaury: ok, what I do not follow is why is there that 8007 SD-GPMI chip
17:04:25 Join mt [0] (~quassel@41.233.10.227)
17:04:26 Quit mt (Changing host)
17:04:26 Join mt [0] (~quassel@rockbox/developer/mt)
17:04:26Marexthat is the only thing I fail to understand
17:04:40Marexerr ... s/SD-GPMI/SD-NAND/
17:05:10pamaurythe Phison 8007 provides you with a SD interface and does the low-level nand stuff by itself so you don't have do care
17:05:54pamauryyou don't even have to program it
17:05:57Marexpamaury: so the SD is really connected to the GPMI bus through this chip ?
17:06:12pamauryno, the sd is connected to the ssp
17:06:37Marexso it's the other way around then? NAND is connected through this chip to SSP bus ?
17:07:06pamaurySOC (ssp2) <=> (SD) Phison (NAND) <=> NAND
17:07:36Marexso you dont use GPMI for NAND ... I see
17:07:48pamaurythe imx is connect to the Phison on the ssp (sd) bus, and the phison is connected to the nand on a nand bus which is not connected to the soc
17:08:00pamauryyou just can't use the gpmi
17:08:09pamauryexcept if they wired both but I really doubt it
17:08:22Marexok, so GPMI block is not used in the CPU
17:08:28pamauryno
17:08:30Marexpamaury: the external SD is wired to where ?
17:08:37pamauryssp1
17:08:45Marexoh, good :)
17:08:47Marexnow I get it
17:08:49Marexthanks
17:09:06Marexlooks like I can boot Linux with ease now
17:09:07pamaurysee my sdmmc-imx233 driver for the boring details about power pin
17:09:24Marexpamaury: helpful, thanks
17:10:01pamauryiirc the internal sd just works (TM) but the microsd slot has a power pin and need a power up delay
17:10:04Marexpamaury: btw ad LCD, so far I put update() call after getc() handler for the fb console driver ... does what is needed ;-)
17:10:14Marexpamaury: that's ok, thanks :)
17:10:56pamaurywhat is funny is that on the three imx233 targets, none of them use the same convention for power and insertion detect, some use active low, some active high
17:12:09pamaurynow, let's test my lcd theory
17:22:27 Join zaphee1 [0] (~user@ede67-2-82-232-36-5.fbx.proxad.net)
17:24:09 Join zaphee2 [0] (~user@ede67-2-82-232-36-5.fbx.proxad.net)
17:24:24 Quit zaphee (Ping timeout: 256 seconds)
17:25:56 Join zaphee [0] (~user@ede67-2-82-232-36-5.fbx.proxad.net)
17:27:07Marexpamaury: that's normal :)
17:27:09 Quit zaphee1 (Ping timeout: 252 seconds)
17:28:48 Quit zaphee2 (Ping timeout: 252 seconds)
17:28:58 Quit melmothX (Quit: #)
17:47:33 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury)
17:48:11 Quit pamaury (Ping timeout: 276 seconds)
17:57:01***Saving seen data "./dancer.seen"
18:00
18:02:11 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury)
18:02:35 Quit pamaury (Quit: this->disconnect())
18:02:49 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
18:09:59 Join lebellium_ [0] (~chatzilla@lns-c10k-ld-02-m-212-194-176-149.dsl.sta.abo.bbox.fr)
18:11:15 Quit lebellium (Ping timeout: 245 seconds)
18:11:19 Join mt_ [0] (~quassel@41.233.10.227)
18:11:24 Nick lebellium_ is now known as lebellium (~chatzilla@lns-c10k-ld-02-m-212-194-176-149.dsl.sta.abo.bbox.fr)
18:14:10 Quit mt (Ping timeout: 245 seconds)
18:14:24 Nick mt_ is now known as mt (~quassel@41.233.10.227)
18:21:51 Join SuperBrainAK [0] (~Andy@71-36-165-101.phnx.qwest.net)
18:22:04 Quit ender` (Ping timeout: 255 seconds)
18:22:44 Join prof_wolfff [0] (~prof_wolf@62.83.50.196.dyn.user.ono.com)
18:28:03 Join Horscht [0] (~Horscht@xbmc/user/horscht)
18:35:12 Join pretty_function [0] (~sigBART@123.252.215.14)
18:41:44mtpamaury: I got myself an XFi style. Tried update_extract on the fw updater, but apparently it's using a non-zero key. I'm at loss at what to do next.
18:42:35pamauryhum, I'm not sure that if th XFi style is handled by the zenutils or if it's firmware.sb based
18:42:49 Join ender` [0] (~ender@foo.eternallybored.org)
18:42:53pamaurywait a sec
18:43:19 Quit mt (Read error: Connection reset by peer)
18:43:19pamaurymt: don't use update_extract, it's not the same thing,
18:44:00pamauryin the case of the XFi-style, the firmware.sb is in the updater and there is not tool to extract it currently
18:44:19pamauryI'll try to hack a few commands which do that
18:44:34 Join mt [0] (~quassel@41.233.10.227)
18:44:34 Quit mt (Changing host)
18:44:34 Join mt [0] (~quassel@rockbox/developer/mt)
18:46:19pamauryor if you want, open an hex editor, search for "STMP", says it's at offset x, then firmware.sb starts at offset x-0x14
18:46:45mtpamaury: Thanks
18:48:20pamauryactually there are two files in it: a recovery one and a normal one
18:51:18 Join sakax [0] (~sakax@d8D862D2D.access.telenet.be)
18:55:47pamaurymt: can you give me the offsets to see if they match mine, so I can add them to mkimxboot perhaps
18:56:11pamauryI should add an option to mkimxboot to extract the file without processing it
18:57:44 Quit TheLemonMan (Ping timeout: 276 seconds)
18:58:00mtpamaury: Offsets for STMP are 94FF4 and CDCE4
18:58:39pamaurysame here, that's before subtracting 0x14
18:58:43mtYes
18:59:13pamaurythen I'll add those to mkimxboot and commit, so you can even test a in few minutes
19:00
19:00:09mtGreat!
19:06:27pamaurydone, just need to test and i'll commit
19:11:50pamaurywow, just found an another error in mkimxboot, will fix that also
19:13:28mtNeed any help with testing?
19:14:30pamauryyou'll test the xfi style one yes
19:18:18 Quit prof_wolfff (Ping timeout: 256 seconds)
19:18:30pamauryhum, I have a bug
19:22:04 Join XavierGr [0] (~xavier@rockbox/staff/XavierGr)
19:22:21pamauryworks !
19:24:42pamaurymt: can you give me the md5sum of you updater ?
19:26:20mt32a731b7f714e9f99a95991003759c98
19:27:27pamauryhum, mine doesn't match, interesting
19:27:32pamaurywhat is the name of the updater ?
19:27:40pamaurymine is ZENX-FiStyle_PCFW_L22_1_03_04e.exe
19:27:44[Saint]Gary
19:29:15mtZENX-FiStyle_PCFW_L22_1_03_04.exe
19:29:19mtno 'e'
19:30:17pamauryok, probably europe vs rest of the world
19:30:19mtDo they have different fw for different 'zones'? like eu, us, etc.?
19:30:26mtAlright then.
19:30:45pamauryhum, so yours might not have the same size, did you try to extract it or not ?
19:32:39mtNo I didn't.
19:33:46pamauryok, i'll commit it and it the number is not right, you'll change it ^^
19:37:26mtFine. :)
19:37:54pamaurymt: done
19:38:21pamauryso update to lastest git, compile rbutilq/mkimxboot/ (just make)
19:38:44pamaurythen run mkximxboot -i <updater path> -o <output file> -w
19:38:53 Quit Horscht (Quit: quit)
19:38:56pamauryif you want to extract the other file (recovery I think), do
19:39:04pamaurymkximxboot -i <updater path> -o <output file> -w -v zenxfistyle-recovery
19:40:17pamauryusually the first file is called firmware.sb
19:40:36pamaurythen you can run the sbtools on it: utils/imxtools/sbtools/sbtoelf -z firmware.sb
19:42:44mtThank You. I'll work with it and tell you if I reach something.
19:43:00pamaurydo you want to do a port ?
19:44:07pamaurydid you open it ?
19:46:38mtYeah I have some pictures
19:47:01pamaurycould you create a page for it ? Like the CreativeZENXFi one for example
19:47:04mtWill upload them tonight
19:47:08pamaurycool :D
19:47:27mt;)
19:47:36pamauryI guess it's pretty similar to the X-Fi
19:57:03***Saving seen data "./dancer.seen"
20:00
20:07:39 Quit mc2739 (Ping timeout: 252 seconds)
20:08:27 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
20:11:24 Quit ender| (Read error: Operation timed out)
20:11:47 Join ender1 [0] (~ender@foo.eternallybored.org)
20:14:01 Quit ender` (Ping timeout: 255 seconds)
20:15:39 Quit sakax (Remote host closed the connection)
20:16:07mtpamaury: Yes they're fairly similar.
20:16:20mtUses same SoC as the fuze though
20:16:24mt3780]
20:16:30pamauryfuze ?!
20:16:43pamauryah fuze+
20:16:53pamauryso it's stmp3780 and not stmp3770, good thing for you
20:16:58mtYeah sorry missed the +
20:19:58mtI'll copy the XFi wiki page and change as little as possible to suit the Style, so that both pages look somewhat coherent.
20:24:18pamauryok
20:28:07 Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42)
20:28:26 Quit ender1 (Ping timeout: 276 seconds)
20:33:34 Join TheSphinX_ [0] (~briehl@p5B322E5E.dip.t-dialin.net)
20:33:40 Join ender` [0] (~ender@foo.eternallybored.org)
20:35:02Marexpamaury: isnt the m300 missing dram chip?
20:35:21pamauryMarex: yes
20:35:32Marexhuh?
20:35:48Marexit runs from sram?
20:35:53 Quit TheSphinX^ (Ping timeout: 252 seconds)
20:37:20pamauryyes, but it's a stmp3770, it has 512KB of ram (afaik)
20:39:13pamaury*sram
20:39:40 Quit ender` (Quit: If I had only finished this sentence,)
20:39:52pamauryalthough I must say that the stmp3770 seems even different from the stmp3700 somehow, well it's weird
20:40:24Marexlol :)
20:40:51pamauryfirst, why would creative release a player in 2012 with a stmp3770 while it used a stmp3780 previously ?
20:41:02pamaurysecond, why does the chipid of the stmp3770 is 0x37b0 ??
20:41:05Marexmanagers :)
20:41:11Marexsave money on the dram chip
20:41:27Marexmaybe its a custom design by fsl
20:41:44Marexwhy does it have sgtl branching, I dunno
20:42:14pamauryall other stmp37xx use chipid 0x3700, so this chip seems strange, maybe we don't know everything about it. Otoh, some sigmatel documents found on the internet show the stmp3770 as a normal chip
20:42:50Marexmaybe it was supposed to be the next one in the line before they were acquired
20:43:02pamauryanyway, for sure it has 512Kb of sram and apparently no dram
20:43:15Marexwoohoo
20:43:21Marexrockbox fits in that ?
20:44:05MarexI guess at that time, smartLCD comes handy to offload framebfufer;-)
20:45:14Marexafk for 20 mins until I get back to he dorms, leaving the diner now
20:45:30pamauryporting rockbox to that chip will be pretty hard
20:50:02 Join ender` [0] (~ender@foo.eternallybored.org)
20:57:02 Quit soap (Quit: soap)
21:00
21:01:58 Join soap [0] (~soap@cpe-174-102-96-10.woh.res.rr.com)
21:01:59 Quit soap (Changing host)
21:01:59 Join soap [0] (~soap@rockbox/staff/soap)
21:05:19pamauryMarex: I managed to make the lcdif work in continuous mode
21:05:40*pamaury loves undocumented stuff
21:06:28 Join TheLemonMan [0] (~LemonBoy@adsl-ull-53-210.50-151.net24.it)
21:06:28 Quit TheLemonMan (Changing host)
21:06:28 Join TheLemonMan [0] (~LemonBoy@unaffiliated/thelemonman)
21:06:45 Quit pretty_function (Remote host closed the connection)
21:19:50Marexpamaury: woohoo, really ?
21:20:05Marexpamaury: I have my friend on the line now, what's the deal ? :)
21:20:07pamauryis uses the apbh dma
21:20:11pamaury*it
21:20:31pamaurywhile the apbh is not documented as being capable of driving the LCDIF, it is capable of it in fact
21:20:37pamauryit's device 0
21:20:45Marexso you pump junk into the register 22 :D
21:20:59Marexusing the "PIO write" mode
21:21:00MarexI see
21:21:03pamauryand it can write a single PIO word as part of the dma command: CTRL.
21:21:18Marexit can write up to 16 PIO words :)
21:21:28pamauryThere are two very important details though !
21:21:30Marexcan you configure it to write to certain offset though ?
21:21:44pamauryit will automatically write to the good location
21:22:17pamaurydo you know how the dma bridge of the mx23 works ?
21:23:36pamauryanyway, here is a working example on my zenxfi3: http://pastebin.com/uCiYvjMe
21:24:33pamauryyou must setup several dma commands, chain them together in circle. The first one writes a single PIO word: CTRL which must set the RUN bit, and the last one must have the WAIT4ENDCMD bit set to wait for the LCDIF to finish the transfer
21:24:52Marexpamaury: the DMA is horrible
21:25:12Marexpamaury: I didn't figure out if it's possible to program it to write to register offset (like ... write to the DATA register only)
21:25:14pamauryI find it very nice actually, it's complicated but useful
21:25:57Marexoh, it pumps the stuff to DATA register via the DMA part of the transfer
21:25:59MarexI see, nice :)
21:26:06pamaurythat's implicit: a dma commands always write to the DATA register, but you can setup additional PIO writes starting at register 0, that's optional though
21:26:14Marexpamaury: yep
21:26:26Marexpamaury: had my fun with this junk both in uboot and linux already :)
21:26:58pamaurybeware: if you use the dma that way, the dma command CANNOT write any other regiter that HW_LCDIF_CTRL using the PIO command words
21:27:49 Join saratoga [0] (123e1f35@gateway/web/freenode/ip.18.62.31.53)
21:28:23mtThe Phison PS8006-A is a flash controller (?)
21:29:18pamaurymt: it does SD to NAND conversion
21:29:39Marexpamaury: you mean NAND -> SD -(connect here to the CPU)-> CPU
21:30:07pamaurywell it does both direction :)
21:30:30pamauryit's cpu interface is sd
21:30:33pamaurywith this the internal storage appears as SD
21:30:53mtSo it's no different than the 8005-A in the XFi?
21:31:00pamauryno
21:31:10mtOK Thanks.
21:31:12pamauryafaict all the phison 800x are the same
21:33:24 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury)
21:33:50pamaury_Marex: also beware that you need to setup HW_TRANSFER_COUNT before triggering the dma
21:35:29mtsigh
21:35:35mtI think I'll have to open it again
21:35:40pamaury_why ?
21:35:47mtit appears that some photos were lost
21:36:02 Quit pamaury (Ping timeout: 276 seconds)
21:36:11pamaury_that's why I always let the device open until I post the pictures ^^
21:36:15 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury)
21:36:17 Nick pamaury is now known as pamaury_ (~quassel@rockbox/developer/pamaury)
21:36:19 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury)
21:37:19mtLesson learned. :-/
21:37:33Marexgeg
21:37:35Marex*heh
21:37:39Marexpamaury: thanks :)
21:37:47pamauryMarex: afaik, using the apbh dma to drive the lcdif is undodcumented, at leats in the datasheet
21:38:21pamaurybut the stmp3780 has many undocumented features
21:38:41Marexpamaury: how did you figure that out anyway ?
21:39:16pamauryit has a DRI interface too (documented in the STMP3600 datasheet) and it has a colorspace converter in the DCP (undocumented anywhere). Sigmatel linux port + registers + reverse engineering
21:40:21pamauryit's also possible that the stmp3780 has ATA support, it didn't test
21:40:25pamaury*I
21:40:29Marexheh :)
21:40:48Marexpamaury: check the "Olinuxino maxi" board, you might be able to wire ATA there and test
21:41:32pamauryI don't have one, not sure I want to buy one just for this
21:52:56 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury)
21:54:53 Quit pamaury (Ping timeout: 276 seconds)
21:57:04***Saving seen data "./dancer.seen"
21:58:24 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury)
21:59:29pamauryMarex: I don't know if it's of interest for you, but the undocumented DCP colorspace converter can do YUV>RGB conversion
21:59:35pamauryuseful for video playback
21:59:55dfktis it possible to add year and track# to the android widget display? - http://pastie.org/5871356 - if so, are the right words "year" or "date" and "tracknumber", by any chance?
22:00
22:00:53Marexpamaury: nice :D
22:09:35mtwiki page done for now.
22:10:15pamaurymt: what are the differences with the X-FI ?
22:10:20mtWith the parts that I could identify from the current photos I have (of which only one is useful. Uploaded)
22:12:59mtbuttons aside, 3780 vs 3760 for the XFi, Hynix DRAM, no Wifi, has mic.
22:15:50 Quit |akaWolf| (Ping timeout: 245 seconds)
22:17:15mtpamaury: Also, Style has only the 8GB one apparently.
22:17:45mtum no ignore that.
22:18:10pamaurymt: the x-fi spec are the max spec, I have of those but most x-fi don't have wifi
22:18:37mtStyle doesn't have (micro)sd either
22:24:04 Join eckoit [0] (~ryan@50.65.10.24)
22:27:58 Quit TheLemonMan (Ping timeout: 244 seconds)
22:28:46 Join lebellium_ [0] (~chatzilla@lns-c10k-ld-02-m-212-194-176-149.dsl.sta.abo.bbox.fr)
22:29:12 Quit lebellium (Ping timeout: 246 seconds)
22:29:25 Nick lebellium_ is now known as lebellium (~chatzilla@lns-c10k-ld-02-m-212-194-176-149.dsl.sta.abo.bbox.fr)
22:29:30 Quit y4n (Quit: AMIGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAHAHAHAAAAAAAAAAAAHAHAAA)
22:30:01mtNow to try mkimxboot
22:34:43mtpamaury: Looks good. :)
22:38:37 Part eckoit
22:40:00pamaurymt: do you plan to do a port ?
22:40:50pamauryif you plan to do some reverse engineering, contact me before, I can save you an incredible amount of time
22:45:30mtYes I want to do a port. And sure will contact you, I'm not good at that kind of reversing. Thanks!
22:47:46pamauryI'll try to prepare you the files, most creative firmware are identical which allows me to reverse only what is necessary and nothing more. I'll do it for my firmware, there is probably no difference between european and non-european versions in the hardware
22:51:15 Quit ender` (Ping timeout: 240 seconds)
22:51:54 Join ender` [0] (~ender@foo.eternallybored.org)
23:00
23:14:06mtpamaury: Sounds great. :)
23:14:17mtI will probably try to play around with the fw file and see what I can get.
23:16:01pamauryyou can play with the hwemul tool in utils/imxtools/hwemul
23:16:09pamauryand also read the imx233 datasheet a bit ^^
23:19:28[Saint]Creative will be offering you a job soon :)
23:28:11 Join TheSphinX^ [0] (~briehl@p5B321D0E.dip.t-dialin.net)
23:28:21mtYeah they probably should.
23:31:33 Quit TheSphinX_ (Ping timeout: 260 seconds)
23:36:46 Quit n1s (Quit: Ex-Chat)
23:41:14 Quit kevku (Ping timeout: 245 seconds)
23:42:27 Quit bertrik (Ping timeout: 255 seconds)
23:53:03 Quit FOAD (Quit: I'll be back)
23:55:26 Join FOAD [0] (~foad@83.161.135.61)
23:55:26 Quit FOAD (Changing host)
23:55:26 Join FOAD [0] (~foad@unaffiliated/foad)
23:56:30 Quit FOAD (Client Quit)
23:57:03 Join FOAD [0] (~foad@unaffiliated/foad)
23:57:05***Saving seen data "./dancer.seen"
23:58:42 Nick uwe__ is now known as uwe_ (~uwe_@dslb-188-105-024-052.pools.arcor-ip.net)

Previous day | Next day