
19 Oct
2010
19 Oct
'10
11:42 a.m.
Hello Heiko,
2010/10/19 Heiko Schocher hs@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@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