[meta-freescale] [meta-fsl-arm-extra][PATCH] UDOO board support, recipe for u-boot2013

Luca Simone Ronga luca.simone.ronga at gmail.com
Mon Dec 16 01:33:46 PST 2013


Dear Freescale community,
here is the u-boot recipe for the UDOO Board uboot branch maintained by SECO
(UbootUnico 2013).
L.


Signed-off-by: Luca Simone Ronga <luca.simone.ronga at gmail.com>
---
 .../0001-modified-UDOO-conf-for-yocto-meta.patch   |   49 ++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-udoo_2013.bb             |   24 ++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-udoo/0001-modified-UDOO-conf-for-yocto-meta.patch
 create mode 100644 recipes-bsp/u-boot/u-boot-udoo_2013.bb

diff --git a/recipes-bsp/u-boot/u-boot-udoo/0001-modified-UDOO-conf-for-yocto-meta.patch b/recipes-bsp/u-boot/u-boot-udoo/0001-modified-UDOO-conf-for-yocto-meta.patch
new file mode 100644
index 0000000..25c2886
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-udoo/0001-modified-UDOO-conf-for-yocto-meta.patch
@@ -0,0 +1,49 @@
+From 0f536350a5add4ffa8d4ff874fca7bbccc57b63b Mon Sep 17 00:00:00 2001
+From: udoo <udoo at udoo-virtual-machine.(none)>
+Date: Mon, 9 Dec 2013 12:38:44 +0100
+Subject: [PATCH] modified UDOO conf for yocto meta
+
+---
+ include/configs/udoo.h |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/include/configs/udoo.h b/include/configs/udoo.h
+index 7632bb7..394d0e7 100644
+--- a/include/configs/udoo.h
++++ b/include/configs/udoo.h
+@@ -124,7 +124,7 @@
+ 
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+ 	"script=boot.scr\0" \
+-	"uimage=/boot/uImage\0" \
++	"uimage=uImage\0" \
+ 	"console=ttymxc1\0" \
+ 	"splashpos=m,m\0" \
+ 	"fdt_high=0xffffffff\0" \
+@@ -136,7 +136,7 @@
+ 	"hdmi_patch=\0" \
+ 	"mmcdev=0\0" \
+ 	"mmcpart=1\0" \
+-	"mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
++	"mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+ 	"update_sd_firmware_filename=u-boot.imx\0" \
+ 	"update_sd_firmware=" \
+ 	 "if test ${ip_dyn} = yes; then " \
+@@ -156,11 +156,11 @@
+ 	 "${hdmi_patch} " \
+ 	 "fbmem=24M video=mxcfb0:dev=hdmi,1920x1080M at 60,bpp=32\0" \
+ 	"loadbootscript=" \
+-	 "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
++	 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+ 	"bootscript=echo Running bootscript from mmc ...; " \
+ 	 "source\0" \
+-	"loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
+-	"loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
++	"loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
++	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
+ 	"mmcboot=echo Booting from mmc ...; " \
+ 	 "run mmcargs; " \
+ 	 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
+-- 
+1.7.9.5
+
diff --git a/recipes-bsp/u-boot/u-boot-udoo_2013.bb b/recipes-bsp/u-boot/u-boot-udoo_2013.bb
new file mode 100644
index 0000000..83cfbe9
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-udoo_2013.bb
@@ -0,0 +1,24 @@
+require recipes-bsp/u-boot/u-boot.inc
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=6bc50ecab884fce80cd3ef3da8852b08"
+
+SRC_URI[md5sum] = "c0f064a9e9d1eb3c91ab166a631af080"
+SRC_URI[sha256sum] = "46273bb1da340814451ef781ee7fba50faf44541c694e2d333d5f351f691d6fa"
+
+COMPATIBLE_MACHINE = "(mx6)"
+DEPENDS_mxs += "elftosb-native openssl-native"
+PROVIDES += "u-boot"
+PV="unico2013"
+
+SRCREV = "b48999bc21243676a80f94ff1d2cd78418aca013"
+SRC_URI = "git://github.com/UDOOboard/U-Boot_Unico-2013.git \
+	   file://0001-modified-UDOO-conf-for-yocto-meta.patch"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
+                 HOSTLDFLAGS="-L${STAGING_BASE_LIBDIR_NATIVE} -L${STAGING_LIBDIR_NATIVE}" \
+                 HOSTSTRIP=true'
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.10.4



More information about the meta-freescale mailing list