public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot-1.1.4 on MPC8540
@ 2006-11-23  8:13 revathy
  2006-11-23 12:40 ` revathy
  0 siblings, 1 reply; 6+ messages in thread
From: revathy @ 2006-11-23  8:13 UTC (permalink / raw)
  To: u-boot

Hi all,

I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
and it doesn't work. It hangs after this..
**************************************
U-Boot 1.1.4 (Nov 23 2006 - 10:34:07)

Freescale PowerPC
    Core: E500, Version: 2.0, (0x80200020)
CPU:   8540, Version: 2.0, (0x80300020)
Clock Configuration:
       CPU: 825 MHz, CCB: 330 MHz,
       DDR: 165 MHz, LBC:  82 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled

        CPU: 825 MHz
        CCB: 330 MHz
        DDR: 165 MHz
        LBC: 82 MHz
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C:   ready
DRAM:  256 MB
PCIG8400 in PCI Host Mode.
PCIG8400 not PCI Arbiter.
********************************************
I've carefully copied every setup from the u-boot-1.1.2 image which I've 
made.
Now, how do I debug this,any help is greatly appreciated.

Thanks in advance.
Revathy

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

* [U-Boot-Users] U-boot-1.1.4 on MPC8540
  2006-11-23  8:13 [U-Boot-Users] U-boot-1.1.4 on MPC8540 revathy
@ 2006-11-23 12:40 ` revathy
  2006-11-23 19:27   ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: revathy @ 2006-11-23 12:40 UTC (permalink / raw)
  To: u-boot

> Hi all,
>
> I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
> and it doesn't work. It hangs after this..
> **************************************
> U-Boot 1.1.4 (Nov 23 2006 - 10:34:07)
>
> Freescale PowerPC
>    Core: E500, Version: 2.0, (0x80200020)
> CPU:   8540, Version: 2.0, (0x80300020)
> Clock Configuration:
>       CPU: 825 MHz, CCB: 330 MHz,
>       DDR: 165 MHz, LBC:  82 MHz
> L1:    D-cache 32 kB enabled
>       I-cache 32 kB enabled
>
>        CPU: 825 MHz
>        CCB: 330 MHz
>        DDR: 165 MHz
>        LBC: 82 MHz
> L1 D-cache 32KB, L1 I-cache 32KB enabled.
> I2C:   ready
> DRAM:  256 MB
> PCIG8400 in PCI Host Mode.
> PCIG8400 not PCI Arbiter.
> ********************************************
> I've carefully copied every setup from the u-boot-1.1.2 image which 
> I've made.
> Now, how do I debug this.

On debugging ,  " In relocating the command table",  *for* loop is going 
on infinite loop in lib/ppc/board.c.
       Can anyone help in this.

>
> Thanks in advance.
> Revathy
>

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

* [U-Boot-Users] U-boot-1.1.4 on MPC8540
  2006-11-23 12:40 ` revathy
@ 2006-11-23 19:27   ` Wolfgang Denk
  2006-11-27 11:14     ` revathy
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2006-11-23 19:27 UTC (permalink / raw)
  To: u-boot

In message <456596D2.3000306@gdatech.co.in> you wrote:
>
> > I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
> > and it doesn't work. It hangs after this..
...
> On debugging ,  " In relocating the command table",  *for* loop is going 
> on infinite loop in lib/ppc/board.c.

Please use current code. It makes little sense to hunt down  problems
with such old code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It is easier to port a shell than a shell script."      - Larry Wall

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

* [U-Boot-Users]  U-boot-1.1.4 on MPC8540
  2006-11-23 19:27   ` Wolfgang Denk
@ 2006-11-27 11:14     ` revathy
  2006-11-27 13:17       ` Wolfgang Denk
  2006-11-27 17:40       ` Tolunay Orkun
  0 siblings, 2 replies; 6+ messages in thread
From: revathy @ 2006-11-27 11:14 UTC (permalink / raw)
  To: u-boot

Hi,
      

I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
and it doesn't work. when i debugged i found in lib_ppc/board.c

	for (cmdtp = &__u_boot_cmd_start; cmdtp !=  &__u_boot_cmd_end; cmdtp++)

&__u_boot_cmd_start=0fff3750

&__u_boot_cmd_end =0fff43b8
 and cmdtp is encremanted as  0x18 each 
times..but it is not matching with u_boot_cmd_end so loop goes on until 
ffffffff and hangs..
what could be the problem..
can anyone plz help me to proceed..
Thanks
Revathy



Wolfgang Denk wrote:

>In message <456596D2.3000306@gdatech.co.in> you wrote:
>  
>
>>>I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
>>>and it doesn't work. It hangs after this..
>>>      
>>>
>...
>  
>
>>On debugging ,  " In relocating the command table",  *for* loop is going 
>>on infinite loop in lib/ppc/board.c.
>>    
>>
>
>Please use current code. It makes little sense to hunt down  problems
>with such old code.
>
>Best regards,
>
>Wolfgang Denk
>
>  
>

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

* [U-Boot-Users] U-boot-1.1.4 on MPC8540
  2006-11-27 11:14     ` revathy
@ 2006-11-27 13:17       ` Wolfgang Denk
  2006-11-27 17:40       ` Tolunay Orkun
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2006-11-27 13:17 UTC (permalink / raw)
  To: u-boot

In message <456AC8A6.5080602@gdatech.co.in> you wrote:
> 
> I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
> and it doesn't work. when i debugged i found in lib_ppc/board.c
...
> can anyone plz help me to proceed..

I already told you what to do, and I hereby repeat it once more. Note
that I won't repeat it again:

> >Please use current code. It makes little sense to hunt down  problems
> >with such old code.

Please use current code, i. e. top of tree from the git repository.


Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What is research but a blind date with knowledge?      -- Will Harvey

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

* [U-Boot-Users] U-boot-1.1.4 on MPC8540
  2006-11-27 11:14     ` revathy
  2006-11-27 13:17       ` Wolfgang Denk
@ 2006-11-27 17:40       ` Tolunay Orkun
  1 sibling, 0 replies; 6+ messages in thread
From: Tolunay Orkun @ 2006-11-27 17:40 UTC (permalink / raw)
  To: u-boot

revathy wrote:
> Hi,
>       
> 
> I'm booting a newly compiled u-boot-1.1.4 image on my MPC8540,
> and it doesn't work. when i debugged i found in lib_ppc/board.c
> 
> 	for (cmdtp = &__u_boot_cmd_start; cmdtp !=  &__u_boot_cmd_end; cmdtp++)
> 
> &__u_boot_cmd_start=0fff3750
> 
> &__u_boot_cmd_end =0fff43b8
>  and cmdtp is encremanted as  0x18 each 
> times..but it is not matching with u_boot_cmd_end so loop goes on until 
> ffffffff and hangs..
> what could be the problem..
> can anyone plz help me to proceed..
> Thanks
> Revathy
> 

I think your loader script (.lds) is not up to date to work with your 
toolchain (ld version 2.16 or later). See the following commit.

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=807d5d7319330e336ab34a5623c5e0d73b87d540

I had similar issue when I updated the toolchain and tried to compile 
1.3 based board lds script. Obviously working with latest U-Boot does 
not help if your board was not in public git repository when this patch 
got in.

Tolunay

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

end of thread, other threads:[~2006-11-27 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23  8:13 [U-Boot-Users] U-boot-1.1.4 on MPC8540 revathy
2006-11-23 12:40 ` revathy
2006-11-23 19:27   ` Wolfgang Denk
2006-11-27 11:14     ` revathy
2006-11-27 13:17       ` Wolfgang Denk
2006-11-27 17:40       ` Tolunay Orkun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox