[EMAIL PROTECTED] (Stefan Reinauer) wrote:
> Has anyone worked with booting via ide?

Well, if you want to do it the easy way, just create a special
partiton for the Linux kernel, and then do something like this:

option USE_ELF_BOOT=1
option BOOT_IDE=1
option IDE_OFFSET=0x7e00
option IDE_DELAY=1
dir src/pc80/ide

I've added two parameters to the IDE driver, IDE_OFFSET which tells
the driver where to start reading, and IDE_DELAY to decrease the
initial delay before accessing the IDE disk.  I'm using dd to put an
elfImage (the same elfImage normally used with etherboot) on
/dev/hda1.  On my Compact Flash, /dev/hda1 starts at offset 0x7e00.

This way I could test LinuxBIOS on a board with only Compact Flash and
a ROM chip.  It would be a lot nicer to have a bootloader such as grub
that understands the ext2 filesystem, but this was good enough for
some quick tests.

  /Christer

-- 
"Just how much can I get away with and still go to heaven?"

Reply via email to