I’m trying to use the ROC-RK3328-CC as the controller for a hexapod robot. I followed the instructions in Ubuntu 22.04.1 Jammy LTS for Libre Computer Boards to a T. I downloaded the image associated with my board “ubuntu-22.04.1-preinstalled-server-arm64+roc-rk3328-cc.img.xz”, I extracted the image using 7zip, and I flashed it to the recommended microSD card–a SanDisk Extreme 128GB–using Win32DiskImager. It wrote successfully to the SD card, but then when I go to verify it, it says it "Verification failed at sector: 2048. I don’t understand what’s going wrong, but I proceeded anyway.
I put the SD card in the board and started it up, created a new password, and then tried to run sudo apt update and then sudo apt upgrade, but partially into that, I get an error saying “GRUB failed to install to the following devices: /dev/mmcblk1p1”. I’m given the option to continue anyway or install GRUB. If I choose to stop and install GRUB, it says:
“The grub-efi package is being upgraded. This menu allows you to select which EFI system partitions you’d like grub-install to be automatically run for, if any. Running grub-install automatically is recommended in most situations, to prevent the installed GRUB core image from getting out of sync with GRUB modules or grub.cfg. GRUB EFI system partitions:
[ ] /dev/mmcblk1p1 (268 MB; /boot/efi) on 127865 MB ???”
When I select that, it then tries to run grub-install, but fails again telling me “failed to install on /dev/mmcblk1p1”. This brings me back to selecting whether I want to continue anyway or not. I’m stuck in this loop and I don’t know how to fix it. I’ve been banging my head against a wall for days trying to just get this to work. Any suggestions would be appreciated.