一、背景
主要是在学习朱老师物联网课程uboot移植中碰到的问题的解决。
二、工具介绍
使用VMware虚拟机搭建Ubuntu14.04的Linux运行环境。将从uboot官方fip下载的2013.10的uboot移植到九鼎x210开发板。
三、问题及解决方案
-
问题描述:
movi.c: In function 'movi_bl2_copy': movi.c:28: error: 'SDMMC_BLK_SIZE' undeclared (first use in this function) movi.c:28: error: (Each undeclared identifier is reported only once movi.c:28: error: for each function it appears in.) movi.c:28: error: 'CFG_ENV_SIZE' undeclared (first use in this function) movi.c:29: warning: passing argument 4 of 'copy_bl2' makes pointer from integer without a cast movi.c:29: note: expected 'u32 *' but argument is of type 'int' movi.c:33: warning: passing argument 4 of 'copy_bl2' makes pointer from integer without a cast movi.c:33: note: expected 'u32 *' but argument is of type 'int' make[1]: *** [movi.o] Error 1 make[1]: Leaving directory `/root/porting_x210/uboot_2013_10/u-boot-