GithubHelp home page GithubHelp logo

rchgrav / debian-mini-odroid-c1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomuta/debian-mini-odroid-c1

0.0 1.0 0.0 85 KB

Script to build a minimal Debian sd card image.

Makefile 41.73% Shell 58.27%

debian-mini-odroid-c1's Introduction

debian-mini-odroid-c1

Script to build a minimal Debian sd card image. If you are looking for a minimal Debian image with read-only root file system, look here.

Features:

  • SSH root login password: odroid
  • Host name: odroidc1-MACADDRESS (e.g. odroidc1-1a2b3c4d5e6f)
  • SSH host keys are generated and saved permanently on first boot
  • Automatic mounting of USB storage devices using usbmount

Prerequisites:

On a Ubuntu system, make sure the following packages are installed:

sudo apt-get install build-essential wget git lzop u-boot-tools binfmt-support qemu qemu-user-static debootstrap parted

If you are running 64 bit Ubuntu, you might need to run the following commands to be able to launch the 32 bit toolchain:

sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1

Build the image:

Just use the make utility to build an sdcard.img. Be sure to run this with sudo, as root privileges are required to mount the image.

sudo make

This will install the toolchains, compile u-boot, the kernel, bootstrap Debian and create a 512mb sdcard.img file, which then can be transferred to a sd card (e.g. using dd):

sudo dd bs=1M if=sdcard.img of=/dev/YOUR_SD_CARD

debian-mini-odroid-c1's People

Contributors

tomuta avatar

Watchers

James Cloos 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.