aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-09-08 21:17:55 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 15:01:34 -0700
commit4b56ccd87a297ac58a58cb6b45ee5893e1972571 (patch)
treee9ce9b9e177de92606a2e30c445f7343784265ef
parentbf0ba9d6832ae47ee02ef2c479b599afb1784674 (diff)
downloadlinux-linaro-precise-4b56ccd87a297ac58a58cb6b45ee5893e1972571.tar.gz
LINARO: CI: add config seeds and scripts for using them
debian.linaro/ci/scripts/genconfigs creates config files from seeds debian.linaro/ci/scripts/genseeds creates seeds from config files Not sure of utility of these yet. However they have been tested to make sure seeds to config and back to seeds round trip works. Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--debian.linaro/ci/flavourseeds/defconfig.common296
-rw-r--r--debian.linaro/ci/flavourseeds/defconfig.uniq.mx5132
-rw-r--r--debian.linaro/ci/flavourseeds/defconfig.uniq.omap75
-rw-r--r--debian.linaro/ci/flavourseeds/defconfig.uniq.vexpress34
-rw-r--r--debian.linaro/ci/otherseeds/enforce-seed.config61
-rwxr-xr-xdebian.linaro/ci/scripts/genconfigs25
-rwxr-xr-xdebian.linaro/ci/scripts/genseeds32
7 files changed, 555 insertions, 0 deletions
diff --git a/debian.linaro/ci/flavourseeds/defconfig.common b/debian.linaro/ci/flavourseeds/defconfig.common
new file mode 100644
index 00000000000..f503ea65660
--- /dev/null
+++ b/debian.linaro/ci/flavourseeds/defconfig.common
@@ -0,0 +1,296 @@
+CONFIG_AT76C50X_USB=m
+CONFIG_ATA=y
+CONFIG_ATH_COMMON=m
+CONFIG_B43LEGACY=m
+CONFIG_B43=m
+CONFIG_B43_PHY_N=y
+CONFIG_BLK_DEV_DM=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_BSD_PROCESS_ACCT=y
+CONFIG_BT_HCIBCM203X=m
+CONFIG_BT_HCIBPA10X=m
+CONFIG_BT_HCIUART_BCSP=y
+CONFIG_BT_HCIUART_H4=y
+CONFIG_BT_HCIUART_LL=y
+CONFIG_BT_HCIUART=m
+CONFIG_BT=m
+CONFIG_BTRFS_FS=y
+CONFIG_CARL9170=m
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_CC_STACKPROTECTOR=y
+CONFIG_CFG80211=m
+CONFIG_CGROUPS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_CONNECTOR=y
+CONFIG_CPUSETS=y
+CONFIG_CRAMFS=y
+CONFIG_CRC7=y
+CONFIG_CRC_CCITT=y
+CONFIG_CRC_ITU_T=y
+CONFIG_CRC_T10DIF=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_ECB=m
+CONFIG_CRYPTO_MICHAEL_MIC=y
+CONFIG_DEBUG_INFO=y
+CONFIG_DEBUG_KERNEL=y
+CONFIG_DEBUG_LL=y
+CONFIG_DEBUG_MEMORY_INIT=y
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+CONFIG_DEBUG_USER=y
+CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
+CONFIG_DEFAULT_SECURITY_APPARMOR=y
+CONFIG_DETECT_HUNG_TASK=y
+# CONFIG_DEVKMEM is not set
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_DEVTMPFS=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_EXPERIMENTAL=y
+CONFIG_EXPERT=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS=y
+CONFIG_FB_ARMCLCD=y
+CONFIG_FB=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FUNCTION_TRACER=y
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DRAGONRISE=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GREENASIA=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_KENSINGTON=y
+CONFIG_HID_KYE=y
+CONFIG_HID_LOGITECH=y
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_NTRIG=y
+CONFIG_HID_PANTHERLORD=y
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SMARTJOYPLUS=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+CONFIG_HID_THRUSTMASTER=y
+CONFIG_HID_TOPSEED=y
+CONFIG_HID_TWINHAN=y
+CONFIG_HID_ZEROPLUS=y
+CONFIG_HIGHMEM=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_HWMON=m
+CONFIG_I2C_CHARDEV=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_IKCONFIG=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET=y
+CONFIG_INIT_PASS_ALL_PARAMS=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_JOYDEV=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MOUSEDEV=m
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_INPUT_UINPUT=y
+# CONFIG_IPC_NS is not set
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_RARP=y
+CONFIG_IP_PNP=y
+CONFIG_IPV6=y
+CONFIG_ISO9660_FS=m
+CONFIG_JFFS2_COMPRESSION_OPTIONS=y
+CONFIG_JFFS2_FS_XATTR=y
+CONFIG_JFFS2_FS=y
+CONFIG_JFFS2_LZO=y
+CONFIG_JFFS2_RUBIN=y
+CONFIG_JFFS2_SUMMARY=y
+CONFIG_JOLIET=y
+CONFIG_KEXEC=y
+CONFIG_KPROBES_SANITY_TEST=y
+CONFIG_KPROBES=y
+CONFIG_KS8851_MLL=y
+CONFIG_KS8851=y
+CONFIG_LEDS_TRIGGER_BACKLIGHT=m
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_TIMER=m
+# CONFIG_LEGACY_PTYS is not set
+CONFIG_LIBERTAS=m
+CONFIG_LIBERTAS_SDIO=m
+CONFIG_LIBERTAS_SPI=m
+CONFIG_LIBERTAS_THINFIRM=m
+CONFIG_LIBERTAS_THINFIRM_USB=m
+CONFIG_LIBERTAS_USB=m
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_LOGO=y
+CONFIG_LSM_MMAP_MIN_ADDR=0
+CONFIG_MAC80211_HWSIM=m
+CONFIG_MAC80211=m
+CONFIG_MAC80211_RC_PID=y
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_MD=y
+CONFIG_MMC_ARMMMCI=y
+CONFIG_MMC=y
+CONFIG_MODULE_FORCE_LOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODULE_SRCVERSION_ALL=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_MOUSE_PS2=m
+CONFIG_MSDOS_FS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_ONENAND_VERIFY_WRITE=y
+CONFIG_MTD_ONENAND=y
+CONFIG_MTD_OOPS=y
+CONFIG_MTD_UBI=y
+CONFIG_MTD=y
+CONFIG_MWIFIEX=m
+CONFIG_MWIFIEX_SDIO=m
+CONFIG_NAMESPACES=y
+CONFIG_NETDEVICES=y
+CONFIG_NET_ETHERNET=y
+CONFIG_NETFILTER=y
+CONFIG_NET_KEY_MIGRATE=y
+CONFIG_NET_KEY=y
+CONFIG_NETLABEL=y
+# CONFIG_NET_NS is not set
+CONFIG_NET=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V4=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NO_HZ=y
+CONFIG_OPROFILE=y
+CONFIG_P54_COMMON=m
+CONFIG_P54_SPI=m
+CONFIG_P54_USB=m
+CONFIG_PACKET=y
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_PID_NS is not set
+CONFIG_PM_ADVANCED_DEBUG=y
+CONFIG_PM_DEBUG=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_PREEMPT=y
+CONFIG_PRINTK_TIME=y
+CONFIG_PROFILING=y
+CONFIG_PROVE_LOCKING=y
+CONFIG_RD_BZIP2=y
+CONFIG_RD_LZMA=y
+CONFIG_RD_LZO=y
+CONFIG_RD_XZ=y
+CONFIG_REGULATOR_TPS65023=y
+CONFIG_REGULATOR_TPS6507X=y
+CONFIG_ROOT_NFS=y
+CONFIG_RT2500USB=m
+CONFIG_RT2800USB=m
+CONFIG_RT2800USB_RT35XX=y
+CONFIG_RT2800USB_RT53XX=y
+CONFIG_RT2800USB_UNKNOWN=y
+CONFIG_RT2X00=m
+CONFIG_RT73USB=m
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_RTL8187=m
+CONFIG_RTL8192CU=m
+CONFIG_RTL8192SE=m
+# CONFIG_SATA_PMP is not set
+CONFIG_SCHEDSTATS=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_SCAN_ASYNC=y
+CONFIG_SDIO_UART=y
+CONFIG_SECCOMP=y
+CONFIG_SECURITY_APPARMOR=y
+CONFIG_SECURITY_SELINUX=y
+CONFIG_SECURITY_SMACK=y
+CONFIG_SECURITY=y
+CONFIG_SECURITY_YAMA=y
+CONFIG_SERIAL_8250_DETECT_IRQ=y
+CONFIG_SERIAL_8250_EXTENDED=y
+CONFIG_SERIAL_8250_MANY_PORTS=y
+CONFIG_SERIAL_8250_NR_UARTS=32
+CONFIG_SERIAL_8250_RSA=y
+CONFIG_SERIAL_8250_SHARE_IRQ=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIO_AMBAKMI=y
+CONFIG_SLAB=y
+CONFIG_SMC91X=y
+CONFIG_SMSC911X=y
+CONFIG_SMSC_PHY=y
+CONFIG_SND_ARMAACI=m
+CONFIG_SND_DEBUG=y
+CONFIG_SND=m
+CONFIG_SND_MIXER_OSS=m
+CONFIG_SND_PCM_OSS=m
+CONFIG_SND_SOC=m
+CONFIG_SND_USB_AUDIO=m
+CONFIG_SND_VERBOSE_PRINTK=y
+CONFIG_SOUND=y
+CONFIG_SPI_PL022=y
+CONFIG_SPI=y
+CONFIG_STRICT_DEVMEM=y
+CONFIG_SYN_COOKIES=y
+CONFIG_SYSVIPC=y
+CONFIG_THUMB2_KERNEL=y
+CONFIG_TIMER_STATS=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_TMPFS=y
+CONFIG_TOUCHSCREEN_ADS7846=m
+CONFIG_UBIFS_FS=y
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_UNIX=y
+CONFIG_USB_ALI_M5632=y
+CONFIG_USB_AN2720=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_EPSON2888=y
+CONFIG_USB_KC2190=y
+CONFIG_USB_LIBUSUAL=y
+CONFIG_USB_MON=y
+CONFIG_USB_NET_RNDIS_WLAN=m
+CONFIG_USB_NET_SMSC95XX=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_SUSPEND=y
+CONFIG_USB_TEST=y
+CONFIG_USB_USBNET=y
+CONFIG_USB_WDM=y
+CONFIG_USB=y
+CONFIG_USB_ZD1201=m
+CONFIG_USE_OF=y
+# CONFIG_USER_NS is not set
+# CONFIG_UTS_NS is not set
+CONFIG_VFAT_FS=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_VT_HW_CONSOLE_BINDING=y
+CONFIG_WATCHDOG=y
+CONFIG_WL1251=m
+CONFIG_WL1251_SDIO=m
+CONFIG_WL1251_SPI=m
+CONFIG_WL12XX_HT=y
+CONFIG_WL12XX=m
+CONFIG_WL12XX_MENU=m
+CONFIG_WL12XX_SDIO=m
+CONFIG_WL12XX_SDIO_TEST=m
+CONFIG_WL12XX_SPI=m
+CONFIG_XFRM_USER=y
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZD1211RW=m
+CONFIG_ZISOFS=y
diff --git a/debian.linaro/ci/flavourseeds/defconfig.uniq.mx51 b/debian.linaro/ci/flavourseeds/defconfig.uniq.mx51
new file mode 100644
index 00000000000..4bc27d98e4d
--- /dev/null
+++ b/debian.linaro/ci/flavourseeds/defconfig.uniq.mx51
@@ -0,0 +1,32 @@
+CONFIG_ARCH_MX51=y
+CONFIG_ARCH_MXC=y
+CONFIG_ARM_THUMBEE=y
+CONFIG_DEBUG_GPIO=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_I2C=y
+CONFIG_IMX2_WDT=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGER_GPIO=m
+CONFIG_MAC80211_RC_DEFAULT_PID=y
+CONFIG_MACH_MX51_3DS=y
+CONFIG_MACH_MX51_BABBAGE=y
+CONFIG_MACH_MX51_EFIKAMX=y
+CONFIG_MACH_MX51_EFIKASB=y
+CONFIG_NEON=y
+CONFIG_NOP_USB_XCEIV=y
+CONFIG_OC_ETM=y
+CONFIG_PM_RUNTIME=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR=y
+CONFIG_RTC_MXC=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_IMX=y
+CONFIG_SWP_EMULATE=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_MXC=y
+CONFIG_VFP=y
+CONFIG_W1_MASTER_MXC=y
+CONFIG_W1=y
diff --git a/debian.linaro/ci/flavourseeds/defconfig.uniq.omap b/debian.linaro/ci/flavourseeds/defconfig.uniq.omap
new file mode 100644
index 00000000000..45f398a976e
--- /dev/null
+++ b/debian.linaro/ci/flavourseeds/defconfig.uniq.omap
@@ -0,0 +1,75 @@
+# CONFIG_ARCH_OMAP2 is not set
+CONFIG_ARCH_OMAP=y
+CONFIG_ARM_THUMBEE=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
+CONFIG_DEBUG_GPIO=y
+CONFIG_DISPLAY_SUPPORT=y
+CONFIG_DRM=y
+CONFIG_FB_MODE_HELPERS=y
+CONFIG_FB_OMAP2=y
+CONFIG_FB_TILEBLITTING=y
+CONFIG_FIRMWARE_EDID=y
+CONFIG_FONT_8x16=y
+CONFIG_FONT_8x8=y
+CONFIG_FONTS=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
+CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_INPUT_TWL4030_PWRBUTTON=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_TWL4030=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGER_GPIO=m
+CONFIG_LEDS=y
+CONFIG_MAC80211_RC_DEFAULT_PID=y
+CONFIG_MMC_OMAP_HS=y
+CONFIG_MMC_OMAP=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_ONENAND_OMAP2=y
+CONFIG_NOP_USB_XCEIV=y
+CONFIG_NR_CPUS=2
+CONFIG_OMAP2_DSS_DSI=y
+CONFIG_OMAP2_DSS_FAKE_VSYNC=y
+CONFIG_OMAP2_DSS=y
+CONFIG_OMAP2_VRAM_SIZE=32
+CONFIG_OMAP3_EMU=y
+CONFIG_OMAP_MUX_DEBUG=y
+CONFIG_OMAP_RESET_CLOCKS=y
+CONFIG_OMAP_WATCHDOG=y
+CONFIG_PANEL_GENERIC_DPI=y
+CONFIG_PANEL_TAAL=y
+CONFIG_REGULATOR_TWL4030=y
+CONFIG_RTC_DRV_TWL4030=y
+CONFIG_SMP=y
+CONFIG_SND_DYNAMIC_MINORS=y
+CONFIG_SND_OMAP_SOC_AM3517EVM=m
+CONFIG_SND_OMAP_SOC_IGEP0020=m
+CONFIG_SND_OMAP_SOC=m
+CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE=m
+CONFIG_SND_OMAP_SOC_OMAP3EVM=m
+CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=m
+CONFIG_SND_OMAP_SOC_OVERO=m
+CONFIG_SND_OMAP_SOC_SDP3430=m
+CONFIG_SND_OMAP_SOC_SDP4430=m
+CONFIG_SND_OMAP_SOC_ZOOM2=m
+CONFIG_SPI_BITBANG=m
+CONFIG_SPI_OMAP24XX=y
+CONFIG_TWL4030_USB=y
+CONFIG_TWL4030_WATCHDOG=y
+CONFIG_TWL6030_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_GADGET_DEBUG_FILES=y
+CONFIG_USB_GADGET_DEBUG_FS=y
+CONFIG_USB_GADGET_DEBUG=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_MASS_STORAGE=m
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OTG_WHITELIST is not set
+CONFIG_USB_OTG=y
+CONFIG_USB_ZERO=m
+CONFIG_W1=y
diff --git a/debian.linaro/ci/flavourseeds/defconfig.uniq.vexpress b/debian.linaro/ci/flavourseeds/defconfig.uniq.vexpress
new file mode 100644
index 00000000000..1c2a247a09e
--- /dev/null
+++ b/debian.linaro/ci/flavourseeds/defconfig.uniq.vexpress
@@ -0,0 +1,34 @@
+CONFIG_ARCH_VEXPRESS_CA9X4=y
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M"
+CONFIG_I2C_VERSATILE=y
+CONFIG_I2C=y
+CONFIG_INPUT_TWL4030_PWRBUTTON=y
+CONFIG_KEYBOARD_TWL4030=y
+CONFIG_MTD_ARM_INTEGRATOR=y
+CONFIG_NEON=y
+CONFIG_OC_ETM=y
+CONFIG_PM_RUNTIME=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_TWL4030=y
+CONFIG_REGULATOR=y
+CONFIG_RTC_DRV_TWL4030=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250=y
+CONFIG_SMP=y
+CONFIG_SPI_BITBANG=m
+CONFIG_TWL4030_CORE=y
+CONFIG_TWL4030_POWER=y
+CONFIG_TWL4030_USB=y
+CONFIG_TWL4030_WATCHDOG=y
+CONFIG_TWL6030_USB=y
+CONFIG_USB_GADGET_DEBUG_FILES=y
+CONFIG_USB_GADGET_DEBUG_FS=y
+CONFIG_USB_GADGET_DEBUG=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_ISP1760_HCD=y
+CONFIG_USB_MASS_STORAGE=m
+# CONFIG_USB_OTG_WHITELIST is not set
+CONFIG_USB_OTG=y
+CONFIG_USB_ZERO=m
+CONFIG_VFP=y
diff --git a/debian.linaro/ci/otherseeds/enforce-seed.config b/debian.linaro/ci/otherseeds/enforce-seed.config
new file mode 100644
index 00000000000..b6f36c0e21d
--- /dev/null
+++ b/debian.linaro/ci/otherseeds/enforce-seed.config
@@ -0,0 +1,61 @@
+# These are options needed to make the Ubuntu
+# config enforce script happy. No other options
+# should be put here. These should work for any
+# flavour.
+#
+# CONFIG_COMPAT_BRK is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LSM_MMAP_MIN_ADDR=0
+CONFIG_SECURITY_NETWORK=y
+CONFIG_AUDIT=y
+CONFIG_SECURITY=y
+CONFIG_SECURITY_SELINUX=y
+CONFIG_NETLABEL=y
+CONFIG_SECURITY_SMACK=y
+CONFIG_SECURITY_YAMA=y
+CONFIG_SYN_COOKIES=y
+CONFIG_SECURITY_APPARMOR=y
+CONFIG_DEFAULT_SECURITY_APPARMOR=y
+CONFIG_SECCOMP=y
+CONFIG_CC_STACKPROTECTOR=y
+CONFIG_STRICT_DEVMEM=y
+CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
+CONFIG_USB=y
+# CONFIG_USB_DEVICEFS is not set
+CONFIG_TMPFS=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=65536
+CONFIG_MD=y
+CONFIG_BLK_DEV_DM=y
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_FB=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_INPUT=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_UINPUT=y
+# CONFIG_IMA is not set
+CONFIG_NET=y
+CONFIG_INET=y
+CONFIG_IPV6=y
+CONFIG_PRINTK_TIME=y
+CONFIG_BTRFS_FS=y
+CONFIG_LIBCRC32C=y
+CONFIG_DEBUG_KERNEL=y
+CONFIG_TIMER_STATS=y
+CONFIG_PROFILING=y
+CONFIG_PERF_EVENTS=y
+CONFIG_HW_PERF_EVENTS=y
+CONFIG_FTRACE=y
+CONFIG_ENABLE_DEFAULT_TRACERS=y
+CONFIG_GENERIC_TRACER=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_ADVANCED_DEBUG=y
+CONFIG_INIT_PASS_ALL_PARAMS=y
+
diff --git a/debian.linaro/ci/scripts/genconfigs b/debian.linaro/ci/scripts/genconfigs
new file mode 100755
index 00000000000..e937f768d51
--- /dev/null
+++ b/debian.linaro/ci/scripts/genconfigs
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# script for configs from ci config seeds
+
+flavours=$(ls debian.linaro/ci/flavourseeds/ | sed -e 's/.*\.//' -e 's/common//')
+
+# generate minimal defconfigs for each flavour and find out
+# what is common to all of them
+for f in $flavours
+do
+ cat \
+ debian.linaro/ci/flavourseeds/defconfig.common \
+ debian.linaro/ci/flavourseeds/defconfig.uniq.$f \
+ debian.linaro/ci/otherseeds/* \
+ > .config
+ yes '' | make ARCH=arm oldconfig
+ cp .config debian.linaro/config/armel/config.flavour.linaro-$f
+done
+
+echo '' > debian.linaro/config/config.common.ubuntu
+echo '' > debian.linaro/config/armel/config.common.armel
+
+fakeroot ./debian/rules clean
+fakeroot ./debian/rules updateconfigs
+
diff --git a/debian.linaro/ci/scripts/genseeds b/debian.linaro/ci/scripts/genseeds
new file mode 100755
index 00000000000..fbf6ae1da6e
--- /dev/null
+++ b/debian.linaro/ci/scripts/genseeds
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+# scripts for generating seed configs from current configs in
+# ./debian.linaro/config/*
+
+# the genconfigs rule creates configs for all flavours in a
+# directory ./CONFIGS
+rm -rf CONFIGS
+fakeroot ./debian/rules clean
+fakeroot ./debian/rules genconfigs
+flavours=$(ls CONFIGS | sed -e ' s/.*-//')
+
+# generate minimal defconfigs for each flavour and find out
+# what is common to all of them
+for f in $flavours
+do
+ mv CONFIGS/armel-config.flavour.linaro-$f .config
+ make ARCH=arm savedefconfig
+ sort defconfig > CONFIGS/defconfig.$f
+ test -f CONFIGS/defconfig.common || cp CONFIGS/defconfig.$f CONFIGS/defconfig.common
+ comm -1 -2 CONFIGS/defconfig.common CONFIGS/defconfig.$f > CONFIGS/defconfig.tmp && mv CONFIGS/defconfig.tmp CONFIGS/defconfig.common
+done
+
+# now for each flavour find what is uniq for each defconfig
+for f in $flavours
+do
+ comm -1 -3 CONFIGS/defconfig.common CONFIGS/defconfig.$f > CONFIGS/defconfig.uniq.$f
+ rm CONFIGS/defconfig.$f
+done
+
+# copy the seeds
+cp CONFIGS/* debian.linaro/ci/flavourseeds