diff options
author | Klaus Goger <klaus.goger@theobroma-systems.com> | 2016-09-18 16:53:58 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2016-09-18 16:53:58 +0200 |
commit | 839e0f9a8278c9801fa4426cb7dde80ffd744774 (patch) | |
tree | 5428e26dc9ccfe2dd9148ba3e9dfd6759eafcfec /boot.cmd |
Diffstat (limited to 'boot.cmd')
-rw-r--r-- | boot.cmd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boot.cmd b/boot.cmd new file mode 100644 index 0000000..e0027c6 --- /dev/null +++ b/boot.cmd @@ -0,0 +1,10 @@ +# Boot script for the A80 Q7 board by Theobroma Systems, codename Armadillo +# +# Compile this file: +# mkimage -C none -A arm -T script -d boot.cmd boot.scr + +if emmcboot; then rootdevice=mmcblk0p1; else rootdevice=mmcblk1p1; fi +setenv bootargs console=ttyS4,115200 root=/dev/${rootdevice} rw rootwait +ext4load mmc 0:1 $kernel_addr_r boot/uImage +ext4load mmc 0:1 $fdt_addr_r boot/sun9i-a80-armadillo.dtb +bootm $kernel_addr_r - $fdt_addr_r |