【求助】3288-reload编译android5.1系统,编译失败

按照文档
代码更新后,编译reload内核

成功之后编译系统
执行到 ./ mkimage.sh 时报错

sun@sun-virtual-machine:~/android/firefly5.1$ ./mkimage.sh
TARGET_PRODUCT=rk3288_box
TARGET_HARDWARE=rk30board
IMG_TARGET=all , ota = withoutkernel
system filesysystem is ext4
‘kernel/arch/arm/boot/zImage’ → ‘/home/sun/android/firefly5.1/out/target/product/rk3288_box/kernel’
create boot.img without kernel… done.
create recovery.img with kernel and with out resource… done.
create misc.img… done.
create system.img… ls: cannot access /home/sun/android/firefly5.1/out/target/product/rk3288_box/system.img: No such file or directory
./mkimage.sh: line 132: [: -gt: unary operator expected
Please make first!!!

求助,这是哪里的问题啊

没编译上层,或编译上层出错导致未生成system.img

本帖最后由 小偉[工程部] 于 2017-10-13 16:36 编辑

我昨天也遇到同样问题,到现在还是未生成system.img…
之前明明都正常…{:4_118:}

我查到之前解决方法是再make,后就出现system.img
http://developer.t-firefly.com/thread-2491-1-1.html

目前尝试过 make -j8 三次,还是未生成system.img
也尝试过 rm -rf out后,没使用sudo 打包一样没有systme.img
现在继续在 make -j8 两次看看结果…

蛋疼了几天问题解决了,修改build/core/definitions.mk 中关于core.jar 编译的最小内存,-JXmx 1024m此初始值为2048m
改完后,make clean再make -j8 等待3小时system.img终于编译完成…
电脑ubuntu 14,4G内存…能正常编译一阵子,某天突然发生此问题

参考资料: http://www.360doc.com/content/12/0317/09/1801810_195071521.shtml#