aosc arm64安装时的串口波特率比较奇怪 在rk3566测试安装了一下 发现如下逻辑
背景
- rk3566 spinor 使用 UEFI 启动 跳转到sd卡启动 uefi传递设备树(不传递ACPI)
- 由于瑞芯微祖传的1500000波特率 我也从善如流编译uefi输出1500000波特率
现象
- spl到uefi到aosc的bootloader(我猜是这?最后的日志是Checking EFI serial console …) 这一段串口输出波特率都是1500000 输出正常
- aosc进入语言选单时,串口开始使用9600波特率 选中语言 选中串口执行安装
- 启动内核,内核日志和systemd均以115200波特率输出,跟设备树(存疑,uefi传的设备树就是115200也未可知)和初始的语言选单均不一致
使用3588 UEFI启动测试时 同样可以最后看到Checking EFI serial console 通过HDMI确认可以进入语言选单 但在默认串口上切换了几个 常用波特率并按上下键 均看不到语言选单刷新
3566启动到文件系统后遇到了其他错误,是dracut的init_queue启动失败
具体日志如下
[ ***] Job dracut-initqueue.service/start running (4min 4s / no limit)
[ 272.860824] dracut-initqueue[307]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 272.876609] dracut-initqueue[307]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-label\x2fLiveKit.sh: "[ -e "/dev/disk/by-label/LiveKit" ]"
[ 272.895925] dracut-initqueue[307]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2froot.sh: "[ -e "/dev/root" ]"
[ 272.920383] dracut-initqueue[307]: Warning: dracut-initqueue: starting timeout scripts
Starting dracut-emergency.service - Dracut Emergency Shell...
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
[22:42:47.508] Disconnected