kosli
January 24, 2023, 4:01pm
1
I have just got a new PC Engines APU6B4 Board as I wanted to test one with an SFP slot. In general it booted fine and the ethernet ports are numbered eth0 to eth3, whereas eth0 is the SFP port (so the same order/logic as with the APU2 boards).
The LED driver does not work:
dmesg |grep -i engine
[ 0.000000] DMI: PC Engines apu6/apu6, BIOS v4.17.0.3 08/22/2022
[ 12.713451] pcengines_apuv2: failed to detect APU board via DMI
[ 13.020084] pcengines_apuv2: failed to detect APU board via DMI
[ 13.191974] kmodloader: - pcengines-apuv2 - 0
Maybe it is just a small patch needed to adapt for the board model reading "apu6"? Has anybody else already made some experience with the APU6 boards?
kosli
January 24, 2023, 4:06pm
2
related issues/infos/links:
opened 07:28AM - 29 Jun 20 UTC
flyspray
*pyther:*
Device: PC Engines APU4
OpenWrt 2020-Jun-28 snapshot
Small regres… sion. The led-apu2 driver which did support the APU4 was removed in favor of the pcengines-apu2 module. However, the pcengines-apu2 in the 5.4 branch does not support the APU4 [1]. The module in the 5.5 branch does support the APU4 [2].
[1] https://github.com/torvalds/linux/blob/v5.4/drivers/platform/x86/pcengines-apuv2.c
[2] https://github.com/torvalds/linux/blob/v5.5/drivers/platform/x86/pcengines-apuv2.c
Related Commits by @feckert and committed by @hauke
kernel/leds-apu2: remove deprecated leds-apu2 driver: https://github.com/openwrt/openwrt/commit/2b550a6be198ff78ac672d654d867ff1a0a13760
kernel: add pcengines-apu2 module description: https://github.com/openwrt/openwrt/commit/f3c5c09e5ad6671519c6a3b29f9c6adb7fff66cb
System Info:
root@OpenWrt:~# modprobe pcengines_apuv2
1 module could not be probed
- pcengines-apuv2
root@OpenWrt:~# dmesg | grep pcengines_apuv2
[ 9.610885] pcengines_apuv2: failed to detect apu board via dmi
[ 9.744176] pcengines_apuv2: failed to detect apu board via dmi
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: coreboot
Version: v4.12.0.1
Release Date: 05/29/2020
ROM Size: 8192 kB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
BIOS is upgradeable
Selectable boot is supported
ACPI is supported
Targeted content distribution is supported
BIOS Revision: 4.12
Firmware Revision: 0.0
openwrt:master
← TDT-AG:pr/20200616-gpio-amd-fch
opened 10:18AM - 16 Jun 20 UTC
Since kernel version 4.15 there is a new driver stack for APUv2 and APUv3 boards… available.
We now use kernel version 5.4 on x86_64 targets. So we could use this new driver stack for APUv2 and APUv3 boards.
GPIO-Driver:
https://github.com/torvalds/linux/blob/v5.4/drivers/gpio/gpio-amd-fch.c
GPIO/LEDs Platform driver
https://github.com/torvalds/linux/blob/v5.4/drivers/platform/x86/pcengines-apuv2.c
--> I have written the kernel module author about the APU6 board.