- First run the setup script:
./scripts/fetch_distribution_package.sh
- Install Docker
- Build the docker container:
./scripts/build_docker.sh
- Start the docker container:
./scripts/start_docker.sh
- You should now be in the docker container. (The terminal should be showing something like this:
dev@cedcfed28edf:/#
- Move to /data/
- Run
source scripts/setup_env.sh
- Accept the EULA, if required
- You should now be in the following directory:
/data/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1
- Run
bitbake aurora-image-core
to build the image - Exit the docker container
- Insert your SD-card, and unmount all partitions on it or format it
- From the
aurora-os
folder, run:./scripts/write_to_sd.sh <sd_card_device_path>
- Insert the SD-card with the new image into the STM32MP157c-DK2 device
- Connect your workstation with the device over the microUSB connector
- Use minicom or similar to start listening on
/dev/ttyACM0
with 115200 baud - Power on your device
- You should see linux booting. At the end, you can login with the user root, no passwort required
Follow the instructions here