From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Strobel Date: Tue, 4 Dec 2012 09:35:47 -0700 Subject: [U-Boot] access u-boot environment variables from kernel space In-Reply-To: <1354638414.16710.1@snotra> References: <1349371267.15830.4@snotra> <1354622692.2569.82.camel@Manukumar> <1354638414.16710.1@snotra> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/04/2012 07:24:51 AM, Yegor Yefremov wrote: > On Tue, Dec 4, 2012 at 1:04 PM, Manukumar > wrote: > > Dear All, > > > > How to access u-boot environment variables from kernel space or user > > space in P1012 processor. Have you looked at fw_printenv? I get output like this from it: root:~> fw_printenv bootargs=root=/dev/mtdblock0 rw console=ttyBF0,115200 bootcmd=run flashboot bootdelay=2 Email me direct if you want my notes on setting it up. Steve -- Steve Strobel Link Communications, Inc. 1035 Cerise Rd Billings, MT 59101-7378 (406) 245-5002 ext 102 (406) 245-4889 (fax) WWW: http://www.link-comm.com MailTo:steve.strobel at link-comm.com