Message ID | 1430124644-16715-8-git-send-email-jun.nie@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Apr 27, 2015 at 04:50:44PM +0800, Jun Nie wrote: > Add basic defconfig support to zx SOC, including uart, mmc > and other common config > > Signed-off-by: Jun Nie <jun.nie@linaro.org> > --- > arch/arm/configs/zx_defconfig | 130 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 130 insertions(+) > create mode 100644 arch/arm/configs/zx_defconfig > > diff --git a/arch/arm/configs/zx_defconfig b/arch/arm/configs/zx_defconfig > new file mode 100644 > index 0000000..e3447fc > --- /dev/null > +++ b/arch/arm/configs/zx_defconfig > @@ -0,0 +1,130 @@ > +CONFIG_EXPERIMENTAL=y > +CONFIG_SYSVIPC=y > +CONFIG_NO_HZ=y > +CONFIG_HIGH_RES_TIMERS=y > +CONFIG_LOG_BUF_SHIFT=14 > +CONFIG_CGROUPS=y > +CONFIG_CGROUP_DEBUG=y > +CONFIG_CGROUP_FREEZER=y > +CONFIG_CGROUP_CPUACCT=y > +CONFIG_RESOURCE_COUNTERS=y > +CONFIG_CGROUP_SCHED=y > +CONFIG_RT_GROUP_SCHED=y > +CONFIG_NAMESPACES=y > +CONFIG_USER_NS=y > +CONFIG_BLK_DEV_INITRD=y > +CONFIG_INITRAMFS_SOURCE="/home/niej/git/linux/initramfs.cpio.gz" This is improper to be in the defconfig. Shawn > +CONFIG_SYSCTL_SYSCALL=y > +CONFIG_KALLSYMS_ALL=y > +CONFIG_EMBEDDED=y > +CONFIG_PERF_EVENTS=y > +CONFIG_SLAB=y > +# CONFIG_BLK_DEV_BSG is not set > +# CONFIG_IOSCHED_CFQ is not set > +CONFIG_ARCH_ZX=y > +CONFIG_SOC_ZX296702=y > +# CONFIG_SWP_EMULATE is not set > +CONFIG_ARM_ERRATA_754322=y > +CONFIG_ARM_ERRATA_775420=y > +CONFIG_SMP=y > +CONFIG_VMSPLIT_2G=y > +CONFIG_PREEMPT=y > +CONFIG_AEABI=y > +CONFIG_KSM=y > +# CONFIG_IOMMU_SUPPORT is not set > +CONFIG_VFP=y > +CONFIG_NEON=y > +CONFIG_KERNEL_MODE_NEON=y > +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set > +CONFIG_HIBERNATION=y > +CONFIG_PM_RUNTIME=y > +CONFIG_PM_DEBUG=y > +CONFIG_SUSPEND_TIME=y > +CONFIG_ZBOOT_ROM_TEXT=0x0 > +CONFIG_ZBOOT_ROM_BSS=0x0 > +CONFIG_CMDLINE="console=ttyAMA0,115200 debug earlyprintk root=/dev/ram rw rootwait" > +#CONFIG_NET is not set > +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" > +CONFIG_DEVTMPFS=y > +CONFIG_DEVTMPFS_MOUNT=y > +CONFIG_DMA_CMA=y > +CONFIG_CMA_SIZE_MBYTES=192 > +CONFIG_BLK_DEV_LOOP=y > +CONFIG_BLK_DEV_RAM=y > +CONFIG_BLK_DEV_RAM_COUNT=1 > +CONFIG_BLK_DEV_RAM_SIZE=8192 > +CONFIG_UID_STAT=y > +CONFIG_SCSI=y > +CONFIG_BLK_DEV_SD=y > +CONFIG_CHR_DEV_SG=y > +CONFIG_CHR_DEV_SCH=y > +CONFIG_SCSI_MULTI_LUN=y > +CONFIG_MD=y > +CONFIG_BLK_DEV_DM=y > +CONFIG_DM_CRYPT=y > +CONFIG_DM_UEVENT=y > +CONFIG_DM_VERITY=y > +CONFIG_NETDEVICES=y > +# CONFIG_INPUT_MOUSE is not set > +CONFIG_SERIO=y > +CONFIG_SERIO_LIBPS2=y > +CONFIG_SPI=y > +CONFIG_LOGO=y > +CONFIG_SERIAL_CORE=y > +CONFIG_SERIAL_CORE_CONSOLE=y > +CONFIG_CONSOLE_POLL=y > +CONFIG_SERIAL_AMBA_PL011=y > +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y > +CONFIG_SERIAL_OF_PLATFORM=y > +# CONFIG_LEGACY_PTYS is not set > +# CONFIG_HW_RANDOM is not set > +# CONFIG_HWMON is not set > +# CONFIG_USB_SUPPORT is not set > +CONFIG_MMC=y > +CONFIG_MMC_UNSAFE_RESUME=y > +CONFIG_MMC_BLOCK_MINORS=16 > +CONFIG_MMC_DW=y > +CONFIG_MMC_DW_IDMAC=y > +CONFIG_EXT2_FS=y > +CONFIG_EXT4_FS=y > +CONFIG_EXT4_FS_POSIX_ACL=y > +CONFIG_EXT4_FS_SECURITY=y > +CONFIG_EXT4_DEBUG=y > +CONFIG_FUSE_FS=y > +CONFIG_MSDOS_FS=y > +CONFIG_VFAT_FS=y > +CONFIG_FAT_DEFAULT_CODEPAGE=936 > +CONFIG_TMPFS=y > +CONFIG_TMPFS_POSIX_ACL=y > +#CONFIG_NFS_FS is not set > +CONFIG_NLS_CODEPAGE_936=y > +CONFIG_NLS_ISO8859_1=y > +CONFIG_NLS_UTF8=y > +CONFIG_PRINTK_TIME=y > +CONFIG_MAGIC_SYSRQ=y > +CONFIG_DEBUG_KERNEL=y > +CONFIG_DEBUG_INFO=y > +CONFIG_FRAME_WARN=4096 > +CONFIG_DEBUG_FS=y > +CONFIG_DEBUG_MEMORY_INIT=y > +CONFIG_PANIC_TIMEOUT=5 > +# CONFIG_SCHED_DEBUG is not set > +CONFIG_SCHEDSTATS=y > +CONFIG_TIMER_STATS=y > +CONFIG_DEBUG_RT_MUTEXES=y > +CONFIG_DEBUG_SPINLOCK=y > +CONFIG_DEBUG_MUTEXES=y > +CONFIG_RCU_CPU_STALL_TIMEOUT=60 > +# CONFIG_FTRACE is not set > +CONFIG_KGDB=y > +CONFIG_KGDB_KDB=y > +# CONFIG_ARM_UNWIND is not set > +CONFIG_DEBUG_PREEMPT=y > +CONFIG_DEBUG_USER=y > +CONFIG_DEBUG_LL=y > +CONFIG_DYNAMIC_DEBUG=y > +CONFIG_STACKTRACE=y > +CONFIG_DEBUG_ZTE_ZX=y > +CONFIG_EARLY_PRINTK=y > +CONFIG_CRYPTO_LZO=y > +CONFIG_GPIOLIB=y > -- > 1.9.1 >
diff --git a/arch/arm/configs/zx_defconfig b/arch/arm/configs/zx_defconfig new file mode 100644 index 0000000..e3447fc --- /dev/null +++ b/arch/arm/configs/zx_defconfig @@ -0,0 +1,130 @@ +CONFIG_EXPERIMENTAL=y +CONFIG_SYSVIPC=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_CGROUPS=y +CONFIG_CGROUP_DEBUG=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_RESOURCE_COUNTERS=y +CONFIG_CGROUP_SCHED=y +CONFIG_RT_GROUP_SCHED=y +CONFIG_NAMESPACES=y +CONFIG_USER_NS=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="/home/niej/git/linux/initramfs.cpio.gz" +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS_ALL=y +CONFIG_EMBEDDED=y +CONFIG_PERF_EVENTS=y +CONFIG_SLAB=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_IOSCHED_CFQ is not set +CONFIG_ARCH_ZX=y +CONFIG_SOC_ZX296702=y +# CONFIG_SWP_EMULATE is not set +CONFIG_ARM_ERRATA_754322=y +CONFIG_ARM_ERRATA_775420=y +CONFIG_SMP=y +CONFIG_VMSPLIT_2G=y +CONFIG_PREEMPT=y +CONFIG_AEABI=y +CONFIG_KSM=y +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_KERNEL_MODE_NEON=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HIBERNATION=y +CONFIG_PM_RUNTIME=y +CONFIG_PM_DEBUG=y +CONFIG_SUSPEND_TIME=y +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="console=ttyAMA0,115200 debug earlyprintk root=/dev/ram rw rootwait" +#CONFIG_NET is not set +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=192 +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=1 +CONFIG_BLK_DEV_RAM_SIZE=8192 +CONFIG_UID_STAT=y +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y +CONFIG_CHR_DEV_SG=y +CONFIG_CHR_DEV_SCH=y +CONFIG_SCSI_MULTI_LUN=y +CONFIG_MD=y +CONFIG_BLK_DEV_DM=y +CONFIG_DM_CRYPT=y +CONFIG_DM_UEVENT=y +CONFIG_DM_VERITY=y +CONFIG_NETDEVICES=y +# CONFIG_INPUT_MOUSE is not set +CONFIG_SERIO=y +CONFIG_SERIO_LIBPS2=y +CONFIG_SPI=y +CONFIG_LOGO=y +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_CONSOLE_POLL=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +# CONFIG_LEGACY_PTYS is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_HWMON is not set +# CONFIG_USB_SUPPORT is not set +CONFIG_MMC=y +CONFIG_MMC_UNSAFE_RESUME=y +CONFIG_MMC_BLOCK_MINORS=16 +CONFIG_MMC_DW=y +CONFIG_MMC_DW_IDMAC=y +CONFIG_EXT2_FS=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_EXT4_DEBUG=y +CONFIG_FUSE_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=936 +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +#CONFIG_NFS_FS is not set +CONFIG_NLS_CODEPAGE_936=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_UTF8=y +CONFIG_PRINTK_TIME=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_KERNEL=y +CONFIG_DEBUG_INFO=y +CONFIG_FRAME_WARN=4096 +CONFIG_DEBUG_FS=y +CONFIG_DEBUG_MEMORY_INIT=y +CONFIG_PANIC_TIMEOUT=5 +# CONFIG_SCHED_DEBUG is not set +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +CONFIG_DEBUG_RT_MUTEXES=y +CONFIG_DEBUG_SPINLOCK=y +CONFIG_DEBUG_MUTEXES=y +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +# CONFIG_FTRACE is not set +CONFIG_KGDB=y +CONFIG_KGDB_KDB=y +# CONFIG_ARM_UNWIND is not set +CONFIG_DEBUG_PREEMPT=y +CONFIG_DEBUG_USER=y +CONFIG_DEBUG_LL=y +CONFIG_DYNAMIC_DEBUG=y +CONFIG_STACKTRACE=y +CONFIG_DEBUG_ZTE_ZX=y +CONFIG_EARLY_PRINTK=y +CONFIG_CRYPTO_LZO=y +CONFIG_GPIOLIB=y
Add basic defconfig support to zx SOC, including uart, mmc and other common config Signed-off-by: Jun Nie <jun.nie@linaro.org> --- arch/arm/configs/zx_defconfig | 130 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 arch/arm/configs/zx_defconfig