Git Product home page Git Product logo

arm-sdk's Introduction

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, as well as libdevuansdk dependencies:

Devuan

curl git wget 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 libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev

Gentoo

net-misc/curl net-misc/wget sys-boot/vboot-utils 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 sys-devel/flex sys-devel/bison

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

Quick start

Edit the config file to match your crosscompile toolchains. 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

  • beagleboneblack - BeagleBone Black
  • chromeacer - Acer ARM Chromebook
  • chromeveyron - Veyron ARM Chromebook (RK3288)
  • n900 - Nokia N900
  • n950 - Nokia N950
  • n9 - Nokia N9
  • droid - Motorola Droid 4
  • bionic - Motorola Droid Bionic
  • odroidxu - ODROID-XU
  • odroidxu4 - ODROID-XU4
  • ouya - OUYA gaming console
  • raspi1 - Raspberry Pi 1 and 0 (armel)
  • raspi2 - Raspberry Pi 2 and 3
  • raspi3 - Raspberry Pi 3 (64bit)
  • raspi4 - Raspberry Pi 4 (64bit)
  • rock64 - Rock64 (64bit) (EXPERIMENTAL)
  • pinephone-dontbeevil - Pinephone Dontbeevil devkit
  • pinephone - Pine64 Pinephone
  • pinetab - Pine64 Pinetab
  • sunxi - Allwinner-based boards
  • turbox-twister - TurboX Twister tablet
; load devuan sunxi

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.

arm-sdk's People

Contributors

dderby avatar freemangordon avatar grapagnani avatar jaromil avatar jmattsson avatar merlijnwajer avatar parazyd avatar stiltr avatar venji10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arm-sdk's Issues

init.sh fails to init submodule libdevuansdk

I followed the instructions to invoke the init.sh script after checking out the arm-sdk, but it fails with the following output:

Cloning into '/home/not-a-bird/arm-sdk/lib/libdevuansdk'...
fatal: Unable to look up git.parazyd.cf (port 9418) (Name or service not known)
fatal: clone of 'git://git.parazyd.cf/libdevuansdk.git' into submodule path '/home/not-a-bird/arm-sdk/lib/libdevuansdk' failed
Failed to clone 'lib/libdevuansdk'. Retry scheduled
Cloning into '/home/not-a-bird/arm-sdk/lib/libdevuansdk'...
fatal: Unable to look up git.parazyd.cf (port 9418) (Name or service not known)
fatal: clone of 'git://git.parazyd.cf/libdevuansdk.git' into submodule path '/home/not-a-bird/arm-sdk/lib/libdevuansdk' failed
Failed to clone 'lib/libdevuansdk' a second time, aborting

As a workaround, I can cd into lib and git clone git://parazyd.org/libdevuansdk.git and then the init.sh runs happily.

Edit: I don't see the same problem on my second system... the first one I did a git pull but maybe submodule config data doesn't get updated when you do that? The second system doesn't have this problem. I suspect this isn't an actual issue for recent checkouts.

missing python3-dev requirements

I've seen this while building an image for pinephone, not sure whether affects other builds.
Although it is indeed a requirements of https://gitlab.com/pine64-org/u-boot, the package appears in their gitlab-ci config, but as build_image_dist command continues despite the absence of Python.h I believe it should be fixed in this repo, either on documentation or in actual build commands

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.