* [PATCH] aspeed_defconfig: Enable SHMEM and TMPFS
@ 2016-05-20 7:29 Andrew Jeffery
2016-05-20 8:25 ` Cédric Le Goater
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Jeffery @ 2016-05-20 7:29 UTC (permalink / raw)
To: Joel Stanley; +Cc: OpenBMC, Andrew Jeffery, Cédric Le Goater
Without enabling these options we get strange behaviour under qemu,
where it appears uevents aren't generated to create device nodes for
ttyS{0,4,5}. As a consequence we don't receive a getty on the console.
Cédric narrowed down the list of options initially at [1],
and with a patch to the qemu timer model[2] we can retain the
CONFIG_NO_HZ_IDLE=y configuration.
[1] https://github.com/openbmc/qemu/issues/4
[2] https://lists.ozlabs.org/pipermail/openbmc/2016-May/003209.html
Cc: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
arch/arm/configs/aspeed_defconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/aspeed_defconfig b/arch/arm/configs/aspeed_defconfig
index cd4cdeb07fd9..f08064c64cb2 100644
--- a/arch/arm/configs/aspeed_defconfig
+++ b/arch/arm/configs/aspeed_defconfig
@@ -13,7 +13,7 @@ CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_LZ4 is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_BPF_SYSCALL=y
-# CONFIG_SHMEM is not set
+CONFIG_SHMEM=y
# CONFIG_AIO is not set
CONFIG_EMBEDDED=y
# CONFIG_COMPAT_BRK is not set
@@ -128,6 +128,9 @@ CONFIG_FIRMWARE_MEMMAP=y
CONFIG_FANOTIFY=y
CONFIG_OVERLAY_FS=y
CONFIG_CONFIGFS_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_TMPFS_XATTR=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_SUMMARY=y
CONFIG_NFS_FS=y
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] aspeed_defconfig: Enable SHMEM and TMPFS
2016-05-20 7:29 [PATCH] aspeed_defconfig: Enable SHMEM and TMPFS Andrew Jeffery
@ 2016-05-20 8:25 ` Cédric Le Goater
2016-05-25 0:22 ` Andrew Jeffery
0 siblings, 1 reply; 3+ messages in thread
From: Cédric Le Goater @ 2016-05-20 8:25 UTC (permalink / raw)
To: Andrew Jeffery, Joel Stanley; +Cc: OpenBMC
Joel,
We do need these for OpenBMC. Don't we ?
C.
On 05/20/2016 09:29 AM, Andrew Jeffery wrote:
> Without enabling these options we get strange behaviour under qemu,
> where it appears uevents aren't generated to create device nodes for
> ttyS{0,4,5}. As a consequence we don't receive a getty on the console.
>
> Cédric narrowed down the list of options initially at [1],
> and with a patch to the qemu timer model[2] we can retain the
> CONFIG_NO_HZ_IDLE=y configuration.
>
> [1] https://github.com/openbmc/qemu/issues/4
> [2] https://lists.ozlabs.org/pipermail/openbmc/2016-May/003209.html
>
> Cc: Cédric Le Goater <clg@kaod.org>
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
> ---
> arch/arm/configs/aspeed_defconfig | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/aspeed_defconfig b/arch/arm/configs/aspeed_defconfig
> index cd4cdeb07fd9..f08064c64cb2 100644
> --- a/arch/arm/configs/aspeed_defconfig
> +++ b/arch/arm/configs/aspeed_defconfig
> @@ -13,7 +13,7 @@ CONFIG_BLK_DEV_INITRD=y
> # CONFIG_RD_LZ4 is not set
> CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> CONFIG_BPF_SYSCALL=y
> -# CONFIG_SHMEM is not set
> +CONFIG_SHMEM=y
> # CONFIG_AIO is not set
> CONFIG_EMBEDDED=y
> # CONFIG_COMPAT_BRK is not set
> @@ -128,6 +128,9 @@ CONFIG_FIRMWARE_MEMMAP=y
> CONFIG_FANOTIFY=y
> CONFIG_OVERLAY_FS=y
> CONFIG_CONFIGFS_FS=y
> +CONFIG_TMPFS=y
> +CONFIG_TMPFS_POSIX_ACL=y
> +CONFIG_TMPFS_XATTR=y
> CONFIG_JFFS2_FS=y
> CONFIG_JFFS2_SUMMARY=y
> CONFIG_NFS_FS=y
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] aspeed_defconfig: Enable SHMEM and TMPFS
2016-05-20 8:25 ` Cédric Le Goater
@ 2016-05-25 0:22 ` Andrew Jeffery
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2016-05-25 0:22 UTC (permalink / raw)
To: Cédric Le Goater, Joel Stanley; +Cc: OpenBMC
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
On Fri, 2016-05-20 at 10:25 +0200, Cédric Le Goater wrote:
> Joel,
>
> We do need these for OpenBMC. Don't we ?
>
Just for completeness, Joel's opened up an issue against openbmc/linux
to track down what's going on here:
https://github.com/openbmc/linux/issues/85
Andrew
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-25 0:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 7:29 [PATCH] aspeed_defconfig: Enable SHMEM and TMPFS Andrew Jeffery
2016-05-20 8:25 ` Cédric Le Goater
2016-05-25 0:22 ` Andrew Jeffery
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.