From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waldemar Brodkorb Date: Tue, 6 Jan 2015 13:08:48 +0100 Subject: [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv Message-ID: <20150106120848.GH5040@waldemar-brodkorb.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Developers, I am looking for a way to change u-boot environment from Linux on a Raspberry PI. I have fw_printenv/fw_setenv, but I have no clue how the config file looks like, when using uboot.env as a file on the first vfat partition. I am not sure, but it looks like there is no code to use fw_printenv/fw_setenv with files. rpi.h from git sets: #define CONFIG_ENV_SIZE SZ_16K #define CONFIG_ENV_IS_IN_FAT #define FAT_ENV_INTERFACE "mmc" #define FAT_ENV_DEVICE_AND_PART "0:1" #define FAT_ENV_FILE "uboot.env" This works fine when I use savenv inside of u-boot shell. What do I miss? best regards Waldemar