openwrtv3/target
Rafał Miłecki f98fde2db4 Revert "kernel: use add_mtd_partitions() helper when using OpenWrt parsers"
This reverts commit 7e88753ace.

Using subpartitions (hierarchical layout) resulted in calling MTD ops of
parent partition instead of master device ops. That was expected and
should work but testing revealed some bugs.

Apparently the way MTD_ERASE_PARTIAL is implemented in the OpenWrt
breaks something and using parent partition ops triggers using that
code.

On SmartRG SR400ac it was resulting in:
[  225.487519] jffs2: Erase at 0x01ac0000 failed immediately: errno -22
on the second boot (for some reason erasing was starting over) and it
was breaking flash access in a long term.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-12-03 15:50:26 +01:00
..
imagebuilder imagebuilder: manifest function show stderr 2018-08-06 06:54:42 +02:00
linux Revert "kernel: use add_mtd_partitions() helper when using OpenWrt parsers" 2018-12-03 15:50:26 +01:00
sdk sdk: find kernel modules when KDIR is a symlink 2018-11-29 09:36:14 +01:00
toolchain merge: etc: update remaining files 2017-12-08 19:41:18 +01:00
Config.in build: add support for enabling the rootfs/boot partition size option via target feature 2018-09-03 12:06:24 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00