2021-09-08 00:09:21

by Vineet Gupta

[permalink] [raw]
Subject: [PATCH] riscv: config: enable default defconfig to boot Hifive Unmatched

We need just a few options related to NLS when mouting boot partition
for Unmatched to boot off of mainline kernels.

Signed-off-by: Vineet Gupta <[email protected]>
---
arch/riscv/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 1f2be234b11c..fc9a4e0a9500 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -108,6 +108,8 @@ CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_ROOT_NFS=y
CONFIG_9P_FS=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_DEV_VIRTIO=y
CONFIG_PRINTK_TIME=y
--
2.30.2


2021-09-08 09:35:28

by Anup Patel

[permalink] [raw]
Subject: Re: [PATCH] riscv: config: enable default defconfig to boot Hifive Unmatched

+Heinrich

On Wed, Sep 8, 2021 at 5:23 AM Vineet Gupta <[email protected]> wrote:
>
> We need just a few options related to NLS when mouting boot partition
> for Unmatched to boot off of mainline kernels.
>
> Signed-off-by: Vineet Gupta <[email protected]>

This is exactly same as what Heinrich posted a month back.
https://www.spinics.net/lists/kernel/msg4041633.html

Regards,
Anup

> ---
> arch/riscv/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 1f2be234b11c..fc9a4e0a9500 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -108,6 +108,8 @@ CONFIG_NFS_V4_1=y
> CONFIG_NFS_V4_2=y
> CONFIG_ROOT_NFS=y
> CONFIG_9P_FS=y
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_ISO8859_1=y
> CONFIG_CRYPTO_USER_API_HASH=y
> CONFIG_CRYPTO_DEV_VIRTIO=y
> CONFIG_PRINTK_TIME=y
> --
> 2.30.2
>

2021-10-03 17:13:37

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH] riscv: config: enable default defconfig to boot Hifive Unmatched

On Tue, 07 Sep 2021 16:53:15 PDT (-0700), [email protected] wrote:
> We need just a few options related to NLS when mouting boot partition
> for Unmatched to boot off of mainline kernels.
>
> Signed-off-by: Vineet Gupta <[email protected]>
> ---
> arch/riscv/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 1f2be234b11c..fc9a4e0a9500 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -108,6 +108,8 @@ CONFIG_NFS_V4_1=y
> CONFIG_NFS_V4_2=y
> CONFIG_ROOT_NFS=y
> CONFIG_9P_FS=y
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_ISO8859_1=y
> CONFIG_CRYPTO_USER_API_HASH=y
> CONFIG_CRYPTO_DEV_VIRTIO=y
> CONFIG_PRINTK_TIME=y

Thanks, but it looks like someone else already sent these same config
enables.