[U-Boot] Resets on mx6qsabrelite

Marek Vasut marex at denx.de
Tue Sep 25 03:00:34 CEST 2012


Dear Eric Nelson,

> On 09/24/2012 05:22 PM, Tom Rini wrote:
> > On Mon, Sep 24, 2012 at 09:03:27PM -0300, Fabio Estevam wrote:
> >> On Wed, Sep 19, 2012 at 5:20 PM, Tom Rini<trini at ti.com>  wrote:
> >>> I lmgtfy.com'd Marek, but for everyone,
> >>> http://lists.denx.de/pipermail/u-boot/2012-July/127260.html is the
> >>> start of the thread.
> >> 
> >> I am still getting the same issue on 2012.10-rc1.
> >> 
> >> Is anyone else having issues to load a kernel with 2012.10-rc1 on
> >> sabrelite?
> > 
> > I bet everyone with a sufficiently recent toolchain is.  I'm seeing this
> > on TI boards when I use the Linaro toolchain rather than ELDK-5.2.
> > Albert, what do you want to do about this?
> 
> That adds up, since I've been building with an old one (4.4) and
> haven't been seeing resets.

For starters (as proof-of-concept) ... try this patch ...

diff --git a/common/fdt_support.c b/common/fdt_support.c
index 593f16c..63a5999 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -449,10 +449,12 @@ void fdt_fixup_ethernet(void *fdt)
 {
        int node, i, j;
        char enet[16], *tmp, *end;
-       char mac[16] = "ethaddr";
+       char mac[16];
        const char *path;
        unsigned char mac_addr[6];
 
+       sprintf(mac, "ethaddr");
+
        node = fdt_path_offset(fdt, "/aliases");
        if (node < 0)
                return;

Best regards,
Marek Vasut


More information about the U-Boot mailing list