From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 83xx, FSL_UEC reducing boot latency, printf causing crash
Date: Fri, 21 Dec 2007 13:12:32 +0100 [thread overview]
Message-ID: <005801c843ca$c4387bf0$5267a8c0@Jocke> (raw)
In-Reply-To: <001d01c843c1$064e19f0$6405a8c0@absolut>
> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> Of Russell McGuire
> Sent: den 21 december 2007 12:03
> To: joakim.tjernlund at transmode.se
> Cc: u-boot-users at lists.sourceforge.net; 'Kim Phillips'
> Subject: Re: [U-Boot-Users] 83xx, FSL_UEC reducing boot
> latency,printf causing crash
>
> Update,
>
> So by following the back trace after reset I was able to remove all
> references to functions like, printf, putc, puts, etc... From
> within any
> function that was executing from FLASH, all of the Bad trap
> errors have been
> removed.
>
> Is there a chance I have the wrong values setup for my internal memory
> controller, that might be cuasing this?
>
> I am guessing maybe other people who use Freescale boards
> don't see this
> problem because their memory ranges are wrapping around, i.e.
> their flash is
> at 0xFE000000 and when they wrap memory, they are still
> accessing RAM.
>
> However, I can't map my flash to this address, since I need
> expansion room
> for massive quantities.
>
> So how can we fix this execution from flash issue?
Ahh, this is most likely depending on the manual relocation of
pointers/global data that u-boot does, only partial relocation is
performed. To get full relocation you must revert commit
928fe33b24cdf382a8dc8687fed24b1961cdb5d6 or some variation
thereof. Grant Likely knows more, but I think full relocation
was reverted due to some toolchains had problems with it.
I once tried an early version of full relocation and it worked
for me.
I am using gcc 3.4.6, softfloat and ld 2.16.1 built with
gentoo's crossdev.
I am gone in a few hours and won't return until a few days after
X-mas. Access to E-mail will be limited.
Jocke
next prev parent reply other threads:[~2007-12-21 12:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.185590.1187040981.7786.u-boot-users@lists.sourceforge.net>
2007-11-30 11:22 ` [U-Boot-Users] CONFIG_MII, 83xx, no MII device? Russell McGuire
2007-12-04 22:03 ` Kim Phillips
2007-12-04 23:50 ` Joakim Tjernlund
2007-12-05 15:12 ` Kim Phillips
2007-12-19 3:58 ` [U-Boot-Users] 83xx, FSL_UEC reducing boot latency, printf causing crash Russell McGuire
2007-12-19 7:54 ` Joakim Tjernlund
2007-12-19 8:07 ` Joakim Tjernlund
2007-12-19 23:36 ` Russell McGuire
2007-12-20 1:13 ` Kim Phillips
[not found] ` <000001c8435a$99d4b1f0$6405a8c0@absolut>
[not found] ` <1198194282.8129.45.camel@gentoo-jocke.transmode.se>
2007-12-21 10:45 ` Russell McGuire
2007-12-21 12:35 ` Joakim Tjernlund
2007-12-21 12:44 ` Joakim Tjernlund
2007-12-22 0:18 ` Ben Warren
2007-12-21 11:02 ` Russell McGuire
2007-12-21 12:12 ` Joakim Tjernlund [this message]
2007-12-20 1:29 Russell McGuire
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='005801c843ca$c4387bf0$5267a8c0@Jocke' \
--to=joakim.tjernlund@transmode.se \
--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