TinkerBoard2 / kernel

Other
11 stars 14 forks source link

Instruction to build Tinkerboard 2S images (RK3399 platform) #7

Open SereneGuy opened 2 years ago

SereneGuy commented 2 years ago

@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.
asusiot commented 2 years ago

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

SereneGuy commented 2 years ago

@asusiot Thank you. Where can I find device/rockchip/tinker_board_2/build.sh ? I couldn't find it anywhere in this repo.

asusiot commented 2 years ago

hello @SereneGuy, it can be found here: https://github.com/TinkerBoard2-Android/device_asus_tinker_board_2

DaveWK commented 1 year ago

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?

asusiot commented 1 year ago

hello @DaveWK, have you installed repo? https://source.android.com/docs/setup/download/downloading?hl=en

DaveWK commented 1 year ago

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