diff options
author | Roman Yeryomin <roman@advem.lv> | 2018-05-04 18:18:51 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-05 06:57:00 +0200 |
commit | ce93b05bf1465b240366000f833e413c0b916125 (patch) | |
tree | dc739624fdf38918ab6ddde9f9bd66205fc20ceb /target/linux/gemini/config-4.14 | |
parent | 2c35bcffd080abaf1262d0afd905b04ea8696829 (diff) | |
download | upstream-ce93b05bf1465b240366000f833e413c0b916125.tar.gz upstream-ce93b05bf1465b240366000f833e413c0b916125.tar.bz2 upstream-ce93b05bf1465b240366000f833e413c0b916125.zip |
gemini: fix hard disk boot on D-Link devices
Since the D-Link devices boot from hard disk we need to
add the following changes to Gemini:
- Supply a bootarg in the device tree so we can boot from
the right partition (/dev/sda4 on DNS-313)
- Disable forced command line in config so the kernel picks
up the right bootargs from the device tree
- Enable EXT4 in the config as this is used for rootfs else
we get nowhere, we cannot load this as a module because,
well, it is supposed to be loaded from the root partition
(chicken and egg problem).
- Enable jbd2 and mbcache (needed by ext4)
Also clean out the premature attempts to dynamically
modify the command line in the Image makefile: we should
pass this with the device tree bootargs instead, it works
much better.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/gemini/config-4.14')
-rw-r--r-- | target/linux/gemini/config-4.14 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index 034bbcf605..88ec795d22 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -56,7 +56,6 @@ CONFIG_CLKDEV_LOOKUP=y CONFIG_CLKSRC_MMIO=y CONFIG_CLONE_BACKWARDS=y CONFIG_CMDLINE="console=ttyS0,19200n8" -CONFIG_CMDLINE_FORCE=y CONFIG_COMMON_CLK=y CONFIG_COMMON_CLK_GEMINI=y CONFIG_COMPACTION=y @@ -153,6 +152,7 @@ CONFIG_ELF_CORE=y # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_EXPERT is not set CONFIG_EXPORTFS=y +CONFIG_EXT4_FS=y CONFIG_FARADAY_FTINTC010=y CONFIG_FHANDLE=y CONFIG_FIRMWARE_IN_KERNEL=y @@ -160,6 +160,7 @@ CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y # CONFIG_FPE_FASTFPE is not set # CONFIG_FPE_NWFPE is not set +CONFIG_FS_MBCACHE=y CONFIG_FS_POSIX_ACL=y CONFIG_FTTMR010_TIMER=y CONFIG_FTWDT010_WATCHDOG=y @@ -255,6 +256,7 @@ CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_WORK=y # CONFIG_ISDN is not set +CONFIG_JBD2=y CONFIG_KALLSYMS=y CONFIG_KERNEL_LZMA=y # CONFIG_KERNEL_XZ is not set |