@dominik
Thank you for your advice. Do you know any asm1166 with activity/error status pins for LEDs /UART?
Radxa M.2 E key to SATA breakout card
Most of ASM1166 m.2 cards comes with UART pins, but so far I could not get anything useful out of that,
My all four cards return:
I guess itās interface used for some debug, or firmware upgrade,
there was no change when drive was connected or active,
All of them have built in LED activity indicators. I think that those cards are not ready to connect UART with backplane and get any type of activity there, but for simple build You can either connect some fiber to LEDS or just remove those, solder wires (or some conectors) and LEDs whenever You need them .
If You need to connect board with backplane and activity leds still HBA card should work with that. One thick cable with four sata or eight sas channels + sgpio. Usually those cards have at least two mini sas connectors.
Can you recommend any ASM1166 M.2?
You can check the one from Radxa:
Jack, is it available anywhere to buy or when it will be expected?
I still have no response from @melo in radxa hexa sata m.2 card thread, some of those questions are rather important (like the one about heatsink and temperatures). Anybody else from @radxa may know about it?
On the other hand it may be better to get such card instead of some noname adapters with no docs and anything. Also the lack of heatsink may be better choice on some builds, check out card from this link - it has place for two nvme drives with large active cooler and heatsink, but no such card will fit there. Iām thinking about radxa sata card and possibility to desolder sata ports and activity leds, extend everything from card to panel.
I wish I could the one from radxa, but it donāt have UART pins - which I donāt know if they are somehow useful or not. Also some clarification is needed regarding card temperatures.
I have about four of those in m.2 format. Two with no version on them, one v1.2 and one v1.3, those have slightly improved LEDs (brighter), also slightly changed down plate (this is really needed element).
For sure regular pcie versions are much more durable. They have thick PCB and donāt bend easily. If Your build donāt have to be that compact then use something like that. Also you will get much larger heatsink.
Silvercrest guys seems to work sometime on ASM1166 firmware, same works on smaller cards.
The problem is that all existing options that Iāve managed to find donāt provide any hardware mechanism to control the backplane HDD activity/error LEDs which are typical for NAS cases (Here is mine: https://wiki.kobol.io/helios64/front-panel/ ). And I donāt see such a mechanism on the āRadxa M.2 to Hexa SATA Adapterā, there are no status pins, UART, SPI, GPIOā¦ nothing but the SATA connectors. This is not an option for a NAS case.
SAS+SGPIO is a good option except that the boards are PCIe and bigger than any M.2 with SATA, and the SGPIO canāt be directly connected to the LEDs, it needs to be ādecodedā and there is no simple way for that.
The best option that I see at the moment is * StarTech ASM1166 6P6G-PCIE-SATA-CARD
It has the LED activity pins (yet there are no ERROR status pins) and what seems to be SPIā¦ but without any information what they can be used for. And Iām not sure if it is compatible with the ROCK 5B.
Probably You will not find anything that has such option in small m.2 format. Itās just not much space there for such thing. Some adapters have leds, so itās quite easy to desolder them and replace with some kind of connectors, but still You will get only activity leds.
Some other idea is to use GPIO and read such state in system, some kind of script that pass those into You backplane, then You can keep compact size and get backplane to work. I donāt expect You will get anything at hardware level to match with helios backplane connector.
Those still can work via m.2, thatās why I asked about that in my topic about radxa hexa sata card.
For this the best option is to use compatible HBA card, cage, and backplane. Those should work and needed functionalities at hardware level. YEs, they are much bigger and Rock5B looks ridiculous with much bigger extension card.
This is simple LED header, directly connected to ASM1166 chip. Usually those are leds on board, they will light up on link, blink on activity. Most of SATA cards just have LEDs with that. You can wire up those directly to Your panel for activity leds.
For errors You will need something that know what is error and how to handle that. GPIO and simple script can do that. You can read smart status and turn on high state that will show error led on Your panel.
Yet again donāt expect any out of box solution for that as well as super compact m.2 card with such support.
HBA cards are designed to work with matching backplane, many work with SATA (and SAS), they carry sgpio signals on mini sas connector, but still this needs to be paired with right controller and software.
I also would love to get such feature for ASM1166 cards, but cuold not find any tech docs about lines found on some of those cards, but as far as I know there is UART (useless?) + i2c (unknown device).
Sorry for necroposting.
I tried to use this board RADXA M.2 E KEY TO SATA BREAKOUT BOARD with my Rock5b on armbian 24.x.x kernel version 6.1.x, but it does not see my hdd.
I have tried to install dto from two sources: part of armbian package, and compiled by armbian-add-overlay (with code from 5.0 kernel found in radx/kernel github).
Is it a way how I can see some logs to understand on what stage itās not working?
Maybe we have some fresh instruction, because the one from radxa website is not working even on official Debian image there is no script mentioned in it.
Disclaimer: Iām not linux expert.
UPD: Added separate topic Radxa M.2 E key to SATA breakout card on Armbian. HDD is not visible - ROCK 5 Series / 5B/5B+ - Radxa Community
Would be much better to create fresh topic about it.
Use bundled sata2 overlay from armbian, I think I hot this working on 5B few days ago.
Checkout dmesg for logs and sata keyword