Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1357 - ipq806x: sysupgrade not working correctly on AVM FritzBox 4040 #6758

Closed
openwrt-bot opened this issue Feb 13, 2018 · 2 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

blocktrron:

Sysupgrade on the FritzBox 4040 is currently not working as expected.

sysupgrade -n with the version currently present on the device results in the device updating the system, but not erasing the current config. The Device comes up with its previous config loaded.

Flashing other versions on the device results in sysupgrade sometimes deleting the config, sometimes not. The same goes for a standard sysupgrade Sometimes the device preserves the configuration, sometimes its erased.

Also the kernel and rootfs partition do not seem to be correctly aligned:

[ 0.778675] 13 ofpart partitions found on MTD device spi0.0 [ 0.783585] Creating 13 MTD partitions on "spi0.0": [ 0.788940] 0x000000000000-0x000000040000 : "SBL1" [ 0.794947] 0x000000040000-0x000000060000 : "MIBIB" [ 0.799695] 0x000000060000-0x0000000c0000 : "QSEE" [ 0.804513] 0x0000000c0000-0x0000000d0000 : "CDT" [ 0.809193] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS" [ 0.814056] 0x0000000e0000-0x0000000f0000 : "APPSBLENV" [ 0.819034] 0x0000000f0000-0x0000003cc000 : "urlader" [ 0.824345] 0x00000011dc00-0x000000120000 : "urlader_config" [ 0.829619] 0x000000120000-0x0000001a0000 : "tffs1" [ 0.835307] 0x0000001a0000-0x000000220000 : "tffs2" [ 0.839857] 0x000000220000-0x0000002a0000 : "uboot" [ 0.844766] 0x0000002a0000-0x000001f00000 : "firmware" [ 0.849880] 2 fit-fw partitions found on MTD device firmware [ 0.853813] 0x0000002a0000-0x0000004a0000 : "kernel" [ 0.860651] 0x00000049919c-0x000001f00000 : "rootfs" [ 0.865536] mtd: device 13 (rootfs) set to be root filesystem [ 0.869664] 1 squashfs-split partitions found on MTD device rootfs [ 0.875162] 0x000000750000-0x000001f00000 : "rootfs_data" [ 0.882193] 0x000001f00000-0x000002000000 : "jffs2"
@openwrt-bot
Copy link
Author

karlp:

Suspect this is the same as reported here, https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg42296.html but I've been unable to find out what fix Felix is reporting.

@openwrt-bot
Copy link
Author

chunkeey:

this was fixed long ago by the reporter David Bauer:

[[https://github.com/openwrt/openwrt/commit/9f437b2cf32868fe4fe09c54feaec1ca2a69537b|ipq40xx: remove block- and pagesize from FB4040]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant