From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Resets on mx6qsabrelite
Date: Tue, 25 Sep 2012 09:30:52 -0700 [thread overview]
Message-ID: <5061DC3C.1020703@ti.com> (raw)
In-Reply-To: <201209250300.34648.marex@denx.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/24/12 18:00, Marek Vasut wrote:
> 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@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;
This, and a similar patch to fs/ubifs/super.c are the right way to go,
I think. Please submit this properly, thanks!
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQYdw8AAoJENk4IS6UOR1WgD0P/RqYVXpmLdaRbAyuofsvAdTs
xR2t1ccpaGRGtWkYigSHvS0WhdNj9M+EAGG8IqKpmy4Txietm9ahrzOQgfVg24h/
i70FPwTiqQiEVXfEf9SzR1WFdN+7f5YzlOAGPIjBbj6j/gL8lSgR0T6LNJwT4BfZ
t7CJPCdZmufAgQvIa2gKxRByju4wpRJxJ61FjdfVBbWBJ2pTqVUZI72FHLMaZ+In
o+P9LYt02w/GK4vfFcb8/zaVfiK5cCPTgJMJ5i3F5ktKESp37jySeCrDLWwJsqRU
wVBg5nOkWyXGGuY7qrFKAuJl2RA52k9ZolQeUepXR/YJsK+AGieX1qXNq+w2n6iz
E49jV4uWELdP/60kcM9m8QUG7M2eZj9hDvEVG1n6SyQeRQ0GJ1Y4PFYCpn4/7+N3
WfyZVKk0y1yWWZAL+sCIGfaAHaSqiqPLxmQPbtGLJHS93jNRGSFDMTjaY+NOL9sn
8jvbrU6r3OsscJA8X2O2mtFwOjJKTbSsJth681295kwq3gYG2Ba+xBBQagxcXgdr
ajbANS5uvw30Z3SJsttDta15mnHgJGYzRmYCo5kSHGA5+xZ40RWZKhd9ZlNDG8xA
7mXWdYjCpIKT7YHzQeinf/xiyKiIel2F7eoCw8uEEZengxfXOhZld6dNAA7jPU+L
ZzsIIRSYq8SB/PeCJHzi
=sNN7
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-09-25 16:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 12:59 [U-Boot] Resets on mx6qsabrelite Fabio Estevam
2012-09-19 13:31 ` Robert Nelson
2012-09-19 14:18 ` Fabio Estevam
2012-09-19 18:13 ` Tom Rini
2012-09-19 19:29 ` Marek Vasut
2012-09-19 20:13 ` Fabio Estevam
2012-09-19 20:20 ` Tom Rini
2012-09-25 0:03 ` Fabio Estevam
2012-09-25 0:22 ` Eric Nelson
2012-09-25 0:48 ` Marek Vasut
2012-09-25 0:22 ` Tom Rini
2012-09-25 0:42 ` Eric Nelson
2012-09-25 1:00 ` Marek Vasut
2012-09-25 1:14 ` Fabio Estevam
2012-09-25 16:30 ` Tom Rini [this message]
2012-09-25 16:37 ` Marek Vasut
2012-09-25 2:24 ` Sinan Akman
2012-09-25 3:03 ` Marek Vasut
2012-09-25 3:28 ` Sinan Akman
2012-09-25 4:19 ` Marek Vasut
2012-09-25 0:54 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5061DC3C.1020703@ti.com \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox