Skip to contentSkip to conversation

Linker errors with SPL and FAT

U-Boot Andy Pont 1 participant 1 message Nov 20, 2014

lore
Share & tools
lore

Andy Pont

author
#0 lore raw

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.