summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* Update recipes for Xilinx v2017.3 releaseNathan Rossi2017-11-215-33/+25
| | | | | | | | | | | | Update the arm-trusted-firmware, pmu-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx and qemu-devicetrees recipes for to the 'xilinx-v2017.3' release tags. Drop/update existing patches where applicable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* linux-yocto_4.4.bbappend: Drop patches for 4.4Nathan Rossi2017-10-182-58/+0
| | | | | | | | | Drop patches for the linux-yocto 4.4 kernel. This version of linux-yocto does not have upstream configuration for meta-xilinx targets and is superseded by 4.9 and newer kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* linux/xilinx-kmeta: Consolidate zybo-linux-bd-zynq7 configsNathan Rossi2017-10-1810-35/+27
| | | | | | | | | Consolidate the BSP specific configs for the ZYBO Linux-BD BSP. Move Xilinx DRM fragment under bsp/xilinx/soc/drivers-drm, this fragment is currently only useful for linux-xlnx targets. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: Rework kernel config setupNathan Rossi2017-10-183-46/+25
| | | | | | | | | | | | | | | | This change reworks how the linux-xlnx kernel is configured, instead of using kmeta fragments as the base config the kernel is instead configured with defconfigs from the vendor tree. This has been the default for zcu102-zynqmp and now extends to Zynq and MicroBlaze targets. Since linux-yocto.inc is still included by the linux-xlnx.inc, it is possible to still use kmeta like .scc/.cfg fragments separately as well as from a kmeta source. This is used by default to get the KC705 and ZYBO Linux-BD kernel configuration fragments. Though fragments are limited to the current in layer provided fragments by default. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto: Rework kmeta/config for linux-yocto bbappendsNathan Rossi2017-10-185-12/+33
| | | | | | | | | | | Rework meta-xilinx specific appends for linux-yocto to configure specific KMACHINE -> MACHINE pairs as well as setting up the xilinx-kmeta directory for additional fragments. Additionally pull out the MicroBlaze specific DEPENDS modificaation for common use. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/xilinx-kmeta: Collapse xilinx-* kmeta directories into oneNathan Rossi2017-10-1859-224/+0
| | | | | | | | | | | Collapse the existing xilinx-* kmeta directories into a single kmeta directory. At the same time remove all linux-xlnx specific kmeta, it is no longer required as linux-xlnx is using defconfigs as baseline kernel configuration. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Rework kmeta based on kernel-cache mergeNathan Rossi2017-10-1841-552/+11
| | | | | | | | | | | | | | | | A large portion of the kmeta in xilinx-common and xilinx-machine was upstreamed into the linux-yocto kernel-cache and is no longer needed in the meta-xilinx layer. This change removes any fragments that are in the yocto-kernel-cache, and reworks remaining configs for use with linux-yocto. Compatibly with linux-xlnx is dropped due to favouring defconfigs. This includes Zynq and MicroBlaze machine configs (excluding kc705 and Zybo Linux-BD BSP), board common bsp/ fragments and a number of feature fragments that are already available in the yocto kernel cache. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* Drop Xilinx v2016.x release recipesNathan Rossi2017-10-184-983/+0
| | | | | | | | | | | | | These recipes were primarily kept to make the transition for ZynqMP from Non PMU Firmware to PMU Firmware easier for users. However these releases are now outdated (by at least a year) and users should have already transitioned or sorted out a long term strategy if not. This change also drops any patches that were only used/available for these recipes. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com>
* linux-yocto_4.1.bbappend: Drop 4.1 and its patchNathan Rossi2017-08-262-33/+0
| | | | | | linux-yocto 4.1 is no longer available in oe-core, so drop the append. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update zynqmp config fragmentsNathan Rossi2017-05-302-0/+35
| | | | | | | Update the zynqmp config fragments, adding new drivers available in linux-xlnx as well as some mainline available drivers. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update zynq7 fragmentsNathan Rossi2017-05-303-0/+6
| | | | | | | Update the zynq7 fragments to include new configs available in linux-xlnx and mainline kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: Add recipe for xilinx-v2017.1 releaseNathan Rossi2017-05-154-0/+983
| | | | | | | | | | Add a recipe for the xilinx-v2017.1 release, this release is based on kernel version 4.9. Also update the zybo-linux-bd-zynq related patches to apply for this version of the linux-xlnx kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Add debug-dyndbg kernel feature fragmentNathan Rossi2017-05-152-0/+15
| | | | | | | | The debug-dyndbg fragment enables CONFIG_DYNAMIC_DEBUG, which enables the building of pr_debug/etc. such that during execution the debug messages can be enabled dynamically. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Enable ZYNQMP_PM_API_DEBUGFS for linux-xlnx kernelsNathan Rossi2017-04-261-0/+3
| | | | | | | | Enable the ZYNQMP_PM_API_DEBUGFS option to expose information about the PM API. This generally useful even when not debugging. Additionally this is enabled by the zynqmp defconfig in linux-xlnx. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux: Drop unused patchNathan Rossi2017-03-311-39/+0
| | | | | | | This was only used for linux-yocto 4.8 kernels, and is no longer used. So remove it. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto: drop 4.8 recipesMischan Toosarani-Hausberger2017-03-312-12/+0
| | | | | | | | | openembedded-core dropped the 4.8 recipes: http://git.openembedded.org/openembedded-core/commit/?id=466e6e45ca04a07ebe1b1f52de747f077b362d54 Signed-off-by: Mischan Toosarani-Hausberger <mischan@iviso.at> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Enable ZynqMP FPGA manager for linux-xlnx kernelsNathan Rossi2017-03-241-0/+4
| | | | | | | The ZynqMP FPGA manager driver is available in linux-xlnx kernels, enable it for them. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto: Enable linux-yocto and linux-yocto-tiny as wildcardNathan Rossi2017-03-246-12/+0
| | | | | | | | | | Enable linux-yocto and linux-yocto-tiny kernels via a wildcard bbappend. This allows for enabling kernels without having to explicitly create bbappends for each version. Patches are still applied in versioned bbappends. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx-dev: Skip version sanity check and update versionNathan Rossi2017-03-241-2/+5
| | | | | | | | Skip the kernel version sanity checking, in the same way that linux-yocto-dev does. Also update the version number and fall back commit id. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: Update to the xilinx-v2016.4 releaseNathan Rossi2017-02-161-2/+2
| | | | | | | | | Update the linux-xlnx recipe to point at the xilinx-v2016.4 release. Note that this changes the naming convention for the .bb file, this has no affect on the value of PV since it is specific in the recipe itself. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/linux-*.inc: Add 'name' field to the kmeta type sourcesNathan Rossi2017-02-162-3/+3
| | | | | | | | When using the source archive class (for license compliance purposes) it is unable to determine the name for the kmeta type sources. Explicitly give the kmeta source entries 'name' values in the format 'kmeta-*'. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto*_4.9.bbappend: Enable linux-yocto 4.9Nathan Rossi2017-02-012-0/+8
| | | | | | Enable linux-yocto and linux-yocto-tiny 4.9 kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Add "CONFIG_USB_ULPI" for zynq7Nathan Rossi2017-02-011-0/+1
| | | | | | | Some boards use USB PHYs that need to be communicated with via ULPI. Enable CONFIG_USB_ULPI. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx.inc: Add KERNELURIVineeth Chowdary Karumanchi2017-01-231-1/+2
| | | | | | | | Add KERNELURI for custom kernel url's Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Reviewed-by: Manjukumar Harthikote Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto_4.8: Resolve CONFIG_DEBUG_RODATA for ZynqNathan Rossi2016-12-214-3/+49
| | | | | | | | | | | | | | | This patch resolves a previous commit (ea4ca65aaf) which only mitigated the issue caused due to CONFIG_DEBUG_RODATA for Zynq. This issue has been properly fixed in the next version of the kernel (v4.10) and this change backports the patch to the v4.8 kernel for linux-yocto(-tiny). Additionally this change removes the forced disabling of CONFIG_DEBUG_RODATA allowing for Zynq platforms to use the feature without issue. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-microblazeel: Update to 2016.3 Xilinx designManjukumar Matha2016-12-041-0/+4
| | | | | | | Change kc705-microblazeel to reflect v2016.3 Xilinx tools. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: Embed Xilinx Release Version in PV and EXTENSIONNathan Rossi2016-11-232-2/+3
| | | | | | | | | | | | | | | | | | | | | Embed the Xilinx Release Version into the PV of the linux-xlnx recipes. This allows for easier determination of which version of linux-xlnx is in use and avoid any ambiguity when one or more Xilinx Release uses the same upstream kernel version. This removes the need for the comment on what the SRCREV points at, instead this is replaced with a XILINX_RELEASE_VERSION variable which contains the 'vYYYY.X' release string. This change sets the LINUX_VERSION_EXTENSION with the release version so that the kernel is compiled with the version in 'CONFIG_LOCALVERISON', this results in the kernel having the Xilinx Release Version embedded in its version which can be seen using uname or during boot: $ uname -sr Linux 4.6.0-xilinx-v2016.3 Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx_4.6: Update patches for zybo-linux-bd-zynq7 display supportNathan Rossi2016-11-196-65/+102
| | | | | | | Update the patches that enable the Digilent DRM encoder and clock cores. Also update the patch that fixes DPMS issues with the Xilinx DRM driver. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx_4.4: Drop this version it is supersededNathan Rossi2016-11-191-11/+0
| | | | | | | The v4.4/xilinx-v2016.2 version of the linux-xlnx kenrel is dropped in favour of the newer 4.6/xilinx-v2016.3 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update and improve config fragmentsNathan Rossi2016-11-1932-37/+177
| | | | | | | | | | | | Update and add new config fragments to enable newer features that are now in the newer kernels (e.g. Zynq and ZynqMP drivers/features). This update also attempts to cover ZynqMP configuration that is normally provided by the ZynqMP defconfig in linux-xlnx, this allows for better consistency between the Zynq/ZynqMP/MicroBlaze configuration for linux-xlnx as well as enabling better configuration setup for the linux-yocto* kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx_4.6.bb: Update kernel to v2016.3 tagManjukumar Matha2016-11-181-0/+5
| | | | | | | This patch updates xilinx kernel to v4.6 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: For Zynq hard disable CONFIG_DEBUG_RODATANathan Rossi2016-11-111-0/+3
| | | | | | | | | | | | CONFIG_DEBUG_RODATA was switched to default yes in v4.6+ kernels. Whilst the feature works correctly it causes changes with how the kernel .head.text and .text sections are padded which allows for memory below 0x80000 (512KB) to be non-reserved and used as memory for DMA allocations which do not work on Zynq due to devices not being allowed to access DDR below 0x80000. Disabling CONFIG_DEBUG_RODATA prevents the padding between .head.text/.text. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto-tiny: Add support for building linux-yocto-tiny 4.8Nathan Rossi2016-10-294-0/+37
| | | | | | | This adds support for building linux-yocto-tiny 4.8 kernel for the 3 main meta-xilinx architectures. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Add specific dependencies that are defaulted to yesNathan Rossi2016-10-299-1/+24
| | | | | | | | Add specific config options that are normally defaulted to yes when the kernel is configured with defaulting to yes. This allows for kernels that default no to be correctly configured. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Add dependent configs for linux-xlnx ZynqMP featuresNathan Rossi2016-10-291-0/+2
| | | | | | | Enable config dependencies for DMA and PCI which are required for ZynqMP drivers/features. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemu* -> *qemu-*: Rename QEMU machinesNathan Rossi2016-10-277-10/+10
| | | | | | | | | | | | | | | Rename the QEMU machines to match the <board>-<design>-<arch> convention. QEMU only machines no longer need to be named qemu*. Note for qemuzynq it is special in that it does not model a board, as such it has no board in the name being just 'qemu-zynq7'. This updates the README.md to match the new machine names. Additional update all occurrences of the qemu* machines Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* linux-xlnx.inc: Use KBRANCH, setting it to "" for branchlessNathan Rossi2016-10-112-3/+2
| | | | | | | | | | | The linux-yocto recipe and metadata tools handle branchless source. Letting KBRANCH = "master" for nobranch checkouts is not needed any more. Change all uses of SRCBRANCH to KBRANCH and set KBRANCH to the branch or empty by default. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx-dev: Remove duplicate setupNathan Rossi2016-10-111-6/+0
| | | | | | | | The PREFERRED_PROVIDER check is already done by linux-yocto.inc, avoid doing it twice. Also linux-xlnx.inc sets the PV correctly, no need to set it again. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx-dev: Update kernel to current master version at 4.6+Nathan Rossi2016-10-111-2/+2
| | | | | | | Update the linux-xlnx-dev recipe to the current HEAD of master. Which is at a v4.6 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Clean up soc/microblaze.cfgNathan Rossi2016-09-281-4/+1
| | | | | | | | | * CONFIG_SERIAL_OF_PLATFORM is already configured with serial drivers in soc/drivers/xilinx.cfg * Use the syntax "# CONFIG_FTRACE is not set" so that it when the kernel config check is run it matches the value set in the .config Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: CONFIG_VT is not broken for MicroBlaze anymoreNathan Rossi2016-09-281-2/+0
| | | | | | Allow CONFIG_VT to be enabled for MicroBlaze. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update linux-xlnx config fragmentNathan Rossi2016-09-201-4/+0
| | | | | | | | | Remove the CONFIG_XILINX_AXIPCIE, this driver has been merged into mainline and is available with the kconfig CONFIG_PCIE_XILINX. The new config is also provided in the "bsp/xilinx/soc/drivers/xilinx-pcie.scc" feature. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: When enabling USB_GADGET_XILINX also enable USB_GADGETNathan Rossi2016-09-201-0/+1
| | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Clean up common zynq7.cfgNathan Rossi2016-09-201-5/+1
| | | | | | Add dependent configs and remove unused configs. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto_4.8: Add appends for linux-yocto 4.8Nathan Rossi2016-09-201-0/+4
| | | | | | Add the default configuration appends for the linux-yocto 4.8 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: KCONFIG_MODE values have changed, update to 'alldefconfig'Nathan Rossi2016-09-011-1/+1
| | | | | | | In commit 0f698dfd1c8bbc0d53ae7977e26685a7a3df52a3 of oe-core, the values for KCONFIG_MODE have changed, the values are no longer flags. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zynqmp.cfg: Actually disable MALI in kernelMike Looijmans2016-07-311-1/+1
| | | | | | | | | | | Commit fbc9fcd55a20ec2050 "zynqmp.cfg: Disable MALI in kernel" sets CONFIG_ARM_MALI=n, which is incorrect and will not have any actual effect on the configuration. The correct syntax to disable the module is "# CONFIG_ARM_MALI is not set". Fixes: fbc9fcd55a20ec205088c8026f5d25feb08430a3 Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* board-common.cfg: Disable 4K sectors on QSPI NOR flashMike Looijmans2016-07-311-0/+1
| | | | | | | | | | | | The 4K sector support makes erasing much slower and prevents using wear-levelling filesystems like UBI, which needs erase sectors to be at least 16k in size. Until this situation has been properly resolved in the kernel, disable the setting. For a discussion on the topic, and the reason the config exists, see: https://patchwork.ozlabs.org/patch/380565/ Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux standard.cfg: Replace ext2/ext3 drivers with ext4Mike Looijmans2016-07-311-2/+1
| | | | | | | | | | The ext4 driver supports all "ext" filesystems, including ext2 and ext3, and usually even performs better on existing ext3 partitions. Omitting the obsolete drivers makes the kernel a bit smaller. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx_4.4.bb: Update kernel to v2016.2 tagManjukumar Matha2016-07-161-2/+2
| | | | | | | Update Xilinx kernel recipe to xilinx-v2016.2 tag Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>