diff options
author | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2014-10-20 15:11:09 +0200 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2014-10-20 18:15:46 +0200 |
commit | f2aa3de198cc62e1548ce7438e0d0bfb20099705 (patch) | |
tree | 6b40f80ae6c0b05adbe58935233018a1c92b7c80 | |
parent | 8445b04fe094b745743815e9e1c9d0e62a94571f (diff) | |
download | kernel-common-f2aa3de198cc62e1548ce7438e0d0bfb20099705.tar.gz kernel-common-f2aa3de198cc62e1548ce7438e0d0bfb20099705.tar.bz2 kernel-common-f2aa3de198cc62e1548ce7438e0d0bfb20099705.zip |
Initialize default configurations for x86,x86_64,arm
Change-Id: I3877e860311f8313d2ad09aff707484268409c1f
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r-- | arch/arm/configs/vexpress_defconfig | 40 | ||||
-rw-r--r-- | arch/x86/configs/i386_defconfig | 28 | ||||
-rw-r--r-- | arch/x86/configs/x86_64_defconfig | 29 | ||||
-rw-r--r-- | packaging/README.update_kernel-profile | 58 | ||||
-rw-r--r-- | packaging/README.update_linux-stable (renamed from packaging/README.update) | 31 |
5 files changed, 114 insertions, 72 deletions
diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig index f489fdaa19b8..a7934df032fb 100644 --- a/arch/arm/configs/vexpress_defconfig +++ b/arch/arm/configs/vexpress_defconfig @@ -14,30 +14,12 @@ CONFIG_PROFILING=y CONFIG_OPROFILE=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y -# CONFIG_LBDAF is not set # CONFIG_BLK_DEV_BSG is not set # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set -CONFIG_ARCH_VEXPRESS=y -CONFIG_ARCH_VEXPRESS_CA9X4=y -CONFIG_ARCH_VEXPRESS_DCSCB=y -CONFIG_ARCH_VEXPRESS_TC2_PM=y -# CONFIG_SWP_EMULATE is not set -CONFIG_SMP=y -CONFIG_HAVE_ARM_ARCH_TIMER=y -CONFIG_MCPM=y -CONFIG_VMSPLIT_2G=y -CONFIG_NR_CPUS=8 -CONFIG_ARM_PSCI=y -CONFIG_AEABI=y CONFIG_CMA=y -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_CMDLINE="console=ttyAMA0" CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y -CONFIG_VFP=y -CONFIG_NEON=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_NET=y CONFIG_PACKET=y @@ -60,10 +42,8 @@ CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_PLATRAM=y CONFIG_MTD_UBI=y -CONFIG_PROC_DEVICETREE=y CONFIG_VIRTIO_BLK=y # CONFIG_SCSI_PROC_FS is not set CONFIG_BLK_DEV_SD=y @@ -72,25 +52,22 @@ CONFIG_ATA=y # CONFIG_SATA_PMP is not set CONFIG_NETDEVICES=y CONFIG_VIRTIO_NET=y -CONFIG_SMC91X=y CONFIG_SMSC911X=y # CONFIG_WLAN is not set CONFIG_INPUT_EVDEV=y # CONFIG_SERIO_SERPORT is not set -CONFIG_SERIO_AMBAKMI=y CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y CONFIG_I2C=y -CONFIG_I2C_VERSATILE=y -CONFIG_SENSORS_VEXPRESS=y +CONFIG_POWER_SUPPLY=y +CONFIG_POWER_RESET=y +CONFIG_THERMAL=y +CONFIG_THERMAL_GOV_USER_SPACE=y CONFIG_REGULATOR=y -CONFIG_REGULATOR_VEXPRESS=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_FB=y -CONFIG_FB_ARMCLCD=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set @@ -100,7 +77,6 @@ CONFIG_SND=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y # CONFIG_SND_DRIVERS is not set -CONFIG_SND_ARMAACI=y CONFIG_HID_DRAGONRISE=y CONFIG_HID_GYRATION=y CONFIG_HID_TWINHAN=y @@ -121,15 +97,12 @@ CONFIG_USB_MON=y CONFIG_USB_ISP1760_HCD=y CONFIG_USB_STORAGE=y CONFIG_MMC=y -CONFIG_MMC_ARMMMCI=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_PL031=y CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_MMIO=y CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y @@ -156,6 +129,7 @@ CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y CONFIG_DETECT_HUNG_TASK=y # CONFIG_SCHED_DEBUG is not set -CONFIG_DEBUG_USER=y +CONFIG_SECURITY=y +CONFIG_SECURITY_SMACK=y # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_HW is not set diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index a7fef2621cc9..dc2a42fd2211 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -1,16 +1,16 @@ # CONFIG_64BIT is not set -CONFIG_EXPERIMENTAL=y # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y +CONFIG_AUDIT=y +CONFIG_AUDITSYSCALL=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_AUDIT=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y CONFIG_LOG_BUF_SHIFT=18 CONFIG_CGROUPS=y CONFIG_CGROUP_FREEZER=y @@ -36,14 +36,12 @@ CONFIG_UNIXWARE_DISKLABEL=y CONFIG_SGI_PARTITION=y CONFIG_SUN_PARTITION=y CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y CONFIG_SMP=y CONFIG_X86_GENERIC=y CONFIG_HPET_TIMER=y CONFIG_SCHED_SMT=y CONFIG_PREEMPT_VOLUNTARY=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y -CONFIG_X86_MCE=y CONFIG_X86_REBOOTFIXUPS=y CONFIG_MICROCODE=y CONFIG_MICROCODE_AMD=y @@ -104,7 +102,7 @@ CONFIG_TCP_MD5SIG=y CONFIG_IPV6=y CONFIG_INET6_AH=y CONFIG_INET6_ESP=y -CONFIG_NETLABEL=y +CONFIG_NETWORK_SECMARK=y CONFIG_NETFILTER=y # CONFIG_NETFILTER_ADVANCED is not set CONFIG_NF_CONNTRACK=y @@ -124,8 +122,6 @@ CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_MANGLE=y CONFIG_NF_CONNTRACK_IPV6=y CONFIG_IP6_NF_IPTABLES=y @@ -191,7 +187,6 @@ CONFIG_INPUT_JOYSTICK=y CONFIG_INPUT_TABLET=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_INPUT_MISC=y -CONFIG_VT_HW_CONSOLE_BINDING=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_NONSTANDARD=y CONFIG_SERIAL_8250=y @@ -210,7 +205,6 @@ CONFIG_I2C_I801=y CONFIG_WATCHDOG=y CONFIG_AGP=y CONFIG_AGP_AMD64=y -CONFIG_AGP_INTEL=y CONFIG_DRM=y CONFIG_DRM_I915=y CONFIG_FB_MODE_HELPERS=y @@ -254,7 +248,6 @@ CONFIG_USB_OHCI_HCD=y CONFIG_USB_UHCI_HCD=y CONFIG_USB_PRINTER=y CONFIG_USB_STORAGE=y -CONFIG_USB_LIBUSUAL=y CONFIG_EDAC=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set @@ -289,25 +282,22 @@ CONFIG_NLS_UTF8=y CONFIG_PRINTK_TIME=y # CONFIG_ENABLE_WARN_DEPRECATED is not set CONFIG_FRAME_WARN=2048 -CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set +CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_DEBUG_STACK_USAGE=y +CONFIG_DEBUG_STACKOVERFLOW=y # CONFIG_SCHED_DEBUG is not set CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_STACK_USAGE=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_DEBUG_STACKOVERFLOW=y # CONFIG_DEBUG_RODATA_TEST is not set CONFIG_DEBUG_BOOT_PARAMS=y CONFIG_OPTIMIZE_INLINING=y CONFIG_KEYS_DEBUG_PROC_KEYS=y CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_SELINUX=y -CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_DISABLE=y +CONFIG_SECURITY_SMACK=y CONFIG_CRYPTO_AES_586=y # CONFIG_CRYPTO_ANSI_CPRNG is not set diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index c1119d4c1281..99bf044f453a 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -1,15 +1,15 @@ -CONFIG_EXPERIMENTAL=y # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y +CONFIG_AUDIT=y +CONFIG_AUDITSYSCALL=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_AUDIT=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y CONFIG_LOG_BUF_SHIFT=18 CONFIG_CGROUPS=y CONFIG_CGROUP_FREEZER=y @@ -35,14 +35,12 @@ CONFIG_UNIXWARE_DISKLABEL=y CONFIG_SGI_PARTITION=y CONFIG_SUN_PARTITION=y CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y CONFIG_SMP=y CONFIG_CALGARY_IOMMU=y CONFIG_NR_CPUS=64 CONFIG_SCHED_SMT=y CONFIG_PREEMPT_VOLUNTARY=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y -CONFIG_X86_MCE=y CONFIG_MICROCODE=y CONFIG_MICROCODE_AMD=y CONFIG_X86_MSR=y @@ -103,7 +101,7 @@ CONFIG_TCP_MD5SIG=y CONFIG_IPV6=y CONFIG_INET6_AH=y CONFIG_INET6_ESP=y -CONFIG_NETLABEL=y +CONFIG_NETWORK_SECMARK=y CONFIG_NETFILTER=y # CONFIG_NETFILTER_ADVANCED is not set CONFIG_NF_CONNTRACK=y @@ -123,8 +121,6 @@ CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_MANGLE=y CONFIG_NF_CONNTRACK_IPV6=y CONFIG_IP6_NF_IPTABLES=y @@ -183,7 +179,6 @@ CONFIG_INPUT_JOYSTICK=y CONFIG_INPUT_TABLET=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_INPUT_MISC=y -CONFIG_VT_HW_CONSOLE_BINDING=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_NONSTANDARD=y CONFIG_SERIAL_8250=y @@ -204,10 +199,8 @@ CONFIG_I2C_I801=y CONFIG_WATCHDOG=y CONFIG_AGP=y CONFIG_AGP_AMD64=y -CONFIG_AGP_INTEL=y CONFIG_DRM=y CONFIG_DRM_I915=y -CONFIG_DRM_I915_KMS=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y CONFIG_FB_EFI=y @@ -249,7 +242,6 @@ CONFIG_USB_OHCI_HCD=y CONFIG_USB_UHCI_HCD=y CONFIG_USB_PRINTER=y CONFIG_USB_STORAGE=y -CONFIG_USB_LIBUSUAL=y CONFIG_EDAC=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set @@ -287,24 +279,21 @@ CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y CONFIG_PRINTK_TIME=y # CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set +CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_DEBUG_STACK_USAGE=y +CONFIG_DEBUG_STACKOVERFLOW=y # CONFIG_SCHED_DEBUG is not set CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_STACK_USAGE=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_DEBUG_STACKOVERFLOW=y # CONFIG_DEBUG_RODATA_TEST is not set CONFIG_DEBUG_BOOT_PARAMS=y CONFIG_OPTIMIZE_INLINING=y CONFIG_KEYS_DEBUG_PROC_KEYS=y CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_SELINUX=y -CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_DISABLE=y +CONFIG_SECURITY_SMACK=y # CONFIG_CRYPTO_ANSI_CPRNG is not set diff --git a/packaging/README.update_kernel-profile b/packaging/README.update_kernel-profile new file mode 100644 index 000000000000..d1849aaf8c44 --- /dev/null +++ b/packaging/README.update_kernel-profile @@ -0,0 +1,58 @@ +How to bump kernel for a profile +================================ + +1. define your profile +---------------------- + +# profile=common +or +# profile=ivi +.. + + +1. Clone kernel-$profile +------------------------ + +# git clone review.tizen.org:profile/$profile/kernel-$profile +# cd kernel-$profile + +2. add platform/upstream/linux-stable as a new remote and fetch +--------------------------------------------------------------- + +# git remote add linux_stable review.tizen.org:platform/kernel/linux-stable.git +# git fetch linux_stable + +3. import upstream and tizen branches and push to tizen.org +----------------------------------------------------------- + +# git fetch origin +# git checkout -B upstream linux_stable/upstream +# git push --tags origin HEAD:upstream +# git checkout -B tizen linux_stable/tizen +# git push --tags origin HEAD:tizen + +4. rebase tizen_<profile> branch +-------------------------------- + +# git checkout tizen_${profile} +# git rebase origin/tizen +# git push origin HEAD:tizen_${profile} + +5. Updating kernel configurations (optional) +-------------------------------------------- + +# function adjustconfig() { + arch=$1 + platform=$2 + + make ARCH=$arch ${platform}_defconfig || return $? + make menuconfig || return $? + make ARCH=$arch savedefconfig || return $? + mv -v defconfig arch/$arch/configs/${platform}_defconfig +} + +# adjustconfig x86 i386 +# adjustconfig x86 x86_64 +# adjustconfig arm vexpress + + diff --git a/packaging/README.update b/packaging/README.update_linux-stable index 1f13daab2116..7b24f1e6a60e 100644 --- a/packaging/README.update +++ b/packaging/README.update_linux-stable @@ -11,18 +11,21 @@ Define variables: # linux_branch=linux-3.14.y # linux_tag=v3.14.20 + 1. Clone linux-stable from tizen.org ------------------------------------ # git clone review.tizen.org:platform/kernel/linux-stable # cd linux-stable + 2. add kernel.org as new origin and fetch it -------------------------------------------- # git remote add kernel_org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git # git fetch kernel_org + 3. import on upstream branch until given revision and push to tizen.org ----------------------------------------------------------------------- @@ -31,13 +34,41 @@ Define variables: # git push origin HEAD:upstream # git push --tags origin HEAD:upstream + 4. rebase tizen branch ---------------------- # git checkout -B tizen origin/tizen # git rebase -i ${linux_tag} + 5. Bump the kernel version in the spec file ------------------------------------------- # sed -ri "s/^(%define upstream_version).*$/\1 $(make kernelversion)/" packaging/*.spec + + +6. Push the tizen branch +------------------------ + +# git push origin HEAD:tizen + + +7. Updating kernel configurations (optional) +-------------------------------------------- + +# function adjustconfig() { + arch=$1 + platform=$2 + + make ARCH=$arch ${platform}_defconfig || return $? + make menuconfig || return $? + make ARCH=$arch savedefconfig || return $? + mv -v defconfig arch/$arch/configs/${platform}_defconfig +} + +# adjustconfig x86 i386 +# adjustconfig x86 x86_64 +# adjustconfig arm vexpress + + |