From: Bernard L. <le...@bo...> - 2003-11-04 22:17:31
|
On Tue, 2003-11-04 at 15:11, PALFFY Daniel wrote: I'll skip the initrd stuff. Seems you've got a much better solution there :) > > > just started up a console on the right tty line it would all work! I > > Ok, I'll try this next week - I don't have a scope at home :( > > Still haven't tried this... The headphone connector is so fscking small, > it's very hard to connect anything there. Does someone have a dead g3 > remote? I think the remote connector has the same connectors as the 2g iPods, I think the only difference is a re-arrangement. I remember there were some close-up pictures that showed the connectors and didn't think there were any extra contacts. > But some other details I've discovered: > > The disk driver seems to work fine. The problem is with firewire. If I > turn on firewire, the kernel boots as long as it's connected to the > firewire port (unpowered, on my laptop), but fails to boot when > disconnected (freezes at the apple logo). Also, it seems to mess up the > IDE controller, because with a firewire enabled kernel the controller is > not detected. If I disable firewire, the hard disk and the partitions are > also detected correctly. In the current state it's hard to debug firewire, > because it's initialized before the framebuffer. I'll try to reverse this > if noone has any idea what could go wrong... Thats quite interesting but also strange. I hadn't thought either had changed much but if they have it should be easy enough sort out. I will have to have a closer look at the diagnostic in v2. This may also be the reason why the 2.1 firmware doesn't boot on 2g hardware... > What works: keyboard (I've only used wait_for_action() to slow down the > boot process), IDE, the serial ports seem to be detected (or are they hard > coded?), and the fb. patch_fw works well with firmware 2.1 if the check > for 1.2x is disabled. BTW, what's the second boot img? A flash updater? > When does it get booted? And what's the difference between addr and > loadAddr in the image structure? The serial ports have fixed addresses as they are part of the P5002 chip. The second image in the boot table is the flash updater. If you get the original image from the updater program (any version) you will see that its boot table is different to what is on an updated iPod. The difference is in the updater image it has the boot table set to boot the flash loader, the last thing the flash loader does is change the boot table to boot the retailOS. I never fully reverse engineered the fields in the boot loader table. I got those names from the firmware (I think!) but I didnt work it out fully. > > Is it possible to reduce the size of the first partition and make a hda3 > on the end of the firmware partition? I'd hate to mess with umsdos, I'd > like to make an ext[23] root there... Seems so! cheers, bern. |