Howdy,
I’m just starting out with Torizon OS and Toradex boards, but I have experience with Yocto and PetaLinux. Since the Mallow board doesn’t have a populated debug port or USB debugging, is there a way I can launch a terminal on the HDMI screen that can do the same actions as when I’m SSH’d in?
I’m doing network development and it is very challenging since I can only interact with the board through a network port at the moment (lots of careful reboots to prevent locking the network stack into an unreachable state). I’ve tried the Wayland Terminal, but it can’t even run htop or ping it seems.
Bootloader: U-Boot
HW model: Toradex Verdin iMX8M Plus WB on Mallow Development Board
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your question. To achieve a terminal interface on your HDMI display that can perform network-related tasks similar to SSH, you can utilize the Weston Wayland compositor provided by Torizon. Here’s a step-by-step guide to set this up:
-
Launch the Weston Container: First, ensure that the Weston container is running on your Toradex board. This container provides the graphical environment needed to display applications on your HDMI screen.
- You can start the Weston container using the following command:
docker run -d --rm --name=weston --net=host \ --cap-add CAP_SYS_TTY_CONFIG \ --device=/dev/dri \ --device=/dev/input \ --volume=/tmp:/tmp \ torizon/weston
- This command sets up the necessary permissions and device access for Weston to manage the display and input devices.
- You can start the Weston container using the following command:
-
Launch a Terminal Application: Once Weston is running, you can launch a terminal application within this environment.
- Use the following command to start a terminal application like
weston-terminal
:docker exec -it weston weston-terminal
- This will open a terminal window on your HDMI display, allowing you to execute commands directly on the board.
- Use the following command to start a terminal application like
-
Install Additional Tools: If you need tools like
htop
orping
, you can install them within the Weston container or another container that you run alongside Weston.- For example, to install
htop
, you can enter the terminal and use:apt update && apt install htop
- For example, to install
By following these steps, you should be able to interact with your Toradex board using a terminal on the HDMI display, facilitating your network development tasks without relying solely on SSH access.
I hope this helps with your development work. If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
No screen Quickstart Guide w/ Apalis iMX8QP 2GB V1.1C on Ixora V1.2A.
If you want to have access to the debug UART on Mallow board you can solder 6 pin header
into X11 place holder on the Mallow
And then use TTL to USB adapter like this one.
That works for debugging, thank you!