[U-Boot] passing info from SPL to U-Boot

Heiko Schocher hs at denx.de
Tue Mar 12 11:37:20 UTC 2019


Hello Tom,

Am 12.03.2019 um 12:16 schrieb Tom Rini:
> On Tue, Mar 12, 2019 at 09:21:36AM +0100, Heiko Schocher wrote:
>> Hello Simon, Tom,
>>
>> I am just stumbeld on an am437x basd board over the problem to pass
>> the bootmode from SPL to U-Boot. On am437x the bootmode info get
>> overwritten from SPL stack, and I need this info in U-Boot.
>>
>> Hack would be to move SPL stack to another address, but we loose
>> than 0xa000 size for stack ... I do not want to go this way..
> 
> I think you need to fix it being over-written as it sounds like we're
> running over our pre-defined scratch space area and that can lead to
> other problems as well, depending on how much your platform is deviating
> from how the TI ref platforms are written.  Thanks!

Yes, doable ... but the question is more, do we really want to read
such infos twice, instead reading them in SPL and passing them from
SPL to U-Boot ?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list