Re: [OpenWrt-Devel] x86 sysupgrade

2012-01-25 Thread Martin Roecker

Hi,

On 23.01.2012 07:28, Philip Prindeville wrote:

For those of us using x86-based platforms we'd like to have a way to

 do in-place upgrades without losing configuration state.

How do you perform your updates at the moment? I ask because the only 
way to write a new image to my Alix 2D13 ist to use dd. Sysupgrade (with 
and without keeping configfiles) does not write the image. This seems to 
be a problem only with the squashfs image.


Martin

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] x86 sysupgrade

2012-01-25 Thread Roberto Riggio
I'm actually using sysupgrade on an alix 2c board and it works. I'm not 
keeping the actual configuration instead i have a script that:


1. downloads a new configuration from a server (a tar.gz)
2. downloads the new image
3. runs sysupgrade with the option to use an external archive for the 
configuration


Basically is my way of doing a reset to factory configuration.

On 25/01/2012 15:58, Martin Roecker wrote:

Hi,

On 23.01.2012 07:28, Philip Prindeville wrote:

For those of us using x86-based platforms we'd like to have a way to

  do in-place upgrades without losing configuration state.

How do you perform your updates at the moment? I ask because the only
way to write a new image to my Alix 2D13 ist to use dd. Sysupgrade (with
and without keeping configfiles) does not write the image. This seems to
be a problem only with the squashfs image.

Martin

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



--

Roberto Riggio, Ph.D.
CREATE-NET
Network  Security Solutions for Pervasive Computing Systems (iNSPIRE)
Senior Researcher
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: roberto.rig...@create-net.org
Tel: (+39) 0461 408400 - interno/extension 708
Fax: (+39) 0461 421157
www.create-net.org/~rriggio


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited according to
the Italian Law 196/2003 of the Legislature. If you received this in
error, please contact the sender and delete the material from any
computer.

Le informazioni contenute in questo messaggio di posta elettronica e nei
file allegati sono da considerarsi strettamente riservate. Il loro
utilizzo e' consentito esclusivamente al destinatario del messaggio, per
le finalita' indicate nel messaggio stesso. Qualora riceveste questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla cancellazione del
messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalita' diverse, costituisce comportamento
contrario ai principi dettati dal D. Lgs. 196/2003.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] x86 sysupgrade

2012-01-25 Thread Philip Prindeville
On 1/25/12 7:58 AM, Martin Roecker wrote:
 Hi,
 
 On 23.01.2012 07:28, Philip Prindeville wrote:
 For those of us using x86-based platforms we'd like to have a way to
   do in-place upgrades without losing configuration state.
 
 How do you perform your updates at the moment? I ask because the only 
 way to write a new image to my Alix 2D13 ist to use dd. Sysupgrade (with 
 and without keeping configfiles) does not write the image. This seems to 
 be a problem only with the squashfs image.
 
 Martin

I use dd, and it blows away all of my configuration state...


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] x86 sysupgrade

2012-01-23 Thread Christoph Thielecke
Hello Philip,

 For those of us using x86-based platforms we'd like to have a way to do
 in-place upgrades without losing configuration state.
I use squashfs images on x86 within backfire 10.03 and saving config works for 
me (sysupgrade -v and webbased (webif)).

I not tested 10.03.1 or trunk on x86 yet but will do later.

 Would anyone be willing to work on this?  I might have a platform (like an
 Alix 2D13) I can contribute to the effort. I'd work on it, but don't know a
 lot about MTD, etc. But if someone is willing to walk me through it, I can
 make an attempt.
I can try find out your issue.


With best regards

Christoph
-- 
Linux User Group Wernigerode
http://www.lug-wr.de/


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] x86 sysupgrade

2012-01-22 Thread Philip Prindeville
For those of us using x86-based platforms we'd like to have a way to do 
in-place upgrades without losing configuration state.

I understand that (a) we are a smaller community, and (b) the sizing 
constraints of x86 platforms is very different than (say) a WRT54G-L... memory 
on a Alix or Geos is usually 128MB or better, and 256MB flash or better.

Would anyone be willing to work on this?  I might have a platform (like an Alix 
2D13) I can contribute to the effort. I'd work on it, but don't know a lot 
about MTD, etc. But if someone is willing to walk me through it, I can make an 
attempt.

Thanks,

-Philip
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel