I have installed on my Rock 5A an SSD stick 2280 with 200 GB.
I wonder if it would be possible to boot from that SSD.
How can I do ? Would it possible to simply copying the contents of the SD card to the SSD with the dd command ?
I have already installed on the SD card some applications, and would prefer to not have to reinstall them again.
No, Armbian is “another distribution”. While referred to from Radxa pages, it is not maintained by Radxa. That said, Armbian has some superior features, but might not support all of the HW as good as Radxa images. Your mileage may vary.
Thanks. So, I have to ask again, is the a way, using Debian, to boot from the SSD stick, after having copied on it, with dd, the contents of the SD card ?
Thanks again. So, if I understand that correctly, I would have to reinstall the SPI flash module below the 5A board, after having flashed on it the modified u-boot loader…and remove the SD card…bear with me, I am slowly making my way through the intricacies of Linux…
Yes, but of course you must somehow copy the files from the SD-CARD to your SSD. Copy ALL partitions. Before you overwrite the Flash, it would be a wise idea to read it out and save the image somewhere … just in case.
Recovery and Maskrom button pins are between the Audio connector and the left HDMI, Recovery is the top, Maskrom the bottom. As you can see, on some boards (including mine) they are described, but I have seen boards without the text. Nevertheless, you can just short-circuit the pins at boot time.
Extract/uncompress the previous downloaded SPI clearing file and check the integrity of the file (gzip should already be installed otherwise install it):
gzip -d zero.img.gz md5sum zero.img
it should report back:
2c7ab85a893283e98c931e9511add182 zero.img
Make sure the spi flash is available:
ls /dev/mtdblock*
it should report back:
/dev/mtdblock0
Completely clear the spi flash: (be patient the flash can take 5mins)
Write you desired bootloader to the spi flash *(replace spi-image.img with the name of your downloaded image, should be starts like rock-5a-spi) and just to confirm that all has been written type sync
sudo dd if=spi-image.img of=/dev/mtdblock0 sync
Check if the flash was successfully (replace spi-image.img with the name of your downloaded image again):
sudo md5sum /dev/mtdblock0 spi-image.img
the checksums should be the same again - if not flash the bootloader again .
Shutdown your Rock 5A, remove the microSD card and start it again. Now it must boot from the SSD