β rockpi-penta.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-01-19 07:06:46 UTC; 31s ago
Process: 13117 ExecStart=/usr/bin/python3 /usr/bin/rockpi-penta/main.py on (code=exited, status=1/FAILURE)
Main PID: 13117 (code=exited, status=1/FAILURE)
Jan 19 07:06:46 rock-3a systemd[1]: rockpi-penta.service: Scheduled restart job, restart counter is at 5.
Jan 19 07:06:46 rock-3a systemd[1]: Stopped Rockpi SATA Hat.
Jan 19 07:06:46 rock-3a systemd[1]: rockpi-penta.service: Start request repeated too quickly.
Jan 19 07:06:46 rock-3a systemd[1]: rockpi-penta.service: Failed with result βexit-codeβ.
Jan 19 07:06:46 rock-3a systemd[1]: Failed to start Rockpi SATA Hat.
Traceback (most recent call last):
File β/usr/bin/rockpi-penta/fan.pyβ, line 6, in
pin13 = mraa.Pwm(13)
File β/usr/local/lib/python3.8/dist-packages/mraa.pyβ, line 579, in init
this = _mraa.new_Pwm(pin, owner, chipid)
ValueError: Error initialising PWM on pin
sudo python3 /usr/bin/rockpi-penta/oled.py
Invalid GPIO pin specified
Invalid GPIO pin specified
Traceback (most recent call last):
File β/usr/bin/rockpi-penta/oled.pyβ, line 28, in
disp = disp_init()
File β/usr/bin/rockpi-penta/oled.pyβ, line 22, in disp_init
disp = Adafruit_SSD1306.SSD1306_128_32(rst=None, i2c_bus=3)
File β/usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg/Adafruit_SSD1306/SSD1306.pyβ, line 287, in init
File β/usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg/Adafruit_SSD1306/SSD1306.pyβ, line 85, in init
File β/usr/local/lib/python3.8/dist-packages/Adafruit_GPIO-1.0.6-py3.8.egg/Adafruit_GPIO/GPIO.pyβ, line 432, in get_platform_gpio
RuntimeError: Could not determine platform.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File β/usr/bin/rockpi-penta/oled.pyβ, line 32, in
disp = disp_init()
File β/usr/bin/rockpi-penta/oled.pyβ, line 22, in disp_init
disp = Adafruit_SSD1306.SSD1306_128_32(rst=None, i2c_bus=3)
File β/usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg/Adafruit_SSD1306/SSD1306.pyβ, line 287, in init
File β/usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg/Adafruit_SSD1306/SSD1306.pyβ, line 85, in init
File β/usr/local/lib/python3.8/dist-packages/Adafruit_GPIO-1.0.6-py3.8.egg/Adafruit_GPIO/GPIO.pyβ, line 432, in get_platform_gpio
RuntimeError: Could not determine platform.
Cables are all plugged in and Penta SATA Hat is mounted according to Youtube instruction.
No brideges set or pins shorted. All hardware was shiped form Radxa in late November 2021.
karl@rock-3a:~$ cat /proc/device-tree/mode
cat: /proc/device-tree/mode: No such file or directory
karl@rock-3a:~$ sudo cat /proc/device-tree/mode
cat: /proc/device-tree/mode: No such file or directory
???
Any reccommendation regarding der Version and Linux Brand? Ubuntu or Debian or what and packaging date / Version?
Further Question: What would you reccomend ro use to tranfer the hopfully working SD Image onto the eMMC? DD?
Would you or others recommend a direct transfer or would you make use of an image that then may be transfered via an other machine? Or woul youm after knowing all Parameters and sving tthese to on of the HDDs redo the intstall from the scratch havint to take appart the whole Rock 3a SBC plus the HAT?
then dd
sudo dd if=/dev/mmcblk0 of=/dev/sda bs=1M status=progress
where mmcblk0 - my sd card, sda - emmc
when it is done, i made resize via parted (to bring back size of emmc)
sudo shutdown and eject sd card
after that iβm booting from emmc
After that u can do apt update and everything else
Perfect description THX.
Next question Do you haven any stratey to make the rock 3a boot from /dev/sda or any other SSD or HDD (eg.a seperate boot partition hdd)?
Problem :
The eMMC must have same or bigger size than the SD Card.
The correct command line would be :
sudo dd if=/dev/mmcblk1 of=/dev/mmcblk0 bs=1M status=progress.
SDA would be one of the HDDs.
So, thereβs no way around a fresh upload the UBUNTU IMG to the eMMC by etcher.
Also the hatβs fan finally seems to be woking, still the HATβs LCD-Display remains dead.
yes, emmc must be >= than SD card
sda, mmcblk and etc. β can different for everyone, use lsblk in terminal to identify what if what
to flash emmc - u should use emmc to sdcard to usb adapter (easy* way) or google how to do it (i didnt do that, dd from sd card suite me)
I dont want to make my hdd and ssd bootable, gonna stay on emmc. No secret reason here, just easier for me to play with emmc rather than hdd with 500gb+ storage
Any hints?
Somehow it works and the fan is rotating. Still i do have an uncertain Feeling regarding Stability.
Will there be an updated patch/Install process to prevent a full reinstall from the scratch.
Especially as the LCD still is dead.