EASIEST GUIDE to BUILDING the RASPBERRY PI KERNEL!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น •

  • @ikarm
    @ikarm 18 วันที่ผ่านมา +1

    Thank you. Your kernel bash scripts worked well.

    • @jeffs_piinthesky
      @jeffs_piinthesky  16 วันที่ผ่านมา

      Glad it all worked ok!!! I wasn't able to test every permutation... Or maybe I shouldn't admit that 🤣

    • @ikarm
      @ikarm 16 วันที่ผ่านมา

      @@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.

  • @Shocker99
    @Shocker99 3 หลายเดือนก่อน +1

    I'm surprised the other Jeff hasn't covered this topic since he's mentioned it so frequently

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      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.

  • @An.Individual
    @An.Individual 3 หลายเดือนก่อน +2

    nice video

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      Thanks for the continued support!!! 😃

  • @ikarm
    @ikarm 19 วันที่ผ่านมา +1

    But installing a kernel is not all there is to it. What about the firmware and confirming cmdline.txt and config.txt?

    • @jeffs_piinthesky
      @jeffs_piinthesky  18 วันที่ผ่านมา +1

      Fair point. But typically, once you have a kernel running, those things can remain pretty static.

  • @DaveEverett01
    @DaveEverett01 6 วันที่ผ่านมา +1

    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?

    • @jeffs_piinthesky
      @jeffs_piinthesky  5 วันที่ผ่านมา

      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.

    • @DaveEverett01
      @DaveEverett01 5 วันที่ผ่านมา +1

      @@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.

    • @jeffs_piinthesky
      @jeffs_piinthesky  5 วันที่ผ่านมา +1

      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

    • @DaveEverett01
      @DaveEverett01 5 วันที่ผ่านมา

      @@jeffs_piinthesky Thanks Jeff, you have been really helpful with this stuff

  • @Lp-ze1tg
    @Lp-ze1tg 2 หลายเดือนก่อน +1

    Should be applicable for Pi 4?

    • @jeffs_piinthesky
      @jeffs_piinthesky  2 หลายเดือนก่อน +1

      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!!! 😃

  • @YigalBZ
    @YigalBZ 2 หลายเดือนก่อน +1

    Wouldn't it be easier to enable it once on RPI and use the image?

    • @jeffs_piinthesky
      @jeffs_piinthesky  2 หลายเดือนก่อน +1

      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.

    • @YigalBZ
      @YigalBZ 2 หลายเดือนก่อน

      @@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.

  • @SeanSmith73
    @SeanSmith73 3 วันที่ผ่านมา

    I think to see what branches are available - locally is git branch - but remote branches you need to use - git branch -r

  • @DaveEverett01
    @DaveEverett01 6 วันที่ผ่านมา

    tried to git clone, still asks for a username

    • @jeffs_piinthesky
      @jeffs_piinthesky  6 วันที่ผ่านมา

      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.

    • @DaveEverett01
      @DaveEverett01 6 วันที่ผ่านมา +1

      @@jeffs_piinthesky Hi Jeff, I have a pi4 with bookworm, I did an update/upgrade just prior to attempting the clone.

    • @jeffs_piinthesky
      @jeffs_piinthesky  5 วันที่ผ่านมา

      Ok, so then you run
      git clone github.com/jeffspiinthesky/pibuildkernel.git
      And it asks you for a login?

    • @DaveEverett01
      @DaveEverett01 5 วันที่ผ่านมา

      @@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

  • @AMDNetworks
    @AMDNetworks หลายเดือนก่อน

    libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux' how to enable support then recompile couldn't find any options

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      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.

    • @AMDNetworks
      @AMDNetworks หลายเดือนก่อน

      @jeffs_piinthesky PI 4, I compiled kernel from source and enabled options, issue was solved