Re: [U-Boot-Users] Booting Linux from hard drive

Wolfgang,
I think I understand the solution. But I'm not sure.
Are you saying. Create a partition which is not formatted with a file system and whose sole purpose is to contain a kernel image. Then, modify the diskboot command to read the contents of that partition into memory and execute.
Regards, Mark.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
Mark Lightfoot - Software Designer - SITA 777 Walker's Line, Burlington, Ontario, Canada, L7N 2G1 905-681-5575 mark.lightfoot@sita.aero
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
Wolfgang Denk wd@denx.de To: Mark.Lightfoot@sita.aero Sent by: cc: u-boot-users@lists.sourceforge.net wd@denx.de Subject: Re: [U-Boot-Users] Booting Linux from hard drive
06/16/2003 05:32 PM
Dear Mark,
in message OF2C06A494.5C13BDD5-ON85256D47.0073E4F0-85256D47.0075138E@sita.aero you wrote:
Can anyone suggest a method to have U-Boot boot Linux from a hard drive
on
a PowerPC architecture?
You have to adapt the existing IDE/ATA code so it can talk to your IDE controller. Then you can use the "diskboot" command to load a kernel image from a disk partition.
I'm in the process of completing a port of U-Boot to the Motorola
PrPMC800
which is uses a PowerPC MPC7410 processor. My goal is to have U-Boot
boot
Linux from a hard drive instead of from flash. I've just completed the
Works fine on a couple of boards already.
PCI/IDE support for this. I thought I could have U-Boot load Lilo or
Grub.
What the h*ll do you need lilo or grub for? You got 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@denx.de The sooner our happiness together begins, the longer it will last. -- Miramanee, "The Paradise Syndrome", stardate 4842.6

In message OF13DB0DD7.D2575659-ON85256D48.005CCB97-85256D48.005D3D8E@sita.aero you wrote:
I think I understand the solution. But I'm not sure.
Are you saying. Create a partition which is not formatted with a file system and whose sole purpose is to contain a kernel image. Then, modify the diskboot command to read the contents of that partition into memory and execute.
Correct.
Alternatively, fix the existing FAT fs support so that it works independently from a specific boot device (floppy).
Best regards,
Wolfgang Denk
participants (2)
-
Mark.Lightfoot@sita.aero
-
Wolfgang Denk