cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sanghyun_kim
Observer
Observer
125 Views
Registered: ‎02-17-2020

How to edit u-boot environment variable on build time

i modified file "project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h" for define environment variables in u-boot.

 

#include <configs/xilinx_zynqmp.h>
#include <configs/platform-auto.h>

#define CONFIG_EXTRA_ENV_SETTINGS \
		"serverip=192.168.17.18\0"\
""

 

 

and execute command

petalinux-build -c u-boot -x cleanall
petalinux-build -c u-boot

 

but still "serverip" undefined.

 

*** ERROR: `serverip' not set

 

 

what is missing ?.

how to modify u-boot environment variable on build time? 

 

0 Kudos
0 Replies