alexgg / balena-digi

Balena layer for Digi's ConnectCore system-on-modules and SBCs
Apache License 2.0
0 stars 1 forks source link

balena-digi repository

This repository uses the repo tool instead of gitsubmodules to track the different layers required.

Install the repo tool

sudo curl -o /usr/local/bin/repo http://commondatastorage.googleapis.com/git-repo-downloads/repo
sudo chmod a+x /usr/local/bin/repo

Initialize the repository

sudo install -o <your-user> -g <your-group> -d ~/balena-digi
cd ~/balena-digi
repo init -u ssh://git@stash.digi.com/~agonzal/balena-digi.git -b thud
repo sync -j8 --no-repo-verify

Build information

Build flags

See below for using the build script.

Build this repository

For a development image with a console, use the "-d" flag as in:

./balena-yocto-scripts/build/barys -d

Custom build using this repository

Programming the images at manufacturing

`nand erase.chip`
`update uboot tftp u-boot-<machine>.imx`
`reset`
`env default -a`
`env set serverip <serverip_addr>`
`env set ipaddr <target_ipaddr>`
`env save`
`update resin-boot tftp resin-image-<machine>.boot.ubifs`
`nand erase.part resin-rootA`
`ubi part resin-rootA`
`ubi createvol resin-rootA`
`update resin-rootA tftp resin-image-<machine>.hostapp-ubifs`
`boot`

Contributing

Issues

For issues we use an aggregated github repository available here. When you creaste issue make sure you select the right labels.

Pull requests

To contribute send github pull requests targeting this repository.

Please refer to: Yocto Contribution Guidelines