public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: The i386 patch
Date: Tue, 19 Nov 2002 22:19:58 +0100	[thread overview]
Message-ID: <20021119212003.82A8511767@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 18 Nov 2002 11:31:39 +0100." <20021118113139.E892@jupiter.omicron.se>

Dear Daniel,

in message <20021118113139.E892@jupiter.omicron.se> you wrote:
> 
> >         x86 should _not_ need any special code here. Do you think  it
> >         is  possible to add support for "standard" mkimage format and
> >         get rid of your new #ifdef's?
> The "standard" mkimage format IS supported, this code add support for Linux
> images without the mkimage header as well.

I see.

> Or better yet not load the kernel at all if the kernel resides in flash,
> just give do_bootm_linux() a pointer to where the kernel is located.

Right. This is something which I probably  should  fix  on  PPC,  too
(fixed on ARM some time ago).

> > common/cmd_ide.c:
> > 	+#ifdef __PPC__
> > 	Are you sure this is PPC only?
> No, I thought that ide was only used by ppc before, but I se now that IDE 
> is used
> by the ARM as well.
> Should perhaps be #ifdef __BIG_ENDIAN ?

But ARM is little endian!

> > ppcboot/examples/syscall.S:
> > 
> > 	Are you sure there is only a "ret" needed?
> Its a place holder, syscalls are not functional yet.

Then we should rather have a #warning similar to the  current  styate
in ARM.

> I think it will be a problem that printf is defined as a
> syscall because it is a variable argument list function.
> 
> How do I know how much of the stack to copy when I enter
> the firmware?

What do you mean with "stack to copy"? You are running in the  U-Boot
environment,  accessing  the  U-Boot  stack directly. No need to copy
anything...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The high cost of living hasn't affected its popularity.

  reply	other threads:[~2002-11-19 21:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13  8:44 [U-Boot-Users] The i386 patch Daniel Engström
2002-11-18  0:15 ` [U-Boot-Users] " Wolfgang Denk
2002-11-18 10:31   ` Daniel Engström
2002-11-19 21:19     ` Wolfgang Denk [this message]
2002-11-20 12:22       ` Robert Kaiser
2002-11-20 14:06         ` Wolfgang Denk
2002-11-20 14:18           ` Daniel Engström
2002-11-20 16:51             ` Robert Kaiser
2002-11-20 16:45           ` Robert Kaiser

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=20021119212003.82A8511767@denx.denx.de \
    --to=wd@denx.de \
    --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