[U-Boot] bf537-stamp board compilation problem

Michael Zaidman michael.zaidman at gmail.com
Fri Apr 23 17:21:28 CEST 2010


On Fri, Apr 23, 2010 at 5:56 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Friday 23 April 2010 10:10:16 Michael Zaidman wrote:
>> Compiling the bf537-stamp board I got the following linker error:
>> /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: undefined
>> reference to `mmc_legacy_init'
>> /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: relocation
>> truncated to fit: R_pcrel24 against undefined symbol `mmc_legacy_init'
>> disk/libdisk.a(part.o):(.rodata.block_drvr+0x4): undefined reference
>> to `mmc_get_dev'
>> make: *** [u-boot] Error 1
>
> remove CONFIG_{MMC,SPI_MMC} from the bf537-stamp.h config header
> -mike
>
Ok, thanks, I just added CONFIG_GENERIC_MMC with the same effect :-)

BTW, looking on the blackfin POST implementation I wonder if it was
used recently. Enabling POST on the bf537-stamp board caused the
post_list array of post/tests.c to be linked instead of
arch/blackfin/cpu/lib/tests.c as was expected...

Thanks,
Michael


More information about the U-Boot mailing list