I just got my RockPi4. It works fine so far and I use it as a server for my smarthome.
It has Dietpi installed, which is based on Debian Bullseye.
Now the problem:
I’d like to use a RaZberry-HAT, which is for Z-Wave.
But when I attach the hat, the RockPi will not boot-up. I found this to be a well-known problem.
(See here: https://wiki.radxa.com/Rockpi4/hardware/HATs)
Obviously I need to tweak my config, but here is the problem:
Hi Jack,
yes - power is sufficient! It does 5,9 & 12V.
I think the problem is, that there is something I need to disable in the kernel. There are drivers and modules (see the second link in my first post), but these are not available & not for bullseye (like the hardware-overlays).
So I can not use them at all.
As far as I understood, the HAT is using pins that relate to a serial console of the RockPi. But I can not disable the console, so it will not boot with the hat attached.
I believe Dietpi runs mainline kernel, do you know if it supports device tree overlay? If not, you will have to edit the dts to disable the default serial console(uart2). I think two lines should be edited:
Hey Setq,
I only have the armbianEnv.txt, is that the same file?
How can I easily switch-off from there?
Is there any way at all?
This is the content of the file:
And if the a.m. is not an option @jack: Maybe it looks like I’m an idiot, but the lines you mentioned are on Github, where are these on my Rockpi4?
Regards,
Maeffjus
Thanks so much - but probably I’m an complete idiot, but I can not find how to enable UART2 on this board.
In all specs and files, they only mention UART4.
I have searche on Google, but I have not found ANY useful stuff…
overlays=w1-gpio uart1 i2c0 spi-spidev
Do I just have to write uart2 instead of uart1 in the line above?
I don’t want to mess with the board, since I’m running some productive system on it.