Patchwork [2/3] u-boot-vybrid: Add Timesys-based u-boot for Vf600-based machines

login
register
mail settings
Submitter Andy Voltz
Date June 13, 2013, 3:26 p.m.
Message ID <1371137162-5097-3-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/51693/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - June 13, 2013, 3:26 p.m.
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/include/imx-base.inc           |    1 +
 recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb |   19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb
Fabio Estevam - June 15, 2013, 10:16 p.m.
On Thu, Jun 13, 2013 at 12:26 PM, Andy Voltz <andy.voltz@timesys.com> wrote:
>
> Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  conf/machine/include/imx-base.inc           |    1 +
>  recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb |   19 +++++++++++++++++++

We will have Vybrid support in 2013.07 U-boot.

Can't we use it instead of this 2011.12 port?
Andy Voltz - June 17, 2013, 9:09 p.m.
Hi Fabio,

On Sat, Jun 15, 2013 at 06:16:20PM -0400, Fabio Estevam wrote:
> On Thu, Jun 13, 2013 at 12:26 PM, Andy Voltz <andy.voltz@timesys.com> wrote:
> >
> > Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> > ---
> >  conf/machine/include/imx-base.inc           |    1 +
> >  recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb |   19 +++++++++++++++++++
> 
> We will have Vybrid support in 2013.07 U-boot.
> 
> Can't we use it instead of this 2011.12 port?

Most likely. That was merged while I was doing this development, but I've been
able to boot the vybrid tower with the u-boot.imx tree on denx. My only
hesitation is that we haven't tested debugging mqx and linux at the same time
with this new u-boot. I'm hoping to test that tomorrow, and if it works I'll
adjust my patches to use 2013.07 rather than u-boot-vybrid.

Also, the new u-boot requires a patch to the kernel, but I have that done.

Patch

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index b7d04b1..bd293fd 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -18,6 +18,7 @@  UBOOT_ENTRYPOINT_mx51  = "0x90008000"
 UBOOT_ENTRYPOINT_mx53  = "0x70008000"
 UBOOT_ENTRYPOINT_mx6  = "0x10008000"
 UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
+UBOOT_ENTRYPOINT_vf60 = "0x80008000"
 
 PREFERRED_VERSION_xserver-xorg_mx6 = "2:1.11.4"
 
diff --git a/recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb b/recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb
new file mode 100644
index 0000000..ae9900d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-vybrid_2011.12.bb
@@ -0,0 +1,19 @@ 
+# Copyright (C) 2013 Timesys Corporation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-bsp/u-boot/u-boot.inc
+DESCRIPTION = "U-boot bootloader for vybrid platforms"
+
+PROVIDES += "u-boot"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
+
+SRC_URI = "git://github.com/Timesys/u-boot-timesys.git"
+
+# Revision of 2011.12-mvf branch
+SRCREV = "d958fc844f245394d6926930ad9f24a01ba51e3c"
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_MACHINE = "(vf60)"