-
Notifications
You must be signed in to change notification settings - Fork 130
Reflashing an UP board
CrypticaScriptura edited this page Oct 16, 2024
·
2 revisions
- 2x USB flash drives.
- One formatted exFAT, upon which we'll place an uncompressed Ubilinux ISO and
flash-image.sh
script as files. - One flashed (via balenaEtcher) with a Linux live distro, such as Linux Mint.
- One formatted exFAT, upon which we'll place an uncompressed Ubilinux ISO and
- Ubilinux IMG: https://lama-images.fra1.digitaloceanspaces.com/aaeon-upboard/ubilinux-4-truncated.img.gz
- Linux live ISO: https://mirrors.seas.harvard.edu/linuxmint/stable/21.2/linuxmint-21.2-xfce-64bit.iso
-
flash-image.sh
script: https://lama-images.fra1.digitaloceanspaces.com/aaeon-upboard/aveiro/flash-image.sh
- On one USB, flash a Linux live distro using balenaEtcher (https://etcher.balena.io/).
- Uncompress the
ubilinux-4-truncated.img.gz
file so that you're left with aubilinux-4-truncated.img
file. On the second USB (formatted exFAT), copy the uncompressed Ubilinux image, as well as theflash-image.sh
script. - Disconnect the camera USB cables, but note the port from which they came, as they'll need to be placed back into the same port.
- Insert the Linux live USB drive and a USB keyboard into the UP board. Power the machine and enter the BIOS (should be with F7), setting it to boot from the live USB.
- Once in the live USB's desktop, open a terminal with CTRL + ALT + T. Run
sudo su
- Plug in the data USB drive and navigate to it through the terminal:
cd /media/linuxmint/USBNAME
- Change the script's permissions so you're able to run it directly:
chmod u+x flash-image.sh
- Run the script as below, replacing the machine model (
sintra
/gaia
/tejo
) and printer model (nippon
/zebra
/none
):
./flash-image.sh install /dev/mmcblk0 ubilinux-4-truncated.img upboard gaia nippon
- Once complete, run
sync
and thenshutdown now
to power off the board. Unplugg the USB drives and keyboards, place the camera USB cables back into their original position (important) and boot into the newly flashed board.
Checksums:
b3sum ubilinux-4-truncated.img.gz
aa61d5ff4e12cfa74ba06cf0d62c4aa650f52ac109b1d0915e63acdc68c306eb
b3sum ubilinux-4-truncated.img
844e2b825d08f2e53e6d47140b62d3796df6f2700a0ebb55528294afc5c36c64