Jump to content
serene

Instruction to build image for Tinkerboard 2S

Recommended Posts

Hi,

I need to customize Tinkerboard 2S image (enable PPP among other things), but I am unable to find a complete instruction in how to build the image.

I found the instruction for the older platform (RK3288), but it didn't work. When I used generic instruction in building RK3399 platform, I got compile error in boardinfo.c (implicit declaration of functions in seq_file.o).

  1. Where can I find a complete instruction in how to build the image (kernel and U-Boot) for Tinkerboard 2S (RK3399 platform)?
  2. Which defconfig file to be used? I only saw tinker2_defconfig, which I believe is the config for U-Boot only.spacer.png
Edited by serene
Fixed typo

Share this post


Link to post
Share on other sites

hello @serene

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

Share this post


Link to post
Share on other sites
15 hours ago, tooz said:

Thanks @tooz

I noticed that it's for Android. I understand that few commands can be used for Debian.

Do you have similar one like that (detail build documentation) containing instruction for Debian?

Edited by serene
add clarification

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...