PPC: Document how to automate TFTP-boot Haiku on Sam460ex

* U-Boot seems to have a very small limit on serial or shell input buffer,
so we split the commands into several variables that we run in sequence.
This commit is contained in:
François Revol 2013-02-23 04:01:19 +01:00
parent c3052f0795
commit 00661368a2

View File

@ -12,6 +12,15 @@ tftpboot 0xc000000 192.168.4.2:sam460ex.dtb
fdt addr 0xc000000
fdt header
bootm 0x4000000 0x8000000 0xc000000 plop
** for environment:
setenv booth1 'setenv ipaddr 192.168.4.100; tftpboot 0x4000000 192.168.4.2:haiku_loader_linux.ub'
setenv booth2 'tftpboot 0x8000000 192.168.4.2:haiku_initrd.ub'
setenv booth3 'tftpboot 0xc000000 192.168.4.2:sam460ex.dtb'
setenv booth4 'bootm 0x4000000 0x8000000 0xc000000 plop'
setenv booth 'run booth1; run booth2; run booth3; run booth4'
saveenv
run booth
* TODO U-Boot API?
** TODO move Partenope hack to proper official U-Boot API?