Re: [U-Boot-Users] Debugging U-Boot on arm920t using BDI2000

In the last post I forgot to tell that I'm porting U-Boot from Motorola's MX1FS2 board (ARM920t). My board's hardware is very similar.
I've debugged U-Boot on SDRAM using BDI2000 to copy the image to SDRAM, but the bootloader doesn't work when it starts from flash, so the problem is on the relocation of code.
As I said on the last post, I can't debug the relocation code.
Some configuration parameters and addresses:
SDRAM: 32 bit bus 32MB: 0x08000000-0x0A000000 FLASH: 16 bit bus 16MB: 0x10000000-0x11000000
TEXT_BASE = 0x8f00000 CFG_MONITOR_BASE=CFG_FLASH_BASE 0x10000000
arm-linux-objdump -D u-boot:
08f00000 <_start>: 8f00000: ea000012 b 8f00050 <reset> ...
arm-linux-objdump -h u-boot: u-boot: file format elf32-littlearm Sections: Idx Name Size VMA LMA File off Algn 0 .text 000138a4 08f00000 08f00000 00008000 2**5 ...
As I concluded in the previous post, it seems that the binary it's only compiled to be run from sdram, not from flash because LMA is 0x8f00000 but I think it should be 0x0000 or 0x10000000. Is this correct?
Any help will be appreciated!
Thanks in advance.
Best regards.
Ioritz
_________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/
participants (1)
-
Ioritz Irazustabarrena