Does any one know the steps to rebuild yocto for the mangOH Red with wp77xx?
- Create an AirVantage account
- Login to the Legato Gerrit Server using your AirVantage account
- In the Gerrit settings, set your username
- In the Gerrit settings, add an ssh key from your development machine
- If the username you set in the Gerrit settings is different from the username on your development machine, you need to add a section like this to your
~/.ssh/config
:
Host gerrit.legato.io
User your_gerrit_username
Once you have done all of the above, try to test your access to Gerrit as follows:
$ ssh -p 29418 gerrit.legato.io
**** Welcome to Gerrit Code Review ****
Hi David Frey, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled.
To clone a hosted Git repository, use:
git clone ssh://dfrey@gerrit.legato.io:29418/REPOSITORY_NAME.git
Now we want to fetch all of the necessary git repositories. The repo
tool is used to do this.
- Run
mkdir ~/yocto-mangOH-wp77xx && cd ~/yocto-mangOH-wp77xx
- Run
repo init -u https://github.com/mangOH/manifest.git -m mangOH/branches/master/wp77xx.xml
- Run
repo sync
(This will take a very long time) - Run
make image_bin
to build the image - Run
make toolchain_bin
to build the toolchain
To avoid having to download and install various prerequisite packages before building yocto, you can instead build using a pre-made docker by running USE_DOCKER=1 make image_bin
or USE_DOCKER=1 make toolchain_bin
.
2 Likes
Thanks for the above, also I found it was necessary to execute
sudo chmod 666 /var/run/docker.sock
to get docker working.