我现在想在dm3730板子上跑android系统,以前跑的是qt,运行qt是正常的。我看了下说uboot需要修改启动参数为android文件系统,linux内核需要增加对android的支持,编译android源码生成ubi.img然后进行nandflash烧写,目前我烧写到板子上内核启动后到文件系统阶段就报错了,错误如下Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 虽能给我提供帮助,回帖或者给点相关的资料,我看看配置产生的uboot、kernel和ubi.img是否正确,谢谢了
lanying wang:
回复 Jian Zhou:
你好我的android版本是android2.2,目前移植成功了,但是很多命令找不到,明明有cp、rm等,但是执行后提示找不到,还有键盘也不好使,如键盘的tab键不起作用,backspace不能用等,还有我用的linux内核时linux2.6.32并不是Android_Linux_Kernel_2_6_32.tar.gz,是不是这些问题是因为linux内核非android的问题,另外我想知道,我在咱们网站可以下到Android_Linux_Kernel_2_6_32.tar.gz,我网站找了一直没有找到,能否给我发个链接下载此文件,谢谢
Yaoming Qin:
回复 lanying wang:
http://www.ti.com/tool/androidsdk-sitara
lanying wang:
回复 Yaoming Qin:
你好我下载了dm3730 android的源码包TI_Android_GingerBread_2_3_Sources.tar.gz,按文档TI-Android-GingerBread-2.3-DevKit-1.0_DeveloperGuide.pdf
#./.repo/repo/repo sync –local-only
Syncing work tree: 100% (169/169), done.
我编译文件系统时出现如下:
#make TARGET_PRODUCT=omap3evm OMAPES=5.x -j8
============================================PLATFORM_VERSION_CODENAME=RELPLATFORM_VERSION=2.3TARGET_PRODUCT=omap3evmTARGET_BUILD_VARIANT=engTARGET_SIMULATOR=TARGET_BUILD_TYPE=releaseTARGET_BUILD_APPS=TARGET_ARCH=armHOST_ARCH=x86HOST_OS=linuxHOST_BUILD_TYPE=releaseBUILD_ID=GRH55============================================find: `core/java': No such file or directoryfind: `graphics/java': No such file or directoryfind: `location/java': No such file or directoryfind: `media/java': No such file or directoryfind: `opengl/java': No such file or directoryfind: `sax/java': No such file or directoryfind: `telephony/java': No such file or directoryfind: `wifi/java': No such file or directoryfind: `vpn/java': No such file or directoryfind: `keystore/java': No such file or directoryfind: `voip/java': No such file or directoryfind: `core/config/ndebug': No such file or directoryfind: `test-runner/src': No such file or directoryfind: `core/config/sdk': No such file or directoryfind: `core/java': No such file or directoryfind: `graphics/java': No such file or directoryfind: `location/java': No such file or directoryfind: `media/java': No such file or directoryfind: `opengl/java': No such file or directoryfind: `sax/java': No such file or directoryfind: `telephony/java': No such file or directoryfind: `wifi/java': No such file or directoryfind: `vpn/java': No such file or directoryfind: `keystore/java': No such file or directoryfind: `voip/java': No such file or directoryfind: `frameworks/base/frameworks/base/docs/html': No such file or directoryfind: `out/target/common/docs/gen': No such file or directoryfind: `frameworks/base/frameworks/base/docs/html': No such file or directoryfind: `out/target/common/docs/gen': No such file or directoryfind: `frameworks/base/frameworks/base/docs/html': No such file or directoryfind: `out/target/common/docs/gen': No such file or directoryfind: `frameworks/base/frameworks/base/docs/html': No such file or directoryfind: `out/target/common/docs/gen': No such file or directoryfind: `frameworks/base/frameworks/base/docs/html': No such file or directoryfind: `out/target/common/docs/gen': No such file or directorymake: *** No rule to make target `out/host/linux-x86/bin/aapt', needed by `out/target/common/obj/JAVA_LIBRARIES/core_intermediates/javalib.jar'. Stop.make: *** Waiting for unfinished jobs….host SharedLib: libneo_util (out/host/linux-x86/obj/lib/libneo_util.so)host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)echo out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o | xargs ar crsP out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a
很多文件找不到,因为找不到编译终止,不是都完全同步了吗Syncing work tree: 100% (169/169), done. 请问接下来应该怎么办呢
Jian Zhou:
回复 lanying wang:
android的编译还是要求挺高的,建议参考下下面的文档:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/49644.aspx