Firefly开源社区

标题: RK3288 Android5.1 打包失败 [打印本页]

作者: scmbox    时间: 2015-9-27 11:33
标题: RK3288 Android5.1 打包失败
在Ubuntu14.04 下面用 mkupdate.sh打包UPDATE.IMG出现下列错误,请问这个该怎么解决
start to make update.img...
Android Firmware Package Tool v1.0
------ PACKAGE ------
Add file: ./package-file
Add file: ./RK3288UbootLoader_V2.19.10.bin
Add file: ./parameter
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.61********
Generating new image, please wait...
Error:Open boot file failed!
Press any key to quit:


作者: zhansb    时间: 2015-9-28 09:22
Firefly-RK3288发布的SDK没有mkupdate.sh。
你的mkupdate.sh是怎么样的?
作者: scmbox    时间: 2015-9-28 10:46
RKTools/linux/Linux_Upgrade_Tool_v1.2/rockdev 目录下面有

RKTools/linux/Linux_Pack_Firmware 也有 Linux_rockdev.zip
作者: scmbox    时间: 2015-9-28 10:46
#!/bin/bash
pause()
{
echo "Press any key to quit:"
read -n1 -s key
exit 1
}
echo "start to make update.img..."
if [ ! -f "parameter" ]; then
        echo "Error:No found parameter!"
        pause
fi
if [ ! -f "package-file" ]; then
        echo "Error:No found package-file!"
        pause
fi
./afptool -pack ./ Image/update.img || pause
./rkImageMaker -RK29 RK29xxLoader.bin Image/update.img update.img -os_type:androidos || pause
echo "Making update.img OK."
echo "Press any key to quit:"
read -n1 -s key
exit 0
作者: zhansb    时间: 2015-9-28 11:11
检查一下参数-RK29 RK29xxLoader.bin
作者: scmbox    时间: 2015-9-28 11:41
好的,谢谢zhansb班主,没有注意这个参数,确实编译之后文件名不是这个




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1