ESP32-S3: As a Linux Console TTY

2 points by mbana


have two PCs running Linux and I'd like to access the first one and interact with it via a serial console. Neither of the PCs have a serial console. I have an ESP32-S3 (actually 3 incase I ruin any one of them). So I thought I'd setup the Kernel parameters to redirect logging to the ESP32-S3 serial port (labelled COM on the physical device), hoping that might work.

I tried adding the below to the Kernel boot parameters via /etc/default/grub and regenerated the boot menu and initramfs, and then rebooted.

console=tty0 console=ttyACM0,115200

I used ttyACM0 as this is what appears in /dev when I attach the device to my system.

Once I've rebooted nothing appears on the ESP32-S3 serial console.

  1. Does anyone know what I'm doing wrong?
  2. Is one ESP32-S3 sufficient to do what I'm trying to achieve?
  3. I suspect the parameters I'm passing to the command line aren't correct because I could find hardly any results where people are using "console=tty0 console=ttyACM0,115200".

Kind regards, Bana


Cross posted on https://esp32.com/viewtopic.php?t=47238 but I haven't seen a really}. Is this possible?. Aside from installing a PCIE serial adapter that exposes a, I Think, DB232 port which I then connect via USB-A to the DV232 port with some some of null modem? I'm basically not too sure if I can just use the ESP32-a3 or is just mentioned approach the last mentioned?

NB: The mother have two PCs running Linux and I'd like to access the first one and interact with it via a serial console. Neither of the PCs have a serial console. I have an ESP32-S3 (actually 3 incase I ruin any one of them). So I thought I'd setup the Kernel parameters to redirect logging to the ESP32-S3 serial port (labelled COM on the physical device), hoping that might work.

I tried adding the below to the Kernel boot parameters via /etc/default/grub and regenerated the boot menu and initramfs, and then rebooted.

console=tty0 console=ttyACM0,115200

I used ttyACM0 as this is what appears in /dev when I attach the device to my system.

Once I've rebooted nothing appears on the ESP32-S3 serial console.

  1. Does anyone know what I'm doing wrong?
  2. Is one ESP32-S3 sufficient to do what I'm trying to achieve?
  3. I suspect the parameters I'm passing to the command line aren't correct because I could find hardly any results where people are using "console=tty0 console=ttyACM0,115200".

Kind regards, Bana


Cross posted on https://esp32.com/viewtopic.php?t=47238 but I haven't seen a really}. Is this possible?. Aside from installing a PCIE serial adapter that exposes a, I Think, DB232 port which I then connect via USB-A to the DV232 port with some some of null modem? I'm basically not too sure if I can just use the ESP32-a3 or is just mentioned approach the last mentioned?

NB: The motherboard has an built COM1 Serial Port header, but I would like to achieve this u Sing ESP32-32. If possible