mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Manipulating boot environment from user-space
@ 2011-02-06 14:06 Boaz Ben-David
  2011-02-06 14:34 ` Baruch Siach
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Ben-David @ 2011-02-06 14:06 UTC (permalink / raw)
  To: barebox

Hi,

Is there a way to change values in the environment used by barebox
after booting? e.g. already in the linux user space of device booted?

Thanks,

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

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

* Re: Manipulating boot environment from user-space
  2011-02-06 14:06 Manipulating boot environment from user-space Boaz Ben-David
@ 2011-02-06 14:34 ` Baruch Siach
  2011-02-06 14:43   ` Boaz Ben-David
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Baruch Siach @ 2011-02-06 14:34 UTC (permalink / raw)
  To: Boaz Ben-David; +Cc: barebox

Hi Boaz,

On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
> Is there a way to change values in the environment used by barebox
> after booting? e.g. already in the linux user space of device booted?

Use the bareboxenv utility. See scripts/bareboxenv.c.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

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

* Re: Manipulating boot environment from user-space
  2011-02-06 14:34 ` Baruch Siach
@ 2011-02-06 14:43   ` Boaz Ben-David
  2011-02-06 14:56   ` Boaz Ben-David
  2011-02-06 16:36   ` Belisko Marek
  2 siblings, 0 replies; 8+ messages in thread
From: Boaz Ben-David @ 2011-02-06 14:43 UTC (permalink / raw)
  To: baruch; +Cc: barebox

This is exactly what I was looking for, thanks.
Now I need to make it cross-compile...

On Sun, 2011-02-06 at 16:34 +0200, Baruch Siach wrote:
> Hi Boaz,
> 
> On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
> > Is there a way to change values in the environment used by barebox
> > after booting? e.g. already in the linux user space of device booted?
> 
> Use the bareboxenv utility. See scripts/bareboxenv.c.
> 
> baruch
> 
> -- 
>                                                      ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

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

* Re: Manipulating boot environment from user-space
  2011-02-06 14:34 ` Baruch Siach
  2011-02-06 14:43   ` Boaz Ben-David
@ 2011-02-06 14:56   ` Boaz Ben-David
  2011-02-06 16:36   ` Belisko Marek
  2 siblings, 0 replies; 8+ messages in thread
From: Boaz Ben-David @ 2011-02-06 14:56 UTC (permalink / raw)
  To: baruch; +Cc: barebox

Nevermind, simple enough...

just arm-none-linux-gnueabi-gcc bareboxenv.c -o bareboxenv

Thanks.

On Sun, 2011-02-06 at 16:34 +0200, Baruch Siach wrote:
> Hi Boaz,
> 
> On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
> > Is there a way to change values in the environment used by barebox
> > after booting? e.g. already in the linux user space of device booted?
> 
> Use the bareboxenv utility. See scripts/bareboxenv.c.
> 
> baruch
> 
> -- 
>                                                      ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

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

* Re: Manipulating boot environment from user-space
  2011-02-06 14:34 ` Baruch Siach
  2011-02-06 14:43   ` Boaz Ben-David
  2011-02-06 14:56   ` Boaz Ben-David
@ 2011-02-06 16:36   ` Belisko Marek
  2011-02-07 12:52     ` Boaz Ben-David
  2 siblings, 1 reply; 8+ messages in thread
From: Belisko Marek @ 2011-02-06 16:36 UTC (permalink / raw)
  To: Baruch Siach; +Cc: barebox

On Sun, Feb 6, 2011 at 3:34 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Boaz,
>
> On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
>> Is there a way to change values in the environment used by barebox
>> after booting? e.g. already in the linux user space of device booted?
>
> Use the bareboxenv utility. See scripts/bareboxenv.c.
Shouldn't make sense add this utility to busybox?>
> baruch
>
> --
>                                                     ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>

thanks,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

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

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

* Re: Manipulating boot environment from user-space
  2011-02-06 16:36   ` Belisko Marek
@ 2011-02-07 12:52     ` Boaz Ben-David
  2011-02-07 13:00       ` Baruch Siach
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Ben-David @ 2011-02-07 12:52 UTC (permalink / raw)
  To: marek.belisko; +Cc: barebox

I think that would be nice.

On Sun, 2011-02-06 at 17:36 +0100, Belisko Marek wrote:
> On Sun, Feb 6, 2011 at 3:34 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> > Hi Boaz,
> >
> > On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
> >> Is there a way to change values in the environment used by barebox
> >> after booting? e.g. already in the linux user space of device booted?
> >
> > Use the bareboxenv utility. See scripts/bareboxenv.c.
> Shouldn't make sense add this utility to busybox?>
> > baruch
> >
> > --
> >                                                     ~. .~   Tk Open Systems
> > =}------------------------------------------------ooO--U--Ooo------------{=
> >   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> >
> > _______________________________________________
> > barebox mailing list
> > barebox@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> >
> 
> thanks,
> 
> marek
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> icq: 290551086
> web: http://open-nandra.com

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

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

* Re: Manipulating boot environment from user-space
  2011-02-07 12:52     ` Boaz Ben-David
@ 2011-02-07 13:00       ` Baruch Siach
  2011-02-07 13:06         ` Belisko Marek
  0 siblings, 1 reply; 8+ messages in thread
From: Baruch Siach @ 2011-02-07 13:00 UTC (permalink / raw)
  To: Boaz Ben-David; +Cc: barebox

Hi Boaz, Belisko,

On Mon, Feb 07, 2011 at 02:52:21PM +0200, Boaz Ben-David wrote:
> I think that would be nice.

Patches are very much welcome at busybox@busybox.net.

baruch

> On Sun, 2011-02-06 at 17:36 +0100, Belisko Marek wrote:
> > On Sun, Feb 6, 2011 at 3:34 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> > > Hi Boaz,
> > > On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
> > >> Is there a way to change values in the environment used by barebox
> > >> after booting? e.g. already in the linux user space of device booted?
> > >
> > > Use the bareboxenv utility. See scripts/bareboxenv.c.
> > Shouldn't make sense add this utility to busybox?>
> > > baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

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

* Re: Manipulating boot environment from user-space
  2011-02-07 13:00       ` Baruch Siach
@ 2011-02-07 13:06         ` Belisko Marek
  0 siblings, 0 replies; 8+ messages in thread
From: Belisko Marek @ 2011-02-07 13:06 UTC (permalink / raw)
  To: Baruch Siach; +Cc: barebox

Hi Baruch,

On Mon, Feb 7, 2011 at 2:00 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Boaz, Belisko,
>
> On Mon, Feb 07, 2011 at 02:52:21PM +0200, Boaz Ben-David wrote:
>> I think that would be nice.
>
> Patches are very much welcome at busybox@busybox.net.
OK will work on it ;)
>
> baruch
>
>> On Sun, 2011-02-06 at 17:36 +0100, Belisko Marek wrote:
>> > On Sun, Feb 6, 2011 at 3:34 PM, Baruch Siach <baruch@tkos.co.il> wrote:
>> > > Hi Boaz,
>> > > On Sun, Feb 06, 2011 at 04:06:56PM +0200, Boaz Ben-David wrote:
>> > >> Is there a way to change values in the environment used by barebox
>> > >> after booting? e.g. already in the linux user space of device booted?
>> > >
>> > > Use the bareboxenv utility. See scripts/bareboxenv.c.
>> > Shouldn't make sense add this utility to busybox?>
>> > > baruch
>
> --
>                                                     ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>

thanks,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

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

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

end of thread, other threads:[~2011-02-07 13:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 14:06 Manipulating boot environment from user-space Boaz Ben-David
2011-02-06 14:34 ` Baruch Siach
2011-02-06 14:43   ` Boaz Ben-David
2011-02-06 14:56   ` Boaz Ben-David
2011-02-06 16:36   ` Belisko Marek
2011-02-07 12:52     ` Boaz Ben-David
2011-02-07 13:00       ` Baruch Siach
2011-02-07 13:06         ` Belisko Marek

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