Simple Distro Kit - Arm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
parazyd 9d7ab71a84
sunxi is finished
4 years ago
boards build kernel 4.9 for beaglebone 4 years ago
doc add note about rpi serial 4 years ago
extra preliminary odroidxu4 test 4 years ago
lib preliminary odroidxu4 test 4 years ago
.gitignore temporary hack when loading boards 4 years ago
.gitmodules import hardkernel's u-boot as submodule 4 years ago
CONTRIBUTORS.md contrib 4 years ago
LICENSE LICENSE and README 5 years ago
README.md update readme with gentoo dependencies 4 years ago
TODO.md sunxi is finished 4 years ago
config finalize sunxi boards; kernel 4.11.0 config 4 years ago
init.sh re 4 years ago
sdk preliminary odroidxu4 test 4 years ago

README.md

arm-sdk

arm-sdk is simple distro build system aimed at embedded ARM devices. It was first conceived as a component of the Devuan SDK, but now it aims to support multiple Linux distributions.

Requirements

arm-sdk is designed to be used interactively from a terminal, as well as from shell scripts. It requires the following packages to be installed:

Devuan

sudo git-core zsh curl wget debootstrap cgpt xz-utils kpartx parted qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils

Gentoo

app-admin/sudo dev-vcs/git app-shells/zsh net-misc/curl net-misc/wget dev-util/debootstrap sys-boot/vboot-utils app-arch/xz-utils sys-block/parted app-emulation/qemu(static-user) net-misc/rsync sys-libs/zlib dev-embedded/u-boot-tools sys-apps/dtc app-arch/lzop sys-fs/dosfstools

sudo permissions are required for the user that is running the build.

Initial setup

By executing init.sh which is found in the base directory of arm-sdk, it will initialize all git submodules and gcc toolchains that are needed for arm-sdk to properly function.

Quick start

Edit the config file to match your crosscompile toolchain. init.sh will provide you with precompiled ones. Then run zsh. In case you have conflicting extensions on your zsh configuration, safest way would be to run a vanilla one, using:

; zsh -f

then step inside the sdk, “source” it:

; cd arm-sdk && source sdk

Now is the time you choose the device and OS you want to build the image for.

Currently supported distros

  • devuan

Currently supported boards

  • bananapi - Banana Pi
  • bananapro - Banana Pi Pro
  • beagleboneblack - BeagleBone Black
  • chromeacer - Acer ARM Chromebook
  • chromeveyron - Veyron ARM Chromebook (RK3288)
  • cubieboard2 - Cubieboard 2
  • cubietruck - Cubietruck
  • n900 - Nokia N900
  • odroidxu - ODROID-XU
  • ouya - OUYA gaming console
  • raspi1 - Raspberry Pi 1 and 0 (armel)
  • raspi2 - Raspberry Pi 2 and 3
  • raspi3 - Raspberry Pi 3 (64bit)
; load devuan cubietruck

Once initialized, you can run the helper command:

; build_image_dist

The image will automatically be build for you. Once finished, you will be able to find it in the dist/ directory in arm-sdk’s root.

For more info, see the doc/ directory.

Acknowledgments

Devuan’s SDK was originally conceived during a period of residency at the Schumacher college in Dartington, UK. Greatly inspired by the laborious and mindful atmosphere of its wonderful premises.

The Devuan SDK is Copyright (c) 2015-2017 by the Dyne.org Foundation

Devuan SDK components were designed, and are written and maintained by:

This source code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this source code. If not, see http://www.gnu.org/licenses/.