TinkerBoard2/kernel

Instruction to build Tinkerboard 2S images (RK3399 platform)

SereneGuy opened this issue · 6 comments

@asusiot
@tooz

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.

  1. Where can I find the instruction?
  2. 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

  1. u-boot
    cd u-boot
    ./make.sh tinker2

  2. 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.

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?

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