https://github.com/sepfy/raspberrypi-ota
Raspberry Pi OS image OTA update
https://github.com/sepfy/raspberrypi-ota
busybox initramfs ota raspberrypi
Last synced: 7 months ago
JSON representation
Raspberry Pi OS image OTA update
- Host: GitHub
- URL: https://github.com/sepfy/raspberrypi-ota
- Owner: sepfy
- License: mit
- Created: 2021-06-21T01:39:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-12T19:06:31.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T19:38:26.036Z (7 months ago)
- Topics: busybox, initramfs, ota, raspberrypi
- Language: Shell
- Homepage:
- Size: 1.02 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi OTA Mechanism
A mechanism to update Raspberry Pi OS image by Pi itself. To achieve updating Raspberry Pi software without removing SD card.
## Instructions
**_WARNING: This project just an idea and only test on RaspiOS from 2021-03-04 to 2021-05-07. Do not try this instructions on your important OS image_.**
Copy this project and Raspberry Pi OS image to Raspberry Pi.
Run the following commands:```
$ cp rasberrypi-ota/
$ cd raspberrypi-ota
$ sudo ./ota.sh
```It will takes much times. Please wait and do not poweroff. Suggest using [debug port](https://elinux.org/RPi_Serial_Connection) to monitor the progress.
## Flowchart
### [OTA (Over-the-Air)](https://en.wikipedia.org/wiki/Over-the-air_programming)
Over-the-air programming (OTA programming) refers to various methods of distributing new software, configuration settings, and even updating encryption keys to devices.### [Initrd (Initial ramdisk)](https://en.wikipedia.org/wiki/Initial_ramdisk)
Initrd (initial ramdisk) is a scheme for loading a temporary root file system into memory, which may be used as part of the Linux startup process.### [Busybox](https://en.wikipedia.org/wiki/BusyBox)
BusyBox is a software suite that provides several Unix utilities in a single executable file.