summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot')
-rw-r--r--arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot b/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot
new file mode 100644
index 000000000..ce7da18e6
--- /dev/null
+++ b/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot
@@ -0,0 +1,9 @@
+#!/bin/sh
+#Load the firmware images from the NOR UBIFS file system and boot
+
+readlink /mnt/active symlink
+
+bootargs="ubi.mtd=nand root=ubi0:fs-active rootfstype=ubifs rw panic=25"
+cp /mnt/$symlink/uImage /
+cp /mnt/$symlink/dtb /
+bootm -o /dtb /uImage \ No newline at end of file