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 saveenv issue

Featured Replies

Hi,

 

I built a fresh Armbian Image from scratch (using Armbian build system). After that I used Etcher to burn .img file to SD card. Everything works great, but U-Boot shows, that there is no environment. I used saveenv and fixed a problem. Then I installed Armbian into internal memory (eMMC), same message about environment, I tried fix it same way, using saveenv, but I get only  an error message and infinite loop. Screenshot attached. How I can fix that?

 

13.png

 

UPD: My board - Orange Pi Zero Plus 2

 

Kind regards

41 minutes ago, BreadLee said:

I built a fresh Armbian Image from scratch

 

... which uses new u-boot 2018.06 where boot environment is/must be saved to a file system. I think the location of env file is hard encoded ... well, you find a bug.

 

If you have time, check if https://github.com/armbian/build/blob/master/lib/compilation.sh#L157 changing to 

CONFIG_ENV_EXT4_DEVICE_AND_PART="auto:auto"

helps.

  • Author
1 hour ago, Igor said:

 

... which uses new u-boot 2018.06 where boot environment is/must be saved to a file system. I think the location of env file is hard encoded ... well, you find a bug.

 

If you have time, check if https://github.com/armbian/build/blob/master/lib/compilation.sh#L157 changing to 


CONFIG_ENV_EXT4_DEVICE_AND_PART="auto:auto"

helps.

Igor, thank you for your reply. 

I will check it right now.

4 hours ago, Igor said:

CONFIG_ENV_EXT4_DEVICE_AND_PART="auto:auto"

 

"auto" is not implemented for the device identifier, only for the partition number.

Though in theory it is possible to use (sunxi specific) boot device ID from the SPL header, but unless someone writes and tests this we are stuck with fixed device IDs.

  • Author
On 7/27/2018 at 8:40 PM, zador.blood.stained said:

Though in theory it is possible to use (sunxi specific) boot device ID from the SPL header

 

May you tell more about your idea? 

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.