02-22-2019 06:22 PM - edited 02-22-2019 06:29 PM
Good evening, I'm getting started customizing PetaLinux so I can run by board as a standalone system.
Currently, I:
If I have PuTTY hooked up via UART onto the board, I can see that linux boots up and I'm delivered to the login prompt where I can log in as root. I also have an external monitor hooked up via DisplayPort, and I can see kernel information being printed to the monitor.
How do I get the login prompt to appear on the external monitor, so I can log in with keyboard and don't need the serial cable? (the monitor responds when I connect and remove the USB keyboard)
My current bootargs:
earlycon earlyprintk root=/dev/mmcblk0p3 rw rootwait cma=1152M
Thanks!
02-28-2019 12:01 PM
So I eventually figured it out. The correct command is
$ /sbin/agetty tty0
With notable variations being "getty" "agetty" and occasionally with an "&" afterwards if the console hangs.
Usually you place this command in a startup script so that for a given monitor configuration, the system wakes up and displays a login prompt on the desired monitor.
02-28-2019 12:01 PM
So I eventually figured it out. The correct command is
$ /sbin/agetty tty0
With notable variations being "getty" "agetty" and occasionally with an "&" afterwards if the console hangs.
Usually you place this command in a startup script so that for a given monitor configuration, the system wakes up and displays a login prompt on the desired monitor.