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.

u-boot update from running system

Featured Replies

Hi there,

 

I got some NanoPi-NEO running and need to update the kernel, modules and dtb's.

 

With 4.18 the Ethernet does not seem to get started correctly.  I noticed a change in u-boot and the newer Armbian releases have Ethernet-Support in u-boot.

 

So my basic idea is to not just copy the kernel files but also update u-boot via dd command.

 

I suppose there are at least 3 regions in the image:

1. the partition table which I don't want to change.

2. the u-boot configuration which I'd like to keep.

3. the u-boot runtime.

 

So for #2 and #3 I'll need an image file. I'm trying to set-up a build environment for Armbian but what I'm probably missing is the offset and count parameters for dd.

 

Is there some kind of "HowTo update u-boot for H3" somewhere? Thanks for your help.

  • Author

I simply copied the uboot stuff from an existing image:

# dd if=mmcblk0_new of=/dev/mmcblk0 bs=1024 skip=8 seek=8 count=$((1024-8))

 

I got the numbers from http://linux-sunxi.org/Bootable_SD_card :

1 block = 1024 bytes (-> bs=1024)

first 8 blocks is MBR + partition-table (-> skip=8 seek=8)

first partition starts at 1024 blocks (-> count=$((1024-8)))

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.