@@jeffs_piinthesky You scripts worked well, on my Linux From Scratch, Raspberry PI5 build. But unfortunately, I still needed more to boot. At the moment I'm still trying to figure out what that "more" is exactly.
He does things in a different way...More a kind of 'what' you can do rather than 'how'. I know he does do all the cross-compile stuff and I suspect (I don't know and don't claim to) that he just figures the instructions are out there so why duplicate it. My view was more from the perspective that the process is complex and intimidating so I figured I'd just try to make it easier for people.
Fell at the first hurdle. sudo apt install bison flex libssl-dev make git libncurses fails, unable to find package libncurses. What is wrong here please?
If it's saying you're missing libncurses then most likely there was a typo in the command line. apt install libncurses ...should sort that out for you.
@@jeffs_piinthesky Thanks but still no joy. I still get 'unable to locate package libncurses'. I tried that at the time. I have checked and double-checked my spelling etc. As it turns out, the driver I was told I would have to compile into the kernel, is in fact already part of the kernel. It's the driver for the Microsoft Kinect 360.
Love that is built in but really surprised!!! Sorry you're having trouble with libncurses...not sure what the problem is but soon as I can reproduce it, I'll let you know for future reference
I'm assuming you're referring to building the kernel once and making a new image from it? If so, then yes...but with the slight caveat that the install image for a PI is very different from an image once everything is installed. That said, your point is a good one. An alternative is creating the kernel install packages for a custom kernel so they can then be installed on a running Pi.
@@jeffs_piinthesky I actually meant to take the default kernel, set the relevant flags, install relevant packages, and once ready - duplicate this image into several SD cards and use it as a base package. Or, build an install script which will do all the work on the default package. I think it is much safer and easier than touching the kernel.
I just double checked and it's definitely set as a public repo. Can you confirm exactly which version of pi and PI OS you're using please? I'll see if I can reproduce your issues.
Is there any more info you can provide here? I guess specifically which model of pi and which version of the kernel are you building? There are o many permutations I've not been able to try them all.
Thank you. Your kernel bash scripts worked well.
Glad it all worked ok!!! I wasn't able to test every permutation... Or maybe I shouldn't admit that 🤣
@@jeffs_piinthesky You scripts worked well, on my Linux From Scratch, Raspberry PI5 build. But unfortunately, I still needed more to boot. At the moment I'm still trying to figure out what that "more" is exactly.
I'm surprised the other Jeff hasn't covered this topic since he's mentioned it so frequently
He does things in a different way...More a kind of 'what' you can do rather than 'how'. I know he does do all the cross-compile stuff and I suspect (I don't know and don't claim to) that he just figures the instructions are out there so why duplicate it. My view was more from the perspective that the process is complex and intimidating so I figured I'd just try to make it easier for people.
nice video
Thanks for the continued support!!! 😃
But installing a kernel is not all there is to it. What about the firmware and confirming cmdline.txt and config.txt?
Fair point. But typically, once you have a kernel running, those things can remain pretty static.
Fell at the first hurdle. sudo apt install bison flex libssl-dev make git libncurses fails, unable to find package libncurses. What is wrong here please?
If it's saying you're missing libncurses then most likely there was a typo in the command line.
apt install libncurses
...should sort that out for you.
@@jeffs_piinthesky Thanks but still no joy. I still get 'unable to locate package libncurses'. I tried that at the time. I have checked and double-checked my spelling etc. As it turns out, the driver I was told I would have to compile into the kernel, is in fact already part of the kernel. It's the driver for the Microsoft Kinect 360.
Love that is built in but really surprised!!! Sorry you're having trouble with libncurses...not sure what the problem is but soon as I can reproduce it, I'll let you know for future reference
@@jeffs_piinthesky Thanks Jeff, you have been really helpful with this stuff
Should be applicable for Pi 4?
Hi! Yes, I've got scripts there for PI4. It'll just take longer to build. So best kick it off before you have dinner!!! 😃
Wouldn't it be easier to enable it once on RPI and use the image?
I'm assuming you're referring to building the kernel once and making a new image from it? If so, then yes...but with the slight caveat that the install image for a PI is very different from an image once everything is installed. That said, your point is a good one. An alternative is creating the kernel install packages for a custom kernel so they can then be installed on a running Pi.
@@jeffs_piinthesky I actually meant to take the default kernel, set the relevant flags, install relevant packages, and once ready - duplicate this image into several SD cards and use it as a base package. Or, build an install script which will do all the work on the default package. I think it is much safer and easier than touching the kernel.
I think to see what branches are available - locally is git branch - but remote branches you need to use - git branch -r
tried to git clone, still asks for a username
I just double checked and it's definitely set as a public repo. Can you confirm exactly which version of pi and PI OS you're using please? I'll see if I can reproduce your issues.
@@jeffs_piinthesky Hi Jeff, I have a pi4 with bookworm, I did an update/upgrade just prior to attempting the clone.
Ok, so then you run
git clone github.com/jeffspiinthesky/pibuildkernel.git
And it asks you for a login?
@@jeffs_piinthesky Hey did work this time. I hear people say I may have misspelt, and that is fair. I did double check though at the time. Thanks Jeff
libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux' how to enable support then recompile couldn't find any options
Is there any more info you can provide here? I guess specifically which model of pi and which version of the kernel are you building? There are o many permutations I've not been able to try them all.
@jeffs_piinthesky PI 4, I compiled kernel from source and enabled options, issue was solved