Thanks for all your suggestions. I've used the environment to do the 
auto-booting after enabling the CFI driver for environment storage to FLASH.

One of my important targets to use u-boot is to let my board be able to boot 
Linux kernel as the following way:
1) Power ON
2) VxWorks Bootrom started from FLASH 0xFEF00100
3) Start U-Boot (BIN) from FLASH 0xFEFC0000
4) U-Boot starts Linux/Initrd/DTB following the command line configured in 
VxWorks Bootrom (this is still not resolved yet)

Finally, my VxWorks bootrom can be selectable to boot a normal VxWorks image or 
a super package including Uboot and linux. And vice versa, if I put the U 
Boot's FLASH address as the CPU starting entry point, the u boot can also be 
selectable to boot any kinds of images.

Best Regards,
Tony



-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
发送时间: 2008年2月3日 12:10
收件人: Ben Warren
抄送: tony liu; u-boot-users@lists.sourceforge.net
主题: Re: [U-Boot-Users] Re: 答复: [U-Boot-Users] HELP: How to make PPC booting 
easier

In message <[EMAIL PROTECTED]> you wrote:
>
> I'm very, very far from being a device tree expert and am not up to
> date on the wonderful FDT work that Jerry Van Baren and friends have
> worked on over the last several months.  AFAIK, there's no way around
> having the kernel and device tree as separate images.  If both truly

Actually you should be able to use a (classic) multi-file image,
although I have to commit that I haven't tested this for a long time.

Or, you can wait until the new image format gets merged in the next
version of U-Boot (patches have been posted, you are welcome to give
them a try).

> need to be dynamic, of course you're going to have to download both
> each time.  You can certainly minimize the amount of human interaction
> by scripting U-boot to automatically TFTP the blobs to pre-defined
> addresses and then boot from there.

right. You just have to type the commands once and save them as an
environment variable which you can then "run".

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
If some day we are defeated, well, war has  its  fortunes,  good  and
bad.
        -- Commander Kor, "Errand of Mercy", stardate 3201.7

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to