Hi,
I followed AOSP building guide for ROCK960 from 96Boards and i am failing to create a microSD image… you will find what i’ve done below :
→ u-boot :
$ cd u-boot $ make rock960-c-rk3399_defconfig $ ./mk-uboot.sh $ cd ..
→ kernel :
$ cd kernel $ make rockchip_defconfig $ make rk3399-rock960-model-c.img -j$(nproc) $ cd ..
→ AOSP :
$ source build/envsetup.sh $ lunch rk3399_box-userdebug $ make -j$(nproc)
→ images :
$ ln -s RKTools/linux/Linux_Pack_Firmware/rockdev/ rockdev $ ./mkimage.sh
→ packing :
$ cd rockdev $ ln -s Image-rk3399_box Image $ ./android-gpt.sh
… in this last part, android-gpt.sh throws me :
./android-gpt.sh: line 60 : printf: 8.0000: invalid number idbloader 64 16383 0,000000 MB
… and fails !
Any idea about what is going wrong ?
Finally, i would like to know the best way to rebuild AOSP for ROCK960 with a tablet layout instead of a box one…
Thank you
EDIT : as a workaround i used this android-gpt.sh which is the previous upstream version from 96rocks GitHub repository and AOSP booted successfully from my microSD