public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bernhard Kuhn <bkuhn@metrowerks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: [uClinux-dev] [Announcement] U-Boot for Motorola M5272C3 and M5282EVB
Date: Sat, 29 Nov 2003 02:20:52 +0100	[thread overview]
Message-ID: <3FC7F474.5050508@metrowerks.com> (raw)
In-Reply-To: 20031128232755.EB23EC5F5F@atlas.denx.de

Wolfgang Denk wrote:

>>We could apply the same method for Coldfire as well, means the
>>pre-bootloader needs to be downloaded and compiled seperatly. This would
> 
> As discussed before, such a design  is  really  breaking  very  basic
> design  principles  of  U-Boot.

True, U-Boot is then not the "real" bootloader but just an "application"
that is decompressed from flash to ram through the pre-bootloader,
keeping pre-bootloader + variables + compressed u-boot typically below
64 KiB of flash. In low memory environments, such as the the M5272C3
EVB or the AT75C221-DK with only 2 MiB of flash, it makes a
difference if the bootloader takes 128 KiB or only 64 KiB, but YMMV :-)



>>also sort out the potential licensing issue for the 5282 decribed
>>above, as well, since the pre-bootloader is actually not linked with
>>u-boot: the pre-bootloader and the compressed u-boot are just
>>concaternated into the same file (and could be flashed seperatly).
> 
> 
> Will anybody implement such a cleanup? Bernhard? Richard?

That's actually ease: the pre-bootloaders are placed in the
"pre" directory and compiled seperatly from u-boot. Means:
after deleting the "pre" directory, u-boot will still build
for coldfire and is independendly flashable from the
pre-bootloader. Without the "pre" directory, the rest of the
coldfire patch looks pretty much the same way it was done for
other architectures - in fact i started with some ppc directories
and renamed/modified the files until it worked out. The resulting
u-boot images btw. will work "stand alone" (without pre-bootloader)
when being downloaded to ram through a JTAG debugger such as the
BDI 2000.

best regards

Bernhard

  reply	other threads:[~2003-11-29  1:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3FC7B02C.6070007@metrowerks.com>
2003-11-28 23:27 ` [U-Boot-Users] Re: [uClinux-dev] [Announcement] U-Boot for Motorola M5272C3 and M5282EVB Wolfgang Denk
2003-11-29  1:20   ` Bernhard Kuhn [this message]
     [not found] <20031208011928.E2B75C5F5F@atlas.denx.de>
2003-12-08 21:34 ` Bernhard Kuhn

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=3FC7F474.5050508@metrowerks.com \
    --to=bkuhn@metrowerks.com \
    --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