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.

NanoPi Neo 4 serial console - u-boot text unreadable. Works once booted.

Featured Replies

Hi,

 

I have deployed a NanoPi Neo 4 and for the most part, I'm happy with it, but am having a peculiar problem.

 

I am using the manufacturer-supplied serial console cable and USB adapter (via screen /dev/ttyUSBx 115200).  Once the machine is properly booted, if I hit enter, I get a serial console as normal.  However, I get garbage from u-boot (and presumably from the kernel boot messages).  It looks just as if I have a speed mismatch.

 

I have tried many other speeds (1500000, 230400, 57600, 38400, 19200, 9600) and none of these seem to work.

 

What am I doing wrong?  Or is the state of the box right now that u-boot sends garbage through the serial port?

 

I'm having a bit a problem with the box (it may be power-related) and being able to see the console would be a huge help.

 

Thanks!

 

Jim

  • Author
2 minutes ago, martinayotte said:

The RK3399 SoC is defaulted to 1500000 and the U-Boot too...

 

I tried that, and I still got garbage.  I'll give it another go, though.

  • Author

Confirmed, I get garbage at 1500000 bps as well.  I also tried 230400, 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 and 300, out of desperation.

 

The UART/USB adapter says it's USB 2.0 but lsusb -v shows it's only connected at 1.1 speeds.  I doubt this should matter - 1.1 can still handle 1.5Mbps - but thought I should mention it.

  • Author

I got it working by moving the USB cable to another machine.  Maybe it's some weird USB-port incompatibility with 1.5Mbps.  (It used to be plugged into an old ARM box - the box that the new NanoPi is replacing - but is now plugged into a Core 2 Duo desktop, also running Linux.)

 

I still don't get any kernel booting messages (any way to force this to happen?) but I see the u-boot messages, at least, and was able to diagnose my problem and get the NanoPi booted again.

  • Author
17 minutes ago, martinayotte said:

If you mean that you don't see any kernel logs after "starting kernel", make sure that /boot/armbianEnv.txt have "console=serial" and "verbosity=7" ...

That's exactly what I mean.  I'll make that tweak.  Thanks!

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.