[U-Boot] [PATCH] Trimslice config: update for Trimslice so SPI flash works

Stephen Warren swarren at wwwdotorg.org
Tue Jul 26 23:56:50 CEST 2016


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 at wwwdotorg.org
> <mailto:swarren at 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.


More information about the U-Boot mailing list