M.2 E-key to SATA breakout board on Armbian

Hello.

this guide (https://wiki.radxa.com/Rock5/guide/sata) to get the SATA breakout box working is written for the officially supported OSes.
How can I get this working with Armbian?
I tryied adding

dtoverlay=rock-5b-sata

to /boot/armbianEnv.txt

thanks for your help

In “/boot/armbianEnv.txt” the following is defined:
overlay_prefix=rockchip-rk3588

Rename or copy “rock-5b-sata.dtbo” to “rockchip-rk3588-rock-5b-sata.dtbo” in “/boot/dtb-5.10.72-rockchip-rk3588/rockchip/overlay/” and reboot.

thanks! I tried your suggestion but after a reboot lsblk is showing this:

~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mtdblock0 31:0 0 16M 0 disk
mmcblk0 179:0 0 119,4G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 117,9G 0 part /var/log.hdd
/
zram0 254:0 0 3,8G 0 disk [SWAP]
zram1 254:1 0 50M 0 disk /var/log

disk is powered and connected to the m2 -> sata adapter

how can I confirm that dtbo was loaded?

I installed the official ubuntu to confirm breakout box is working (and it is)

rock@rock-5b:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 465.8G  0 disk
`-sda1        8:1    0 465.8G  0 part
mtdblock0    31:0    0    16M  0 disk
mmcblk0     179:0    0 119.4G  0 disk
|-mmcblk0p1 179:1    0   512M  0 part /boot
`-mmcblk0p2 179:2    0 118.9G  0 part /

any one got this working with armbian yet?

1 Like

Not sure if you found a solution yourself yet. But there seems to be an issue with loading kernel provided device tree overlays?

However, loading them as user provided seems to work just fine:
Simply copy /boot/dtb/rockchip/overlay/rock-5b-sata.dtbo to /boot/overlay-user/rock-5b-sata.dtbo. Then add user_overlays=rock-5b-sata to /boot/armbianEnv.txt. Reboot and your SATA drive should show up in lsblk.

perfect. it works! thanks