projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
omap: switch from uEnv.txt to generic distro booting
[openwrt/openwrt.git]
/
package
/
boot
/
uboot-omap
/
files
/
boot.scr.txt
diff --git a/package/boot/uboot-omap/files/boot.scr.txt
b/package/boot/uboot-omap/files/boot.scr.txt
new file mode 100644
(file)
index 0000000..
3e6b5c3
--- /dev/null
+++ b/
package/boot/uboot-omap/files/boot.scr.txt
@@ -0,0
+1,5
@@
+setenv bootargs console=${console} root=/dev/mmcblk0p2 rootwait
+
+load mmc 0:1 ${loadaddr} /zImage \
+&& load mmc 0:1 ${fdtaddr} /dtbs/${fdtfile} \
+&& bootz ${loadaddr} - ${fdtaddr}