Patchwork [meta-fsl-arm-extra,v4,1/3] cubox-i: add u-boot fork for cubox-i machines

login
register
mail settings
Submitter Carlos Rafael Giani
Date Jan. 27, 2014, 9:38 p.m.
Message ID <1390858694-24339-1-git-send-email-dv@pseudoterminal.org>
Download mbox | patch
Permalink /patch/65893/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Carlos Rafael Giani - Jan. 27, 2014, 9:38 p.m.
This fork includes MXC SPL support for the SolidRun CuBox-i and
HummingBoard devices

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 recipes-bsp/u-boot/u-boot-cubox-i/uEnv.txt   |  1 +
 recipes-bsp/u-boot/u-boot-cubox-i_2013.10.bb | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-cubox-i/uEnv.txt
 create mode 100644 recipes-bsp/u-boot/u-boot-cubox-i_2013.10.bb
Otavio Salvador - Jan. 28, 2014, 1:31 a.m.
On Mon, Jan 27, 2014 at 7:38 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> This fork includes MXC SPL support for the SolidRun CuBox-i and
> HummingBoard devices
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>

The short log ought to be:

u-boot-cubox-i: ...

Patch

diff --git a/recipes-bsp/u-boot/u-boot-cubox-i/uEnv.txt b/recipes-bsp/u-boot/u-boot-cubox-i/uEnv.txt
new file mode 100644
index 0000000..3ae0863
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-cubox-i/uEnv.txt
@@ -0,0 +1 @@ 
+mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
diff --git a/recipes-bsp/u-boot/u-boot-cubox-i_2013.10.bb b/recipes-bsp/u-boot/u-boot-cubox-i_2013.10.bb
new file mode 100644
index 0000000..6fa2ce6
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-cubox-i_2013.10.bb
@@ -0,0 +1,27 @@ 
+require recipes-bsp/u-boot/u-boot.inc
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=bc069111b5e5b1ed8bed98ae73b596ec"
+
+PROVIDES += "u-boot"
+
+PV = "v2013.10+git${SRCPV}"
+
+SRCREV = "920ea0f20276614e11961924b1990b6c922c8d0e"
+SRC_URI = " \
+    git://github.com/rabeeh/u-boot-imx6.git;branch=imx6 \
+    file://uEnv.txt \
+    "
+
+S = "${WORKDIR}/git"
+
+UENV_FILENAME ?= "uEnv-${MACHINE}.txt"
+
+deploy_uenv () {
+    install ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/${UENV_FILENAME}
+}
+
+do_deploy[postfuncs] += "deploy_uenv"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "cubox-i"