[isar-cip-core,v3,1/6] kernel: add fat for qemu-amd64
diff mbox series

Message ID 20200724150147.8253-2-Quirin.Gylstorff@siemens.com
State Accepted
Headers show
Series
  • secureboot with efibootguard
Related show

Commit Message

Quirin Gylstorff July 24, 2020, 3:01 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Add a fat configuration to access FAT Partitions on the qemu-amd64
target.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 recipes-kernel/linux/files/qemu-amd64_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Jan Kiszka July 29, 2020, 4:47 p.m. UTC | #1
On 24.07.20 17:01, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> Add a fat configuration to access FAT Partitions on the qemu-amd64
> target.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>   recipes-kernel/linux/files/qemu-amd64_defconfig | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/recipes-kernel/linux/files/qemu-amd64_defconfig b/recipes-kernel/linux/files/qemu-amd64_defconfig
> index 7487152..5449317 100644
> --- a/recipes-kernel/linux/files/qemu-amd64_defconfig
> +++ b/recipes-kernel/linux/files/qemu-amd64_defconfig
> @@ -351,3 +351,9 @@ CONFIG_CRYPTO_DEV_CCP=y
>   # CONFIG_XZ_DEC_ARM is not set
>   # CONFIG_XZ_DEC_ARMTHUMB is not set
>   # CONFIG_XZ_DEC_SPARC is not set
> +CONFIG_MSDOS_FS=y
> +CONFIG_VFAT_FS=y
> +CONFIG_NLS_ASCII=y
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_ISO8859_1=y
> +CONFIG_NLS_UTF8=y
> 

Taking that for now, but we should quickly move that defconfig into 
cip-kernel-config. I'm not sure if there is anything for qemu already. 
Could you check an propose our defconfig for it?

Jan
Daniel Sangorrin July 30, 2020, 1:56 a.m. UTC | #2
> -----Original Message-----
> From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf Of Jan Kiszka
> Sent: Thursday, July 30, 2020 1:47 AM
> To: cip-dev@lists.cip-project.org; Quirin Gylstorff <quirin.gylstorff@siemens.com>
> Subject: Re: [cip-dev] [isar-cip-core PATCH v3 1/6] kernel: add fat for qemu-amd64
> 
> On 24.07.20 17:01, Quirin Gylstorff wrote:
> > From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> >
> > Add a fat configuration to access FAT Partitions on the qemu-amd64
> > target.
> >
> > Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> > ---
> >   recipes-kernel/linux/files/qemu-amd64_defconfig | 6 ++++++
> >   1 file changed, 6 insertions(+)
> >
> > diff --git a/recipes-kernel/linux/files/qemu-amd64_defconfig
> > b/recipes-kernel/linux/files/qemu-amd64_defconfig
> > index 7487152..5449317 100644
> > --- a/recipes-kernel/linux/files/qemu-amd64_defconfig
> > +++ b/recipes-kernel/linux/files/qemu-amd64_defconfig
> > @@ -351,3 +351,9 @@ CONFIG_CRYPTO_DEV_CCP=y
> >   # CONFIG_XZ_DEC_ARM is not set
> >   # CONFIG_XZ_DEC_ARMTHUMB is not set
> >   # CONFIG_XZ_DEC_SPARC is not set
> > +CONFIG_MSDOS_FS=y
> > +CONFIG_VFAT_FS=y
> > +CONFIG_NLS_ASCII=y
> > +CONFIG_NLS_CODEPAGE_437=y
> > +CONFIG_NLS_ISO8859_1=y
> > +CONFIG_NLS_UTF8=y
> >
> 
> Taking that for now, but we should quickly move that defconfig into cip-kernel-config. I'm not sure if there is anything for qemu already.
> Could you check an propose our defconfig for it?

I confirmed that cip-kernel-config's qemu config boots correctly with isar-cip-core's start_qemu.sh.
Shall i prepare a patch that removes the local one and picks up the one from cip-kernel-config.

Thanks,
Daniel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5056): https://lists.cip-project.org/g/cip-dev/message/5056
Mute This Topic: https://lists.cip-project.org/mt/75767901/4520428
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129116/1171672734/xyzzy  [patchwork-cip-dev@patchwork.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
Jan Kiszka July 30, 2020, 5:56 a.m. UTC | #3
On 30.07.20 03:56, daniel.sangorrin@toshiba.co.jp wrote:
>> -----Original Message-----
>> From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf Of Jan Kiszka
>> Sent: Thursday, July 30, 2020 1:47 AM
>> To: cip-dev@lists.cip-project.org; Quirin Gylstorff <quirin.gylstorff@siemens.com>
>> Subject: Re: [cip-dev] [isar-cip-core PATCH v3 1/6] kernel: add fat for qemu-amd64
>>
>> On 24.07.20 17:01, Quirin Gylstorff wrote:
>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>
>>> Add a fat configuration to access FAT Partitions on the qemu-amd64
>>> target.
>>>
>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>> ---
>>>    recipes-kernel/linux/files/qemu-amd64_defconfig | 6 ++++++
>>>    1 file changed, 6 insertions(+)
>>>
>>> diff --git a/recipes-kernel/linux/files/qemu-amd64_defconfig
>>> b/recipes-kernel/linux/files/qemu-amd64_defconfig
>>> index 7487152..5449317 100644
>>> --- a/recipes-kernel/linux/files/qemu-amd64_defconfig
>>> +++ b/recipes-kernel/linux/files/qemu-amd64_defconfig
>>> @@ -351,3 +351,9 @@ CONFIG_CRYPTO_DEV_CCP=y
>>>    # CONFIG_XZ_DEC_ARM is not set
>>>    # CONFIG_XZ_DEC_ARMTHUMB is not set
>>>    # CONFIG_XZ_DEC_SPARC is not set
>>> +CONFIG_MSDOS_FS=y
>>> +CONFIG_VFAT_FS=y
>>> +CONFIG_NLS_ASCII=y
>>> +CONFIG_NLS_CODEPAGE_437=y
>>> +CONFIG_NLS_ISO8859_1=y
>>> +CONFIG_NLS_UTF8=y
>>>
>>
>> Taking that for now, but we should quickly move that defconfig into cip-kernel-config. I'm not sure if there is anything for qemu already.
>> Could you check an propose our defconfig for it?
> 
> I confirmed that cip-kernel-config's qemu config boots correctly with isar-cip-core's start_qemu.sh.
> Shall i prepare a patch that removes the local one and picks up the one from cip-kernel-config.
> 

That would be good.

If needed, Quirin, please patch cip-kernel-config directly for these 
extra switches.

Jan

Patch
diff mbox series

diff --git a/recipes-kernel/linux/files/qemu-amd64_defconfig b/recipes-kernel/linux/files/qemu-amd64_defconfig
index 7487152..5449317 100644
--- a/recipes-kernel/linux/files/qemu-amd64_defconfig
+++ b/recipes-kernel/linux/files/qemu-amd64_defconfig
@@ -351,3 +351,9 @@  CONFIG_CRYPTO_DEV_CCP=y
 # CONFIG_XZ_DEC_ARM is not set
 # CONFIG_XZ_DEC_ARMTHUMB is not set
 # CONFIG_XZ_DEC_SPARC is not set
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_UTF8=y