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.

[solved] Netbooting Rockpi 4B (blue LED flashing faster?)

Featured Replies

Hi All, thanks for this great project, much appreciated!

 

Could someone give me an educated guess whether there is a risk of damaging my board when the blue LED is flashing much faster (at least twice, probably more) than usual? I suspect something is changing the frequency or voltage and I'm not sure how much time I can take in this state to try to analyze the problem further. For now I unplug the power when it happens.


I'm trying to netboot my Rock Pi 4B v1.4 with the current or dev branches of buster minimal nfsboot, with no local storage at all (just the SPI flash for u-boot). The legacy 4.4 hangs at very early boot (couldn't get clock / Failed to get pclk) so I gave up on that, but it does work fine when running from an SD card.

 

With the vanilla rootfs.tgz for 5.4.y/5.5.y extracted on the NFS server the boot process waits for 90 seconds trying to mount a device by UUID on /boot. Then I get the maintenance prompt where I can login with the default root password and all is relatively fine and working.

 

I commented out the offending line in /etc/fstab. Now when I reboot, the board seems to hang somewhere in the boot process (I see the mount of root on the NFS server logs, the last messages on the monitor are "Started Serial Getty on ttyS2." and "Started Getty on tty1."; the last messages on the serial console are "[   55.471075] systemd[1]: Reached target Swap." and "[   55.471789] random: systemd: uninitialized urandom read (16 bytes read)") and then the frequency of the blue LED slowly (over the course of 10-15 seconds or so?) increases to at least twice as fast. Any ideas what causes this and what it means?


Thanks,
Arjan

  • Author

I solved my issue! I isolated it to the set_fixed_mac call in the armbian-firstrun service, specifically after the "nmcli connection down <uuid>" call.

 

I use ip=dhcp in my kernel command line and at this point the root filesystem is mounted over the active ethernet connection. I don't really understand the purpose of set_fixed_mac, but bringing the connection down is not going to work with nfsroot. I've commented out that set_fixed_mac call and now everything seems to work. Happy days!

  • TRS-80 changed the title to [solved] Netbooting Rockpi 4B (blue LED flashing faster?)

I slightly modified the title as I think the lights flashing were a symptom, not the main point of the thread. I also marked it [solved].

 

Thanks for reporting back the solution. This may help someone else in the future.

 

EDIT: This sounds like it may be general enough to move to Common Issues. But I am not certain so I leave it here in RK3399 sub-forum for now. If someone else later finds this method to work on other hardware / chipset, please add your feedback and I will move it to Common Issues sub-forum. Thanks.

Edited by TRS-80
add last bit

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.