
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
-----邮件原件----- 发件人: wd@denx.de [mailto:wd@denx.de] 发送时间: 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 f8328f7c0802021958l7ae8df4dyd30a3f1b894cc280@mail.gmail.com 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