public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "\"David Müller (ELSOFT AG)\"" <d.mueller@elsoft.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] directly execute linux zImage: cmd_bootz
Date: Thu, 23 Jan 2003 08:58:18 +0100	[thread overview]
Message-ID: <3E2FA09A.508@elsoft.ch> (raw)
In-Reply-To: <200301221713.29387.h.schurig@mn-logistik.de>

Hello

Holger Schurig wrote:
> 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.

AFAICS 2.4 uses the tag list if there is one prepared by the bootloader.

> - how can I pass the cmdline?

By using the "ATAG_CMDLINE" in the tag list. Make sure you have defined 
"CONFIG_CMDLINE_TAG" in your u-boot config file.

> - 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?
> 

See 
http://sourceforge.net/mailarchive/forum.php?thread_id=1531608&forum_id=12898


Dave

  reply	other threads:[~2003-01-23  7:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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)" [this message]
2003-01-23  8:18   ` Robert Schwebel
2003-01-23  8:29   ` Holger Schurig
2003-01-23 10:29     ` "David Müller (ELSOFT AG)"

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E2FA09A.508@elsoft.ch \
    --to=d.mueller@elsoft.ch \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox