完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1, linux下 unpack 解包
报错 root@Ubuntu:/opt/rk-linux/mkimg# ./unpack.sh start to unpack update.img... ********RKImageMaker ver 1.61******** Unpacking image, please wait... Error:update.img is not exist! Press any key to quit: 解包的命令有问题,在linux下不能正常解包 2, 继续打包. 测试在安卓下面运行是可以的: liupingwei@xdtUbuntu:~/RK3288/rk3288Android5.1$ ./FFTools/mkupdate/mkupdate.sh PRODUCT_FIREFLY_NAME=Public TARGET_PRODUCT=rk3288_box Android Firmware Package Tool v1.62 ------ PACKAGE ------ Add file: ./package-file Add file: ./Image/MiniLoaderAll.bin Add file: ./Image/parameter.txt Add file: ./Image/misc.img Add file: ./Image/resource.img Add file: ./Image/kernel.img Add file: ./Image/boot.img Add file: ./Image/recovery.img Add file: ./Image/system.img Add CRC... Make firmware OK! ------ OK ------ ********RKImageMaker ver 1.63******** Generating new image, please wait... Writing head info... Writing boot file... Writing firmware... Generating MD5 data... MD5 data generated successfully! New image generated successfully! Making updateimg: rockdev/Image-rk3288_box/Firefly-RK3288_Android5.1.1_Public_181023.img 应该是缺少环境变量配置,所以才会 导致直接执行不通 3, 找到原因, 执行脚本的时候有个字符不匹配: ./afptool -pack ./ Image/update.img || pause ./rkImageMaker -RK32 RK3288Loader_uboot_V2.15.01.bin Image/update.img update.img -os_type:androidos || pause # Ubuntt# ./rkImageMaker -RK32 rk3288_bootloader_v1.00.06.bin Image/update.img update.img -os_type:androidos || pause # 后可生成 ./afptool -pack ./ Image/update.img || pause liupingwei@xdtUbuntu:~/RK3288/rk3288Android5.1/RKTools/linux/Linux_Upgrade_Tool_v1.2/rockdev$ ./rkImageMaker -RK32 rk3288_bootloader_v1.00.06.bin Image/update.img update.img -os_type:androidos || pause ********RKImageMaker ver 1.61******** Generating new image, please wait... Writing head info... Writing boot file... Writing firmware... Generating MD5 data... MD5 data generated successfully! New image generated successfully! 改成新的脚本执行: root@Ubuntu:/opt/rk-linux/mkimg# ./umkupdate_ubuntu.sh start to make update.img... Android Firmware Package Tool v1.0 ------ PACKAGE ------ Add file: ./package-file Add file: ./rk3288_bootloader_v1.00.06.bin Add file: ./parameter Add file: ./linux-kernel.img Add file: ./linux-resource.img Add file: ./ubuntu1604armhf-rootfs.img Add file: ./update-script Add file: ./recover-script Add CRC... Make firmware OK! ------ OK ------ ********RKImageMaker ver 1.61******** Generating new image, please wait... Writing head info... Writing boot file... Writing firmware... Generating MD5 data... MD5 data generated successfully! New image generated successfully! Making update.img OK. Press any key to quit: 4, 文件系统制作的在显卡部分应该有问题,导致启动卡死在 显卡驱动部分 5, 继续制作文件系统 替换\192.168.0.102optrk-linuxmkimg 目录下的 ubuntu1604armhf-rootfs.img cd .. ./ch-mount.sh -m linux-rootfs 进入挂载模式 3、卸载软件 1)sudo apt-get remove XXXX #卸载软件(删除软件包) 2)sudo apt-get autoremove XXXX #自动卸载软件但保留其配置文件 3)sudo apt-get autoremove --purge XXXX #自动卸载软件其删除其配置文件 --------------------- apt-get autoremove --purge ubuntu-session xubuntu-desktop 重新安装: root@Ubuntu:/# apt-get install ubuntu-session xubuntu-desktop Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: xubuntu-desktop : Depends: gtk2-engines-pixbuf but it is not going to be installed Depends: xubuntu-artwork but it is not going to be installed Depends: xubuntu-core but it is not going to be installed Depends: xubuntu-default-settings but it is not going to be installed Recommends: brltty-x11 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 红色部分是依赖库,需要安装: apt-get install gtk2-engines-pixbuf apt-get install xubuntu-artwork apt-get install xubuntu-core apt-get install xubuntu-default-settings apt-get install brltty-x11
root@Ubuntu:/# apt-cache policy libgtk2.0-0 libgtk2.0-0: Installed: 2.24.30-1ubuntu1.16.04.2 Candidate: 2.24.30-1ubuntu1.16.04.2 Version table: *** 2.24.30-1ubuntu1.16.04.2 500 500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf Packages 100 /var/lib/dpkg/status 2.24.30-1ubuntu1 500 500 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf Packages root@Ubuntu:/# 如何指定安装2.0版本呢? apt-get autoremove --purge libgtk2.0-dev apt-cache policy libgtk2.0-dev apt-get install libgtk2.0-dev 参考: http://dev.t-firefly.com/thread-12732-1-19.html 原因: 需要clean 及重新 update NOTICE: apt-get upgrade apt-get autoclean apt-get update 后: apt-get install ubuntu-session xubuntu-desktop 正常 |
||
|
||
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1988 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
2490 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
5272 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 09:17 , Processed in 0.529951 second(s), Total 75, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号