gemini: Generate padded kernel+rootfs images for DIR-685
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Mar 2019 18:16:43 +0000 (19:16 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 13 Mar 2019 15:25:36 +0000 (16:25 +0100)
commitac5f431ad13ad167f4a5f0814dfa69ab0438ea1a
treec2a1c480d028ac441ecc14d43b082299ca9f8dfb
parentb907097291af843f714139999c32107463b2ef4a
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>
target/linux/gemini/config-4.14
target/linux/gemini/config-4.19
target/linux/gemini/image/Makefile
target/linux/gemini/patches-4.19/0019-ARM-dts-gemini-Indent-DIR-685-partition-table.patch [new file with mode: 0644]
target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch [new file with mode: 0644]