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.

RockPi4 won't restart or boot when UART2 is used (Console reconfigured already) and receives bytes on RX (GPIO header Pin 10) - Need a U-boot that requires atypical and specific keypress to stop Autoboot

Featured Replies

U-boot defaults to "In: serial" and also listens for packets (its assumed that its a keyboard/terminal) so that a keypress can stop autoboot.

I am successfully using /dev/ttyS2 after modifying /boot/armbianEnv.txt (Console=Display) and masking the gettyS2 service. The device/system I have connected to UART2 (/dev/ttyS2) periodically sends bytes.
 

Thus, if a remote restart or a cold boot is performed (power glitch or power reset) while that system is connected to UART2, it triggers the abort of Autoboot. Requiring the other system/device to be disconnected from UART2, a cold boot of the RockPi4 and then reconnection of the system/device to UART2.

 

I don't see any standard way to reconfigure things to avoid use of UART2 during U-boot and of course its useful for dealing with real issues to be able to interrupt autoboot and then interactively control what happens.

 

Hence the best solution I can see would be for there to be a change to the armbian u-boot to look for a specific key or key sequence rather than just any old key/byte that hits the UART2 RX.

Perhaps there could even be a parameter added for use in armbianEnv.txt that allows the abort Autoboot key or key sequence to be defined/redefined ?

Thanks for any/all assistance

Guest
This topic is now closed to further replies.

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.