aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/config-4.14
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-03-11 19:16:43 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-03-13 16:25:36 +0100
commitac5f431ad13ad167f4a5f0814dfa69ab0438ea1a (patch)
treec2a1c480d028ac441ecc14d43b082299ca9f8dfb /target/linux/gemini/config-4.14
parentb907097291af843f714139999c32107463b2ef4a (diff)
downloadupstream-ac5f431ad13ad167f4a5f0814dfa69ab0438ea1a.tar.gz
upstream-ac5f431ad13ad167f4a5f0814dfa69ab0438ea1a.tar.bz2
upstream-ac5f431ad13ad167f4a5f0814dfa69ab0438ea1a.zip
gemini: Generate padded kernel+rootfs images for DIR-685
We currently generate a kernel that boots from the harddrive in the DIR-685. That's not how we usually do things, so let's augment it to boot from flash and mount the rootfs using squashfs and JFFS2 like everyone else. Partition splitting only work when the partitions are inside of a "partitions" node which is why we have a patch like this (submitted upstream). Another patch drops the rootfs arguments and renames the firmware partition while adding the compatible "wrg" to it so the WRGG parser will kick in. Factory image was tested by bravely reflashing the DIR-685 from stock firmware using the web UI and the serial console boot loader. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target/linux/gemini/config-4.14')
-rw-r--r--target/linux/gemini/config-4.142
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14
index 326b05c089..ef5900771e 100644
--- a/target/linux/gemini/config-4.14
+++ b/target/linux/gemini/config-4.14
@@ -277,6 +277,8 @@ CONFIG_MTD_CFI_STAA=y
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_OF_GEMINI=y
+CONFIG_MTD_SPLIT_FIRMWARE=y
+CONFIG_MTD_SPLIT_WRGG_FW=y
CONFIG_MULTI_IRQ_HANDLER=y
CONFIG_NAMESPACES=y
CONFIG_NEED_DMA_MAP_STATE=y