summaryrefslogtreecommitdiff
path: root/recipes/u-boot/files/rootfs.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-20 20:15:40 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-21 15:27:27 +0200
commitd57e14b9e27ed8360d49446361c5f7607ea34d88 (patch)
tree5537320fb1b8a6022ae998a458c051c5bd7721a8 /recipes/u-boot/files/rootfs.patch
parent9566f5fa6724f0beae77c206c9c391b177060fb8 (diff)
u-boot: fix fw_env logic, update beagle and touchbook
Diffstat (limited to 'recipes/u-boot/files/rootfs.patch')
-rw-r--r--recipes/u-boot/files/rootfs.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes/u-boot/files/rootfs.patch b/recipes/u-boot/files/rootfs.patch
new file mode 100644
index 0000000000..655c040500
--- /dev/null
+++ b/recipes/u-boot/files/rootfs.patch
@@ -0,0 +1,62 @@
+--- git/include/configs/omap3_overo.h-orig 2009-09-17 13:06:08.000000000 -0700
++++ git/include/configs/omap3_overo.h 2009-09-17 13:06:49.000000000 -0700
+@@ -158,20 +158,24 @@
+ "vram=12M\0" \
+ "dvimode=1024x768MR-16@60\0" \
+ "defaultdisplay=dvi\0" \
++ "mmcroot=/dev/mmcblk0p2 rw\0" \
++ "mmcrootfstype=ext3 rootwait\0" \
++ "nandroot=/dev/mtdblock4 rw\0" \
++ "nandrootfstype=jffs2\0" \
+ "mmcargs=setenv bootargs console=${console} " \
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapfb.debug=y " \
+ "omapdss.def_disp=${defaultdisplay} " \
+- "root=/dev/mmcblk0p2 rw " \
+- "rootfstype=ext3 rootwait\0" \
++ "root=${mmcroot} " \
++ "rootfstype=${mmcrootfstype}\0" \
+ "nandargs=setenv bootargs console=${console} " \
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapfb.debug=y " \
+ "omapdss.def_disp=${defaultdisplay} " \
+- "root=/dev/mtdblock4 rw " \
+- "rootfstype=jffs2\0" \
++ "root=${nandroot} " \
++ "rootfstype=${nandrootfstype}\0" \
+ "loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc ...; " \
+ "source ${loadaddr}\0" \
+--- git/include/configs/omap3_beagle.h-orig 2009-09-17 14:48:55.000000000 -0700
++++ git/include/configs/omap3_beagle.h 2009-09-19 22:15:01.000000000 -0700
+@@ -167,20 +167,24 @@
+ "vram=12M\0" \
+ "dvimode=1024x768MR-16@60\0" \
+ "defaultdisplay=dvi\0" \
++ "mmcroot=/dev/mmcblk0p2 rw\0" \
++ "mmcrootfstype=ext3 rootwait\0" \
++ "nandroot=/dev/mtdblock4 rw\0" \
++ "nandrootfstype=jffs2\0" \
+ "mmcargs=setenv bootargs console=${console} " \
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapfb.debug=y " \
+ "omapdss.def_disp=${defaultdisplay} " \
+- "root=/dev/mmcblk0p2 rw " \
+- "rootfstype=ext3 rootwait\0" \
++ "root=${mmcroot} " \
++ "rootfstype=${mmcrootfstype}\0" \
+ "nandargs=setenv bootargs console=${console} " \
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapfb.debug=y " \
+ "omapdss.def_disp=${defaultdisplay} " \
+- "root=/dev/mtdblock4 rw " \
+- "rootfstype=jffs2\0" \
++ "root=${nandroot} " \
++ "rootfstype=${nandrootfstype}\0" \
+ "loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc ...; " \
+ "source ${loadaddr}\0" \