Skip to contentSkip to conversation

IDE Boot

U-Boot-Users sudhakar rajashekhara 2 participants 2 messages Mar 15, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,

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 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 hard disk as a scsi device (/dev/sda).

regards,
Sudhakar.

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

#1 lore raw
Quoted 8 lines · In message <[email protected]> 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.

Quoted 3 lines

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 ...

Quoted 1 line

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

Signature · 5 lines
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..."