Instruction to build Tinkerboard 2S images (RK3399 platform)
SereneGuy opened this issue · 6 comments
Hi,
I am unable to find instruction in how to build kernel and U-Boot image for Tinkerboard 2S (RK3399 platform). I used the instruction from other website for the older platform (RK3288) and it doesn't work.
- Where can I find the instruction?
- Which defconfig file to be used? I saw tinker2_defconfig, I think it's for U-Boot only.
hello @SereneGuy,
some commands can be found in
device/rockchip/tinker_board_2/build.sh
you will need the rkbin to build it successfully. building steps are as follows
-
u-boot
cd u-boot
./make.sh tinker2 -
kernel
cd kernel
make ARCH=arm64 tinker2_defconfig
make ARCH=arm64 rk3399-tinker_board_2.img -j8
@asusiot
Thank you. Where can I find device/rockchip/tinker_board_2/build.sh ?
I couldn't find it anywhere in this repo.
hello @SereneGuy,
it can be found here: https://github.com/TinkerBoard2-Android/device_asus_tinker_board_2
that repo does not exist any more. these instructions: https://github.com/TinkerBoard/TinkerBoard/wiki/Developer-Guide refer to a build.sh
that does not appear to be in this repo; where is this file located?
hello @DaveWK,
have you installed repo?
https://source.android.com/docs/setup/download/downloading?hl=en
Oh, I found the issue -- your link has an underscore for device_asus but the actual repo is: https://github.com/TinkerBoard2-Android/device-asus-tinker_board_2 with a hyphen for device-asus