diff mbox

[3.18] ARM: exynos_defconfig: enable CONFIG_ROOT_NFS and dependencies

Message ID 33565d824a8fde35618fdfaa2205f437874aec6c.1517925184.git.guillaume.tucker@collabora.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Guillaume Tucker Feb. 6, 2018, 2 p.m. UTC
Enable CONFIG_ROOT_NFS and dependencies (CONFIG_NFS_*, CONFIG_IP_PNP)
in order to be able to boot the Exynos devices with NFS root.

Tested on exynos4412-odroidx2.

Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
---
 arch/arm/configs/exynos_defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Krzysztof Kozlowski Feb. 7, 2018, 9:32 a.m. UTC | #1
On Tue, Feb 6, 2018 at 3:00 PM, Guillaume Tucker
<guillaume.tucker@collabora.com> wrote:
> Enable CONFIG_ROOT_NFS and dependencies (CONFIG_NFS_*, CONFIG_IP_PNP)
> in order to be able to boot the Exynos devices with NFS root.
>
> Tested on exynos4412-odroidx2.
>
> Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> ---
>  arch/arm/configs/exynos_defconfig | 8 ++++++++
>  1 file changed, 8 insertions(+)
>

Instead, I think it is better to backport mainline commits which
synchronizes the history and follows the stable process (mainline ->
stable):
19f79ccf6d77409cd138bce8d ("ARM: exynos_defconfig: Enable options to
mount a rootfs via NFS")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=19f79ccf6d77409cd138bce8db206cdac7fd5ea7

1c1fb9b0c89a2506e556114c813 ("ARM: exynos_defconfig: Enable NFSv4 client")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c1fb9b0c89a2506e556114c813a606bc1508d49

Best regards,
Krzysztof


> diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
> index e21ef830a483..999ea477be54 100644
> --- a/arch/arm/configs/exynos_defconfig
> +++ b/arch/arm/configs/exynos_defconfig
> @@ -33,6 +33,10 @@ CONFIG_PACKET=y
>  CONFIG_UNIX=y
>  CONFIG_NET_KEY=y
>  CONFIG_INET=y
> +CONFIG_IP_PNP=y
> +CONFIG_IP_PNP_DHCP=y
> +CONFIG_IP_PNP_BOOTP=y
> +CONFIG_IP_PNP_RARP=y
>  CONFIG_RFKILL_REGULATOR=y
>  CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
>  CONFIG_DEVTMPFS=y
> @@ -170,6 +174,10 @@ CONFIG_TMPFS=y
>  CONFIG_TMPFS_POSIX_ACL=y
>  CONFIG_CRAMFS=y
>  CONFIG_ROMFS_FS=y
> +CONFIG_NFS_FS=y
> +CONFIG_NFS_V3_ACL=y
> +CONFIG_NFS_V4=y
> +CONFIG_ROOT_NFS=y
>  CONFIG_NLS_CODEPAGE_437=y
>  CONFIG_NLS_ASCII=y
>  CONFIG_NLS_ISO8859_1=y
> --
> 2.11.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index e21ef830a483..999ea477be54 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -33,6 +33,10 @@  CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_NET_KEY=y
 CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
 CONFIG_RFKILL_REGULATOR=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
@@ -170,6 +174,10 @@  CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CRAMFS=y
 CONFIG_ROMFS_FS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V4=y
+CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ASCII=y
 CONFIG_NLS_ISO8859_1=y