This README file contains information on the contents of the meta-uthp layer.
Please see the corresponding sections below for details.
The meta-uthp layer depends on the following layers:
-
URI: core
branch: scarthgap -
URI: meta-openembedded/meta-python branch: scarthgap
-
URI: meta-python2 branch: master / close to scarthgap
-
URI: networking-layer (meta-openembedded/meta-networking) branch: scarthgap
-
URI: jupyter-layer branch: master / close to scarthgap
-
URI: arm-toolchain
branch: scarthgap -
URI: meta-arm
branch: scarthgap -
URI: meta-ti-bsp
branch: scarthgap -
URI: meta-ti-extras
branch: scarthgap
mkdir <workspace>
cd <workspace>
Download the uthp-setup-dev-env.sh script:
wget https://github.com/SystemsCyber/meta-uthp/raw/scarthgap/uthp-setup-dev-env.sh
Run it:
chmod +x uthp-setup-dev-env.sh
./uthp-setup-dev-env.sh
After it has run, you'll need to source oe-init-build-env EVERY TIME YOU OPEN A NEW TERMINAL:
source oe-init-build-env
Then you can build the image:
bitbake core-image
DO NOT MODIFY ANYTHING while the build is running. It will take a while to complete for the first time. Maybe go get a coffee or something:
tmux new-session -d -s core-image 'bitbake core-image'
After the image is complete, you can flash it to your device from 'deploy-ti/images/uthp/core-image-uthp.rootfs.wic.xz' with your favorite flashing tool (tested with balenaEtcher).