I wasn’t able to work on this much today due to work. Here is some information of what I did today:
Fresh install of Armbian 21.05.1 Focal with Linux 5.10.35-rockchip64
run command:
sudo systemctl status rockpi-penta.service
Unit rockpi-penta.service could not be found
run command:
nate@rockpi-4c:~$ curl -sL https://rock.sh/get-rockpi-penta | sudo -E bash -
Only have the following information appear then nothing
*** Penta SATA Hat Install for ROCK 3/4/5
*** Tested distributions:
*** - ROCK 5A
*** Debian 11 Desktop (radxa official image)
*** - ROCK 4
*** Armbian 20.05.4 focal
*** Armbian 20.05.3 buster
*** Debian 9 Desktop (radxa official image)
*** Debian 11 Desktop/CLI (radxa official image)
*** Ubuntu Server 18.04 (radxa official image)
*** - ROCK 3
*** Debian 10 Desktop (radxa official image)
*** Debian 11 Desktop/CLI (radxa official image)
*** Ubuntu Server 20.04 (radxa official image)
*** Please report problems to dev@radxa.com and we will try to fix.
run command:
sudo systemctl status rockpi-penta.service
Unit rockpi-penta.service could not be found
I decided to look inside the script by downloading it:
wget https://rock.sh/get-rockpi-penta
looked inside the script using nano, found the command:
https://cos.setf.me/rockpi/sh/penta-sata/rock4-armbian.sh
Decided to experiment and ran the following command:
nate@rockpi-4c:~$ curl -sL https://cos.setf.me/rockpi/sh/penta-sata/rock4-armbian.sh | sudo -E bash -
I was prompted to install additional software so the script started, and after install fan started spinning to my surprise. OLED display still doesn’t work.
run command:
nate@rockpi-4c:~$ sudo systemctl status rockpi-penta.service
● rockpi-penta.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-01-17 20:36:22 PST; 4s ago
Main PID: 3021 (python3)
Tasks: 2 (limit: 4459)
Memory: 10.5M
CGroup: /system.slice/rockpi-penta.service
├─3021 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
└─3032 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
Jan 17 20:36:22 rockpi-4c systemd[1]: Started Rockpi SATA Hat.
Jan 17 20:36:22 rockpi-4c libmraa[3021]: libmraa version v2.1.0 initialised by user ‘root’ with EUID 0
Jan 17 20:36:22 rockpi-4c libmraa[3021]: imraa: Failed to open lock file
Jan 17 20:36:22 rockpi-4c libmraa[3021]: gpio: platform doesn’t support chardev, falling back to sysfs
Jan 17 20:36:22 rockpi-4c libmraa[3021]: libmraa initialised for platform ‘ROCK Pi 4’ of type 20
Jan 17 20:36:22 rockpi-4c libmraa[3021]: pwm_init: pwm0 already exported, continuing
I think that is all relevant information. I’m willing to start from scratch again, and would actually prefer to do so.
Would like suggestions of what headless/CLI OS images work with the penta hat and provide fan and OLED. I’ll work with any suggestion.
Thanks for your time.