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:
TARGET_BOARD_PLATFORM=rk3399
TARGET_PRODUCT=rk3399_box
TARGET_HARDWARE=rk30board
TARGET_BUILD_VARIANT=userdebug
BOARD_SYSTEMIMAGE_PARTITION_SIZE=2147483648
BOARD_USE_SPARSE_SYSTEM_IMAGE=true
system filesysystem is ext4
create boot.img without kernel… done.
create recovery.img without kernel and resource…
mkkrnlimg V20120220
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.
done.
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.