lkml.org 
[lkml]   [2022]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: What replaces the 4.19.y scripts/mkknlimg in 5.16-rc6-rt12?
From
Hi Gene,

On 1/16/22 18:56, gene heskett wrote:
> 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.
--
~Randy

\
 
 \ /
  Last update: 2022-01-19 04:37    [W:0.039 / U:2.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site