Skip to contentSkip to conversation

What replaces the 4.19.y scripts/mkknlimg in 5.16-rc6-rt12?

DISCUSSION gene heskett 2 participants 2 messages Jan 17, 2022 – Jan 19, 2022

lore
Share & tools
lore
#0 lore raw

Greetings all;

That script/mkknlimg is missing in v5.16-rc6-rt2. What replaces it?

Or, can this script be copied to a v5.16-rc6-rt12 build and used?

Thanks a bunch, I'm trying to build a v5.16-rc6-rt12 on a rpi4 for the rpi4. The build itself was flawless.

Cheers, Gene Heskett.

Signature · 6 lines
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
#1 lore raw

Hi Gene,

Quoted 10 lines · gene heskett

Greetings all;

That script/mkknlimg is missing in v5.16-rc6-rt2. What replaces it?

Or, can this script be copied to a v5.16-rc6-rt12 build and used?

Thanks a bunch, I'm trying to build a v5.16-rc6-rt12 on a rpi4 for the rpi4. The build itself was flawless.

Cheers, Gene Heskett.

Mainline 4.19.* does not have a file called scripts/mkknlimg. Since I am not familiar with that script, I used some internet search engine and found several sites that might help you. Good luck. :)

https://autostatic.com/tag/mkknlimg/
https://github.com/raspberrypi/linux/issues/3249

Bottom line is that it is no longer needed. The second URL above says:

It's not at all clear what would be going wrong in your case. Our standard kernel build instructions (https://www.raspberrypi.org/documentation/linux/kernel/building.md) just copy the zImage:

sudo cp arch/arm/boot/zImage /boot/$KERNEL.img

and

sudo cp arch/arm/boot/zImage mnt/fat32/$KERNEL.img

cheers.

Signature · 1 line
~Randy