Hello. I’ve recently acquired a Rock960 (AB) board and want to flash a newly built AOSP image. I have been following this guide and everything went well up until the ./mkimage step.
First, the directory rkst/ was empty, and I had an error saying mkkrnlimg was missing. So I dig a little further and found it on kernel/scripts/mkkrnlimg, moved it there and no longer got an error. However, now the script gives the me following error:
system filesysystem is ext4
create boot.img without kernel… done.
create recovery.img without kernel and resource…
cmd:/home/lin/rock960-android/out/target/product/rk3399_box/ramdisk-recovery.img /home/lin/rock960-android/out/target/product/rk3399_box/recovery.img [(null)]
kernel Image:/home/lin/rock960-android/out/target/product/rk3399_box/recovery.img for mid is ready.
create misc.img… cp: cannot stat ‘rkst/Image/misc.img’: No such file or directory
I looked at ./mkimage a little more and it seems that misc.img and some other 2 .imgs are being fetched from the rkst directory, but never in the guide was this mentioned, and it was always empty.
Help would be much appreciated.