All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] directly execute linux zImage: cmd_bootz
@ 2003-01-22 16:13 Holger Schurig
  2003-01-23  7:58 ` "David Müller (ELSOFT AG)"
  0 siblings, 1 reply; 5+ messages in thread
From: Holger Schurig @ 2003-01-22 16:13 UTC (permalink / raw)
  To: u-boot

Hi !

Attached is a patch for armboot that directly calls a Linux zImage. It has 
been tested on my PXA250 platform.

Prerequisites:

- works only on arm, because it takes stuff from asm_arm/armlinux.c
- set CONFIG_KERNEL_RAM_BASE to where the zImage is in Flash

Problems:

- I have no clue if the tag list get's correctly set up, I'm using a kernel 
2.4 which doesn't use the tags anyway.
- how can I pass the cmdline?
- Kernel 2.4. clobbers r2, the pointer to the tag list. In your fixup code you 
can have 

        MACHINE_START(...)
        BOOT_PARAMS(0xa0000100)
        ...
        MACHINE_END

but how put I *params to some fixed address?



I guess this is rather ugly, so comments on how to do it better are welcomed 
:-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_bootz.patch
Type: text/x-diff
Size: 10807 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030122/7bf84204/attachment.patch 

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

end of thread, other threads:[~2003-01-23 10:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-22 16:13 [U-Boot-Users] directly execute linux zImage: cmd_bootz Holger Schurig
2003-01-23  7:58 ` "David Müller (ELSOFT AG)"
2003-01-23  8:18   ` Robert Schwebel
2003-01-23  8:29   ` Holger Schurig
2003-01-23 10:29     ` "David Müller (ELSOFT AG)"

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.