[OpenWrt-Devel] Help with SysupgradeNAND
avalentin at marcant.net
Wed Jul 9 03:14:05 EDT 2014
I also noticed after upgrading that routers with jffs2 in ubi (rootfs_data) are not
supported anymore. The jffs2 is not mounted after an upgrade,
resulting in loss of configuration. I had to clear rootfs_data
to be able to mount it again as ubifs. That's okay if you know it!
I noticed a second issue. hostapd (running in some kind of dfs loop) was not killed
by sysupgrade nand. That resulted in breaking the upgrade. System rebooted with old image.
I personnaly added a check in sysupgrade if it runs below upgraded and if
that's true, I kill _all_ processes. If interested I could publish the patch.
A third point is the upgrade itself. I the rootfs image grows, and rootfs_data
has all the remaining space aligned, it will not work because rootfs cannot grow.
Perhaps rootfs_data should always be recreated in the update process. If interested
I could also supply a patch.
On 09.07.2014 09:02, John Crispin wrote:
> On 09/07/2014 08:42, Ben Mulvihill wrote:
>> Hello Daniel,
>> I have got SysupgradeNAND working on the BTHOMEHUBV2B with an
>> all-ubifs rootfs, with a patch which I'll submit in another email,
>> once I've recompiled with the latest trunk and made sure that
>> everything is working, but in the meantime I have a question: am I
>> right in thinking that the only type of overlay supported is
>> squashfs + ubifs, not squashfs + jffs2 ?
> ubifs is jffs3 essentially, a jffs2 with nand awareness added ...
> correct me if i am wrong ...
>> Ben _______________________________________________ openwrt-devel
>> mailing list openwrt-devel at lists.openwrt.org
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
Mit freundlichen Grüßen,
Projektkoordination / Systemadministration
MarcanT GmbH, Ravensberger Str. 10 G, D - 33602 Bielefeld
Fon: +49 (521) 95945-0 | Fax -18
URL: http://www.marcant.net | http://www.global-m2m.com
Geschäftsführer: Thorsten Hojas
Handelsregister: AG Bielefeld, HRB 35827 USt-ID Nr.: DE 190203238
The contents of this email are confidential to the ordinary user of the
email address to which it was addressed and may also be privileged. If
you are not the addressee of this email you may not copy, forward,
disclose or otherwise use it or any part of it in any form whatsoever.
If you have received this email in error please email the sender by
replying to this message.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel