Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxnet/berryboot
Berryboot -- Boot menu / OS installer
https://github.com/maxnet/berryboot
Last synced: 3 days ago
JSON representation
Berryboot -- Boot menu / OS installer
- Host: GitHub
- URL: https://github.com/maxnet/berryboot
- Owner: maxnet
- License: other
- Created: 2012-09-13T16:50:48.000Z (about 12 years ago)
- Default Branch: berryboot2018
- Last Pushed: 2024-06-22T16:29:54.000Z (5 months ago)
- Last Synced: 2024-10-31T18:38:32.745Z (13 days ago)
- Language: Makefile
- Homepage: http://www.berryboot.com/
- Size: 65.9 MB
- Stars: 807
- Watchers: 76
- Forks: 133
- Open Issues: 359
-
Metadata Files:
- Readme: README.md
- License: LICENSE.berryboot
Awesome Lists containing this project
README
Berryboot
=========```
Berryboot -- Boot menu / OS installer for ARM devicesAuthor: Floris Bos
License: Simplified BSD - see LICENSE.berryboot for details
Programming language: C++Source code available at: https://github.com/maxnet/berryboot
```Website: http://www.berryterminal.com/doku.php/berryboot
Folders
===BerrybootGUI2.0 - source of the graphical boot menu and installer interface (uses Qt)
buildroot - build system to create a minimal Linux operating system to run the boot menu under
buildroot/package/berrybootgui2/init - script that gets executed on boot, starts BerrybootGUIBuild requirements
===Berryboot uses Buildroot to build a minimal Linux operating system to run under.
Buildroot requires that the following packages are installed: http://www.buildroot.org/downloads/manual/manual.html#requirementTo build for the Raspberry Pi
===```
./build-berryboot.sh device_pi0123
```The files in the output folder must be copied to an empty FAT formatted SD card.
To add support for a new ARM device
===Create a file buildroot/berryboot-configs/device-mydevice with the buildroot configuration options to build a kernel and supporting files for your device.
E.g.:```
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/mydevice/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="branch3.18"
BR2_LINUX_KERNEL_DEFCONFIG="mydevice"
# Kernel options needed by Berryboot (enables AUFS support and such)
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../configs/kernel_config_fragment_berryboot"
# Install AUFS kernel patch
BR2_LINUX_KERNEL_EXT_AUFS=y
BR2_LINUX_KERNEL_EXT_AUFS_VERSION="aufs3.18"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_LINUX_KERNEL_IMAGE_INSTALL_NAME="kernel_mydevice_aufs.img"
```AUFS kernel extension version must match kernel version.
Build with:```
./build-berryboot.sh device_mydevice
```Berryboot expects that the kernel cmdline parameters are stored in a text file called cmdline.txt on the SD card or are stored at the end of the file uEnv.txt, and that the parameters can be edited (so may not be stored in a binary format with checksum).
You must configure your bootloader to read the cmdline parameters, and boot Linux kernel kernel_mydevice_aufs.img with initramfs berryboot.img.