This README file contains usage information for the netX4000 Linux board support package
- Description
- Initialization
- Install repo
- Initialize workspace
- Fetch sources
- Building
- Building yocto images
- Building ubuntu images
This BSP uses androids repo tool to pull in all required repositories. It supports the following yocto releases:
- master
- dunfell (3.1)
- warrior (2.7)
- thud (2.6)
- sumo (2.5)
- rocko (2.4)
Install the android repo tool: https://source.android.com/setup/develop/
mkdir ~/bin
export PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Create a working directory and initialize repo tool for your requested yocto version. The following example will use the master branch
mkdir ~/workspace/netx4000
cd ~/workspace/netx4000
repo init -u https://www.github.com/HilscherAutomation/netx4000-linux-bsp -m master.xml
Let repo fetch all requires sources. Updates can also be pulled this way
repo sync
Recommended way of building is using docker as this is includes all required packages in tested versions.
Use the supplied scripts to build a machine. The machine can be switch after first build by editing build/conf/local.conf
./build_docker.sh core-image-minimal
Copy the resulting image to an sdcard and insert it into your board:
dd if=build/tmp/deploy/images/<machine>/<image>_<machine>.sdimg of=/dev/sdb
NOTE: Ubuntu images are only provided for evaluation purposes and are not fully validated
To select a different kernel / machine, edit ubuntu.cfg
cd meta-hilscher-netx4000/scripts/ubuntu
./build_docker.sh
Copy the resulting image to an sdcard:
dd if=build/netx4000-ubuntu-18.04-<machine>.sdimg of=/dev/sdb