Preempt-RT编译问题
将rt kernel包解压并重命名目录为kernel,替换进sdk中,使用./build.sh报错在你使用的板级描述文件添加两行再编译,如在sdk/device/rockchip/rk3588/roc-rk3588s-pc-ubuntu.mk 文件追加下面两行:
export RK_KERNEL_DEFCONFIG=firefly_rtlinux_defconfig
export RK_KERNEL_DEFCONFIG_FRAGMENT=
加上之后还是报错
/home/th/proj/rk3588_sdk
#
# No change to .config
#
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
fatal: not a git repository (or any of the parent directories): .git
fatal: 不是一个 git 仓库(或者任何父目录):.git
Image:resource.img (with rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1.dtb logo.bmp logo_kernel.bmp) is ready
Image:boot.img (with Image ramdisk.img resource.img) is ready
Image:zboot.img (with Image.lz4 ramdisk.img resource.img) is ready
Generate extLinuxBoot image start
make: *** 没有规则可制作目标“arch/arm64/boot/dts/rockchip/rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1-pcie.dtb”。 停止。
Makefile:1464: recipe for target 'rockchip/rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1-pcie.dtb' failed
make: *** Error 2
ERROR: Running build_extboot failed!
ERROR: exit code 2 from line 804:
make ARCH=$RK_ARCH rockchip/$i.dtb -j$RK_JOBS
设备树下面缺少对应文件 975150313 发表于 2024-9-26 09:23
加上之后还是报错
/home/th/proj/rk3588_sdk
#
往对应的板级文件添加。如果是没规则编译应该是该内核还没有添加上这个板子设备树
页:
[1]