[U-Boot-Users] U-boot-1.1.4 on MPC8540

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

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

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

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

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

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=807d5d7319330e...
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
participants (3)
-
revathy
-
Tolunay Orkun
-
Wolfgang Denk