aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/image/redbootscript.template
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/image/redbootscript.template')
-rw-r--r--target/linux/brcm63xx/image/redbootscript.template15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/redbootscript.template b/target/linux/brcm63xx/image/redbootscript.template
new file mode 100644
index 0000000000..a007c849cf
--- /dev/null
+++ b/target/linux/brcm63xx/image/redbootscript.template
@@ -0,0 +1,15 @@
+fis init -f
+
+fconfig boot_script true
+fconfig boot_script_data
+fis load -b %loadaddr -d kernel
+exec -c "noinitrd" %loadaddr
+
+
+fconfig boot_script_timeout 20
+
+fis create -o 0x1000 -f 0xBE430000 -l %kernellen kernel
+
+fis create -o %offset2 -s %rootfsdatalen -f %rootfsaddr -l %rootfslen rootfs
+
+reset