Can i access the barebox env from linux

Ashutosh Singh embedded.ashu at gmail.com
Wed Mar 26 01:55:07 EDT 2014


Dear All,

Can i access the barebox env from linux.
Once the kernel boot if i want to create a directory and store some parameter
in default barebox /env folder without going to barebox from kernel.
For Eg.
I booted the board i get the linux promt and depending on some condition
i want to update the barebox env and create a directory in /env so the
next time
when barebox is loading the kernel image it can check that directory
and according
to that it can select the kernel from any source such as mmc, nand, nor, tftp.

What i observe that after the kernel boot i can see the barebox.env is
mounted as mtdblock5 (case of Nand)
now according to my understanding can i mount this partition modify
with my custom directory
and again boot so that this directory is available in barebox /env .

Thanks
Ashu



More information about the barebox mailing list