SATA support on OLinuxino A20 Micro using latest bullseye images

Started by ticklemynausea, May 27, 2022, 07:39:24 PM

Previous topic - Next topic

ticklemynausea

Hello good people

I have decided to clean the dust off of my good old A20-OLINUXINO-MICRO REV.E I purchased quite a few years ago. I was happy to see that the board continues being supported and that there are updated images for it using debian bullseye - however, my SATA drive does not work at all using this image.

Upon boot, the expected hdd noise was not there. No /dev/sda device, of course, then. I suspected hardware damage, after all this went unused for years - but when using the old flash card I had when sata was working, upon power up, the sata hdd starts spinning immediately and works perfectly, so no hardware damage exists.

Is there any reason for sata to not work "out of the box" for my A20-micro with the image A20-OLinuXino-bullseye-minimal-20220413-094751.img.7z ?

ticklemynausea

Continuing my investigation I have come across this topic:

https://www.olimex.com/forum/index.php?topic=1696.0

It seems that 5V port must be enabled in the board configuration at boot time.

I have found further details here: https://www.olimex.com/wiki/How_to_edit_board_configurations_and_definitions_in_the_official_Debian_Linux

But, these seem outdated instructions. There is no /boot/script.bin file on the debian bullseye images...

Could someone please clarify further? if there is a way to follow the direction I found in the first link?

LubOlimex

The instructions from the wiki you linked does not apply to Olimage, they were made and apply for older sunxi images. All instructions related to Olimage can be found in this document:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

About the SATA, did you try to run the scripts:

olinuxino-sd-to-sata

or

maybe check olinuxino-overlay
Technical support and documentation manager at Olimex