arm: bcm2835: enable proc and sysfs in defconfig
Subsystems (3)
PATCH 1/1 arm: bcm2835: enable proc and sysfs in defconfig
For some reason, support for proc and sysfs is currently disabled in the bcm2835_defconfig, even though those filesystems are quite essential even for very basic Linux userspace. As most defconfig have them enabled by default, enable them as well in bcm2835_defconfig.
--- arch/arm/configs/bcm2835_defconfig | 2 -- 1 file changed, 2 deletions(-)
arch/arm/configs/bcm2835_defconfig +0 -2
@@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y # CONFIG_FILE_LOCKING is not set # CONFIG_DNOTIFY is not set # CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_FS is not set -# CONFIG_SYSFS is not set # CONFIG_MISC_FILESYSTEMS is not set CONFIG_PRINTK_TIME=y # CONFIG_ENABLE_WARN_DEPRECATED is not set
Signature · 1 line
1.7.9.5
Stephen Warren
AppliedPATCH 1/1 arm: bcm2835: enable proc and sysfs in defconfig
Quoted 4 lines · Thomas Petazzoni
For some reason, support for proc and sysfs is currently disabled in the
bcm2835_defconfig, even though those filesystems are quite essential even for very basic Linux userspace. As most defconfig have them enabled by default, enable them as well inbcm2835_defconfig.
How silly of me; I had this as part of a local change for testing, but hadn't made a patch to add it to the defconfig upstream.
Applied to bcm2835's for-3.8/defconfig branch. Thanks.
PATCH 1/1 arm: bcm2835: enable proc and sysfs in defconfig
In reply to Thomas PetazzoniHello.
Quoted 15 lines · Thomas Petazzoni
For some reason, support for proc and sysfs is currently disabled in the
bcm2835_defconfig, even though those filesystems are quite essential even for very basic Linux userspace. As most defconfig have them enabled by default, enable them as well inbcm2835_defconfig.Signed-off-by Thomas Petazzoni <[email protected]>--- arch/arm/configs/bcm2835_defconfig | 2 -- 1 file changed, 2 deletions(-)arch/arm/configs/bcm2835_defconfig +0
-0
arch/arm/configs/bcm2835_defconfig CONFIG_TTY_PRINTK=y · line 70
Quoted 5 lines
arch/arm/configs/bcm2835_defconfig +0
-2@@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y # CONFIG_FILE_LOCKING is not set # CONFIG_DNOTIFY is not set # CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_FS is not set -# CONFIG_SYSFS is not set
Hm, I don't see where are you enabling them... So I miss something?
WBR, Sergei
PATCH 1/1 arm: bcm2835: enable proc and sysfs in defconfig
Dear Sergei Shtylyov,
Quoted 4 lines · Sergei Shtylyov
Quoted 4 lines
arch/arm/configs/bcm2835_defconfig +0
-0
Quoted 8 lines
arch/arm/configs/bcm2835_defconfig CONFIG_TTY_PRINTK=y · line 70
Quoted 6 lines
arch/arm/configs/bcm2835_defconfig +0
-2@@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y # CONFIG_FILE_LOCKING is not set # CONFIG_DNOTIFY is not set # CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_FS is not set -# CONFIG_SYSFS is not setHm, I don't see where are you enabling them... So I miss something?
Yes:
config PROC_FS
bool "/proc file system support" if EXPERT default y
config SYSFS
bool "sysfs file system support" if EXPERT default y
Those options are enabled by default. So, when there's nothing in the defconfig file to disable them, they are enabled.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com