ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.12k stars 1.96k forks source link

Unable to use the led command on lastest build (kernel 5.15.29) #179

Closed dinhchinh82 closed 2 years ago

dinhchinh82 commented 2 years ago

I've just built the latest source code to try the new LED function but unable to run any related commands:

armbian-led armbian-led: command not found

cd /usr/share/openvfd -bash: cd: /usr/share/openvfd: No such file or directory

Here is OS info:

cat /etc/ophub-release VERSION_CODEID='debian' VERSION_CODENAME='bullseye' FDTFILE='meson-sm1-x96-max-plus-100m.dtb' UBOOT_OVERLOAD='u-boot-x96maxplus.bin' MAINLINE_UBOOT='/usr/lib/u-boot/x96maxplus-u-boot.bin.sd.bin' ANDROID_UBOOT='/usr/lib/u-boot/hk1box-bootloader.img' KERNEL_VERSION='5.15.29' SOC='s905x3' K510='1' PACKAGED_DATE='2022-03-19'

My box: X96max+ ((S905X3, 4+32G, 1Gbps). I just confused that I missed any steps?

Thank you.

ophub commented 2 years ago

Only in yesterday's firmware, it can be flashed to the usb test, or manually uploaded into the current firmware.

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-docs/led.md

dinhchinh82 commented 2 years ago

Only in yesterday's firmware, it can be flashed to the usb test, or manually uploaded into the current firmware.

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-docs/led.md

I will try to upload manually and test again. Thank you.

dinhchinh82 commented 2 years ago

@ophub I confirm the led works on X96max + (5.15.x kernel).

ophub commented 2 years ago

ok, thanks for the feedback

dinhchinh82 commented 2 years ago

ok, thanks for the feedback

@ophub Can I customize the led display? For example, if there is no ethernet network then show the E1 on the led. if network is OK, show "OK".

Of course, there is some shell script to check the status network.

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/0f7d28558fff209874fc00d1ac0b319bc63c75e4/build-armbian/common-files/files/usr/share/openvfd/conf/x96maxplus.conf#L38