--- Log opened Mon Sep 06 00:21:06 2010 00:21 -!- fmibot [~fmibot@static.225.178.40.188.clients.your-server.de] has joined #freemyipod 02:01 -!- funman [~fun@rockbox/developer/funman] has joined #freemyipod 02:19 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 252 seconds] 02:22 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 04:02 -!- user890104_ [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 04:03 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has quit [Ping timeout: 272 seconds] 04:06 -!- user890104_ [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has quit [Ping timeout: 272 seconds] 05:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 05:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 07:22 -!- kyle6513 [~kyle@CPE-58-174-130-14.mjcz1.woo.bigpond.net.au] has joined #freemyipod 07:22 -!- kyle6513 [~kyle@CPE-58-174-130-14.mjcz1.woo.bigpond.net.au] has quit [Client Quit] 08:57 -!- perror [~fleury@aldebaran.labri.fr] has joined #freemyipod 10:00 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 11:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 11:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 11:24 -!- funman [~fun@rockbox/developer/funman] has quit [Quit: free(random());] 11:32 < TheSeven> mulenmar: what the hell. 11:33 < TheSeven> you said it loads the apple firmware when touching the wheel after a crash? 11:33 < TheSeven> for me, it quits iloader :) 11:34 < TheSeven> but yeah, apparently the FTL check is messing something up 11:41 < TheSeven> but I can't reproduce any backlight problem at all 11:56 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has quit [] 12:03 < fmibot> New commit by 3theseven (r197): Prevent themes from locking up if the apple firmware is missing 12:03 < fmibot> r197 build result: All green! 12:03 < fmibot> New commit by 3theseven (r198): Add some debugging code to the clickwheel and button drivers 12:04 < fmibot> r198 build result: All green! 12:04 < fmibot> New commit by 3theseven (r199): Prevent iLoader from recognizing spurious button presses after an FTL check was performed 12:04 < fmibot> r199 build result: All green! 12:05 < TheSeven> mulenmar: it was an unitialized variable in iLoader that caused it to go nuts :) 12:05 < TheSeven> can you still reproduce the backlight and assertions problems? 12:11 < fmibot> New commit by 3theseven (r200): Oops, remove some debugging leftover 12:11 < fmibot> r200 build result: All green! 12:12 < fmibot> New commit by 3theseven (r201): Eliminate some evil tabs 12:12 < fmibot> r201 build result: All green! 12:13 < fmibot> New commit by 3theseven (r202): Also declare true and false for ASM code 12:13 < fmibot> r202 build result: All green! 12:24 < fmibot> New commit by 3theseven (r203): Add a set of missing parantheses in assert.h 12:24 < fmibot> r203 build result: All green! 12:25 < fmibot> New commit by 3theseven (r204): Only enable assertions if explicitly asked for 12:25 < fmibot> r204 build result: All green! 12:25 < TheSeven> mulenmar: I've uploaded a new set of files to http://files.freemyipod.org 12:25 < TheSeven> can you please check if that assertion still fails for you? 12:28 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has joined #freemyipod 13:07 < benedikt93> TheSeven: do you know the processor clock of the s5l8702 in nano 3g? 13:07 < TheSeven> not for sure, but we assume something around 200MHz 13:11 < benedikt93> would 176MHz be possible? 13:17 < TheSeven> might be, but would have expected 192, 200, 240 or 250 13:17 < TheSeven> where have you spotted that? 13:17 < benedikt93> I'm not sure, but in that case timer f has an exact 1us tick 13:18 < TheSeven> what is it derived from? 13:18 < TheSeven> pclk? 13:18 < benedikt93> pclk/16 13:18 < benedikt93> prescaled by 11 13:19 < TheSeven> i doubt pclk would be >100MHz 13:20 < benedikt93> is pclk the clk directly from the crystal? 13:21 < TheSeven> nope 13:21 < TheSeven> it's usually the cpu clock divided by 2 or 4 13:21 < TheSeven> or rather the AHB clock divided by 1 or 2 13:21 < TheSeven> the cpu clock happens to be twice the AHB clock on the 2g, but in theory it can be anything 13:22 < TheSeven> you could try just measuring pclk 13:23 < TheSeven> do you already know at which rate the platform timer of that thing is ticking? 13:23 < TheSeven> on the nano2g it was 5 usecs, on the nano 4g it was 100 nanoseconds IIRC 13:23 < benedikt93> *enter n00b mode* what's the platform timer? 13:25 < TheSeven> haha, interesting 13:25 < TheSeven> it's at 0x3C700080 on both the 2g and 4g 13:26 < benedikt93> oh 13:26 < TheSeven> but it didn't need to be configured in any way on the 2g, it was just a 64bit readonly timer ticking at an insanely high rate 13:27 < TheSeven> so apparently more timers are following that one? 13:27 < benedikt93> I could of course try if that timer is ticking 13:27 < benedikt93> seems so, see the PM 13:27 < TheSeven> you'll need to read it like this to get the lower 32 bits: 13:27 < TheSeven> ldr r0, #0x3c700000 13:27 < TheSeven> ldr r1, [r0,#0x80] 13:27 < TheSeven> ldr r0, [r0,#0x84] 13:28 < TheSeven> the r1 result is the high 32 bits, which are usually thrown away 13:28 < benedikt93> it accesses the timer at 3C700100 13:28 < TheSeven> but reading those is required to update the lower ones 13:28 < TheSeven> (to avoid the lower 32bits wrapping in the middle of a read) 13:29 * benedikt93 remembers sthg similiar from AVRs... 13:57 < benedikt93> hmm 13:58 < benedikt93> if my code is correct, there's nothing ticking at 0x3c700080 13:58 < benedikt93> let's read out that whole are of memory 14:10 < benedikt93> so, either I'm to dumb to make that code work or no timer is ticking in the range from 0x3c700000 to 0x3c700200 14:15 < TheSeven> the latter might well be true 14:16 < TheSeven> if you're booting through DFU, nobody will have set them up yet 14:16 < TheSeven> the bootrom will only do the bare minimum of things needed to make USB and the flash work 14:17 < TheSeven> (and the crypto stuff of course) 15:58 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has quit [Quit: Bye ;)] 16:29 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has joined #freemyipod 16:50 -!- funman [~fun@rockbox/developer/funman] has joined #freemyipod 17:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 17:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod 17:11 -!- perror [~fleury@aldebaran.labri.fr] has quit [Quit: Bye all !] 17:35 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has quit [Quit: Bye ;)] 18:00 -!- liar [~liar@clnet-p09-185.ikbnet.co.at] has quit [Read error: Connection reset by peer] 18:00 -!- liar [~liar@clnet-p09-185.ikbnet.co.at] has joined #freemyipod 19:27 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 19:35 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has joined #freemyipod 19:49 < user890104> i've noticed something about embios.py - the runfirmware command says, that it uploads the firmware file in the beginning of the user memory, but actually asks for an address when called 19:50 < user890104> would it be better to hard-code the 0x08000000 address as the first param, or to allow the user to specify an address and fix the help message? 19:53 < TheSeven> the latter 19:54 < TheSeven> different kinds of firmware want to be executed at different addresses 19:56 < user890104> i've been running apple's OF 1.0.4 on a 1.0.3 ipod nano 4g for weeks with this method 19:56 < user890104> and today the menu button just stopped working 19:56 < user890104> a restart fixed it .. strange 19:57 * TheSeven blames apple 20:00 < user890104> i thought that the clickwheel was broken at first, because even the reset combo didn't work so i'm not sure if it's a software or a hardware issue 20:02 < TheSeven> if the reset doesn't work, it's hardware 20:16 -!- Dreamxtreme_ [Dreamxtrem@92.30.177.143] has joined #freemyipod 20:19 -!- Dreamxtreme [~Dreamxtre@92.30.24.203] has quit [Ping timeout: 255 seconds] 20:22 < Farthen> user890104: i will fix it when i will continue to work on embios.py... don't have much time at the moment. of course someone else could do it also if he wants ;) 20:24 < user890104> if i had an account, i would fix it myself after the someone of the others agree 20:25 < Farthen> why do you run the OF 1.0.4? some important improvements? i thought it was mainly made to fix the notes bug 20:26 < user890104> i think it fixes another bug - remembering that i've selected 24-hour format for the time display 20:26 < user890104> 1.0.3 always resets to am/pm display 20:29 < Farthen> 1.0.4 fixes this annoying bug? 20:29 < Farthen> this one has been annoying me all the time! 20:29 < user890104> i think so, but i'm not 100% sure 20:29 < Farthen> but well, i don't want the notes exploit to stop working so i'll just stay with 1.0.3 20:30 < user890104> so my approach is having the ipod flashed with 1.0.3, while running 1.0.4 in the ram memory 20:31 < user890104> but i have to bring the cable and the laptop with me, in case the power goes off and the ipod gets reset to the ibugger's loader screen 20:32 < Farthen> yeah and i don't want to do that 20:32 < Farthen> so i'll just stay with 1.0.3 20:36 < user890104> does anyone know what "*PANIC* Unhandled IRQ 8!" mean while booting emBIOS? 20:37 < TheSeven> which kind of ipod? :D 20:37 < TheSeven> 4g? 20:37 < user890104> yep 20:38 < TheSeven> seems to be a spurious timer interrupt 20:40 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has quit [Quit: Bye ;)] 20:43 -!- funman [~fun@rockbox/developer/funman] has quit [Quit: free(random());] 20:48 -!- Dreamxtreme_ [Dreamxtrem@92.30.177.143] has quit [Ping timeout: 255 seconds] 20:52 < user890104> is there a libembios command, which can be used to write some text to ipod's white screen console? 20:52 < user890104> or it has to be a separate application 20:53 < Farthen> it is theoretically possible with embios.py writedevconsole to console 2 but there is a bug in the embios code for the nano 4g that makes it raise a mutex panic when you do it 20:54 < user890104> i just hit that bug, so i'm in the right direction 20:55 < user890104> i should get a nano 2g to do the testing on it also 22:41 -!- Dreamxtreme [~Dreamxtre@92.27.195.60] has joined #freemyipod 22:52 -!- Dreamxtreme [~Dreamxtre@92.27.195.60] has quit [Quit: +++ OK ATH OK] 22:54 -!- Dreamxtreme [~Dreamxtre@92.30.60.81] has joined #freemyipod 23:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 23:00 -!- clustur [~logger@c-76-127-58-39.hsd1.ga.comcast.net] has joined #freemyipod --- Log closed Tue Sep 07 00:05:48 2010