From 90fde853ca6f78e25228f4cc7819a00cc07eea1a Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 28 Jul 2015 19:53:56 +0200 Subject: Add u-boot boot script "boot.scr" --- .gitignore | 1 + Makefile | 2 ++ boot.cmd | 9 +++++++++ 3 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 boot.cmd diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d973aa5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +boot.scr diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f301fdf --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +boot.scr: boot.cmd + mkimage -C none -A arm -T script -d boot.cmd boot.scr diff --git a/boot.cmd b/boot.cmd new file mode 100644 index 0000000..1995d2f --- /dev/null +++ b/boot.cmd @@ -0,0 +1,9 @@ +# Boot script for the A31 uQ7 board by Theobroma Systems, codename Pangolin +# +# Compile this file: +# mkimage -C none -A arm -T script -d boot.cmd boot.scr + +setenv bootargs console=ttyS2,115200 root=/dev/mmcblk0p1 rw rootwait +ext4load mmc 0:1 0x40008000 boot/uImage +ext4load mmc 0:1 0x40000000 boot/sun6i-a31-pangolin.dtb +bootm 0x40008000 - 0x40000000 -- cgit v1.2.3