预览加载中,请您耐心等待几秒...
1/4
2/4
3/4
4/4

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

1.Make编译uboot出错: …… …… board.c:138:error:inlinefunction'coloured_LED_init'cannotbedeclaredweak board.c:140:error:inlinefunction'red_LED_on'cannotbedeclaredweak board.c:142:error:inlinefunction'red_LED_off'cannotbedeclaredweak board.c:144:error:inlinefunction'green_LED_on'cannotbedeclaredweak board.c:146:error:inlinefunction'green_LED_off'cannotbedeclaredweak board.c:148:error:inlinefunction'yellow_LED_on'cannotbedeclaredweak board.c:150:error:inlinefunction'yellow_LED_off'cannotbedeclaredweak make[1]:***[board.o]错误1 make[1]:正在离开目录`/opt/u-boot-1.3.4/lib_arm' make:***[lib_arm/libarm.a]错误2 开始编译的时候会出现上面的错误,继续移植操作这个错误将消失。或者注释掉出错行。 ****挂载文件系统时候的错误:************ …… …… TCPcubicregistered NET:Registeredprotocolfamily17 drivers/rtc/hctosys.c:unabletoopenrtcdevice(rtc0) VFS:UnabletomountrootfsviaNFS,tryingfloppy. VFS:Cannotopenrootdevice"nfs"orunknown-block(2,0) Pleaseappendacorrect"root="bootoption;herearetheavailablepartitions: 1f0016mtdblock0(driver?) 1f012048mtdblock1(driver?) 1f024096mtdblock2(driver?) 1f032048mtdblock3(driver?) 1f044096mtdblock4(driver?) 1f0510240mtdblock5(driver?) 1f0624576mtdblock6(driver?) 1f0716384mtdblock7(driver?) Kernelpanic-notsyncing:VFS:Unabletomountrootfsonunknown-block(2,0) [<c013f390>](unwind_backtrace+0x0/0xf0)from[<c0431cb0>](panic+0x54/0x17c) 解决方法:保证传入的命令行参数正确无误,保证NFS配置成功,rootfs正确,可以重启机器试试。 错误:error:common/libcommon.a(main.o)usesFPAinstructions,whereasu-bootdoesnot /opt/opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-ld:failedtomergetargetspecificdataoffilecommon/libcommon.a(main.o) 不使用新的4.4.3版本的编译工具,改为以前的3.4.5版本的arm-linux-gnu-gcc. ****编译好的uboot下载到板子上没有任何的输出内容???************ 可能是自动拷贝的4KB代码不能完成自启动,更改根目录下的Makefile文件: 将一行改为如下形式: __LIBS:=$(subst$(obj),,$(LIBBOARD))$(subst$(obj),,$(LIBS) interrupts.c:184:3:#error"tbclknotconfigured" interrupts.c:Infunction`get_tbclk': interrupts.c:175:warning:'tbclk'mightbeuseduninitializedinthisfunction make[1]:***[interrupts.o]错误1 make[1]:正在离开目录`/opt/u-boot-1.3.1/cpu/arm920t/s3c24x0' 解决办法: