All the project is about to get Armbian (Tested on version Jammy-current) on Odroid HC4 without erase petitboot partition on your board.
Otherwise you shall wipe your SPI boot partition and erase the default bootloader of the board.
The scripts exploit jq to work and mkfs.fat, you need to install it. For example we tested the script in Debian and so to install the package:
sudo apt install jq dosfstoolsTo generate the new target image, simply run the generate-image.sh script as root from within the project folder. For example, you can use the following command:
sudo ./generate-image.shAfter that you will have odroid-hc4.img file which you just need to write on your SD card, example:
sudo dd if=odroid-hc4.img of=/dev/mmcblk0 conv=fsync status=progressRemember to change /dev/mmcblk0 with the correct target device!