Toybrick
标题:
我在开发板RX3588X 上编译内核遇到错误,请教该如何做。
[打印本页]
作者:
fxieg
时间:
2023-6-6 17:43
标题:
我在开发板RX3588X 上编译内核遇到错误,请教该如何做。
本帖最后由 fxieg 于 2023-6-6 17:44 编辑
在开发版RX3588 debian10 上做如下操作
sudo apt install git gcc make flex bison libssl-dev lz4
sudo apt install python pip
git clone
https://github.com/rockchip-toybrick/kernel.git
然后进入kernel目录
运行如下命令
make ARCH=arm64 rockchip_linux_defconfig
time make ARCH=arm64 rk3588-xxx.img -j16
有错提示
make[2]: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3588-x.dtb'. Stop.
make[1]: *** [Makefile:1446: rockchip/rk3588-x.dtb] Error 2
make: *** [arch/arm64/Makefile:214: rk3588-x.img] Error 2
作者:
robert
时间:
2023-6-6 17:49
你到arch/arm64/boot/dts/rockchip/目录看看就没有rk3588-x.dts文件,改成make ARCH=arm64 rk3588-firefly-itx-3588j.img -j16编译试试看
作者:
fxieg
时间:
2023-6-7 10:28
./arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb
./arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb
我在kernel下只查到这2个 dtb ,是正常的。对吧?
作者:
fxieg
时间:
2023-6-7 10:42
用这个命令 time make ARCH=arm64 rk3399pro-toybrick-prop-linux.img -j16
编译过了
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3