[U-Boot] [PATCH 2/2] ARM: fix relocation support for onenand device.
Enric Balletbò i Serra
eballetbo at iseebcn.com
Tue Oct 19 11:42:18 CEST 2010
Hello Heiko,
2010/10/19 Heiko Schocher <hs at denx.de>:
> Hello Enric,
>
> Enric Balletbo i Serra wrote:
>> We also have to relocate the onenand command table manually, otherwise
>> onenand command don't work.
>>
>> Signed-off-by: Enric Balletbo i Serra <eballetbo at iseebcn.com>
>> ---
>> arch/arm/lib/board.c | 3 +++
>> common/cmd_onenand.c | 6 ++++++
>> 2 files changed, 9 insertions(+), 0 deletions(-)
>
> Could you try
>
> git://git.denx.de/u-boot-arm.git elf_reloc
>
> branch?
Of course :-)
> With this branch, it is not longer necessary to do such fixups.
Here my tests:
U-Boot # onenand erase
OneNAND erase: whole chip
OK
Yes, seems the patch 2/2 it's not longer necessary, the onenand
command works without this patch.
U-Boot # onenand
(hang)
I think the patch 1/2 it's also necessary, otherwise the onenand
command without arguments hangs.
Cheers,
Enric
More information about the U-Boot
mailing list