AnsweredAssumed Answered

How to modify U-boot configuration in Linux user space

Question asked by Elias Bitbaker on Sep 26, 2019
Latest reply on Oct 6, 2019 by Pavel Chubakov

I want to change the u-boot variable in the linux userspace instead of the u-boot prompt window before starting kernel.


I am using lsdk1906 and my kernel is 4.19. I am booting from SD card.


I heard there is a way to do that by downloading the u-boot-tools



After I run "apt-get install u-boot-tools"  

then I perform fw_printenv in the linux it tells me that 

Cannot parse config file '/etc/fw_env.config': No such file or directory



I checked this link:

Accessing U-Boot environment variables from Linux - ArmadeusWiki 

I need to know 

# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors

I do not know what is the value of the location of my uboot.


Can anyone help?