linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Booting linux on MPC custom Board
@ 2003-06-22 17:32 Lokesh Kumar
  2003-06-22 18:14 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Lokesh Kumar @ 2003-06-22 17:32 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,
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.

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.


Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: Booting linux on MPC custom Board
@ 2003-06-23 16:52 Lokesh Kumar
  0 siblings, 0 replies; 3+ messages in thread
From: Lokesh Kumar @ 2003-06-23 16:52 UTC (permalink / raw)
  To: 'li', Lokesh Kumar; +Cc: linuxppc-embedded


Thanks a lot. I am going to follow your advice and start rolling.

Lokesh

-----Original Message-----
From: li [mailto:slowforce@21cn.com]
Sent: Monday, June 23, 2003 12:45 PM
To: Lokesh Kumar
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Booting linux on MPC custom Board


Hi Kumar,
1. change the TEXT_BASE definition in the
   board/yourboardname/config.mk to pointer to sdram
   base
2. change the CFG_FLASH_BASE and CFG_MONITOR_BASE
   definition to that address in the
   include/config_yourboardname.h
3. comment the BR0 reset in section in
   cpu/mpc8xx/cpu_init.c
4. comment the sdram init function(initdram), just set
   the ram size manually
now, you can compile the ppcboot, and download the ppcboot.bin to the
address which the TEXT_BASE point to and make it run.
Good Luck!
Li

>
> Hi,
> 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.
>
> 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.
>
>
> Lokesh Kumar
> Wireless Matrix USA Inc.
> 703-262-4032
>
>
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-23 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-22 17:32 Booting linux on MPC custom Board Lokesh Kumar
2003-06-22 18:14 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-06-23 16:52 Lokesh Kumar

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).