summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2015-07-28 19:53:56 +0200
committerJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2015-07-28 19:53:56 +0200
commit90fde853ca6f78e25228f4cc7819a00cc07eea1a (patch)
tree34ea92759f502d011d85c5cdeefaaf16160d75df
Add u-boot boot script "boot.scr"
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--boot.cmd9
3 files changed, 12 insertions, 0 deletions
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