Enable serial console in a production device

Hello,
I am using a CTI photon nano board with a Jetson Nano. I would like to enable serial console in a production image. I have tried using
Using balenaOS 4.0.9 with 4.9.299-l4t-r32.7.3
Supervisor version: 14.12.1

mount -o remount,rw /
systemctl enable serial-getty@serial0.service

Also put 'console=ttyS0,115200n8 ’ to enable in boot loader.

DEFAULT primary
TIMEOUT 10
MENU TITLE Boot Options
LABEL primary
      MENU LABEL primary boot/Image
      LINUX /boot/Image
      FDT default
     APPEND ${cbootargs} console=ttyS0,115200n8 ${resin_kernel_root} ro rootwait gasket.dma_bit_mask=32 pcie_aspm=off l4tver=32.7.3 ${os_cmdline} sdhci_tegra.en_boot_part_access=1

But still it doesn’t seem to be enabled. Any idea to make this work?

Thanks in advance.

Hello @berkayg thanks for your message!

Let me share this internally with our devices team to see how we can help you more!

Feel free to keep sharing the logs that you get!

Hi @berkayg, can you please check if enabling developmentMode in config.json opens a login prompt on the serial console?

1 Like

Yes enabling developmentMode in config.json started login prompt. There is no need to do anything else.

Huge thanks!

2 Likes