public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv
@ 2015-01-06 12:08 Waldemar Brodkorb
  2015-01-06 17:01 ` B.R. Oake
       [not found] ` <54AC14A6.2090102@openmailbox.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Waldemar Brodkorb @ 2015-01-06 12:08 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-07 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 12:08 [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv Waldemar Brodkorb
2015-01-06 17:01 ` B.R. Oake
2015-01-07 17:12   ` B.R. Oake
     [not found] ` <54AC14A6.2090102@openmailbox.org>
2015-01-07 12:17   ` Waldemar Brodkorb
2015-01-07 16:52     ` B.R. Oake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox