How to build fw_printenv and fw_setenv for LS1043ARDB LSDK1803?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to build fw_printenv and fw_setenv for LS1043ARDB LSDK1803?

1,247 Views
jintong_yan
Contributor II

Hi,

How to build fw_printenv and fw_setenv for LS1043ARDB LSDK1803?

1 Reply

1,003 Views
yipingwang
NXP TechSupport
NXP TechSupport

The commands fw_printenv and fw_setenv are integrated in the package u-boot-tools.

This package has already been included in "additional_packages_list" variable in configs/ubuntu/additional_packages_list_moderate, so fw_printenv and fw_setenv should be include in Ubuntu rootfs by default.

If you use tiny Ubuntu rootfs, please add "u-boot-tools" in the variable additional_packages_list in configs/ubuntu/additional_packages_list_tiny, then generate tiny Ubuntu rootfs with the following command.

$ flex-builder -i mkrfs -r ubuntu:tiny -a <arch>

In addition, on the target board you could run "apt-get install u-boot-tools" to install these commands, if you boot up the target board with Ubuntu rootfs filesystem.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------