mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* (no subject)
@ 2018-10-29 17:53 Mihaita Ivascu
  2018-10-30  7:39 ` your mail Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Mihaita Ivascu @ 2018-10-29 17:53 UTC (permalink / raw)
  To: barebox

Hello,

     I am working with barebox 2018.04 version. I would like to create
a script file that can be present initially in the new barebox image
and then modified and saved by users.
     What is the best solution?
     Creating a separate partition in NAND and there put a sh file in
the barebox yocto recipe?
     I don't know how to create it from barebox shell and where to
save it so it can pe persistent after reset.

Thanks,
       Mihaita

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: your mail
  2018-10-29 17:53 Mihaita Ivascu
@ 2018-10-30  7:39 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-10-30  7:39 UTC (permalink / raw)
  To: Mihaita Ivascu; +Cc: barebox

Hi,

On Mon, Oct 29, 2018 at 06:53:55PM +0100, Mihaita Ivascu wrote:
> Hello,
> 
>      I am working with barebox 2018.04 version. I would like to create
> a script file that can be present initially in the new barebox image
> and then modified and saved by users.

You can put it to defaultenv/defaultenv-2-base/ in the barebox source
tree. It should be available in /env then later.

The barebox source tree contains a tool to read/write the environment
from Linux later.

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-30  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-29 17:53 Mihaita Ivascu
2018-10-30  7:39 ` your mail Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox