From: Wolfgang Denk <wd@denx.de>
To: Lokesh Kumar <lokesh.kumar@wrx-us.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Booting linux on MPC custom Board
Date: Sun, 22 Jun 2003 20:14:49 +0200 [thread overview]
Message-ID: <20030622181454.C14E9C5FD7@atlas.denx.de> (raw)
In-Reply-To: Your message of "Sun, 22 Jun 2003 13:32:17 EDT." <3439AB3A99ECD5409F3A52ACF814744D158D36@norcom2.norcom.net>
In message <3439AB3A99ECD5409F3A52ACF814744D158D36@norcom2.norcom.net> you wrote:
>
> I have a custom board with a custom bootloader. The board is based on
> MPC855T, with 8MB flash and 32MB RAM.
>
> I have to boot linux on this board. The issue I have is this - I have to use
> the custom bootloader (to be able to boot older app as well). I think I have
> two ways to go -
>
> 1. Custom bootloader enhanced to be able to load Linux. I do not think it is
> faster approach given the time required.
Maybe, maybe not. If you don't need any nice-to-have things it is
very simple to boot Linux on any bootloader.
> 2. Tell custom bootloader to load another bootloader like PPCBOOT (U-BOOT)
> and then let it load Linux. Now, to go this route, I will have to run
> PPCBOOT from RAM. Reading documentation of PPCBOOT, it says that it runs
> from FLASH and relocates itself to RAM.
> How can run PPCBOOT from RAM directly and then tell it to load
> Linux?? Any HELP would be appreciated.
Such a question will receive much better responses on the
u-boot-users mailing list. In short: configure U-Boot to be linked at
a specific RAM address, disable the RAM initialization code and other
parts that have already been done by your bootloader, load it to the
chosen address in RAM, and start it at offset 0x100.
But there is probably a 3rd option: install U-Boot, and let it boot
your "older apps". U-Boot supports more than just Linux.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"In Christianity neither morality nor religion come into contact with
reality at any point." - Friedrich Nietzsche
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-06-22 18:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-22 17:32 Booting linux on MPC custom Board Lokesh Kumar
2003-06-22 18:14 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-23 16:52 Lokesh Kumar
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=20030622181454.C14E9C5FD7@atlas.denx.de \
--to=wd@denx.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=lokesh.kumar@wrx-us.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).