Giter Site home page Giter Site logo

idigitalflame / pocketbeagle Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 196 KB

ArchLinux ARM Build/Config/Install scripts for the PocketBeagle (https://beagleboard.org/pocket)

License: Apache License 2.0

Shell 94.95% Python 5.05%
beagleboard pocketbeagle pocket-beagle archlinux configuration-files arm linux

pocketbeagle's Introduction

PocketBeagle Builder

This repo is dedicated to my build, install and configuration scripts for the PocketBeagle.

You can use the install.sh script to install and configure an ArchLinux install that contains:

  • USB Gadget (Ethernet) Support
  • Auto DHCP
  • Support to local proxy via Squid
  • Read-only Root
  • BTRFS Cache partition
  • Local Console via UART

The install script requires a valid ArchLinux tar blob, which can be downloaded here or by issuing the command:

  • wget http://os.archlinuxarm.org/os/ArchLinuxARM-am33x-latest.tar.gz
  • or
  • curl -Lo ArchLinuxARM-am33x-latest.tar.gz http://os.archlinuxarm.org/os/ArchLinuxARM-am33x-latest.tar.gz

The UbootRepo directory is a modified Uboot build by @NitroProp https://github.com/NitroProp/PocketBeagle-ARCH-ReARMed (thanks!) that is used for booting. (duh).

Command Line Arguments

sudo bash install.sh <tar> <uboot_dir> <disk> [source script]

An example that should work "Out-Of-The-Box" would be:

sudo bash install.sh ArchLinuxARM-am33x-latest.tar.gz ./UbootRepo/u-boot /dev/mmcblk0

This example assumes the SD card you'd be using is at /dev/mmcblk0.

The last command line argument [source script] is a path to a script file that is executed in the Context of the Beagle (ARM) before completion which allows you to install other programs, enable systemd units, etc. This optional argument is ignored if the path suggested does not exist, or is not a file.

Install Requirements

(on the computer you're using to install from):

  • qemu-arm-static from "qemu-user-static" (ARM chroot)
  • dd from "coreutils" (Writing to the SD card)
  • lsof from "lsof" (Process monitoring)
  • bsdtar from "libarchive" (Extraction)
  • mkfs.ext4 from "e2fsprogs" (Formatting)
  • mkfs.vfat from "dosfstools" (Formatting)
  • mkfs.btrfs from "btrfs-progs" (Formatting)

Building "config.sh"

The contents of "Config" directory are built using the build-config.py file with the arguments:

python build-config.py ./Config ./config.sh

This will generate the configuration script from any changes made in the Config folder. (Requires python3)

pocketbeagle's People

Contributors

idigitalflame avatar

Watchers

 avatar  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.