[U-Boot-Users] Boot Linux kernel from external HDD, connected to PCI interface.
runet at innovsys.com
Tue Dec 5 16:14:33 CET 2006
> -----Original Message-----
> From: Leonid
> I have AMCC PPC440EP card with Silicon Image 680 PCI-IDE
> chip, external HDD is connected to it as IDE1 - see snapshot
> from Linux booting log:
> The question is does u-boot itself support Silicon Image or,
> by other words, can I boot kernel from some partition on HDD
> (behind this PCI-IDE chip) and if yes - how?
Yes. Easilly. The 680 chip is a standard IDE controller.
just enable IDE support (COMMAND_IDE), and set
#define CFG_ATA_BASE_ADDR set this to BAR5 on the
#define CFG_ATA_REG_OFFSET 0x80
#define CFG_ATA_DATA_OFFSET 0x80
#define CFG_ATA_ALT_OFFSET 0x80
Then the normal IDE commands just works
More information about the U-Boot