aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
AgeCommit message (Collapse)Author
2015-06-05linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19Bruce Ashfield
Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference BSPs to the 3.19 kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-26kernel: Build DTBs earlyMarek Vasut
Pull out the compilation of the DTB blobs right after the kernel's own do_compile function finishes. This makes them available just in time for the kernel image construction functions. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Paul Eggleton <paul.eggleton@linux.intel.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-22linux-yocto/3.19: NFC config, Braswell fixes and axxia supportBruce Ashfield
Updating the 3.19 kernel SRCREVs for the following commits: NFC: 727cfce45077 meta: intel-common: enable generic NFC support f3e890065903 meta: features/nfc: add generic configuration for NFC support Braswell: d3c0b958e688 drm/i915: New offset for reading frequencies on CHV. dac6babbba62 drm/i915/chv: Populate total EU count on Cherryview Axxia: c706cb356dea arch/arm/axxia: Remove the axxia zImage.fm build 45a1aaacf6cb drivers/hwmon: Remove adt75 redundant driver 7203ee166c01 arch/arm/mach-axxia: Fixed L2 power up failure a1541e9f0a4c kernel/irq/manage.c: Fix irq_set_affinity to allow use with buslocks d42c0bd1c8be arch/arm/mach-axxia: Reverse checkpatch compatibility 5dbd07431a7a arch/arm/mach-axxia: changed affinity parameter to cpu 23e4ebc66acb char: hwrng: AXXIA TRNG driver added for AXM55xx 61eb3c8ee1d7 arch/arm/mach-axxia: Updated Axxia 55xx PCIe driver to use correct Doorbell interrupt IRQs b03e0655094a AXM55xx RapidIO : Added support for Device revision and link down Monitor. 7577ad26cf73 rionet: Fix the corruption of tx_cnt during Transmit. 07fd2163ae56 arch/arm/mach-axxia: fixed NO SMP c9371e98cc80 arch/arm/mach-axxia: fixed compiler warning 0a814fe7e747 arch/arm/mach-axxia: Updated PCIe driver doorbell support cd3d9b46bea4 misc: lsi-ncr: Only use AMP lock on PPC platforms. 826c600c6ad6 fs: vmfs: Use generic mmap function e2d0047cb106 arch/arm/mach-axxia: Removed axxia_circular_queue f1ff06eaabed ARM: axxia: Add cluster and L2 power off in hotplug b98711344263 ARM: irq: Return error when set_affinity is called from hotplug 9fd9306a30ae arch/arm/mach-axxia: Enable L3 68989d446582 Revert "arch/arm/mach-axxia: Fixed affinity error on IRQ migration" 0be0ef90a887 Revert "arch/arm/mach-axxia: fixed failure to power up cluster" 1c6522a03e81 Revert "arch/arm/mach-axxia: fixed hang in preempt kernel" ef06a68393a3 fs/vmfs: Changes to add VMFS support for axxia. 3025e9deede6 drivers/usb/host: Changes to support the axxia BSP b128b4f0d4e8 drivers/tty: Changes to support the axxia BSP d1b60a7e62ef drivers/hwmon: Changes made to support the axxia BSP 2899ccbf1438 drivers/spi: Changes to support the axxia BSP 8e9cff566254 drivers/rapidio/devices: Changes to support axxia BSP 3424d2ca2653 drivers/net/ethernet: Changes to support the axxia BSP 2353dc816d6b drivers/mtd: Changes to support the axxia BSP 4b5fa2bf86cf drivers/misc: Changes made to support axxia BSP 8a5bd53ec241 drivers/i2c: Changes to support axxia BSP 02bfe1548d1a arch/arm/drivers/edac: Changes to support axxia BSP 2431db7c0c90 arch/arm/drivers/dma: Changes to support the axxia BSP 61fa3f268d5c arch/arm: arm changes to support the axxia BSP 22e0fb7be665 arch/arm/mach-axxia: add power management support 5cab63c5a1f2 arch/arm/mach-axxia: kernel files to support the mach-axxia 1336aba51616 arch/arm/boot: Changes to support the axxia BSP 97324fa920cb arch/arm/boot/dts: Files added to support axxia 5500 board Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-22linux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64Bruce Ashfield
Integrating the following commit to remove a ATA configuration warning: common-pc-drivers: Enable CONFIG_ATA_BMDMA Enabling the ATA_BMDMA re-enables ATA_PIIX which was getting disabled Signed-off-by: Saul Wold <sgw@linux.intel.com> And the following to fix the ARM64 gcc5 boot: arm64: psci: move psci firmware calls out of line An arm64 allmodconfig fails to build with GCC 5 due to __asmeq assertions in the PSCI firmware calling code firing due to mcount preambles breaking our assumptions about register allocation of function arguments: /tmp/ccDqJsJ6.s: Assembler messages: /tmp/ccDqJsJ6.s:60: Error: .err encountered /tmp/ccDqJsJ6.s:61: Error: .err encountered /tmp/ccDqJsJ6.s:62: Error: .err encountered /tmp/ccDqJsJ6.s:99: Error: .err encountered /tmp/ccDqJsJ6.s:100: Error: .err encountered /tmp/ccDqJsJ6.s:101: Error: .err encountered This patch fixes the issue by moving the PSCI calls out-of-line into their own assembly files, which are safe from the compiler's meddling fingers. Reported-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Armin Kuter <akuster@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-22linux-yocto/3.19: Braswell DRM fixesBruce Ashfield
Updating the 3.19 kernel SRCREVs to integrate the following Braswell changes: 374b5d0e09ea drm/i915: Only wait for required lanes in vlv_wait_port_ready() fca99e8ee111 Revert "drm/i915: Hack to tie both common lanes together on chv" 00682f31b612 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV 654b1a4497c5 drm/i915: Implement chv display PHY lane stagger setup Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-22linux-yocto/3.19: braswell DRM/i915 Graphics fixesBruce Ashfield
Updating the SRCREVs to integrate the following fixes: 0befa35f4099 drm/i915/chv: Remove DPIO force latency causing interpair skew issue 184e0374e4eb drm/i915: Fix chv cdclk support e2a99b9cd086 drm/i915: Increase the range of sideband address. 9d5d55ede53b drm/i915: Disable DDR DVFS on CHV 96cce945ac97 drm/i915: Enable the maxfifo PM5 mode when appropriate on CHV b5005319da56 drm/i915: Program PFI credits for VLV c7aa33eb3697 drm/i915: Rewrite VLV/CHV watermark code a421d8bcaa6d drm/i915: Make sure PND deadline mode is enabled on VLV/CHV 631afc98c4b5 drm/i915: Read out display FIFO size on VLV/CHV e0dcdc019b8a drm/i915: Pass plane to vlv_compute_drain_latency() a6a5562b7754 drm/i915: Reorganize VLV DDL setup bb662a47ec0c drm/i915: Hide VLV DDL precision handling 3d2d93239cd7 drm/i915: Simplify VLV drain latency computation f68614743b92 drm/i915: Kill DRAIN_LATENCY_PRECISION_* defines 86c658c06ede drm/i915: Reduce CHV DDL multiplier to 16/8 8c4cdd96a3f2 drm/i915: Allow pixel clock up to 95% of cdclk on CHV d9d4fb889c2a drm/i915: Reduce CHV DPLL min vco frequency to 4.8 GHz Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-22linux-yocto/3.14: cavium and configuration changesBruce Ashfield
Updating the 3.14 SRCREVs to integrate the latest round of cavium support patches, as well as configuration backports from 3.19. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-09linux-yocto/3.14: fix qemumips build errorBruce Ashfield
Updating the SRCREVs to import the following fix: mips: define cpu_has_saa in common features include To avoid build failures such as the following on non-cavium platforms: | arch/mips/include/asm/atomic.h: In function 'atomic_add': | arch/mips/include/asm/atomic.h:52:6: error: 'cpu_has_saa' | undeclared (first use in this function) | if (cpu_has_saa) { | ^ We define a disabled cpu_has_saa unless the machine specific feature overrides define a value. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09linux-yocto/3.19: Braswell support and bug fixesBruce Ashfield
Updating to include the following commits: a4d0c407cced dmaengine: dw: don't handle interrupt when dmaengine is not used e92b2ce791b2 dmaengine: dw: define DW_DMA_MAX_NR_MASTERS 931304a6567e dmaengine: dw: provide DMA capabilities 468bad4f7a6f dmaengine: dw: Split device_control b4afd7710db7 i2c: i801: Use managed pcim_* PCI device initialization and reservation d81a8a11ecba i2c: i801: Remove pci_enable_device() call from i801_resume() 40e18604e70c i2c: i801: Use managed devm_* memory and irq allocation b54f65dbe57b i2c: i801: Remove i801_driver forward declaration e95740d4d079 i2c: i801: Don't break user-visible strings 423e98721e04 ACPI: Introduce has_acpi_companion() 291f620dc052 i2c: designware: Suppress error message if platform_get_irq() < 0 cf5ff51a8e3f i2c: designware-pci: no need to provide clk_khz 4f583ce420d3 i2c: designware-pci: remove Moorestown support e000c549c9d8 i2c: designware: Add Intel Baytrail PMIC I2C bus support 7ffbd9ca19a7 i2c: designware: fixup return handling of wait_for_completion_timeout 5758d5a1df32 i2c: designware: Do not calculate SCL timing parameters needlessly 2f58fcae92db i2c: designware: Add i2c bus locking support 84a73e51e900 i2c: designware: use {readl|writel}_relaxed instead of readl/writel f672bb8424e6 serial: 8250_dw: Fix get_mctrl behaviour 91bd64585489 serial: 8250: add support for ACPI-probed serial port for X-Gene platform 1190cba71f09 serial:8250:8250_pci: delete unneeded quirk entries 6405a4b71451 serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S 0a1a31bbbc19 serial: 8250_pci: remove one useless explicit type conversion 4edc52a55f82 intel_idle: Add support for the Airmont Core in the Cherrytrail and Braswell SOCs 934f85e8bfdb x86/irq, ACPI: Implement ACPI driver to support IOAPIC hotplug c6a3440252a8 ACPI / LPSS: check the result of ioremap() 6aacc0c931b7 pinctrl: update direction_output function of cherryview driver cb4a43a2177d pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs 0df22c007ce1 pinctrl: intel: drop owner assignment from platform_drivers 07b16f04700b pinctrl: cherryview: Save and restore pin configs over system sleep e8e5cfffa231 pinctrl: baytrail: Save pin context over system sleep 04cb3cc0ff21 pinctrl: baytrail: Rework interrupt handling 4cac25d2574d pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode eacab9ab234a pinctrl: baytrail: Relax GPIO request rules Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03linux-yocto-dev: introduce 4.1-rc development kernelBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03linux-yocto: add core bluetooth support to qemux86* and common-pc*Bruce Ashfield
Updating the configuration for the common x86 platforms to always include core bluetooth support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03linux-yocto/3.14: refresh -rt supportBruce Ashfield
Paul Gortmaker refreshed the 3.14-rt support to the latest rt stable content. With these SRCREV bumps, the 3.14 LTSI kernel is now at -rt37. 91dc6afcecd4 rt: bump localversion from 32 to 37 e69f7430b620 rt: bump localversion to 32 c060800318e4 netpoll: guard the access to dev->npinfo with rcu_read_lock/unlock_bh() for CONFIG_PREEMPT_RT_FULL=y 833c21beba79 Revert "timers: do not raise softirq unconditionally" 6c9337ff352c fs,btrfs: fix rt deadlock on extent_buffer->lock 2d542663bfb9 staging: Mark rtl8821ae as broken 988e4701df83 timers: Reduce future __run_timers() latency for first add to empty list 2549262883c5 timers: Reduce future __run_timers() latency for newly emptied list 073fac19d3e4 timers: Reduce __run_timers() latency for empty list 25ca11173e64 timers: Track total number of timers in list 277a4ae36580 fs/aio: simple simple work 7b2ebc4e590b lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals 9afc01954298 thermal: Defer thermal wakups to threads 84d35d05b236 locking: ww_mutex: fix ww_mutex vs self-deadlock f0c8e4837a51 Revert "rwsem-rt: Do not allow readers to nest" df0d51ecf13f sunrpc: make svc_xprt_do_enqueue() use get_cpu_light() f069e339ca02 work-simple: Simple work queue implemenation 0d9e6cbead39 scheduling while atomic in cgroup code 8405cdab8c2c sas-ata/isci: dont't disable interrupts in qc_issue handler dfb7e1ab2427 mips: rt: Replace pagefault_* to raw version ddbe4584a13b ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later 607f2a27c2ee arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic() 58de8f60159f ARM: enable irq in translation/section permission fault handlers 62d90b45607c x86: UV: raw_spinlock conversion e8d164191f65 rtmutex: enable deadlock detection in ww_mutex_lock functions 9612daf936db rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation 47915a120d41 rtmutex.c: Fix incorrect waiter check a6a68d53df5f locking/rt-mutex: avoid a NULL pointer dereference on deadlock fb2c256f8a91 futex: Simplify futex_lock_pi_atomic() and make it more robust 7e59d4d5900e futex: Split out the first waiter attachment from lookup_pi_state() 45ccc2e3f25f futex: Split out the waiter check from lookup_pi_state() c5133997a345 futex: Use futex_top_waiter() in lookup_pi_state() 4726c8b47964 futex: Make unlock_pi more robust b55c2c7782ee rtmutex: Avoid pointless requeueing in the deadlock detection chain walk ff7cfbb757d4 rtmutex: Cleanup deadlock detector debug logic e80ba665fa71 rtmutex: Confine deadlock logic to futex 7a9e7c37ccf4 rtmutex: Simplify remove_waiter() d664c14c1db3 rtmutex: Document pi chain walk 64bcb809c720 rtmutex: Clarify the boost/deboost part 02323ee362c4 rtmutex: No need to keep task ref for lock owner check 063983fb0497 rtmutex: Simplify and document try_to_take_rtmutex() f87319b715f1 rtmutex: Simplify rtmutex_slowtrylock() de9723ae23f9 gpio: omap: use raw locks for locking 705ad635f56a rt: bump localversion from 22 to 31 22b5a5cda73a mm/page_alloc: fixup warning from stable merges to -rt Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28kernel-devsrc: depends on virtual/kernel:do_installRobert Yang
The linux-yocto.inc may remove the meta dir: do_install_append(){ if [ -n "${KMETA}" ]; then rm -rf ${STAGING_KERNEL_DIR}/${KMETA} fi } Which may cause the error: [snip] find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory [snip] cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory [snip] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27linux-yocto/3.19: configuration updates and stable integrationBruce Ashfield
Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg stable updates, as well as the following meta data changes: 205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware 767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24 e308b2c52519 intel-core*: Add Braswell soc support 8c1c74d5052b braswell: Add features/soc/braswell Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-29kernel-yocto: merge duplicate kernel_configme task definitionsRoss Burton
The kernel_configme task was added twice (once in the .bbclass, one in a .inc) with different ordering constraints. Change this to be just one definition in the bbclass with the stronger ordering constraints. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-29linux-yocto: add kern-tools-native to kernel_metadata dependsRoss Burton
The autobuilder failed like this: temp/run.do_kernel_metadata.25242: line 165: createme: command not found createme is provided by kern-tools-native. do_patch has a dependency on kern-tools-native, but do_kernel_metadata runs before do_patch. So move the dependency from do_patch to do_kernel_metadata, moving the statement from the .inc to the class so it's alongside the task definition. [ YOCTO #7531 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.19: fixes for Intel core warningsBruce Ashfield
Updating the 3.19 meta branch to include the following configuration change to deal with kernel configuration audit warnings: 9e70b482d377 romley: remove common video and media config items 8a4e096759ad intel-common: remove eg20t from common config c2f5ab15620c drm-cdvpvr: Add STAGING_MEDIA ac4693c1db39 media: Prefer modules(m) to yes(y) and update for 3.19 Kernel Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.14: integrate korg stable and meta data changesBruce Ashfield
Updating the 3.14 SRCREVs to import the v3.14.36 korg stable changes and configuration changes to the meta branch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.19: configuration updates and stable importBruce Ashfield
Updating the 3.19 SRCREVs to pick up the korg 3.19.2 release, as well as the following meta data changes: ed82e1ac3196 features: soc: fix typo in baytrail.cfg 76bc151242d7 tiny.cfg: Enable BINFMT_SCRIPT Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20linux-yocto/3.19: integrate korg -stable updateBruce Ashfield
Updating to the latest and greatest -stable release for the 3.19 series. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-16linux-yocto-rt: removed duplicated lineAlexandru.Vaduva
Seemed that the recipe contained redundant information. Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16kernel-devsrc: fix file ownershipJonathan Liu
The file ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-02linux-yocto/3.14: OcteonIII supportBruce Ashfield
With these SRCREV updates, we add the following support to the kernel: The following has been verified with the branch sources: On 68xx: * SGMII, XAUI Packet IO interfaces. * PCIe devices * EHCI/OHCI USB driver On 78XX: * Ran LTP testsuite * SGMII, XAUI Packet IO interfaces * MMC driver (which covers GPIO interrupts in the driver) * PCIe devices * XHCI USB driver Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernelsBruce Ashfield
We don't require that a yocto custom kernel + defconfig have a full BSP description (but of course it would be better if they did). Since this isn't a requirement, we shouldn't alarm users by generating a BSP description warning. To implement this, we add a bsp audit level flag (like the one that exists for kconfig audits), and only set it to activate in the versioned linux-yocto recipes. [YOCTO: #7370] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02linux-yocto: fix qemux86-64 config warningBruce Ashfield
During the 3.19 update a 32 bit option in the 64 bit config was missed, which results in the option being dropped (and reported as a warning): Value requested for CONFIG_PCI_GOANY not in final ".config" Requested value: "CONFIG_PCI_GOANY=y" Actual value set: "" So we split the 32bit only drivers out of the common driver include and the problem goes away. [YOCTO: 7354] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-20linux-yocto: introduce 3.19 versioned recipesBruce Ashfield
Introducing the v3.19.x recipes for the validated linux-yocto kernel. Build, boot and sanity testing was performed on qemu for all major architectures. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20linux-yocto: remove 3.10 and 3.17 recipesBruce Ashfield
In accordance with the kernel release criteria we support the latest mainline kernel + the last LSTI kernel + a development kernel. 3.19 will be introduced as the latest mainline, and 3.14 is the released LTSI kernel, which means that we remove the 3.10 and 3.17 variants. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20linux-yocto: make kernel configuration audit user visibleBruce Ashfield
After a linux-yocto style kernel is configured, a kernel configuration audit is executed to detect common errors or issues with the config. This output used to be visible, but was made less obvious to not alarm users unnecessarily (since some configuration issues are acceptable). There are some classes of configuration issue that are worth being visible, and that is specified configuration values that do not make the final .config. These dropped options can result in any number of runtime failures, so flagging them at build time makes sense. The visibility of auditing is controlled by KCONF_AUDIT_LEVEL: 0: no reporting 1: report options that are specified, but not in the final config 2: report options that are not hardware related, but set by a BSP The default level is 1, with level 2 and above being for BSP development only. If these conditions are detected, warnings will be generated as follows: WARNING: [kernel config]: specified values did not make it into the kernel's final configuration: Value requested for CONFIG_SND_PCSP not in final ".config" Requested value: "CONFIG_SND_PCSP=y" Actual value set: "" or WARNING: [kernel config]: BSP specified non-hw configuration: CONFIG_BLOCK CONFIG_CFG80211_WEXT CONFIG_CORDIC CONFIG_CRC8 CONFIG_EFIVAR_FS CONFIG_EFI_PARTITION CONFIG_NET CONFIG_NETDEVICES CONFIG_PARTITION_ADVANCED CONFIG_WEXT_CORE CONFIG_WEXT_PROC CONFIG_WIRELESS At this point thse are only a warnings, since there needs to be time for layers and configuration fragments to be validated against this new check. [YOCTO: #6943] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.14: fix qemumips build errorBruce Ashfield
The merge of the 3.14 -stable series triggered a build failure in the 32 bit mips builds. Updating the SRCREVs to import the fix for the issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto-dev: update to v3.19+Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto: basic octeon III supportBruce Ashfield
Importing the following commits to add basic octeon III support to the 3.14 linux-yocto kernel: 1e0bbd1dd68e MIPS:OCTEON: More OCTEONIII support f51a5843ee2d MIPS: Octeon: CVMSEG LM loads may cause dcache parity errors 58bcba842781 MIPS: Octeon: Implement the core-16057 workaround ba5a219685e8 MIPS Override assembler ISA for kernel FPU instruction. 7759a0511965 MIPS donot build fast TLB refill handler with 32-bit kernels. 3f51e46ff641 MIPS Add minimal support for OCTEON3 to c-r4k.c bbde024d903a MIPS Add function get ebase cpunum 9f18310679cb MIPS OCTEON Enable use of FPU d24496ee8fc8 MIPS OCTEON Add OCTEON3 to get cpu type Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.17: update to v3.17.8Bruce Ashfield
Updating to the latest korg stable version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.10: update to v3.10.65Bruce Ashfield
Integrating the latest korg -stable updates for 3.10 LTSI. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.14: update to 3.14.29Bruce Ashfield
Updating to the latest korg -stable release for 3.14. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-07linux-yocto-tiny_3.17: Update to actually use 3.17 git repoSaul Wold
The named release was still using the -dev git repo which did not contain the SRCREV referenced in the numbered/named version. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-29linux-dummy: provide empty shared_workdir methodKoen Kooi
Perf.bb (among others) requires access to the kernel source, so have linux-dummy fake that as well. As before, perf will fail to build, but there are use cases where this patch is needed. For example a perf.bbappend that will always build it from the debian linux-tools tarball. Using linux-dummy is still a bad, bad idea, but it shouldn't start breaking existing use cases. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-16kernel-devsrc: Depend on virtual/kernel:do_compileDarren Hart
Since virtual/kernel do_compile modifies ${B}, we need to wait for do_compile to copy everything across in order to ensure a deterministic file set. Currently, we race against the build and can see .debug directories, and the do_compile dependency we will always see them. Add .debug to the find path pruning. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16kernel: move source and build output to work-sharedBruce Ashfield
commit 3b3f7e785e279 [kernel: Rearrange for 1.8] began the process of moving the kernel source and build artefacts out of sstate control and into a shared location. This changed triggered some workflow issues, as well as bugs related to the kernel source containing build output, and hence being dirty and breaking kernel rebuilds. To solve these issues, and to make it clear that the kernel is not under sstate control, we move the source and build outputs to: work-shared/MACHINE/kernel-source work-shared/MACHINE/kernel-build-artifacts Where kernel-build-artifacts is the kernel build output and kernel-source is kept "pristine". The build-artifacts contain everything that is required to build external modules against the kernel source, and includes the defconfig, the kernel-abiversion, System.map files and output from "make scripts". External module builds should either pass O= on the command line, or set KBUILD_OUTPUT to point to the build-artifacts. module-base.bbclass takes care of setting KBUILD_OUTPUT, so most existing external module recipes are transparently adapted to the new source/build layout. recipes that depend on the kernel source must have a depedency on the do_shared_workdir task: do_configure[depends] += "virtual/kernel:do_shared_workdir" With this dependency added, the STAGING_KERNEL_DIR will be populated and available to the rest of the build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22linux-yocto: Fixup linux-yocto for aarch64Mark Hatle
linux-yocto is updated to pass the sysroot path to the compiler when necessary. linux-yocto_ver.bb are updated to reference the correct linux-yocto branchs and SRCREVs. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21linux-yocto: depend on libgcc for aarch64Kai Kang
Make aarch aarch64 kernel depend on libgcc. In arch/arm64/Makefile, it adds LIBGCC to libs-y: LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) libs-y += $(LIBGCC) In file Makefile in top directory, libs-y is assigned to to var KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o, and when execute function vmlinux_link() in link-vmlinux.sh, KBUILD_VMLINUX_MAIN is passed to ${LD}. If build without libgcc, the value of LIBGCC is just libgcc.a without parent directory. linux-yocto fails to build: | LD vmlinux.o | aarch64-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory Add libgcc to aarch64 kernel dependency. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Ensure we have a dependency on the actual sourceRichard Purdie
Tthe kernel populate_sysroot can come from sstate, we need the full source here. We therefore depend on the configure task which isn't covered by sstate to ensure we get the right set of files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Ensure we don't race against do_make_scripts from ↵Richard Purdie
module-base.bbclass do_install for kernel-devsrc can race against do_make_scripts from module-base.bbclass. Since there is a lock there to guard against concurrency already, we can just use it here to avoid a race. Ultimately, this can all likely be much more streamlined but this resolves the immediate build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21kernel-devsrc: Handle ppc crtsaves.o explictly for nowRichard Purdie
Resolve kernel module build failures for qemuppc by including crtsaves.o. I'm not particularly happy to be doing this, it should perhaps be contained in the kernel-dev package. Until the overlap between kernel-devsrc and kernel-dev is resolved, this at least removed the regressions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20kernel-devsrc: Inherit module-baseRichard Purdie
As a "normal" recipe, mulitlib would try and extend it for multilibs. By inheriting module-base, we can avoid this since we now look more 'kernel' like. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20linux-yocto/3.14: update to 3.14.26, integrate ltsi and -rt updatesBruce Ashfield
Updating the 3.14 tree to the latest korg 3.14.26, as well as integrating 3.14 LTSI content, and refreshing preempt-rt. Minor conflict resolutions were performed between ltsi, stable and -rt Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.10: update to v3.10.62Bruce Ashfield
Updating to the latest korg -stable update for the 3.10 series. Minor merge conflict resolution was done with the standard/ltsi and standard/preempt-rt branches. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.17: update to v3.17.6Bruce Ashfield
Integrating the latest korg -stable update for v3.17 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.14: update to v3.14.24Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.10: update to v3.10.59Bruce Ashfield
Updating to the latest 3.10 -korg stable update. We also bring in a meta change for the valley island IO configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20linux-yocto/3.17: update to v3.17.2Bruce Ashfield
Updating to the korg 3.17.2 -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>