uboot移植整理

uboot移植整理

ID:37714056

大小:36.50 KB

页数:4页

时间:2019-05-29

uboot移植整理_第1页
uboot移植整理_第2页
uboot移植整理_第3页
uboot移植整理_第4页
资源描述:

《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

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。