欢迎来到天天文库
浏览记录
ID:37714056
大小:36.50 KB
页数:4页
时间:2019-05-29
《uboot移植整理》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1.Make编译uboot出错:…………board.c:138:error:inlinefunction'coloured_LED_init'cannotbedeclaredweakboard.c:140:error:inlinefunction'red_LED_on'cannotbedeclaredweakboard.c:142:error:inlinefunction'red_LED_off'cannotbedeclaredweakboard.c:144:error:inlinefunction'green_LED_on'cannotbedeclaredweakboard.c:146:er
2、ror:inlinefunction'green_LED_off'cannotbedeclaredweakboard.c:148:error:inlinefunction'yellow_LED_on'cannotbedeclaredweakboard.c:150:error:inlinefunction'yellow_LED_off'cannotbedeclaredweakmake[1]:***[board.o]错误1make[1]:正在离开目录`/opt/u-boot-1.3.4/lib_arm'make:***[lib_arm/libarm.a]错误2开始编译的时候会出现上面的错误,继续移
3、植操作这个错误将消失。或者注释掉出错行。****挂载文件系统时候的错误:************…………TCPcubicregisteredNET:Registeredprotocolfamily17drivers/rtc/hctosys.c:unabletoopenrtcdevice(rtc0)VFS:UnabletomountrootfsviaNFS,tryingfloppy.VFS:Cannotopenrootdevice"nfs"orunknown-block(2,0)Pleaseappendacorrect"root="bootoption;herearetheavailablepa
4、rtitions:1f0016mtdblock0(driver?)1f012048mtdblock1(driver?)1f024096mtdblock2(driver?)1f032048mtdblock3(driver?)1f044096mtdblock4(driver?)1f0510240mtdblock5(driver?)1f0624576mtdblock6(driver?)1f0716384mtdblock7(driver?)Kernelpanic-notsyncing:VFS:Unabletomountrootfsonunknown-block(2,0)[](unw
5、ind_backtrace+0x0/0xf0)from[](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/libcomm
6、on.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
7、.c:175:warning:'tbclk'mightbeuseduninitializedinthisfunctionmake[1]:***[interrupts.o]错误1make[1]:正在离开目录`/opt/u-boot-1.3.1/cpu/arm920t/s3c24x0'解决办法:进入cpu/arm920t/s3c24x0//interrupts.c文件,定位到错位的地方:#elifde
此文档下载收益归作者所有