GithubHelp home page GithubHelp logo

adikos / cx9020 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beckhoff/cx9020

0.0 2.0 0.0 269 KB

Scripts to build a Debian based Linux system for the CX9020 Embedded PC

License: GNU General Public License v2.0

Makefile 14.73% Shell 85.27%

cx9020's Introduction

#CX9020

This repository provides Scripts and Patches to build a basic Linux (Debian) System for a Beckhoff CX9020 Controller. It only works with devices which are ordered with a special ordering number (CX9020-0100) which ensures that the device boots directly from the microSD card instead of using the internal bootloader. Please make sure to follow the steps below to create your microSD card.

##Installation

#prepare your machine f.e.: 64-bit Ubuntu 16.04 LTS would require:
#===================================================================
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y multistrap qemu binfmt-support qemu-user-static mercurial libtool autoconf lib32z1 lib32ncurses5-dev lib32stdc++6 git make xz-utils bc wget gcc-5-arm-linux-gnueabihf


# get the repository:
#===================
git clone https://github.com/Beckhoff/CX9020.git
cd CX9020/

# link gcc-5-arm as default arm compiler
#=================================
sudo ln -s /usr/bin/arm-linux-gnueabihf-gcc-5 /usr/bin/arm-linux-gnueabihf-gcc

#get and patch the u-boot sources:
#=================================
./tools/prepare_uboot.sh v2016.07

#build u-boot:
#=============
make uboot

#get and patch a rt kernel:
#==========================
./tools/prepare_kernel.sh 4.4.19-rt27

#configure and build the kernel:
#===============================
make kernel

#get and patch etherlab (optional):
#==================================
./tools/prepare_etherlab.sh

#configure and build the etherlab (optional):
#============================================
make etherlab

#prepare sdcard with a small debian rootfs:
#============================================
#BE CAREFUL to specify the correct device name,
#or you might end up deleting your host's root partition!
./scripts/install.sh /dev/sdc

#install etherlab (optional):
#=============================
./scripts/52_install_etherlab.sh /tmp/rootfs

##Usage The standard login on first boot:

User: root

Password: root

Please change the root password immediately and additionally create your own user.

##History TODO: Write history

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.