--- Log opened Sat Aug 21 00:44:54 2010 00:44 -!- fmibot [~fmibot@static.225.178.40.188.clients.your-server.de] has joined #freemyipod 02:37 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 276 seconds] 02:40 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 04:26 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 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 08:52 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has quit [Ping timeout: 272 seconds] 09:35 -!- n1s [~n1s@rockbox/developer/n1s] 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:41 -!- user890104 [Venci@Venci-Notebook-LAN.ipv6.6bez10.info] has joined #freemyipod 15:55 -!- MrShlee [~Default@114-30-116-245.ip.adam.com.au] has joined #freemyipod 16:44 -!- MrShlee [~Default@114-30-116-245.ip.adam.com.au] has quit [Quit: Leaving] 16:55 -!- n1s [~n1s@rockbox/developer/n1s] has quit [Quit: Lämnar] 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:26 -!- funman [~fun@rockbox/developer/funman] has joined #freemyipod 18:13 < funman> i got a mail from serpi, he should be back from holidays in 'a few days' 18:14 < funman> TheSeven: he told me about 'MZ/PE headers' and a tool you started to unpack that kind of file (EFI); but I had no idea what he was writing about 18:15 < TheSeven> i didn't write it, i just found it somewhere on the net 18:15 < TheSeven> the decrypted nor flash contents are apparently an efi volume, and we have a tool to unpack that 18:15 < TheSeven> however, it apparently doesn't support the compression scheme used by that volume (it did support the one used on the 4g though) 18:16 < user890104> TheSeven: could you provide a link to it, please? 18:16 < TheSeven> and those efi volumes contain shitloads of little PE executables (.exe files), which are dynamically linked at runtime 18:17 < TheSeven> the bootloader and diagmode consist of this all the way, at least on the 4g 18:17 < funman> i thought it was weird because starting at offset 0x8800 there are the exception vectors and normal code follows. the EFI might start at another location though 18:17 < TheSeven> everything is in http://the-seven.tk/download/ipod/snapshot-201003100612-public.7z 18:18 < TheSeven> that's the entry point of it 18:18 < TheSeven> which jumps right away into the (uncompressed) SECCORE file in the volume 18:18 < TheSeven> you can recognize EFI volumes by an "_FVH" magic some bytes into the file 18:19 < TheSeven> the efi volume itself starts at 0x8900 on the flash or 0x100 into the image 18:20 < TheSeven> SECCORE will setup SDRAM and similar essential hardware, and jump into PEICORE, which will mount the efi volume, initialize all hell of things and run DXECORE, which will then load all the drivers and run the bootloader 18:20 < funman> hm right, so there is: some code (vectors), EFI image, some code again (referenced from the first part) 18:21 < TheSeven> the uncompressed code at the end is just another file on the efi volume 18:21 < TheSeven> (seccore and peicore) 18:21 < TheSeven> they're jumping directly into the file system :) 18:23 < TheSeven> each efi module is linked statically with its own copy of libgcc or whatever 18:23 < TheSeven> and all cross-module procedure calls are done through efi protocol interfaces 18:23 < TheSeven> (besides seccore calling peicore on boot) 18:32 < TheSeven> funman: the best reference for that efi stuff i have found so far is http://wiki.phoenix.com/wiki/index.php 18:41 < funman> if the code jumps directly in the filesystem i hope i can find some useful stuff without looking at the filesystem structure/content 18:41 < funman> btw how do you know that the width is 240px ? 18:42 < user890104> i have a guess about the audio codec chip in nano 4g - cirrus CS42L58 (the same as in ipod touch 2g/3g) 18:46 < funman> i need itunes to transfer pictures to it :/ 18:48 < TheSeven> funman: apple has specs on its web site somewhere 18:48 < TheSeven> the lcd is 320x240, according to that 18:49 < funman> oh i get it, small pixels 18:53 * TheSeven wonders if he should try to salvage the module cross-references from a post-mortem memory dump using some magic 18:54 < funman> i'll be able to sacrifice a pizza in ~20 minutes 18:55 < funman> that'll give you some time to find a magic formulae ;) 18:56 < TheSeven> i'm thinking of dumping the protocol list and trying to figure out where the modules are located by searching for "cygdrive" 19:45 -!- funman [~fun@rockbox/developer/funman] has quit [Quit: free(random());] 20:11 < fmibot> New commit by 3theseven (r166): Some cosmetics in the Nano2G FTL code 20:11 < fmibot> New commit by 3theseven (r167): Fix monitor worker priority 20:11 < fmibot> r166 build result: All green! 20:12 < fmibot> r167 build result: All green! 20:17 < fmibot> New commit by 3theseven (r168): Fix a bunch of mutex deadlocks in the button code 20:17 < fmibot> r168 build result: All green! 20:18 < fmibot> New commit by 3theseven (r169): Oops, fix some nonsense from the previous commit 20:18 < fmibot> r169 build result: All green! 20:44 < fmibot> New commit by 3theseven (r170): Fix a bunch of backlight-related bugs 20:44 < fmibot> r170 build result: All green! 21:02 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has joined #freemyipod 21:53 < fmibot> r170 build result: All green! 21:53 < Farthen> uuuups 21:53 * Farthen was testing ;) 21:54 -!- benedikt93 [~benedikt9@unaffiliated/benedikt93] has quit [Quit: Bye ;)] 22:07 < TheSeven> http://pastie.org/1106681 22:12 < TheSeven> http://pastie.org/1106686 22:12 < TheSeven> this time with offsets into the modules 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 Sun Aug 22 01:20:31 2010