Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHenrik Nordstrom <henrik@henriknordstrom.net>2013-07-27 03:59:20 +0400
committerHenrik Nordstrom <henrik@henriknordstrom.net>2013-07-27 03:59:20 +0400
commite5736fd09a164b8c8af9a6cbcd50b3de53143ab9 (patch)
treeac195d09004e00ad8e68b64dd49a39a2bcec01bc /bin
parent1b3efe41c88fff11d038e4a0be95b94622e4b786 (diff)
usb-boot: ramboot script without uimage header
Diffstat (limited to 'bin')
-rw-r--r--bin/ramboot.uboot-sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ramboot.uboot-sh b/bin/ramboot.uboot-sh
new file mode 100644
index 0000000..72e13aa
--- /dev/null
+++ b/bin/ramboot.uboot-sh
@@ -0,0 +1,7 @@
+# U-boot RAM boot script
+ramdisk=
+if iminfo 0x4c000000; then
+ ramdisk=0x4c000000
+fi
+setenv bootargs console=ttyS0,115200 rdinit=/sbin/init panic=10
+bootm 0x44000000 $ramdisk