[U-Boot] access u-boot environment variables from kernel space

Steve Strobel steve.strobel at link-comm.com
Tue Dec 4 17:35:47 CET 2012


On 12/04/2012 07:24:51 AM, Yegor Yefremov wrote:

> On Tue, Dec 4, 2012 at 1:04 PM, Manukumar <manukumar at signal-networks.com**>
> 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


More information about the U-Boot mailing list