--- Log opened Thu Nov 18 00:02:30 2010 00:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 00:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 00:38 -!- AriX [~Ari@c-76-99-118-183.hsd1.pa.comcast.net] has joined #freemyipod 00:41 -!- liar [~liar@clnet-p09-185.ikbnet.co.at] has quit [Ping timeout: 255 seconds] 00:41 -!- opnet [~opnet@wnklmb01dc1-214-9.dynamic.mts.net] has quit [Ping timeout: 240 seconds] 00:48 -!- Jiss_ [Jiss@abo-199-13-69.bdx.modulonet.fr] has quit [Read error: Connection reset by peer] 00:48 -!- Jiss_ [~Jiss@abo-199-13-69.bdx.modulonet.fr] has joined #freemyipod 00:59 -!- Dreamxtreme [~Dre@92.30.104.100] has quit [Read error: Connection reset by peer] 00:59 -!- Dreamxtreme [~Dre@92.30.104.100] has joined #freemyipod 01:32 -!- AriX [~Ari@c-76-99-118-183.hsd1.pa.comcast.net] has quit [Read error: Connection reset by peer] 01:32 -!- AriX [~Ari@c-76-99-118-183.hsd1.pa.comcast.net] has joined #freemyipod 01:33 -!- AriX [~Ari@c-76-99-118-183.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 02:14 -!- Jiss_ [~Jiss@abo-199-13-69.bdx.modulonet.fr] has quit [Quit: Quit] 02:31 -!- opnet [~opnet@wnklmb01dc1-197-171.dynamic.mts.net] has joined #freemyipod 03:52 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 240 seconds] 03:58 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 04:22 -!- opnet [~opnet@wnklmb01dc1-197-171.dynamic.mts.net] has quit [Ping timeout: 265 seconds] 04:34 -!- opnet [~opnet@wnklmb01dc1-197-171.dynamic.mts.net] has joined #freemyipod 06:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 06:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 06:56 -!- liar [~liar@clnet-p09-185.ikbnet.co.at] has joined #freemyipod 08:17 -!- n1s [~n1s@rockbox/developer/n1s] has joined #freemyipod 09:50 -!- perror [~fleury@aldebaran.labri.fr] has joined #freemyipod 10:07 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 276 seconds] 10:43 -!- Dreamxtreme [~Dre@92.30.104.100] has quit [Quit: +++ OK ATH OK] 10:43 -!- Dreamxtreme [~Dre@92.30.104.100] has joined #freemyipod 10:46 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 11:52 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 12:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 12:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 14:01 -!- opnet [~opnet@wnklmb01dc1-197-171.dynamic.mts.net] has quit [Quit: Leaving] 15:07 < TheSeven> benedikt93: your code seems to be badly broken... doesn't even compile for me 15:07 < TheSeven> and if i fix the obvious problems (like missing parantheses) it locks up 15:07 < TheSeven> however, if i completely remove the PMU init part it seems to work 15:09 -!- [Saint] [S_a_i_n_t@203.184.1.121] has quit [Ping timeout: 240 seconds] 15:14 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 240 seconds] 15:15 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has joined #freemyipod 15:19 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 15:43 -!- S_a_i_n_t [S_a_i_n_t@203.184.0.188] has joined #freemyipod 15:44 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 272 seconds] 16:33 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 16:34 < TheSeven> 15:07 < TheSeven> benedikt93: your code seems to be badly broken... doesn't even compile for me 16:34 < TheSeven> 15:07 < TheSeven> and if i fix the obvious problems (like missing parantheses) it locks up 16:34 < TheSeven> 15:07 < TheSeven> however, if i completely remove the PMU init part it seems to work 17:07 -!- n1s [~n1s@rockbox/developer/n1s] has quit [Quit: Lämnar] 17:10 < benedikt93> TheSeven, ping me when you're back, I fixed the sdram init 17:10 < benedikt93> why did I post this to -chatter ?? 17:27 < TheSeven> mIRC claims you tried to send me a 220 GB file :) 17:29 -!- Jiss [~Jiss@abo-199-13-69.bdx.modulonet.fr] has joined #freemyipod 17:35 -!- S_a_i_n_t [S_a_i_n_t@203.184.0.188] has quit [Quit: I'm only going to Heaven if it tastes like caramel...] 17:35 < TheSeven> benedikt93: while (((IICSTAT & (1 << 5)) != 0) && (IICUNK20 & 0x100 == 0)) {} 17:36 < TheSeven> this is effectively a nop 17:36 < TheSeven> any idea what IICUNK20 might be? 17:36 < benedikt93> why? 17:36 < benedikt93> nope 17:37 < benedikt93> but it didn't return until I added that back in 17:37 < TheSeven> those lines look broken, too: 17:37 < TheSeven> unsigned char* data; 17:37 < TheSeven> if (*data & 0x80 == 1) 17:37 < benedikt93> where is that? 17:37 < TheSeven> in the pmu init 17:38 < TheSeven> and your changes effectively eliminate the i2c waiting loops (they will be optimized away) 17:39 < benedikt93> again, why? I might oversee something, I don't know much about c/gcc at all, but I don't see the reason for this being the case 17:40 < TheSeven> (((IICSTAT & (1 << 5)) != 0) && (IICUNK20 & 0x100 == 0)) 17:40 < TheSeven> (((IICSTAT & (1 << 5)) != 0) && (IICUNK20 & 0)) 17:40 < TheSeven> (((IICSTAT & (1 << 5)) != 0) && 0) 17:40 < TheSeven> (0) 17:40 < TheSeven> == has higher precedence than & 17:40 < benedikt93> ((IICUNK20 & 0x100) == 0) 17:41 < benedikt93> would be correct then 17:41 < TheSeven> probably 17:41 < TheSeven> the same issue is present in the other if statement i copied 17:41 < benedikt93> whih would actually mean that the pmu doesn't respond (properly) 17:41 < TheSeven> and you're apparently using an uninitialized pointer (data) 17:42 < benedikt93> -> line 241 17:42 < TheSeven> this just declares that data is a pointer to an unsigned char 17:42 < TheSeven> it will be whatever garbage was there on the stack before 17:42 < TheSeven> you'll probably want to do unsigned char data[2]; there 17:43 < TheSeven> (which allocates two bytes on the stack and uses a pointer to them for all references to "data" 17:46 < benedikt93> at least we know now that the pmu is *not* shut down properly on reset :/ 17:47 < TheSeven> ...or the reset values work for the sdram 18:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 18:02 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 18:31 < TheSeven> benedikt93: can you check if the apple code manages to reach the pmu? 18:31 < TheSeven> you said you had a relocated copy of that somewhere 18:33 < TheSeven> just change some values to make it write the following: 18:33 < TheSeven> [0x2a] = 0x06 18:33 < TheSeven> [0x2b] = 0x20 18:33 < TheSeven> [0x28] = 0x3f 18:34 < TheSeven> [0x29] = 1 18:34 < TheSeven> that should turn on the backlight 19:07 < benedikt93> are you sure about these values? 19:14 -!- S_a_i_n_t [S_a_i_n_t@203.184.2.181] has joined #freemyipod 19:19 < TheSeven> yes, they're from diagmode, and they match what we know from the 2g except for the brightness 19:19 < TheSeven> this is from a classic though 19:19 < TheSeven> if you want to be really safe, reduce the 0x3f to 0x20 or something (brightness) 19:20 < TheSeven> also, I just spotted the I2C clock gate :) 19:20 < TheSeven> clock gate 36 in our terminology (0x3c50004c, bit 4) 19:21 < TheSeven> oh, apparently you already knew that :) 19:38 < user890104> could someone send me a dump of 3g nano or a classic's NOR, i'd like to explore what's inside :) 19:39 -!- perror [~fleury@aldebaran.labri.fr] has quit [Quit: Bye all !] 19:52 < benedikt93> is diagflsh encrypted the same way as efi? 20:56 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has quit [Quit: Bye ;)] 22:24 < TheSeven> benedikt93: apparently you totally broke the I2C code :) 22:25 < TheSeven> it's neither similar to mine nor to the peicore code 22:25 < TheSeven> and parts of it are really really weird 22:27 -!- opnet [~opnet@wnklmb01dc1-197-171.dynamic.mts.net] has joined #freemyipod 22:46 < opnet> wooo 22:46 < opnet> got laid last night 22:46 * opnet isn't a virgin 22:46 < opnet> anymore 22:53 * TheSeven doesn't think this kind of stuff belongs here 23:32 -!- timccc [~timccc@112.166.15.141] has quit [Quit: Leaving.] 23:35 -!- timccc [~timccc@112.166.15.141] has joined #freemyipod --- Log closed Fri Nov 19 00:02:31 2010