Re: Specify where to save Barebox env

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 19, 2015 at 08:32:54PM +0000, Boulais, Marc-Andre wrote:
> The system I am working on requires to boot from the SD card. However,
> the Linux application needs to have the ability to change boot
> parameters to set the location of the kernel and rootfs for the next
> boot. I was planning on making the Linux application use the
> bareboxenv-target tool to map the Barebox environment and then modify
> variables accordingly. 
> 
> From what I understand, this is possible when the environment is in
> NAND. Is it also true if the env. is on the SD card (barebox.env file)
> ? if so, how is it done ?

You have to mount the partition containing the environment before using
the bareboxenv tool.

BTW you to always store the environment on Nand you would have to
comment out the omap_env_init function.

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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux