From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Wed, 26 Aug 2009 12:34:04 +0200 Subject: [U-Boot] Hush - reading value from memory and setup variable Message-ID: <4A950F9C.2020606@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, I have in memory string/values whatever and I would like to setup some u-boot variables based on it directly from HUSH I mean for example to have there unique MAC addr and I would like to setup it in preboot. I am trying to find out any U-BOOT commands which could help me. But I am not sure if is even possible to do it directly from hush. Writing any specific C code is easy. Any ideas? Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian