
In message EGEGIJHKDKJGAJMGIDPNIEBJCLAA.jwalden@digitalatlantic.com you wrote:
I feel like I'm setting myself up for another "Wolfgang RTFM" response - however here it goes.
;-)
It appears now that everything works with u-boot! I can even do a tftpboot etc.
Great.
What I'd like to do is to write a script (I read the section on scripts), that will:
tftpboot 0x100000 mykernel.PPCBoot tftpboot 0x300000 myinitrd.PPCBoot bootm 0x100000 0x300000
What is the best way to do this? I cannot figure it out from the docs.
There is no "best" way, as TIMTOWTDI.
1) Enter:
=> setenv myboot 'tftp 100000 mykernel.PPCBoot;tftp 300000 myinitrd.PPCBoot;bootm 100000 300000' => run myboot
2) Create a multifile image which can be loaded / booted in one step.
3) Put your 3 lines above in atext file, use "mkimage ... -T script" to create a script image which you can store somewhere in RAM or flash, and use "autoscr <addr>" to exeecute the script.
Best regards,
Wolfgang Denk