aboutsummaryrefslogtreecommitdiff
path: root/board/highbank/scripts/autoboot.txt
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-09 17:01:53 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-12-06 13:51:48 -0700
commit7fd7f37da46e2241945e1e3dd6ee7052a7f31b0a (patch)
tree451fe31bba2ced929f56dc4b9f50cd9b18fcb5d6 /board/highbank/scripts/autoboot.txt
parent6cbda54a7688f3586155a8e6d93c200505277bf7 (diff)
ARM: highbank: add autoboot script file
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'board/highbank/scripts/autoboot.txt')
-rw-r--r--board/highbank/scripts/autoboot.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/board/highbank/scripts/autoboot.txt b/board/highbank/scripts/autoboot.txt
new file mode 100644
index 000000000..b2d89c7f7
--- /dev/null
+++ b/board/highbank/scripts/autoboot.txt
@@ -0,0 +1,29 @@
+bootcmd_setup=mw.l fff3c100 5f20121; mw.l fff3c104 0
+bootcmd_pxe=setenv bootfile "" ;dhcp; pxe get; pxe boot
+bootcmd_disk_scr=ext2load ${boot_ifc} ${bootdevice} ${scr_addr_r} boot.scr && source ${scr_addr_r}
+bootcmd_disk_sysboot1=setenv bootfile /boot/extlinux/extlinux.conf; sysboot ${boot_ifc} ${bootdevice} ext2
+bootcmd_disk_sysboot2=setenv bootfile /extlinux/extlinux.conf; sysboot ${boot_ifc} ${bootdevice} ext2
+bootcmd_disk_uenv=ext2load ${boot_ifc} ${bootdevice} ${uenv_addr_r} uEnv.txt; env import -t ${uenv_addr_r} ${filesize}; run bootcmd_uenv
+bootcmd_disk_kernel=ext2load ${boot_ifc} ${bootdevice} ${kernel_addr_r} vmlinuz && ext2load ${boot_ifc} ${bootdevice} ${ramdisk_addr_r} initrd.img && bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr}
+bootcmd_disk=run bootcmd_disk_sysboot1; run bootcmd_disk_sysboot2; run bootcmd_disk_uenv; run bootcmd_disk_scr; run bootcmd_disk_kernel
+bootcmd_sata=setenv boot_ifc scsi; scsi scan && run bootcmd_disk
+bootcmd_mmc=setenv boot_ifc mmc; mmc rescan && run bootcmd_disk
+bootcmd_default=run bootcmd_sata; run bootcmd_pxe
+bootcmd0=run bootcmd_setup; run bootcmd_default
+bootcmd1=run bootcmd_setup; run bootcmd_pxe; run bootcmd_default
+bootcmd2=run bootcmd_setup; run bootcmd_sata; run bootcmd_default
+bootcmd15=run bootcmd_setup; run bootcmd_mmc; run bootcmd_default
+localcmd=run bootcmd_sata
+bootdevice=0
+bootargs=console=ttyAMA0 root=LABEL=rootfs nosplash
+bootdelay=2
+netretry=once
+fdt_addr=0x1000
+fdt_high=0xffffffff
+pxefile_addr_r=0x700000
+kernel_addr_r=0x800000
+ramdisk_addr_r=0x01000000
+initrd_high=0xffffffff
+scr_addr_r=0x100000
+uenv_addr_r=0x600000
+