[U-Boot] Linker errors with SPL and FAT

Andy Pont andy.pont at sdcsystems.com
Thu Nov 20 12:36:03 CET 2014


Hello,

I am trying to build U-Boot SPL (2014.07) for a custom TI AM3354 based board
with MMC support.  Mostly I have cloned the settings from the am335x_evm.h
config file but am getting linker errors with SPL...

common/spl/built-in.o: In function `spl_register_fat_device':
.../common/spl/spl_fat.c:28: undefined reference to `fat_register_device'
common/spl/built-in.o: In function `spl_load_image_fat':
.../common/spl/spl_fat.c:55: undefined reference to `file_fat_read'
.../common/spl/spl_fat.c:61: undefined reference to `file_fat_read'

When I look at spl/fs/built-in.o it is 257 bytes and spl/fs/fat/built-in.o
is 8 bytes.

I have been staring at this for most of the morning and would appreciate it
if someone could tell me what option I am missing.

Thanks,

Andy.



More information about the U-Boot mailing list