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(+)
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
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/?i...
1c1fb9b0c89a2506e556114c813 ("ARM: exynos_defconfig: Enable NFSv4 client") https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i...
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
From: Javier Martinez Canillas javier.martinez@collabora.co.uk
commit 19f79ccf6d77409cd138bce8db206cdac7fd5ea7 upstream.
This patch enables the options to mount a rootfs over NFS and also support for automatic configuration of IP addresses during boot as needed by NFS.
Signed-off-by: Javier Martinez Canillas javier.martinez@collabora.co.uk Signed-off-by: Kukjin Kim kgene@kernel.org Signed-off-by: Guillaume Tucker guillaume.tucker@collabora.com --- arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index e21ef830a483..e94402c05975 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,8 @@ CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_CRAMFS=y CONFIG_ROMFS_FS=y +CONFIG_NFS_FS=y +CONFIG_ROOT_NFS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y
From: Krzysztof Kozlowski k.kozlowski@samsung.com
commit 1c1fb9b0c89a2506e556114c813a606bc1508d49 upstream.
NFS client is already enabled (NFS_FS) and by default it enables clients for version 2 and 3. Enable explicitly the version 4 client to utilize the newer protocol.
The NFS client is especially useful for testing kernel in automated environments (network boot with network file system).
Signed-off-by: Krzysztof Kozlowski k.kozlowski@samsung.com Reviewed-by: Javier Martinez Canillas javier@osg.samsung.com Signed-off-by: Guillaume Tucker guillaume.tucker@collabora.com --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index e94402c05975..8cd6eae4e89b 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -175,6 +175,7 @@ CONFIG_TMPFS_POSIX_ACL=y CONFIG_CRAMFS=y CONFIG_ROMFS_FS=y CONFIG_NFS_FS=y +CONFIG_NFS_V4=y CONFIG_ROOT_NFS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y
On Wed, Feb 7, 2018 at 11:21 AM, Guillaume Tucker guillaume.tucker@collabora.com wrote:
From: Krzysztof Kozlowski k.kozlowski@samsung.com
commit 1c1fb9b0c89a2506e556114c813a606bc1508d49 upstream.
NFS client is already enabled (NFS_FS) and by default it enables clients for version 2 and 3. Enable explicitly the version 4 client to utilize the newer protocol.
The NFS client is especially useful for testing kernel in automated environments (network boot with network file system).
Signed-off-by: Krzysztof Kozlowski k.kozlowski@samsung.com Reviewed-by: Javier Martinez Canillas javier@osg.samsung.com Signed-off-by: Guillaume Tucker guillaume.tucker@collabora.com
arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)
FWIW: Reviewed-by: Krzysztof Kozlowski krzk@kernel.org
Best regards, Krzysztof
On Wed, Feb 7, 2018 at 11:21 AM, Guillaume Tucker guillaume.tucker@collabora.com wrote:
From: Javier Martinez Canillas javier.martinez@collabora.co.uk
commit 19f79ccf6d77409cd138bce8db206cdac7fd5ea7 upstream.
This patch enables the options to mount a rootfs over NFS and also support for automatic configuration of IP addresses during boot as needed by NFS.
Signed-off-by: Javier Martinez Canillas javier.martinez@collabora.co.uk Signed-off-by: Kukjin Kim kgene@kernel.org Signed-off-by: Guillaume Tucker guillaume.tucker@collabora.com
arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)
Reviewed-by: Krzysztof Kozlowski krzk@kernel.org
Best regards, Krzysztof
linux-stable-mirror@lists.linaro.org