
26 Jul
2016
26 Jul
'16
11:56 p.m.
On 07/26/2016 03:45 PM, Steve Arnold wrote:
So is there a fix to be had by maybe shifting both CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE a little bit?
Steve
On Tue, Jul 26, 2016 at 2:14 PM, Stephen Warren <swarren@wwwdotorg.org mailto:swarren@wwwdotorg.org> wrote:
On 07/26/2016 12:49 PM, Steve Arnold wrote: I did mention it was black and showed nothing on serial console with the default values, ie, building as-is doesn't even show u-boot trying to load (after flashing it to the SPI flash the last thing you see is "Resetting..."). Power it back up and nothing happens, no u-boot, nada. It looks like there's some issue if the total flash image size is over 512KiB. (The physical flash chip is 1MiB). I'm investigating whether this is expected and what to do about it. The change to CONFIG_SYS_TEXT_BASE accidentally solves this, since it currently happens to shrink the image size enough not to hit this apparent limit.
Changing CONFIG_SPL_TEXT_BASE won't have any effect on this; size matters not location.
As I mentioned, changing CONFIG_SYS_TEXT_BASE currently avoids the issue, but hopefully we can find something better.