Struggling to get the PENTA Hat Top working on Radxa Rock 5C

Hello, I’m struggling to get the SATA Hat Top Board working on my Radxa Rock 5C.

I am using the latest rock-5c_bookworm_cli_b1.output.img.xz image from GitHub - radxa-build/rock-5c: ROCK 5C

I installed rockpi-penta version 0.2.2 from:

But nothing worked.

After a lot of research I made the changes from:

Now my /etc/rockpi-penta.env file contains:

SDA=I2C8_SDA_M4
SCL=I2C8_SCL_M4
OLED_RESET=GPIO1_A5
PWMCHIP=1
BUTTON_CHIP=4
BUTTON_LINE=11
HARDWARE_PWM=1

and made sure that the suggested overlays are enabled (i2c8-m2 and pwm14-m1)

That made the fan work (apparently, at least it is no longer always at 100% speed, and no more PWM-related errors) but still no luck with the oled and the button.

sudo i2cdetect -l returns:

i2c-0   i2c             rk3x-i2c                                I2C adapter
i2c-2   i2c             rk3x-i2c                                I2C adapter
i2c-7   i2c             rk3x-i2c                                I2C adapter
i2c-8   i2c             rk3x-i2c                                I2C adapter
i2c-9   i2c             ddc                                     I2C adapter

and sudo i2cdetect -y 8 returns:

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

Is it the same problem with bad cable that broke top hat like in this topic?

Any ideas?

Update: Today the system received some updates from Radxa. Also, I changed a 40 pin cable that I was using to connect both boards. Either the updates fixed something or the cable was faulty, but things started working OK, can’t be sure since both tings happened at once. :smile: