Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
Intro:
Device really irrelevant.
I use image openwrt_official_amlogic_s905x3_k6.1.66_2023.12.08.img.gz
Apply fix from https://github.com/ophub/amlogic-s9xxx-openwrt/issues/511
Since I have no definite scenario of use my box, I connect via serial.
But out of box it have very strange behavior: keypresses sometimes lost, bash do not echo keypresses, no reaction on Control-C while running programs, cursor keys UP, Down do not work as expected, after three presses something started (looks like initrd init script)......
I find out, that all this is because of plymouhtd
First my solution is to put plymouth from initrd to rootfs (with libs) and start it in rc.local
/usr/bin/plymouth quit
Second solution I find in other non-relevant issues here -- add plymouth.ignore-serial-consoles in kernel command line (uEnv.txt).
*** Update: plymouthd spoils not only serial, but keyboard-display console. In "big" system, e.g. your armbian, plymouthd stopped by system (by sddm or other X server, or by plymouth-stop.service befory ttys start).
Practically on my device I see no profit of plymouhtd -- no your splash on screen, at least while booting from sdcard, -- I see only flashed logo (slimbox), and after openwrt bootlog.
Third simpliest: add into rc.local
ps w|grep /usr/sbin/plymouthd|grep -v grep|sed -n '1p'|awk '{print $1}'|xargs kill
Thank you for your work.
It will be nice, if some solution (maybe more appropriate) appear in mainline.
Device Information | 设备信息
OpenWrt Version | 系统版本
Describe the bug | 问题描述
Intro: Device really irrelevant. I use image openwrt_official_amlogic_s905x3_k6.1.66_2023.12.08.img.gz Apply fix from https://github.com/ophub/amlogic-s9xxx-openwrt/issues/511 Since I have no definite scenario of use my box, I connect via serial. But out of box it have very strange behavior: keypresses sometimes lost, bash do not echo keypresses, no reaction on Control-C while running programs, cursor keys UP, Down do not work as expected, after three presses something started (looks like initrd init script)...... I find out, that all this is because of plymouhtd
First my solution is to put plymouth from initrd to rootfs (with libs) and start it in rc.local /usr/bin/plymouth quit
Second solution I find in other non-relevant issues here -- add plymouth.ignore-serial-consoles in kernel command line (uEnv.txt).
*** Update: plymouthd spoils not only serial, but keyboard-display console. In "big" system, e.g. your armbian, plymouthd stopped by system (by sddm or other X server, or by plymouth-stop.service befory ttys start). Practically on my device I see no profit of plymouhtd -- no your splash on screen, at least while booting from sdcard, -- I see only flashed logo (slimbox), and after openwrt bootlog.
Third simpliest: add into rc.local ps w|grep /usr/sbin/plymouthd|grep -v grep|sed -n '1p'|awk '{print $1}'|xargs kill
Thank you for your work. It will be nice, if some solution (maybe more appropriate) appear in mainline.