--- Log for 26.10.115 Server: wolfe.freenode.net Channel: #rockbox --- Nick: logbot- Version: Dancer V4.16 Started: 6 days and 6 hours ago 00.01.31 Quit Kruppt (Quit: Leaving) 00.01.53 Join JdGordon [0] (~jonno@ppp118-209-120-194.lns20.mel4.internode.on.net) 00.01.53 Quit JdGordon (Changing host) 00.01.53 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 00.04.18 Quit JdGordon_ (Ping timeout: 252 seconds) 00.12.12 Quit ender` (Quit: For too long, we have been a passively tolerant society, saying to our citizens 'as long as you obey the law, we will leave you alone. -- David Cameron) 00.23.44 Quit pamaury (Ping timeout: 252 seconds) 00.55.18 Quit dan- (Ping timeout: 250 seconds) 01.02.45 Join dan- [0] (~d@101.165.69.172) 01.02.45 Quit dan- (Changing host) 01.02.45 Join dan- [0] (~d@unaffiliated/danneh-/x-7505085) 01.44.11 *** Saving seen data "./dancer.seen" 02.05.12 Join dfkt [0] (~dfkt@unaffiliated/dfkt) 02.51.36 Join FSanches [0] (~felipe@2804:14c:37:268b:247a:b751:82f9:6611) 03.01.23 Join Bray9082_ [0] (~Bray90820@173-17-46-117.client.mchsi.com) 03.01.45 Quit Makinit (Ping timeout: 260 seconds) 03.03.27 Quit Bray90820 (Ping timeout: 246 seconds) 03.03.27 Quit foolsh (Ping timeout: 246 seconds) 03.03.27 Quit jtdesigns01 (Ping timeout: 246 seconds) 03.03.27 Quit munch (Ping timeout: 246 seconds) 03.03.42 Join foolsh [0] (~quassel@2601:241:c200:4bc5:c983:9db8:d613:5ad) 03.03.45 Join jtdesigns01 [0] (~quassel@2601:400:8000:2669:230:bdff:fe71:cebd) 03.04.48 Join munch [0] (~munch@2601:98a:302:955d:126f:3fff:fed7:41) 03.04.48 Quit munch (Changing host) 03.04.48 Join munch [0] (~munch@unaffiliated/munch) 03.16.57 Quit FSanches (Quit: Leaving.) 03.22.46 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs) 03.23.58 Quit rela (Read error: Connection reset by peer) 03.35.26 Quit ZincAlloy (Quit: Leaving.) 03.35.58 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 03.38.01 Quit JdGordon (Ping timeout: 255 seconds) 03.44.12 *** Saving seen data "./dancer.seen" 04.03.10 Quit Moarc (Ping timeout: 240 seconds) 04.04.06 Join Moarc [0] (~chujko@a105.net128.okay.pl) 04.17.53 Quit dfkt (Read error: Connection reset by peer) 04.21.21 Join dfkt [0] (~dfkt@unaffiliated/dfkt) 04.25.31 Join JdGordon [0] (~jonno@ppp118-209-77-100.lns20.mel4.internode.on.net) 04.25.31 Quit JdGordon (Changing host) 04.25.31 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 04.28.10 Join pablo_pi [0] (~pablo@190.148.249.124) 04.28.54 Quit JdGordon_ (Ping timeout: 255 seconds) 04.31.22 Quit pablo_pi_ (Ping timeout: 260 seconds) 04.36.19 Nick Bray9082_ is now known as Bray90820 (~Bray90820@173-17-46-117.client.mchsi.com) 04.40.09 Quit cmhobbs (Ping timeout: 255 seconds) 04.59.24 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 05.02.38 Quit JdGordon (Ping timeout: 260 seconds) 05.11.51 Quit orly_owl (Quit: leaving) 05.12.44 Quit sparetire_ (Quit: sparetire_) 05.13.59 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833) 05.26.29 Part goom ("Leaving") 05.43.04 Quit TheSeven (Ping timeout: 246 seconds) 05.44.16 *** Saving seen data "./dancer.seen" 05.44.30 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 05.48.33 Join JdGordon [0] (~jonno@ppp118-209-66-250.lns20.mel4.internode.on.net) 05.48.33 Quit JdGordon (Changing host) 05.48.33 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 05.51.30 Quit JdGordon_ (Ping timeout: 272 seconds) 06.38.42 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 06.41.39 Quit JdGordon (Ping timeout: 268 seconds) 07.31.36 Quit michaelni (Ping timeout: 255 seconds) 07.44.17 *** Saving seen data "./dancer.seen" 07.56.55 Join JdGordon [0] (~jonno@ppp118-209-118-124.lns20.mel4.internode.on.net) 07.56.55 Quit JdGordon (Changing host) 07.56.55 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 07.58.42 Quit JdGordon_ (Ping timeout: 250 seconds) 08.12.44 Join ender` [0] (krneki@foo.eternallybored.org) 08.15.32 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 08.18.58 Join rela [0] (~x@pdpc/supporter/active/rela) 08.41.39 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 08.44.59 Quit JdGordon (Ping timeout: 268 seconds) 08.45.15 Join Dextra [0] (~Abel@adsl-99-149-193-173.dsl.chcgil.sbcglobal.net) 09.12.46 Join mshathlonxp [0] (msh@89.254.156.66) 09.15.44 Quit mshzzz (Ping timeout: 256 seconds) 09.34.53 Quit rela (Quit: Leaving) 09.44.21 *** Saving seen data "./dancer.seen" 09.55.20 # I am analyzing atj213x recovery session. On quite early stage PC program uploads file called PDCDEC.DSP. The format of this file is pretty peculiar :-) 09.56.46 # Data are organized in 0x200 bytes chunks. Each chunk consist of 3 subchunks 0xaa bytes each. One of the subchunk is coded data and 2 others are key array. The data are reconstructed as OutByte = InByte^key1^key2 09.57.31 # So the actual payload is only 1/3 of the transfered bytes. 09.58.07 # I can't wrap my head why they did that like this. 10.00.44 # Ah, and DSP instructions are 24bytes so there are 3 separate blocks transfered which are then placed in memory so to form 24bit opcodes 10.00.54 # *24bits 10.04.30 Join sparetire_ [0] (~sparetire@unaffiliated/sparetire) 10.26.47 Join michaelni [0] (~michael@178-191-229-120.adsl.highway.telekom.at) 10.29.11 Quit Dextra (Quit: My Mac has gone to sleep. ZZZzzz…) 11.28.19 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 11.33.27 Join FSanches [0] (~felipe@2804:14c:37:268b:247a:b751:82f9:6611) 11.44.23 *** Saving seen data "./dancer.seen" 11.46.53 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) 11.52.59 Join pamaury_ [0] (amauly@clpc71.cs.ox.ac.uk) 12.02.29 # pamaury_: Have you ever heard about 'column mode' in dma engine? 12.02.53 # no specifically no 12.03.36 # I guess for a 2D dma that could mean copying data in column order rather than row order. Maybe it has to do with storage order of 2D array ? 12.03.43 # where did you find that ? 12.04.56 # atj213x 12.06.01 # dma engine is used to transfer and organize data in a way that it forms 24bit opcodes for DSP. There are 3 subsequent dma transactions where dst address is shifted one byte 12.06.36 # I suspect that 1st block is HI byte, 2nd is MIDDLE byte 3rd is LOW byte (or other way around) 12.07.10 Join JdGordon [0] (~jonno@ppp118-209-111-46.lns20.mel4.internode.on.net) 12.07.10 Quit JdGordon (Changing host) 12.07.10 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 12.07.33 # maybe column mode is like having stride on the output 12.07.34 # ? 12.07.55 # ie you copy first byte to dst, second to dst+off, third to dst+2*off and so on ? 12.08.05 # maybe but there is no stride len parameter anywhere 12.08.32 # is it disassembly or is the code somewhere ? you have the datasheet ? 12.08.40 # pamaury_: It looks like it first it transfers all HI bytes then all MIDDLE bytes and finally all LOW bytes 12.08.50 Quit JdGordon_ (Ping timeout: 250 seconds) 12.09.23 # yeah but how does it know the stride is 3 bytes ? 12.09.56 # I have ds of atj213x but is very generic. There is no documentation for DSP. Copy code is from disassembly 12.14.49 # wodz: can you send me the ds ? I sem to have lost it 12.15.53 # pamaury_: only DS? 12.16.11 # and code too 12.19.00 # its gonna be bulky 12.19.21 # ~350MB :-) 12.19.29 # the DS ? or the code ? You don't need to send me all the code, just that part 12.20.35 # all materials about atj213x I have 12.21.32 # DS is 3.5MB total 12.23.23 # just DS and this part of code then :) 12.25.13 # you mean the code to send data to DSP? 12.25.19 # yes 12.26.14 # As I said earlier this comes from disassembly 12.26.32 # can you copy the disassembly ? or just send the DS 12.27.16 # I'll send you DS, and later today I'll send you disasm (I have it on different computer) 12.27.23 # ok thanks 12.29.00 # I can send you pcap file from reflash session as well 12.35.56 # pamaury_: you should have it in your mailbox 12.36.06 # wodz: I have it. I have another idea 12.36.26 # I assume that if you send data to the DSP, you send it to DSP ram ? 12.37.09 # In this particular case, yes 12.37.39 # it is copied to iram which is then mapped to DPS's instruction memory 12.39.46 # I think there are two distinct things, but I am not sure. The datasheet says: 12.39.46 # SRAM can be map 24k*32bit (for MIPS) or 32k*24bit (for DSP). It cn be opearted in byte. 12.39.46 # It is reasonable to think that the SRAM is addressed by column:row address (just like DRAM). Row is byte access, column is 24bit in DSP mode and 32bit in MIPS mode. 12.39.46 DBUG Enqueued KICK pamaury_ 12.39.46 # So if you send data to the SRAM in DSP mode with column mode, you increment column instead of row after each access, that gives you 3 byte stride 12.41.41 # makes sense 12.42.06 # (admitedly, this is a bit weird because I would rather call this row mode, since usually a column is used for bytes and row for page) 12.42.45 # A very simple test would be to play with DSP/MIPS mode and row/column mode with the dma see if that matches 12.43.17 # I need to fireup hwstub and test it 12.49.27 # but you highlighted very important point - it is not that last byte from MIPS mapping is discarded the organization is changed when in DSP mode 12.50.13 # yes I think so. Also the doc suggest you can use MIPS in source and DSP in destination or any mixture of MIPS/DSP in source or dest, even use column in source and/or destination 12.56.34 # I think there are even more possibilities. Look at SRAMOC_CTL description - bit2 sets word size (so I think it influence stride len in fact) 13.03.30 # wodz: that was what I was refering to (DSP mode versus MIPS mode). However this is confusing because the DMA has a "DSP mode" which I don't know what it does. So yeah I think SRAM_LOC controls "column size" and thus stride length in column mode. I have no idea what "DSP mode" in DMA_MODE does 13.06.03 Join Kruppt [0] (~Krupptus@50.111.32.238) 13.06.27 Quit [Saint] (Ping timeout: 268 seconds) 13.24.18 Join Strife89|Quassel [0] (~quassel@adsl-98-80-219-71.mcn.bellsouth.net) 13.25.25 Quit Cinos (Ping timeout: 240 seconds) 13.26.13 Quit Strife89 (Ping timeout: 272 seconds) 13.37.05 Join Cinos [0] (~Cinos@a.kittyboy.named.cinos.pw) 13.44.25 *** Saving seen data "./dancer.seen" 13.45.37 # pamaury_: as far as I can tell "DSP mode" in DMA_MODE is not used at all 13.45.56 # pamaury_: I mean I didn't hit any code which sets this 13.49.57 # pamaury_: So simple test would be to clear iram buf, set SRAMOC_CTL to DSP mode and transfer 0x11223344, then switch to MIPS mode and read back that buffer, right? 13.50.09 Join ZincAlloy [0] (~Adium@p5B2FCEDD.dip0.t-ipconnect.de) 13.51.47 Quit Cinos (Ping timeout: 264 seconds) 13.53.00 Join Cinos [0] (~Cinos@a.kittyboy.named.cinos.pw) 14.21.15 Nick Guest35028 is now known as kugel (~kugel@rockbox/developer/kugel) 14.31.54 Join amayer [0] (~amayer@mail.weberadvertising.com) 14.35.55 # wodz: exactly. 14.36.38 # the expected result would be 0x11 0x00 0x00 0x22 0x00 0x00 0x33 ... in DSP mode ad 0x11 0x00 0x00 0x00 0x22 ... in MIPS mode. all of it in column mode of course 14.43.04 # pamaury_: exactly 15.11.18 Quit ruskie (Quit: ...) 15.19.36 Quit FSanches (Quit: Leaving.) 15.28.31 Join ruskie [0] (ruskie@sourcemage/mage/ruskie) 15.44.28 *** Saving seen data "./dancer.seen" 15.52.49 Quit pamaury (Ping timeout: 260 seconds) 16.20.54 Quit JanC (Ping timeout: 240 seconds) 16.23.55 Join chrisb [0] (~chrisb@li482-205.members.linode.com) 16.29.52 Quit wodz (Quit: Leaving) 16.34.25 Join JanC [0] (~janc@lugwv/member/JanC) 16.37.29 Join krabador [0] (~krabador@unaffiliated/krabador) 16.45.10 Join Makinit [0] (makinit@makinit.nl) 16.49.26 Join xorly [0] (~xorly@ip-86-49-15-121.net.upcbroadband.cz) 17.34.28 Join Dextra [0] (~Abel@adsl-99-149-192-54.dsl.chcgil.sbcglobal.net) 17.44.32 *** Saving seen data "./dancer.seen" 18.05.30 Quit shamus (Ping timeout: 265 seconds) 18.05.49 Join shamus [0] (~shmaus@ip-206-192-194-12.marylandheights.ip.cablemo.net) 18.10.05 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 18.10.28 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 18.13.10 Quit JdGordon (Ping timeout: 260 seconds) 18.15.27 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 18.15.32 Quit JdGordon_ (Ping timeout: 255 seconds) 18.25.30 Join autofsckk [0] (~autofsckk@unaffiliated/autofsckk) 18.27.37 Quit dfkt (Ping timeout: 244 seconds) 18.31.36 Quit Dextra (Quit: My Mac has gone to sleep. ZZZzzz…) 18.36.46 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 18.46.06 Join bertrik [0] (~quassel@rockbox/developer/bertrik) 18.49.26 Join hearn [0] (8c8299c4@gateway/web/freenode/ip.140.130.153.196) 18.49.50 Nick hearn is now known as Guest75939 (8c8299c4@gateway/web/freenode/ip.140.130.153.196) 18.51.52 Join Electricguy [0] (~quassel@ip-12-212-230-46.dialup.ice.net) 18.59.33 Join Dextra [0] (~Abel@99.149.192.54) 19.08.58 Quit Kruppt (Quit: Leaving) 19.09.47 Quit Dextra (Ping timeout: 265 seconds) 19.34.03 Join Dextra [0] (~Abel@99.149.192.54) 19.37.20 Quit pamaury_ (Remote host closed the connection) 19.43.13 # ref:[Saint]I'm getting filled with idea of a virtual keyboard embedded in the bootloader and entering a decryption key by hand every boot. > maybe using keypess Sequence like Konami Code 19.43.20 Join Catsavvy [0] (944a92f7@gateway/web/freenode/ip.148.74.146.247) 19.44.02 Quit krabador (Quit: Take The Time) 19.44.34 *** Saving seen data "./dancer.seen" 19.46.54 Quit Jinx (Ping timeout: 246 seconds) 19.47.46 Quit Catsavvy (Client Quit) 19.51.58 Quit ender` (Quit: The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.) 19.58.22 Join ender` [0] (krneki@foo.eternallybored.org) 20.05.42 Quit chrisb (Ping timeout: 256 seconds) 20.08.14 Join Guest43016 [0] (Dojo@adsl-108-202-196-185.dsl.klmzmi.sbcglobal.net) 20.15.33 Quit Dextra (Read error: Connection reset by peer) 20.15.51 Join Dextra [0] (~Abel@99.149.192.54) 20.16.18 Quit Guest43016 (Ping timeout: 246 seconds) 20.16.41 Join chrisb [0] (~chrisb@li482-205.members.linode.com) 20.21.37 Quit ivologger (Ping timeout: 260 seconds) 20.24.04 Join ivologger [0] (~ivologger@p-74-209-21-150.dsl1.rtr.chat.fpma.frpt.net) 20.28.37 Quit chxr (Ping timeout: 260 seconds) 20.29.02 Join chxr [0] (chxr@procasur.inc.cl) 20.40.03 Quit Dextra (Read error: Connection reset by peer) 20.42.28 Join fs-bluebot_ [0] (~fs-bluebo@x5ce24695.dyn.telefonica.de) 20.42.41 Join bluebrother [0] (~dom@rockbox/developer/bluebrother) 20.44.02 Quit Guest75939 (Ping timeout: 246 seconds) 20.44.25 Quit fs-bluebot (Ping timeout: 240 seconds) 20.45.42 Quit bluebrother^ (Ping timeout: 246 seconds) 20.46.29 Quit pamaury (Ping timeout: 240 seconds) 20.49.36 Join Guest43016 [0] (Dojo@adsl-108-202-196-185.dsl.klmzmi.sbcglobal.net) 20.57.57 Quit Guest43016 (Ping timeout: 246 seconds) 21.19.27 Quit sixthshiftathome (Read error: Connection reset by peer) 21.21.00 Join dfkt [0] (~dfkt@unaffiliated/dfkt) 21.29.25 Quit uber (Ping timeout: 240 seconds) 21.31.34 Join Dextra [0] (~Abel@99.149.192.114) 21.37.03 Quit Dextra (Ping timeout: 272 seconds) 21.44.35 *** Saving seen data "./dancer.seen" 21.49.02 Join fifthshiftathome [0] (~dunkkkkmo@184-88-188-186.res.bhn.net) 21.50.05 Join uber [0] (~uber@unaffiliated/uber) 22.01.09 Quit autofsckk (Ping timeout: 240 seconds) 22.04.19 Join Dextra [0] (~Abel@128.177.161.185) 22.08.07 Join buckket [0] (~buckket@uncloaked.net) 22.08.17 Quit Electricguy (Ping timeout: 240 seconds) 22.09.14 # hey guys, any chance the iPod Classic hold switch fix (http://gerrit.rockbox.org/r/#/c/1181/) will be merged soon? 22.11.02 Join einhirn [0] (~Miranda@p4FC13002.dip0.t-ipconnect.de) 22.11.54 Join einhirn_ [0] (~Miranda@bsod.rz.tu-clausthal.de) 22.15.23 Quit einhirn (Ping timeout: 255 seconds) 22.19.25 Join autofsckk [0] (~autofsckk@189.217.74.28) 22.19.25 Quit autofsckk (Changing host) 22.19.25 Join autofsckk [0] (~autofsckk@unaffiliated/autofsckk) 22.20.09 Quit uber (Ping timeout: 260 seconds) 22.26.44 Quit Dextra (Ping timeout: 240 seconds) 22.42.10 Join soap_ [0] (~soap@rockbox/staff/soap) 22.43.50 Quit amayer (Quit: Leaving) 22.44.11 Quit soap (Ping timeout: 255 seconds) 22.46.56 Join uber [0] (~uber@unaffiliated/uber) 22.56.50 Join Guest43016 [0] (Dojo@adsl-108-202-196-185.dsl.klmzmi.sbcglobal.net) 23.08.51 Quit Guest43016 (Ping timeout: 246 seconds) 23.09.45 Quit ender` (Quit: When I've captured my adversary and he says, "Look, before you kill me, will you at least tell me what this is all about?" I'll say, "No." and shoot him. No, on second thought I'll shoot him then say "No." -- Evil Overlord List #7) 23.16.06 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 23.27.42 Join Guest43016 [0] (Dojo@adsl-108-202-196-185.dsl.klmzmi.sbcglobal.net) 23.37.17 Quit einhirn_ (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 23.37.54 Quit Guest43016 (Ping timeout: 246 seconds) 23.44.36 *** Saving seen data "./dancer.seen" 23.48.18 Join einhirn [0] (~Miranda@p4FC13002.dip0.t-ipconnect.de) 23.50.04 Join Guest43016 [0] (Dojo@adsl-108-202-196-185.dsl.klmzmi.sbcglobal.net) 23.57.46 Quit einhirn (Ping timeout: 264 seconds) 23.58.12 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de)