From: PALFFY D. <dpa...@ra...> - 2003-11-04 23:26:49
|
> I guess as long as you make it hda4 it can find everything ok. I wonder > how that would go with the MAC iPods... That would certainly make the > setup a lot easier. I'd imagine the updater program might get a bit > confused (although maybe not...). I've chosen hda4 'cause there's a slight chance that when the original firmware looks at the part table and finds no hda3, doesn't continue and get confused... But the updater is another thing :) I haven't tried that. > If you have a few minutes to put together a short howto perhaps I could > put it up on the website :) A really short version: Only tested on 40g ipod, firmware 2.1. On that, the data partition begins at the 6th cylinder. Check this before proceeding! dd if=/dev/sda of=mbr.backup bs=512 count=1 dd if=/dev/sda1 of=fw_2.1.backup fdisk /dev/sda d 1 # delete first part n p 1 1 1 # new first primary, from 1st to 1st cyl a 1 # activate first (dunno if required, originally it was so) t 1 0 # set to type 0 --"-- n p 4 2 5 # new fourth primary from 2nd to 5th cyl w # write mke2fs -j /dev/sda4 dd if=/dev/sda1 of=fw_to_restore.bin cp fw_to_restore.bin fw_to_be_patched.bin Then compile in ext3, copy the root fs to /dev/sda4, set cmdline to "root=/dev/hda4 rw", patch_fw it to fw_to_be_patched, install it and enjoy! I'll write a longer version for the web later... > The driver should be doing everything right but I guess there may be > some slightly different initialisation required there. Especially if > its a different D2A chip in the g3 hardware. This was just a very quick check. I'll try to look into this when firewire works. I could help here much more if I knew the magic addresses of the chips... > Not really documented, black magic is about right... you can get some of > it out of the source and I have a few other notes but its all pretty > disorganised. Ok, then I'd really need your help in the initialization stuff... As soon as I know the mapping between the datasheets of the chips and the 0xcfxxxxxx's, I'll write more code and less email :) Thanks -- Dani ...and Linux for all. |