Combining defconfigs for 44x based boards
Is anyone working on Linus suggestion to combine the defconfigs under 44x or 4xx ?
Thanks,
Marri
Quoted 2 lines · Tirumala Marri
Is anyone working on Linus suggestion to combine the defconfigs under 44x or 4xx ?
Linus made a suggestion to that effect? If so, I missed it. Have a pointer?
josh
Quoted 3 lines
Linus made a suggestion to that effect? If so, I missed it. Have a pointer?
There was discussion going on in arm-kernel mailing list. And I see some patches being submitted for ARM based boards.
I think we can also combine some of the defconfigs under arch/powerpc/configs/44x/ directory.
Here is ARM dfconfigs discussion
http://lkml.indiana.edu/hypermail/linux/kernel/1006.0/01464.html
Here is the link for some of the defconfig submissions
http://www.spinics.net/lists/arm-kernel/msg96972.html
Quoted 4 lines
Linus made a suggestion to that effect? If so, I missed it. Have a pointer?
I am thinking that we can combine arches, Canyonlands, glacier, redwood and eiger can be combined as ppc46x_defconfig.
---- here is the defconfig example -------
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36-rc2
# Thu Sep 2 11:25:03 2010
#
# CONFIG_PPC64 is not set
#
# Processor support
#
CONFIG_44x=yCONFIG_PPC_FPU=y
CONFIG_4xx=yCONFIG_BOOKE=yCONFIG_PTE_64BIT=yCONFIG_PHYS_64BIT=yCONFIG_PPC_MMU_NOHASH=yCONFIG_PPC_MMU_NOHASH_32=y CONFIG_NOT_COHERENT_CACHE=yCONFIG_PPC32=yCONFIG_WORD_SIZE=32 CONFIG_ARCH_PHYS_ADDR_T_64BIT=yCONFIG_MMU=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_IRQ_PER_CPU=yCONFIG_NR_IRQS=512CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_PPC=yCONFIG_EARLY_PRINTK=yCONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_PPC_OF=yCONFIG_PPC_UDBG_16550=yCONFIG_AUDIT_ARCH=yCONFIG_GENERIC_BUG=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_PPC_DCR_NATIVE=yCONFIG_PPC_DCR=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_PPC_ADV_DEBUG_REGS=y CONFIG_PPC_ADV_DEBUG_IACS=4 CONFIG_PPC_ADV_DEBUG_DACS=2 CONFIG_PPC_ADV_DEBUG_DVCS=2 CONFIG_PPC_ADV_DEBUG_DAC_RANGE=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=yCONFIG_RCU_FANOUT=32CONFIG_LOG_BUF_SHIFT=14CONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EMBEDDED=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#CONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB=yCONFIG_HAVE_OPROFILE=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=yCONFIG_DEFAULT_IOSCHED="cfq"CONFIG_INLINE_SPIN_UNLOCK=yCONFIG_INLINE_SPIN_UNLOCK_IRQ=yCONFIG_INLINE_READ_UNLOCK=yCONFIG_INLINE_READ_UNLOCK_IRQ=yCONFIG_INLINE_WRITE_UNLOCK=yCONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_PPC4xx_PCI_EXPRESS=y
#
# Platform support
#CONFIG_ARCHES=yCONFIG_CANYONLANDS=yCONFIG_BLUESTONE=yCONFIG_GLACIER=yCONFIG_REDWOOD=yCONFIG_EIGER=y
CONFIG_PPC44x_SIMPLE=yCONFIG_460EX=y
#
# Kernel options
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=yCONFIG_HZ_250=yCONFIG_HZ=250CONFIG_SCHED_HRTICK=yCONFIG_PREEMPT_NONE=yCONFIG_BINFMT_ELF=yCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_HAS_WALK_MEMORY=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_SPARSE_IRQ=yCONFIG_MAX_ACTIVE_REGIONS=32CONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_POPULATES_NODE_MAP=yCONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=yCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_MIGRATION=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_STDBINUTILS=yCONFIG_PPC_4K_PAGES=yCONFIG_FORCE_MAX_ZONEORDER=11CONFIG_CMDLINE_BOOL=yCONFIG_CMDLINE=""CONFIG_EXTRA_TARGETS=""CONFIG_SECCOMP=yCONFIG_ISA_DMA_API=y
#
# Bus options
#CONFIG_ZONE_DMA=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_PPC_INDIRECT_PCI=y
CONFIG_4xx_SOC=yCONFIG_PPC_PCI_CHOICE=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_PCI_SYSCALL=yCONFIG_ARCH_SUPPORTS_MSI=y
#
# Advanced setup
#
# CONFIG_ADVANCED_OPTIONS is not set
#
# Default settings for advanced configuration options are used #CONFIG_LOWMEM_SIZE=0x30000000 CONFIG_PAGE_OFFSET=0xc0000000 CONFIG_KERNEL_START=0xc0000000 CONFIG_PHYSICAL_START=0x00000000 CONFIG_TASK_SIZE=0xc0000000 CONFIG_CONSISTENT_SIZE=0x00200000CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_FIB_HASH=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""CONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=yCONFIG_MTD=yCONFIG_MTD_PARTITIONS=yCONFIG_MTD_CMDLINE_PARTS=yCONFIG_MTD_OF_PARTS=y
#
# User Modules And Translation Layers
#CONFIG_MTD_CHAR=yCONFIG_MTD_BLKDEVS=yCONFIG_MTD_BLOCK=y
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=yCONFIG_MTD_GEN_PROBE=yCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=yCONFIG_MTD_CFI_AMDSTD=yCONFIG_MTD_CFI_UTIL=y
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not setCONFIG_MTD_PHYSMAP_OF=y
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set
#
# UBI - Unsorted block images
#CONFIG_DTC=yCONFIG_OF=y
#
# Flattened Device Tree and Open Firmware support
#CONFIG_PROC_DEVICETREE=yCONFIG_OF_FLATTREE=yCONFIG_OF_DYNAMIC=yCONFIG_OF_ADDRESS=yCONFIG_OF_IRQ=yCONFIG_OF_DEVICE=yCONFIG_OF_I2C=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=35000CONFIG_HAVE_IDE=y
#
# The newer stack is recommended.
#CONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_IBM_NEW_EMAC=yCONFIG_IBM_NEW_EMAC_RXB=256CONFIG_IBM_NEW_EMAC_TXB=256CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0CONFIG_IBM_NEW_EMAC_ZMII=yCONFIG_IBM_NEW_EMAC_RGMII=yCONFIG_IBM_NEW_EMAC_TAH=yCONFIG_IBM_NEW_EMAC_EMAC4=yCONFIG_WLAN=y
#
# Hardware I/O ports
#
#
# Character devices
#CONFIG_DEVKMEM=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_NR_UARTS=2CONFIG_SERIAL_8250_RUNTIME_UARTS=2CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_SHARE_IRQ=y
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_OF_PLATFORM=yCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256CONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=yCONFIG_I2C_HELPER_AUTO=y
#
# I2C Hardware Bus support
#
#
# I2C system bus drivers (mostly embedded / system-on-chip) #CONFIG_I2C_IBM_IIC=y
#
# PPS support
#CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=yCONFIG_HWMON=y
#
# Native drivers
#CONFIG_SENSORS_AD7414=yCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#CONFIG_MFD_SUPPORT=y
#
# Display device support
#CONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=yCONFIG_USB_DEVICE_CLASS=yCONFIG_USB_MON=y
#
# USB Host Controller Drivers
#CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PPC_OF_BE=y CONFIG_USB_OHCI_HCD_PPC_OF_LE=y CONFIG_USB_OHCI_HCD_PPC_OF=y CONFIG_USB_OHCI_HCD_PCI=y CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y
#
# USB Device Class drivers
#
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_LIBUSUAL=y
#
# OTG and related infrastructure
#CONFIG_RTC_LIB=yCONFIG_RTC_CLASS=yCONFIG_RTC_HCTOSYS=yCONFIG_RTC_HCTOSYS_DEVICE="rtc0"
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
#
# I2C RTC drivers
#CONFIG_RTC_DRV_M41T80=y
#
# SPI RTC drivers
#
#
# Platform RTC drivers
#
#
# on-CPU RTC drivers
#
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=y
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_MISC_FILESYSTEMS=yCONFIG_CRAMFS=yCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_ROOT_NFS=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=y
#
# Partition Types
#CONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC32=yCONFIG_ZLIB_INFLATE=yCONFIG_DECOMPRESS_GZIP=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=yCONFIG_GENERIC_ATOMIC64=y
#
# Kernel hacking
#CONFIG_FRAME_WARN=1024CONFIG_DEBUG_BUGVERBOSE=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_TRACING_SUPPORT=yCONFIG_HAVE_ARCH_KGDB=yCONFIG_PPC_WERROR=yCONFIG_PRINT_STACK_DEPTH=64
#
# Security options
#CONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""
Dear Tirumala Marri,
Quoted 3 lines · In message <[email protected]> you wrote:
I am thinking that we can combine arches, Canyonlands, glacier, redwood and eiger can be combined as
ppc46x_defconfig.
We already have arch/powerpc/configs/ppc40x_defconfig and arch/powerpc/configs/ppc44x_defconfig in mainline.
What's wrong with using these?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] CONSUMER NOTICE: Because of the "Uncertainty Principle," It Is Impossible for the Consumer to Find Out at the Same Time Both Precisely Where This Product Is and How Fast It Is Moving.
Quoted 5 lines
We already have
arch/powerpc/configs/ppc40x_defconfigandarch/powerpc/configs/ppc44x_defconfigin mainline.What's wrong with using these?
[Marri] Great we already have it. We should remove the defconfigs under 44x then ?
Regards,
Marri
Quoted 2 lines · On Thu, 9 Sep 2010 09:49:14 -0700 Tirumala Marri <[email protected]> wrote:
[Marri] Great we already have it. We should remove the defconfigs under 44x then ?
I'd rather we didn't. I thought Linus' beef was over the churn in the defconfigs, not the fact that they exist. The 44x defconfigs change very rarely.
Cheers,
Sean
Quoted 9 lines
Quoted 2 lines · On Thu, 9 Sep 2010 09:49:14 -0700 Tirumala Marri <[email protected]> wrote:
[Marri] Great we already have it. We should remove the defconfigs under 44x then ?
I'd rather we didn't. I thought Linus' beef was over the churn in the defconfigs, not the fact that they exist. The 44x defconfigs change very rarely.
[Marri]That is kind of true. Can we create new defconfigs then ? I am trying to check-in new defconfig.
Hi,
Quoted 3 lines · On Thu, 9 Sep 2010 15:17:10 -0700 Tirumala Marri <[email protected]> wrote:
[Marri]That is kind of true. Can we create new defconfigs then ? I am trying to check-in new defconfig.
Just make sure that it is minimal by using "make savedefconfig". This will create a file "defconfig" in the current directory which should have the minimal amount of stuff in it to reproduce the current .config.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 2 lines · Tirumala Marri
Is anyone working on Linus suggestion to combine the defconfigs under 44x or 4xx ?
Do you mean ppc44x_defconfig? Already there.
-Olof
Quoted 7 lines · Tirumala Marri
Quoted 1 line
Is anyone working on Linus suggestion to combine the defconfigs under
44x
Quoted 1 line
or 4xx ?
Do you mean
ppc44x_defconfig? Already there.
No it is not there yet. I should have said "Linus suggestion about defconfigs in ARM mailing list".
Quoted 9 lines · Tirumala Marri
Quoted 7 lines · Tirumala Marri
Quoted 1 line
Is anyone working on Linus suggestion to combine the defconfigs under
44x
Quoted 1 line
or 4xx ?
Do you mean
ppc44x_defconfig? Already there.No it is not there yet. I should have said "Linus suggestion about defconfigs in ARM mailing list".
ARM and powerpc are somewhat different in this aspect, since ARM traditionally has not been able to build multiplatform kernels (especially not multi-soc-family kernels).
Powerpc can build a kernel that will boot on all machines of a certain class (server, fsl-booke, ibm-booke, ppc32). So there's not really a whole lot of reason to have the custom per-board defconfigs in the kernel tree any more.
For specific products it might still make sense for a vendor to make a custom minimal defconfig, but that doesn't mean it's a requirement to have them in the upstream repository.
-Olof