Hi,
When trying to build u-boot for omap5912osk, I ran into a problem with
a bunch of undefined reference.
lib_arm/libarm.a(board.o)(.text+0x21c): In function `start_armboot':
/home/wfeng/code/uboot/u-boot-1.1.4/lib_arm/board.c:236: undefined
reference to `flash_init'
common/libcommon.a(cmd_bootm.o)(.text+0x960): In function `do_imls':
/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_bootm.c:1160: undefined
reference to `flash_info'
common/libcommon.a(cmd_flash.o)(.text+0x15c): In function `abbrev_spec':
/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_flash.c:106: undefined
reference to `flash_info'
common/libcommon.a(cmd_flash.o)(.text+0x308): In function `addr_spec':
/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_flash.c:195: undefined
reference to `flash_info'
...
I tried omap730p2 config and it compiled successfully. The difference is
the deleted file "flash.c" in board/omap5912osk directory. The CVS log
indicates that another file should be used to replace this one, which is
drivers/cfi_flash.c. I attempted some hacking, so far it has not been
successful.
Is there an available patch for this problem? Any good advices on this
one?
Thanks in advance!
William