From mboxrd@z Thu Jan 1 00:00:00 1970 From: mcj00_rubbish at f-m.fm Date: Fri, 04 Jul 2008 11:03:29 +0100 Subject: [U-Boot-Users] Reading memory into environment variable Message-ID: <1215165809.22831.1261837119@webmail.messagingengine.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I wish to read the kernel command line parameters in from a disk file located e.g. on a FAT file system. My current idea is to implement it like this: 1. Read disk file into RAM 2. Implement custom "mem2env" command to read memory into environment variable, with destination variable as ${bootargs} As far as I can see, I am not reinventing any wheels by doing this, but does anyone know a better way? Thanks & regards, Martin