第一个错误:
include/configs/itop4412.h:75:2: error: expected identifier or '(' before string constant
"bootenv=uEnv.txt\0" \
错误代码上下文:
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x40007000\0" \
"rdaddr=0x48000000\0" \
"kerneladdr=0x40007000\0" \
"ramdiskaddr=0x48000000\0" \
"console=ttySAC2,115200n8\0" \
"mmcdev=0\0" \ /* Loading Environment from MMC... MMC Device 4 not found 去除开机警告 */
"bootenv=uEnv.txt\0" \
"dtb_addr=0x41000000\0" \
"dtb_name=exynos4412-itop-elite.dtb\0" \
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
"bootargs=root=/dev/mmcblk1p2 rw console=ttySAC2,115200 init=/linuxrc earlyprintk\0" \
"importbootenv=echo Importing environment from mmc ...; " \
"env import -t $loadaddr $filesize\0" \
"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
错误原因:
在”mmcdev=0\0″ \ 这一行结尾和注释中间有空格,去掉空格即可,如下:
"mmcdev=0\0" \/* Loading Environment from MMC... MMC Device 4 not found
第二个警告:
include/configs/itop4412.h:74:15: warning: backslash and newline separated by space
"mmcdev=4\0" \
警告原因还是因为有空格
版权声明:本文为razor_et原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。