make kernel error

MKIMAGE arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr
/bin/sh: 1: mkimage: not found
scripts/Makefile.lib:343: recipe for target ‘arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr’ failed
make[3]: *** [arch/arm64/boot/dts/rockchip/overlay/rockchip-fixup.scr] Error 127
scripts/Makefile.build:484: recipe for target ‘arch/arm64/boot/dts/rockchip/overlay’ failed
make[2]: *** [arch/arm64/boot/dts/rockchip/overlay] Error 2
scripts/Makefile.build:484: recipe for target ‘arch/arm64/boot/dts/rockchip’ failed
make[1]: *** [arch/arm64/boot/dts/rockchip] Error 2
arch/arm64/Makefile:127: recipe for target ‘dtbs’ failed
make: *** [dtbs] Error 2

which tool did you use to compile?

I just follow https://wiki.radxa.com/RockpiS/dev/Debian, step by step

You can use our new bsp tool to build the kernel.

and for the usage, please refer to bsp docs.

Hi, I am following the steps in the bsp docs. I found slightly different ones here:
https://docs.radxa.com/en/rockpi/rockpis/low-level-dev/kernel

In my case, I issue the command for rock-pi-s:
./bsp linux stable rock-pi-s --no-config -r 99

I see no errors. Everything seems to complete as expect and I see many deb files. As per the instructions, I then install just:
sudo dpkg -i linux-headers-6.1.68-99-stable_6.1.68-99_arm64.deb
sudo dpkg -i linux-image-6.1.68-99-stable_6.1.68-99_arm64.deb

This seems to complete as expected, but then I reboot and I get nothing at all. No bootup and no flashing blue LED.

Any idea what am I doing wrong? I need to make a custom kernel to include HIDRAW module.

Any logs outputed from the serial port? Please send here so that I can analyze.

Thank you for your reply. I’ll check the serial console and advise the output. Cheers,

Please see the serial console output. It seems to just freeze at “Starting kernel …”
console_log.zip (2.1 KB)