[U-Boot-Users] u-boot hangs right at beginning

Hello!
I had U-Boot-0.4.0 running on my custom board(based on PXA250) quite good. But I've troubles to get U-Boot-1.1.1 running. It hangs very early in the bootloading procedure: before relocation and before any console output. Trying to debug with GDB and BDI2000, I get the following response from the board. Especially the address "0x50000000 in setup_end_tag", the value "bd=0x40000000" and the message about exceeding line numbers are quite confusing for me. Can somebody give me atleast a hint, which config-options are related to this.
Thank you very much in advance. Glenson.
------------------------ root@linux ~/boot/u-boot-1.1.1: arm-linux-gdb u-boot
GNU gdb 5.3 ... This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"... (gdb) target remote bdi:2001 Remote debugging using bdi:2001 0x50000000 in setup_end_tag (bd=0x40000000) at armlinux.c:31233 Line number 31233 out of range; armlinux.c has 381 lines. (gdb) b cpu_init Breakpoint 1 at 0x58e2fda0: file armlinux.c, line 48384. (gdb) c Continuing. Warning: Cannot insert breakpoint 1. Error accessing memory address 0x58e2fda0: Unknown error 4294967295. The same program may be running in another process. (gdb) ------------------

In message 12354.1088082982@www25.gmx.net you wrote:
Trying to debug with GDB and BDI2000, I get the following response from the board. Especially the address "0x50000000 in setup_end_tag", the value "bd=0x40000000" and the message about exceeding line numbers are quite confusing for me. Can somebody give me atleast a hint, which config-options are related to this.
Seems you have a toolchain problem. Either your cross compiler / binutils and/or your GDB seem to be broken.
Best regards,
Wolfgang Denk

Since I don't have any difficulty to compile and run the old U-Boot(0.4.0), can it still be a toolchain problem?
Trying to debug with GDB and BDI2000, I get the following response from the board. Especially the address "0x50000000 in setup_end_tag", the value "bd=0x40000000" and the message about exceeding line numbers are quite confusing for me. Can somebody give me atleast a hint, which config-options are related to this.
Seems you have a toolchain problem. Either your cross compiler / binutils and/or your GDB seem to be broken.
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 You can't have everything... where would you put it? - Steven Wright

In message FAEMIMIJIMPCDKKDDDKBKEDGCAAA.glenson@gmx.de you wrote:
Since I don't have any difficulty to compile and run the old U-Boot(0.4.0), can it still be a toolchain problem?
Yes. The toolchain includes the passing of information between compiler and debugger; maybe some of the changes made in U-Boot (like compiler flags etc.t o support gcc-3.x compilers) cause problems with your tool combination.
Best regards,
Wolfgang Denk
participants (2)
-
Glenson Muthedan
-
Wolfgang Denk