From 637bb760aec420cfcef9040ad7fcca73a58f7101 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Mon, 9 Jan 2012 17:01:53 -0600 Subject: ARM: highbank: add autoboot script files Signed-off-by: Rob Herring --- board/highbank/scripts/autoboot.txt | 17 +++++++++++++++++ board/highbank/scripts/diskboot.txt | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 board/highbank/scripts/autoboot.txt create mode 100644 board/highbank/scripts/diskboot.txt diff --git a/board/highbank/scripts/autoboot.txt b/board/highbank/scripts/autoboot.txt new file mode 100644 index 000000000..0e4ee7936 --- /dev/null +++ b/board/highbank/scripts/autoboot.txt @@ -0,0 +1,17 @@ +bootcmd_pxe=dhcp; pxe get; pxe boot +bootcmd_disk=ext2load ${boot_ifc} ${bootdevice} 0x100000 boot.scr; source 0x100000 +bootcmd_sata=setenv boot_ifc scsi; run bootcmd_disk +bootcmd_mmc=setenv boot_ifc mmc; run bootcmd_disk +bootcmd0=run bootcmd_sata; run bootcmd_pxe +bootcmd1=run bootcmd_pxe +bootcmd2=run bootcmd_sata +bootcmd15=run bootcmd_mmc +bootdevice=0:1 +bootargs=console=ttyAMA0,38400n8 root=LABEL=rootfs rootwait +bootdelay=1000 +netretry=once +fdt_addr=0x1000 +pxefile_addr_r=0x700000 +kernel_addr_r=0x800000 +ramdisk_addr_r=0x01000000 + diff --git a/board/highbank/scripts/diskboot.txt b/board/highbank/scripts/diskboot.txt new file mode 100644 index 000000000..4fe67b779 --- /dev/null +++ b/board/highbank/scripts/diskboot.txt @@ -0,0 +1,2 @@ +ext2load ${boot_ifc} ${bootdevice} ${kernel_addr_r} uImage; ext2load ${boot_ifc} ${bootdevice} ${ramdisk_addr_r} uInitrd; bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr} + -- cgit v1.2.3