Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash compiling Pi3-Bullseye 32 missing script mkknlimg kernel 5.3 and up (solved PR #212) #209

Open
g-vidal opened this issue Dec 2, 2019 · 2 comments

Comments

@g-vidal
Copy link
Contributor

g-vidal commented Dec 2, 2019

Hi all,
I am compiling a Pi3 under bullseye using kernels from paspberrypilinux and I get the folowing message :

+ /data/RpiGenImage/Images/bullseye/build/chroot/usr/src/linux/scripts/mkknlimg /data/RpiGenImage/Images/bullseye/build/chroot/usr/src/linux/arch/arm/boot/zImage /data/RpiGenImage/Images/bullseye/build/chroot/boot/firmware/kernel7.img
./rpi23-gen-image.sh: 517: bootstrap.d/13-kernel.sh: /data/RpiGenImage/Images/bullseye/build/chroot/usr/src/linux/scripts/mkknlimg: not found

I have checked the file is not present on versions 5.3 and 5.4 (5.2 has got it). Is it missing by accident or is there a change in the process after kernel version 5.2 ?

I would have liked to download the file and check what happens if I put it in the proper folder but I don't know how to resume at the point the preparation crashed. Could it be possible ? How?
thanks

@drtyhlpr
Copy link
Owner

drtyhlpr commented Dec 8, 2019

hi g-vidal.

https://github.com/raspberrypi/linux/blob/rpi-4.19.y/scripts/mkknlimg
part of the raspberry kernel scripts dir (here is a note that the tool moved to the kernel scripts dir https://github.com/raspberrypi/tools/tree/master/mkimage)

i ll check

@g-vidal
Copy link
Contributor Author

g-vidal commented Feb 4, 2020

I replaced mkknlimg simply by cp as proposed in one of the comments on te raspberry/linux thread. Seems to work like a charm.

Problems appearr with kernel 5.3 but using cp works well with kernels < 5.3 (at least 4.19)
Can you pull the request?

@g-vidal g-vidal changed the title Crash compiling Pi3-Bullseye 32 missing script mkknlimg kernel 5.3 and up Crash compiling Pi3-Bullseye 32 missing script mkknlimg kernel 5.3 and up (solved PR #212) Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants