You could write a simple UBL (example source is available as part of the
DVFlasher application package) that does as a real PC does, loading and
executing the disk's master boot record (first 512 bytes of the disk).
If a linux bootloader like LILO or GRUB could be ported to the ARM (or
maybe already is?), then you would simply have to set this up under
Linux (booting the kernel via TFTP) and then reboot from the HDD.
Conceptually, I think it would work, but I don't know the status of
either LILO or Grub for ARM on MontaVista Linux.  In this scenario
U-boot wouldn't be used at all.

Regards,
Daniel

Daniel J. Allred
Software Applications
Catalog DSP / Emerging End Equipment
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Hunter, Jon
Sent: Thursday, March 15, 2007 8:30 AM
To: brady_lo; [email protected]
Subject: RE: Booting from HD using HD file system

> Thanks for your reply.
> In A5.1, it is boot from flash (the uImage file loaded into flash and
> address is 0x2050000).
> It is work well.
> Now, I store the uImage into on-board HDD.
> How do I set the uboot to load the uImage from on-board HDD ?



Ok, I understand now. I don't think that this is possible as I am not
aware of any support for an ATA controller in u-boot. Even if there was
support for the ATA controller u-boot would also need to have knowledge
of the HDD filesystem (ext2, ext3...) and I don't believe that u-boot
has built-in support for filesystems either. 

The DM644x devices can only boot from NOR, NAND or UART. So unless you
plan to use the UART mode to download the bootloader and kernel, you
would need to have a flash device on the board. Hence, unless you were
trying to save money (by having a smaller flash), I don't see the need
to store the kernel and boot the kernel from the HDD. Please comment if
there is a use case I may be over looking here. 

Cheers
Jon
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to