christianhaitian / arkos

Another rockchip Operating System
MIT License
1.48k stars 83 forks source link

self compiled kernel fail to boot on rg351mp with arkos2.0 #474

Closed ArcheyChen closed 2 years ago

ArcheyChen commented 2 years ago

Describe the Issue (If applicable)

I compile kernel in https://github.com/christianhaitian/linux/tree/rg351 using the following instr:

export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export PATH=/opt/toolchains/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/:$PATH
make rg351p_tweaked_defconfig
make -j16

then I copy these files to /boot:

and install modules to /lib/modules sudo make modules_install ARCH=arm64 INSTALL_MOD_PATH=./<ext4 partition location> && sync

but after display arkos logo, the device get into black screen

How can the issue be reproduced? (If applicable)

What device are you using?

rg351mp

What version of ArkOS are you on?

ArkOS_RG351MP_v2.0_11052021

Anything else you'd like to include that may help to review this issue or feature request?

christianhaitian commented 2 years ago

You copied the wrong dtb. You should have copied arch/arm64/boot/dts/rockchip/rk3326-rg351mp.dtb to the /boot partition. The rest of the steps you took should be fine. Just be sure the boot.ini is set to look for the rk3326-rg351mp.dtb file.