Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable logging from printing on the serial console

Featured Replies

I am using the latest Armbian Noble image (version 6.6.8) on my Banana Pi CM4. For my application, I am utilizing the Linux UART (/dev/ttyAML0), which is currently printing dmesg logs on this port. Is there a way I can disable dmesg debug logging and exclusively use /dev/ttyAML0 for my application?

 

Thanks.

The linux kernel has a command line option that sets the device to use as console. I believe it is possible to change the kernel command line by editing /boot/extlinux/extlinux.conf. Mine has 'console=ttyS02,1500000' in it, which is a serial console. Removing that should at least stop the kernel from printing messages to that serial port. There probably is a better way to configure this (I don't even know if editing extlinux.conf will do the trick). I see armbian-config documentation mentions a 'bootenv' option under 'system', but I don't see that when I run armbian-config on my board.

 

Apart from the kernel, there is likely also a login session configured to run on the serial port. You need to disable that separately:

 

When I `systemctl | grep getty` I can see there's a service running with the name 'serial-getty@ttyS2.service', disabling that should stop the serial logon console.

 

systemctl disable serial-getty@ttyS2.service

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.