public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Modify go to allow chain loading a second u-boot
@ 2014-04-03  9:40 Helmut Raiger
  2014-04-08  2:27 ` Simon Glass
  2014-04-09 23:41 ` Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Helmut Raiger @ 2014-04-03  9:40 UTC (permalink / raw)
  To: u-boot

Hi,

   for all the wrong reasons I have to load a second u-boot from a first 
one.

I'm finally able to start it, but it only works if I do a 
cleanup_before_linux(),
i.e. turn off interrupts and caches before the actual 'go'.

For testing I patched the go command, but obviously this can't be
contributed as such.

Anyone having a suggestion on how to do this?

1) add option to 'go' command, which is hard as it has variable arguments
2) add another go command
3) use an environment variable to set the option for 'go'

Theoretically I could use an u-boot image to encapsulate the second u-boot
and use 'bootm', but I think I'll stumble over the same kind of questions.

Helmut
PS: this is a re-post (the original one hung on-to the thread where I 
asked for help in the first place).

--
Scanned by MailScanner.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-10  8:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03  9:40 [U-Boot] Modify go to allow chain loading a second u-boot Helmut Raiger
2014-04-08  2:27 ` Simon Glass
2014-04-09 13:54   ` Helmut Raiger
2014-04-09 14:29     ` Wolfgang Denk
2014-04-10  8:06       ` Helmut Raiger
2014-04-09 23:41 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox