From mboxrd@z Thu Jan 1 00:00:00 1970 From: B.R. Oake Date: Wed, 07 Jan 2015 17:12:22 +0000 Subject: [U-Boot] u-boot on raspberry pi with fw_printenv/fw_setenv In-Reply-To: <54AC14DA.3000006@openmailbox.org> References: <20150106120848.GH5040@waldemar-brodkorb.de> <54AC14DA.3000006@openmailbox.org> Message-ID: <54AD68F6.1010404@openmailbox.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/01/15 17:01, B.R. Oake wrote: > [...] > then you could configure fw_printenv and fw_setenv to act upon that > file by putting the following line in /etc/fw_env.config: > > uboot.env 0x0000 0x4000 0x4000 P.S. I realise now that the third column, 'Flash sector size', is actually unnecessary in the case of the regular file, so it should be omitted. Only the offset (zero) and the environment size are needed. Cheers, B.R.