Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

General discussion • Re: Replace image from within

$
0
0
It's not easy, but the normal way to do this is to have a GPIO that selects either a different boot partition (see EEPROM config / tryboot_a_b) or selects a different kernel / initramfs (see os_prefix).

This alternate / maintenance image / kernel is responsible for updating the primary OS partition e.g. downloads a new OS partition image.

Typically the update-image is an initramfs instead of a full EXT4 partition.

Statistics: Posted by timg236 — Tue Apr 02, 2024 1:18 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles