Checkout the Sumo branch for documentation.
Checkout the Kirkstone branch for documentation.
Except for your own stuff, you should always be able to recover to the factory image, a self built factory image.
And except for the contents of the factory partition. This partition gets mounted on /factory.
The factory partition /dev/disk/by-partlabel/factory is created during manufacturing and contains a unique bluetooth_address and the Intel Edison serial_number. The partition is never removed during
flashing of images. Not even when using flashall --recovery
.
In case for some reason the partition is lost, post-install.sh will create dummy files for both, but the bluetooth address will likely not work and the serial number should ideally be equal to the serial number on the Intel Edison label.
The serial_number can be reclaimed from the label on the Intel Edison, but the bluetooth_address needs to be recovered from backup. You might want go to /factory and make a copy of the files there before you proceed.
Yocto Scarthgap will build on Ubuntu Noble (24.10).
Install the required build environment:
sudo apt-get install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio
python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2
libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales libacl1
sudo apt-get install p7zip-full btrfs-progs lz4
sudo locale-gen en_US.UTF-8
bitbake
also uses an access restriction to improve security, but due to the
Unprivileged user namespace restrictions is disallowed to run. Read more on Unprivileged user namespace restrictions at https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890.
Create a profile for bitbake
sudo vi /etc/apparmor.d/bitbake
With contents
abi <abi/4.0>,
include <tunables/global>
/home/**/bitbake/bin/bitbake flags=(unconfined) {
userns,
}
The reload the profile:
sudo apparmor_parser -r /etc/apparmor.d/bitbake
There are various ways to build from Windows, Mac or Linux versions other than Ubuntu Noble. These include:
© 2018 Ferry Toth