This widget could not be displayed.
This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 
FAQBot
Community Manager
Community Manager

[AIOT] How to Build Tinker Board 2 Debian Image

1. Installing the build tools

$ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf device-tree-compiler gcc-aarch64-linux-gnu mtools parted libssl-dev
 

2. Build Kernel

$ cd [source code]
$ make ARCH=arm64 tinker2_defconfig
$ make ARCH=arm64 rk3399-tinker_board_2.img CROSS_COMPILE=aarch64-linux-gnu- -j8
 

You will get boot.img in the directory of kernel after build success.

3. Install Kernel
Copy the boot.img to Tinker Board 2.
Use the command to install boot.img.

$ sudo dd if=boot.img of=/dev/mmcblk1p4 status=progress && sync
$ sudo reboot
 

Ex:

Note:

  • Image in eMMC
sudo dd if=boot.img of=/dev/mmcblk1p4 status=progress && sync
 
  • Image in SD Card
sudo dd if=boot.img of=/dev/mmcblk0p4 status=progress && sync
Version history
Last update:
‎10-07-2025 03:48 AM
Updated by: