Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在非Amlogic平台镜像上错误生成serial-getty@ttyAML0.service #2857

Open
hoiw opened this issue Mar 17, 2025 · 0 comments
Open

在非Amlogic平台镜像上错误生成serial-getty@ttyAML0.service #2857

hoiw opened this issue Mar 17, 2025 · 0 comments

Comments

@hoiw
Copy link

hoiw commented Mar 17, 2025

Device Information | 设备信息

  • OEC-BOX-WXY4

Armbian Version | 系统版本

Describe the bug | 问题描述
在非Amlogic板的镜像中错误生成/etc/systemd/system/getty.target.wants/serial-getty@ttyAML0.service
如题所示,ttyAML0是专用于Amlogic平台的串口设备,在其它平台上不存在(例如,rk平台使用ttyFIQ0而不是ttyAMA0)。但镜像仍会生成此设备的相关文件。
此文件会导致非Amlogic平台首次开机时尝试初始化不存在的设备,并浪费约一分半钟的启动时间,直至超时。
我没有找到这个文件的生成逻辑,因此不明确为何会生成此文件。

Please provide a detailed description of the issue and, if necessary, attach a screenshot.
详细描述问题,并在必要时附上屏幕截图。

@hoiw hoiw changed the title 在非Amlogic板子上错误生成serial-getty@ttyAML0.service 在非Amlogic平台镜像上错误生成serial-getty@ttyAML0.service Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant