barebox env userspace
Balasa, Bogdan
BBalasa at Morganschaffer.com
Wed Feb 5 10:42:21 EST 2014
Hi,
I modified '/env/config' instead of 'init/general' and deleted 'init/general' and it works.
Thank you,
Bogdan
-----Message d'origine-----
De : Sascha Hauer [mailto:s.hauer at pengutronix.de]
Envoyé : February-05-14 3:19 AM
À : Balasa, Bogdan
Cc : barebox at lists.infradead.org
Objet : Re: barebox env userspace
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