From: Dan Malek <dan@netx4.com>
To: Matt Porter <mporter@mvista.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Linux on Motorola Sandpoint/PPMC7400
Date: Wed, 30 Aug 2000 19:46:46 -0400 [thread overview]
Message-ID: <39AD9CE6.AA56390F@embeddededge.com> (raw)
In-Reply-To: 20000830174502.A3868@cx258813-a.chnd1.az.home.com
Matt Porter wrote:
> The bootloader relocation algorithm doesn't work when loaded at
> 0x800000. Anything else will work.
Well, not exactly :-). The code is actually written with some
assumptions because I couldn't make it do _everything_. The download
should be located above the address where it is linked to execute.
For example, I download to 0x900000, the code relocates to 0x800000,
then uncompresses the kernel into the base of memory.
This follows the MPC8xx boot model with a larger memory window.
The MPC8xx had more constraints (smaller main memory 8 Mbyte start
up translation), so the load/execution addresses were lower in
memory. Since the kernel is constantly growing and the 82xx had
a 16 MByte window, I just decided to move everything further up
in the address space.
Anything below the linked execution address (0x800000 in this case)
is considered fair game for allocation by the code, so it could
write over itself or other necessary information (like zImage or the
ramdisk).
> No clue here.
I am not sure the ramdisk stuff was ever tested. I was just happy to
get the serial download of the kernel working and let NFS do the rest.
I am itching to fire up my 8240/Sandpoint (among other things :-), so
I may be able to help after the weekend.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-08-30 23:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-28 19:55 Linux on Motorola Sandpoint/PPMC7400 Alex Shnitman
2000-08-28 20:03 ` Gabriel Paubert
2000-08-28 20:35 ` Alex Shnitman
2000-08-28 21:01 ` Gabriel Paubert
2000-08-29 16:43 ` Alex Shnitman
2000-08-28 23:14 ` Mark A. Greer
2000-08-29 17:13 ` Alex Shnitman
2000-08-29 19:16 ` Mark A. Greer
2000-08-30 18:58 ` Alex Shnitman
2000-08-30 19:20 ` Mark A. Greer
2000-09-03 4:42 ` Bob Doyle
2000-09-04 10:37 ` Adrian Cox
2000-08-30 19:02 ` Alex Shnitman
2000-08-31 0:45 ` Matt Porter
2000-08-30 23:46 ` Dan Malek [this message]
2000-08-31 11:13 ` Gabriel Paubert
2000-08-31 15:01 ` Peter Tympanick
2000-08-29 21:27 ` Mark A. Greer
2000-08-29 14:04 ` Tom Roberts
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=39AD9CE6.AA56390F@embeddededge.com \
--to=dan@netx4.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mporter@mvista.com \
/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;
as well as URLs for NNTP newsgroup(s).