Hi again, On Mon, Jul 7, 2014 at 9:15 AM, Christian Riesch <[email protected]> wrote: > [...] As a result, __image_copy_start points to > 0x60000000 (CONFIG_SYS_TEXT_BASE) and _start points is 0x60000004. The > relocation code in arch/arm/lib/relocate.S calculates its relocation > offset based on __image_copy_start. However, arch/arm/lib/board.c > calculates the offset as > > gd->reloc_off = addr - (ulong)&_start;
I just noticed that I did my test without CONFIG_SYS_GENERIC_BOARD. Adding CONFIG_SYS_GENERIC_BOARD solves that problem, as the relocation offset calculation in common/board_f.c is based on CONFIG_SYS_TEXT_BASE. So adding the missing #include in vectors.S and adding CONFIG_SYS_GENERIC_BOARD (patch is already in u-boot-arm/master) fixes the calimain board. I'll post a patch for the missing include. Christian _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

