From 00661368a2414389c5342b3ccb2940bd9c329d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 23 Feb 2013 04:01:19 +0100 Subject: [PATCH] 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. --- docs/develop/ports/ppc/sam460ex/notes.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/develop/ports/ppc/sam460ex/notes.txt b/docs/develop/ports/ppc/sam460ex/notes.txt index 767fd5c8fb..0c9827f147 100644 --- a/docs/develop/ports/ppc/sam460ex/notes.txt +++ b/docs/develop/ports/ppc/sam460ex/notes.txt @@ -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?