From: Bernard L. <le...@bo...> - 2003-02-18 08:41:28
|
On Tue, 2003-02-18 at 00:55, Chandan Kudige [home] wrote: > > That pretty much covers whats gone so far. For the next short while I > > plan on continuing with the firewire controller. If anyone has > > suggestions on how integrate things like the remote control or power > > management I'd be happy to hear them. > Here is just a clue towards the power management. I made a small change to the > reboot_to_diskmode(): > > > /* do special startup? */ > > outl(0, 0x40017f10); > > > > /* reset */ > > outl(inl(0xcf005030) | 0xb, 0xcf005030); > > And found that this caused the ipod to 'freeze'. It didnt respond to any key strokes. The > LCD display froze at what was just displayed and CPU froze too. The only way to get out of > this is the '2 finger salute' (menu + play for a few seconds). Not sure, but the this > may be part of the power management. Hi Chandan, The write to 0x40017f10 needs to be a 1 to indicate that we want the booloader to start a particular image rather than just boot the default. As for the 0xcf005030 regster 0x400 resets the LCD 0x2 resets the coprocessor 0x4 resets the system 0xf3e0 probably resets a whole bunch of things I think the 0xcf005034 register is also a reset register but I've only seen 0x7 and 0x2 written there. Regarding the power management, I'm interested in finding out how linux drivers can contribute to reducing the overall power usage. This would be key to a successful firwmare! cheers, bern. |