barebox env userspace

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 5 03:18:59 EST 2014


On Tue, Feb 04, 2014 at 02:14:17PM +0000, Balasa, Bogdan wrote:
> Hi,
> Is not working when modifying in userspace the '/init/general' file, the line:
> 'global.boot.default=nand'
> to: 'global.boot.default=two'
> 
> and after reset barebox was not taking into account this change.
> I needed to enter in barebox abd send a saveenv in barebox such that the content of '/init/general'
> to be saved in the persistent storage (I think dev/env0).

I think the problem is that the variable is overwritten later, at least
that's what I rememember from the Phytec barebox. Try removing that file
and modify /env/config instead.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list