[U-Boot] MMc UBOOT compiling problem
Rajeev Rao Battu
rajeev.battu at gmail.com
Sat Oct 1 13:55:45 CEST 2011
Hi
We are using AT91sam9261, till date we had never interfaced SDCARD in units
. Now we need SDCARD interface in our units.
for that i tried to compile u-boot i encountered problems, which are
attached as MMC.log please get the attachement. and also we need mmc.h which
is missing in u-boot path asm/arch/mmc.h
This is the basic problem when I compile my u-boot version(u-boot-2008.10)
for SDMMC CARD
/u-boot-2008.10/u-boot-2008.10/include/configs/at91sam9261ek.h:157:1:
warning: multi-line comment
In file included from cmd_mmc.c:26:
/u-boot_DFR3T/u-boot-2008.10/u-boot-2008.10/include/mmc.h:26:27: error:
asm/arch/mmc.h: No such file or directory
make[1]: *** [cmd_mmc.o] Error 1
make[1]: Leaving directory
'u-boot_DFR3T/u-boot-2008.10/u-boot-2008.10/common'
make: *** [common/libcommon.a] Error 2
when i comment //#include <asm/arch/mmc.h> this section of code in
"include/mmc.h" file, and try to compile i encountered the following
problem.
common/libcommon.a(cmd_mmc.o): In function `do_mmc':
/u-boot-2008.10/u-boot-2008.10/common/cmd_mmc.c:35: undefined reference to
`mmc_init'
make: *** [u-boot] Error 1
--
Regards,
RAJEEV RAO BATTU
R&D Engineer,
ANALOGICS TECH INDIA LTD.
Phone:9985144835.
Tel: ++91-40-67355000, 2717 2672/2673/2674.
http://www.analogicgroup.com
More information about the U-Boot
mailing list