wahaha 4 Posted December 1, 2021 (edited) Hi, i am referring to the instructions here: https://gist.github.com/TinkerTeam/6286550ce70d34f6b3d483cd803da786#gistcomment-3563189 on how to compile my own kernel for tinker board 2s. However, in the guide above, it listed that that it is targeting: # Fetch Tinkerboard kernel config curl -L https://raw.githubusercontent.com/TinkerBoard/debian_kernel/develop/arch/arm/configs/miniarm-rk3288_defconfig -o arch/arm/configs/miniarm-rk3288_defconfig But with tinker board 2s, it is a RK3399 64 bit chip. Where should I be looking at to obtain the correct defconfig? Thanks, Jake Edited December 1, 2021 by wahaha Share this post Link to post Share on other sites
tooz 47 Posted December 1, 2021 hello @wahaha, you can use the following to build kernel: make clean && make distclean && make mrproper make ARCH=arm64 tinker2_defconfig make ARCH=arm64 rk3399-tinker_board_2.img -j24 Share this post Link to post Share on other sites
wahaha 4 Posted December 1, 2021 (edited) Hi @tooz, can i please clarify with you. I am trying to rebuild the stable kernel release from https://www.kernel.org/ which is currently (5.15.5). The steps that I take are as follows: 1. download linux-5.15.5.tar 2. untar (1) 3. cd linux-5.15.5 4. cp arch/arm64/configs/config .config 5. make menuconfig (optional if there are stuffs in .config that you want to amend) -> save it in .config file 6. make -j24 bindeb-pkg ----- currently it is still going through no6 ----- but after that is done, i should have an iso file that i can then do a sudo dpkg -i linux-image.deb followed by a reboot. Is this correct? I tried the 3 steps you listed, but i'm not sure at which stage should that be done instead? Edited December 1, 2021 by wahaha Share this post Link to post Share on other sites
tooz 47 Posted December 2, 2021 hello @wahaha, linux-5.15.5 is missing dts, we'd suggest to use the kernel from Tinker Board 2S github: TinkerBoard/debian_kernel: Debian Kernel source for Tinker Board (github.com) Share this post Link to post Share on other sites