-
Notifications
You must be signed in to change notification settings - Fork 61
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
No prompt available in graphic mode but serial console #191
Comments
I cannot find root.sh in entire file system which is used by initab, is this set correctly? arm-systemready/common/ramdisk/inittab Line 33 in fd9e41c
|
Hello @anncheng-arm, Omitting console=ttys0 and tty=AMA0 from the command line worked on rpi4, can you please check if it works on the DUT. Thanks, |
Here is Linux Kernel document to explain how /dev/console binds to getty (tty0 – graphic mode, ttyS0 – Serial console for 16550, ttyAMA0 – ARM UART PL011). I've also tested this on my RPi4 and Ampere system. Removing ttyS0 and ttyAMA0 results in /dev/console binding to tty0, which is why you can see output and prompts on the graphical interface. However, this also means there is no init.sh output and prompt from the serial port anymore. You can simply move tty0 to be the last parameter, and the output/prompt will then go to the graphical mode. I reported this issue because ODMs typically check from the graphical interface first. If there is no prompt, they might think the system has hung during testing. However, I am guessing if ACS is designed intentionally to direct all tests and prompts to the serial console only, it prevents accidental resets or test terminations from the different shell session of graphical interface(tty0). We may not need to address this issue if this design is intentional. Or we may just need to init the getty tty0 properly in /etc/inittab to get it to prompt which is good enough. |
Failure/Symptom
No prompt available after booting into ACS via graphic mode but working fine in serial console.
Unplug/plug external USB device, the USB messages were output properly in graphic mode/serial mode which means vga driver works properly, looks more like inittab/init script issues.
Booting logs from serial console: acs_console.zip
Configuration
The text was updated successfully, but these errors were encountered: