[U-Boot-Users] IDE Boot

Wolfgang Denk wd at denx.de
Mon Mar 15 17:40:18 CET 2004


In message <20040315161312.78608.qmail at web10607.mail.yahoo.com> you wrote:
> 
> We have ported U-Boot and Linux-2.4.22 on to a custom
> MPC8280 board. Now we are trying to boot linux from
> IDE. We were able to configure the IDE from U-Boot and
> copy the Linux image to one of the IDE partition. If
> we boot from the image copied from the hard disk, we
> observed that the kernel command line is empty and
> board doesn't boot properly. Earlier we were booting

There is no difference how U-Boot passes the boot arguments. I  guess
you  made  an error when setting your "bootargs" variable for booting
from disk.

> the board through NFS using a ramdisk image. Now If we
> have to boot from the hard disk, how to copy the file
> system onto the hard disk? Linux kernel recognizes the

Boot Linux with root filesystem over NFS,  mount  the  harddisk,  and
populate  it  as you like. Or boot with root filesystem on a ramdisk,
mount the harddisk, and populate it as you like. Or ...

> hard disk as a scsi device (/dev/sda).

This sounds bogus to me. If it is an IDE harddisk, the kernel  should
use /dev/hda instead.


Strictly speaking, all this has very little to do with U-Boot.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Programmer's Lament: (Shakespeare, Macbeth, Act I, Scene vii)
        "That we but teach bloody instructions,
        which, being taught, return to plague the inventor..."




More information about the U-Boot mailing list