Git Product home page Git Product logo

pacificit / berryboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxnet/berryboot

0.0 2.0 0.0 63.55 MB

Berryboot -- Boot menu / OS installer

Home Page: http://www.berryboot.com/

License: Other

QMake 0.06% C++ 7.20% Shell 4.73% Makefile 48.92% Arc 0.02% Batchfile 0.01% CSS 0.91% HTML 21.79% JavaScript 0.06% C 9.79% Perl 1.14% Groff 0.01% Lex 0.17% Yacc 0.39% CMake 0.07% Python 4.73%

berryboot's Introduction

Berryboot

Berryboot -- Boot menu / OS installer for ARM devices

Author: Floris Bos <bos AT je-eigen-domein DOT nl> 
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 BerrybootGUI

== Build 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#requirement

=== To build for the Raspberry Pi 2

./build-berryboot.sh device_pi2

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.

berryboot's People

Contributors

maxnet avatar raftim avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.