J P | 1 Jan 2004 03:36
Picon
Favicon

Bootup sequence?

Hi,
What are the steps to be followed in bootup process of
PowerPC to load the linux OS? ie the minimal hardware
configuration that has to be done.

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
SAM SONG | 1 Jan 2004 04:50
Picon
Favicon

Re: Hang after relocating u-boot code...

 --- Wolfgang Denk <wd <at> denx.de> 的正文:> In message
>
<20031230160114.3874.qmail <at> web15003.mail.bjs.yahoo.com>
> you wrote:
> > 
> > The monitor port can work on my custom board but
> > u-boot hang or crashes after relocation.I read the
> > DULG FAQ about the answer.I,however,want to make
> sure
> > about the fact why the same SDRAM init code does
> work
> > on RPXlite but in vain on my custom board for the
> > SDRAM hardware design are the same with these two
> > boards.
> 
> Is it _exactly_ the same design, with the same types
> of SDRAM chips?

Thanks you so much for your hints.I missed this key
point.Yes,two chips of MT48LC16M16A2-75-B(1-1) on
LITE_DW board with cs1 and two chips of
MT48LC16M16A2-75-IT-C(2-2) on my board with cs1.I
guess both are the same type.Am I right?

> > I am sure that my UPMA RAM WORD is OK because of
> > successful relocation.When I traced the code using
> 
> This does not mean a thing. First, the UPM
> initialization is  just  a
> part  of the required initialization sequence;
(Continue reading)

SAM SONG | 1 Jan 2004 17:02
Picon
Favicon

RE:U-Boot Not Loading Successfully

Date: Wed, 31 Dec 2003 13:21:29 -0800 (PST)
From: Jeff Stevens <jsteve17 <at> yahoo.com>
To: u-boot-users <at> lists.sourceforge.net
Subject: [U-Boot-Users] U-Boot Not Loading
Successfully

I am porting U-Boot over to a new product and am
having some difficulty getting U-Boot to load
successfully.  I have placed our board on a logic
analyzer and found (based on System.map) that U-Boot
seems to crash in cpu/mpc8xx/cpu_init.c in function
cpu_init_f at lines:

memctl->memc_br0 = CFG_BR0_PRELIM;
memctl->memc_or0 = CFG_OR0_PRELIM;

Here is my board configuration:
CPU:   MPC855T
FLASH: AMD AM29LV040B (512kB 8-bit on CS0)
SDRAM: Micron MT48LC4M32 (16MB 32-bit on CS2)
NVRAM: Simtek STK14C88 (32kB 8-bit on CS4)

The board is set to have the IMMR come up at
0xFF000000 (on hard reset), and that is what I have
CFG_IMMR set to in my board configuration file.  Could
this be a problem with the placement of the IMMR.  I
previously had the IMMR at 0x00000000 on hard reset
and then moved it to 0xFA200000 with CFG_IMMR, which
had the same effect.  Or, could this be an issue with
my BR0 and OR0 settings? 
(Continue reading)

Wolfgang Denk | 1 Jan 2004 18:12
Picon
Picon
Favicon

Re: U-Boot Not Loading Successfully

In message <20031231212129.35283.qmail <at> web41407.mail.yahoo.com> you wrote:
> I am porting U-Boot over to a new product and am
> having some difficulty getting U-Boot to load
> successfully.  I have placed our board on a logic
...
> The board is set to have the IMMR come up at
> 0xFF000000 (on hard reset), and that is what I have
> CFG_IMMR set to in my board configuration file.  Could
> this be a problem with the placement of the IMMR.  I
> previously had the IMMR at 0x00000000 on hard reset
> and then moved it to 0xFA200000 with CFG_IMMR, which
> had the same effect.  Or, could this be an issue with
> my BR0 and OR0 settings?  I read something in that
> file before those two lines above, which talked about
> CFG_OR0_REMAP, but didn't quite understand it.  Should
> I be using this?

There is a long and detailed comment in that source file  immediately
before the source lines you are referring to. I have no better way to
explain this.

> I would appreciate anyones input, since I'm not too
> familiar with the U-Boot beyond the board specific
> files.

Read the comment again, as it answeres your  question.  If  you  have
plroblems  understanding  it,  please exaplain what exactly don't you
understand.

Best regards, and a Happy New Year!
(Continue reading)

Wolfgang Denk | 1 Jan 2004 18:12
Picon
Picon
Favicon

Re: U-Boot Not Loading Successfully

In message <20031231212129.35283.qmail <at> web41407.mail.yahoo.com> you wrote:
> I am porting U-Boot over to a new product and am
> having some difficulty getting U-Boot to load
> successfully.  I have placed our board on a logic
...
> The board is set to have the IMMR come up at
> 0xFF000000 (on hard reset), and that is what I have
> CFG_IMMR set to in my board configuration file.  Could
> this be a problem with the placement of the IMMR.  I
> previously had the IMMR at 0x00000000 on hard reset
> and then moved it to 0xFA200000 with CFG_IMMR, which
> had the same effect.  Or, could this be an issue with
> my BR0 and OR0 settings?  I read something in that
> file before those two lines above, which talked about
> CFG_OR0_REMAP, but didn't quite understand it.  Should
> I be using this?

There is a long and detailed comment in that source file  immediately
before the source lines you are referring to. I have no better way to
explain this.

> I would appreciate anyones input, since I'm not too
> familiar with the U-Boot beyond the board specific
> files.

Read the comment again, as it answeres your  question.  If  you  have
plroblems  understanding  it,  please exaplain what exactly don't you
understand.

Best regards, and a Happy New Year!
(Continue reading)

Wolfgang Denk | 1 Jan 2004 18:15
Picon
Picon
Favicon

Re: U-Boot Not Loading Successfully

Dear Sam Song,

please stick with the netiquette and use  standard  '>  '  marks  for
quotation. DOn't quote text not relevant to your answer.

In message <20040101160217.1988.qmail <at> web15003.mail.bjs.yahoo.com> you wrote:
> 
> Pls tell us the FLASH SPEED or we cannot check the OR0
> configuration for you.Meanwhile,what's your reset

This  has  nothing  to  do  with  that  sort  of  the  problem.   The
documentation  for the problem and the solution is right there in the
source file.

Best regards, and a Happy New Year!

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
Real computer scientists don't comment their  code.  The  identifiers
are so long they can't afford the disk space.
Wolfgang Denk | 1 Jan 2004 18:15
Picon
Picon
Favicon

Re: U-Boot Not Loading Successfully

Dear Sam Song,

please stick with the netiquette and use  standard  '>  '  marks  for
quotation. DOn't quote text not relevant to your answer.

In message <20040101160217.1988.qmail <at> web15003.mail.bjs.yahoo.com> you wrote:
> 
> Pls tell us the FLASH SPEED or we cannot check the OR0
> configuration for you.Meanwhile,what's your reset

This  has  nothing  to  do  with  that  sort  of  the  problem.   The
documentation  for the problem and the solution is right there in the
source file.

Best regards, and a Happy New Year!

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
Real computer scientists don't comment their  code.  The  identifiers
are so long they can't afford the disk space.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
(Continue reading)

Wolfgang Denk | 1 Jan 2004 18:17
Picon
Picon
Favicon

Re: Bootup sequence?

In message <20040101023659.54226.qmail <at> web8206.mail.in.yahoo.com> you wrote:
>
> What are the steps to be followed in bootup process of
> PowerPC to load the linux OS? ie the minimal hardware
> configuration that has to be done.

Read the common/cmd_bootm.c sources if  you  are  interested  in  the
U-Boot  specific part; read the Linux arch/ppc/kernel/head*.S file(s)
for a  description  of  the  boot  arguments  and  other  information
expected by the Linux kernel.

Best regards, and a Happy New Year!

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
I have yet to add the ESP-driver to the kernel to read  the  mind  of
the user...                                       - Linus Torvalds in
      <Pine.LNX.3.91.960426110644.24860I-100000 <at> linux.cs.Helsinki.FI>
Wolfgang Denk | 1 Jan 2004 18:17
Picon
Picon
Favicon

Re: Bootup sequence?

In message <20040101023659.54226.qmail <at> web8206.mail.in.yahoo.com> you wrote:
>
> What are the steps to be followed in bootup process of
> PowerPC to load the linux OS? ie the minimal hardware
> configuration that has to be done.

Read the common/cmd_bootm.c sources if  you  are  interested  in  the
U-Boot  specific part; read the Linux arch/ppc/kernel/head*.S file(s)
for a  description  of  the  boot  arguments  and  other  information
expected by the Linux kernel.

Best regards, and a Happy New Year!

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
I have yet to add the ESP-driver to the kernel to read  the  mind  of
the user...                                       - Linus Torvalds in
      <Pine.LNX.3.91.960426110644.24860I-100000 <at> linux.cs.Helsinki.FI>

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Wolfgang Denk | 1 Jan 2004 18:21
Picon
Picon
Favicon

Re: Hang after relocating u-boot code...

Hello,

in message <20040101035021.6532.qmail <at> web15001.mail.bjs.yahoo.com> you wrote:
>
> > Is it _exactly_ the same design, with the same types
> > of SDRAM chips?
> 
> Thanks you so much for your hints.I missed this key
> point.Yes,two chips of MT48LC16M16A2-75-B(1-1) on
> LITE_DW board with cs1 and two chips of
> MT48LC16M16A2-75-IT-C(2-2) on my board with cs1.I
> guess both are the same type.Am I right?

And the same CPU, same clock sources, etc. - all exactly the same?

> Thanks for correcting my views on UPMA RAM WORD.I am 
> studying on burst mode of SDRAM and hope it is the
> problem.

Usually (in 99% of all cases) it is.

> encountering the headache,I sometimes suspect that
> there are some defaults on my hardware layout.Is it

Ther eit goes again. Please remember that we don't know your hardware
design. Not the schematics, and neither the board layout.

> possible that the same design with the same chips
> would have different results for technics reasons in
> some cases?
(Continue reading)


Gmane