Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradfa/2634388 to your computer and use it in GitHub Desktop.
Save bradfa/2634388 to your computer and use it in GitHub Desktop.
0001-am335x_evm_defconfig-Enable-DEVTMPFS-mount-at-boot.patch
From d4053cc55255b651a8f73fb7436ecd36e6c2020c Mon Sep 17 00:00:00 2001
From: Andrew Bradford <andrew@bradfordembedded.com>
Date: Tue, 8 May 2012 07:33:40 -0400
Subject: [PATCH] am335x_evm_defconfig: Enable DEVTMPFS & mount at boot
Needed for some environments to have a populated /dev, such as very
limited embedded systems where DEVTMPFS will provide enough entries
in /dev automatically.
Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
---
arch/arm/configs/am335x_evm_defconfig | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/arm/configs/am335x_evm_defconfig b/arch/arm/configs/am335x_evm_defconfig
index 56d8b10..029eba1 100644
--- a/arch/arm/configs/am335x_evm_defconfig
+++ b/arch/arm/configs/am335x_evm_defconfig
@@ -139,6 +139,7 @@ CONFIG_HAVE_DMA_API_DEBUG=y
#
# GCOV-based kernel profiling
#
+# CONFIG_GCOV_KERNEL is not set
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
@@ -752,7 +753,8 @@ CONFIG_RFKILL_INPUT=y
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
-# CONFIG_DEVTMPFS is not set
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
@@ -2061,6 +2063,7 @@ CONFIG_USB_STORAGE=y
# CONFIG_USB_YUREX is not set
CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG_FILES is not set
+# CONFIG_USB_GADGET_DEBUG_FS is not set
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
# CONFIG_USB_FUSB300 is not set
@@ -2233,6 +2236,7 @@ CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
+# CONFIG_JBD_DEBUG is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
@@ -2422,6 +2426,7 @@ CONFIG_DEBUG_FS=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_FRAME_POINTER=y
+# CONFIG_LKDTM is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
--
1.7.2.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment