[OpenWrt-Devel] uboot-omap: add C4 revision in findfdt

Dirk Neukirchen dirkneukirchen at web.de
Thu Oct 9 04:34:34 EDT 2014


fixes BeagleBoard C4 detection

error message in serial console was:
"WARNING: Could not determine device tree to use"

change is found in upstream u-boot


Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch

diff --git a/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch b/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch
new file mode 100644
index 0000000..b0b85e5
--- /dev/null
+++ b/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch
@@ -0,0 +1,11 @@
+--- a/include/configs/omap3_beagle.h
++++ b/include/configs/omap3_beagle.h
+@@ -242,6 +242,8 @@
+ 			"setenv fdtfile omap3-beagle.dtb; fi; " \
+ 		"if test $beaglerev = Cx; then " \
+ 			"setenv fdtfile omap3-beagle.dtb; fi; " \
++		"if test $beaglerev = C4; then " \
++			"setenv fdtfile omap3-beagle.dtb; fi; " \
+ 		"if test $beaglerev = xMAB; then " \
+ 			"setenv fdtfile omap3-beagle-xm.dtb; fi; " \
+ 		"if test $beaglerev = xMC; then " \
-- 
2.1.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list