gFEX-v4-v1.0
Instructions for Updating the gFEX OS
Note: If possible it is always good to use a new SD card, so we have a version of the OS that definitely works in case of problems.
OS Files
CERN Board: https://cernbox.cern.ch/index.php/s/d6SJ6Lt9QExfo0V
BNL Board: https://cernbox.cern.ch/index.php/s/9uKKZcDDGM3PESI
- Download the tar files attached to this release and extract them to your machine
- Turn off the board and remove the current SD card.
- Plug the SD Card into a windows computer using an SD card reader
- If possible, eject this SD Card and insert a new SD card so we have a backup of the OS. Otherwise continue with the current SD Card.
Using Terminal:
- Go to the terminal and navigate to the location of the core-image-gfex-gfex-prototype4.wic
- In the terminal run
diskutil list
to find the same of your SD card. It should look something like /dev/diskN. - Then run
diskutil unmountDisk /dev/diskN
where /dev/diskN is the name of your SD card/ This will unmount the SD card from the filesystem. - Then run
dd if=core-image-gfex-gfex-prototype4.wic of=/dev/rdiskN bs=1m
This command will flash the image to the SD card. It will take a *little time, and there's absolutely no output until it completes, so don't be worried if you don't see anything. - Remaining instructions below Windows instructions
For Windows/Mac/Linux:
- Open balenaEtcher (Can be downloaded here: https://www.balena.io/etcher/)
- Make sure the SD card is selected as the device
- Click the select button and locate the core-image-gfex-gfex-prototype4.wic file. Make sure "All Files" is selected in the file type options box in Windows Explorer, otherwise the .wic image may not show up.
- The Rufus settings should automatically be fine. Double check that your SD card is selected as the device, and select the .wic image as the Boot selection.
- Click start, and wait for the process to complete.
General Finishing Instructions:
- When balenaEtcher or the dd command has finished, copy the BOOT.BIN from the tarball you downloaded earlier to the SD Card
- Copy the system.dtb from the tarball you downloaded earlier to the SD Card with the updated OS.
- Eject the SD card from the computer.
- Plug the SD card into the board, and the board should now boot with the updated OS.