0

I have seen posts and tutorials dealing with updating the kernel, such as this one, but they all expect you to remove the SD card, rewrite it outside with a card reader and then plug it back in. Is it possible to update the kernel without removing the sd card? And if not, why not?

I guess a bootloader such as U-boot could be used for this but I would like to use the native raspberry bootloader if possible. My end goal is to cross compile the kernel in my main computer and send the compiled kernel to my raspberry pi through the network. Are there any alternatives for this? Any help would be immensely appreciated.

1 Answer 1

0

It is possible. Raspberry Pi OS does this when an upgrade installs new kernel & firmware.

If all you want to do is install your own kernel you can use the kernel option in config.txt.

2
  • what config.txt file are you referring to? And how exactly would I go about installing my own kernel without removing the sd card?
    – barzilay
    Apr 9, 2021 at 23:11
  • /boot/config.txt which is documented here and you'll want to check out the boot options, linked here Apr 10, 2021 at 0:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.