summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux/configs: Add config fragment to increase /dev/ram sizeNathan Rossi2014-11-143-0/+11
| | | | | | | | * features/blk/dev-ram-32mb.scc: Increases BLK_DEV_RAM_SIZE to 32768 for a 32MB RAM block device, whilst reducing the count of devices to 4 * Use the feature fragment as default for Zynq Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx_3.14: Add patch for USB PHY reset during probeNathan Rossi2014-11-042-0/+62
| | | | | | | | * Adds the ability for the USB driver to reset the PHY via a GPIO pin * This resolves the case where FSBL, u-boot-spl, u-boot does not reset the PHY Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux/configs: Add additional configs for Zynq USBNathan Rossi2014-10-311-1/+4
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux/configs: Add DMA configs to xilinx-ip.cfgNathan Rossi2014-10-311-0/+1
| | | | | | * CONFIG_XILINX_VDMA is the mainline AXI VDMA driver Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-*_3.10: Disable the MACB driverNathan Rossi2014-10-274-2/+16
| | | | | | | | | * In the Linux kernel v3.10 the MACB driver does not function correctly * Both kernels have the EMACPS driver, use this instead * Add a feature config fragement to disable MACB, this is useful in the case that the machine needs to use the EMACPS driver Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux/configs: Add CONFIG_CPU_IDLE_ZYNQ=y for ZynqNathan Rossi2014-10-271-0/+1
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto_3.10: Backport patches for MicroBlazeNathan Rossi2014-10-274-1/+128
| | | | | | | | * The linux-yocto 3.10 kernel is missing a patch that should be in 3.10, backport the patch from mainline * Backport some patches from mainline to fix issues with MicroBlaze Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx: Fix up value of SRCREVNathan Rossi2014-10-272-3/+3
| | | | | | | | * Force SRCREV_machine = SRCREV as the linux-yocto recipe/scripts use the SRCREV_machine variable * Fix up the SRCREV setting for linux-xlnx-dev Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto: Add recipe for linux-yocto 3.17Nathan Rossi2014-10-271-0/+4
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx: Rework linux-xlnx recipes to inherit linux-yoctoNathan Rossi2014-10-278-171/+23
| | | | | | | | | | | | | | | * Rework the recipes to inherit the linux-yocto recipes * Use the linux-yocto configuration process to create the kernel config * Suppliment the linux-yocto kernel cache/meta branch with a subset cache located in the meta-xilinx layer (this is to avoid incompatibilies) * Use the same config fragments and setup as the linux-yocto appends for Zynq and MicroBlaze * Remove the generation of device trees from the kernel recipe * Remove the use of the MACHINE_KCONFIG variable for providing config fragements Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx: Add config fragments for base configsNathan Rossi2014-10-2720-0/+150
| | | | | | | | | | | * Add a kernel cache for linux-xlnx base configs that are common for all platforms/architectures * This kernel cache is intended to be used as a substitute to the linux-yocto kernel cache for the linux-xlnx kernels * Configs are a subset of the standard configs provided by linux-yocto kernels Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux: Add config fragments for MicroBlaze machinesNathan Rossi2014-10-274-0/+37
| | | | | | | * qemumicroblaze * kc705-trd-microblazeel Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux: Add support for linux-yocto config fragmentsNathan Rossi2014-10-2727-10/+392
| | | | | | | | | | | | | | * Added kernel config fragments for Zynq and MicroBlaze * Includes config fragments specifically for the architecture/SoC and drivers * Feature fragments for features commonly used with Zynq and MicroBlaze platforms that are not yet part of the default yocto kernel configs * Setup the linux-yocto append recipes to add the in layers config/* kernel cache * Remove the use of MACHINE_KCONFIG and MACHINE_DEVICETREE from the linux-yocto recipes Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx: Remove 3.8 kernelNathan Rossi2014-05-232-49/+0
| | | | | | | | | * This kernel version is outdated and has been superseded by the 3.10 and 3.14 kernels * This change mirrors the dropping of the 3.8 linux-yocto kernel in the 1.6 yocto release Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx-dev: Update recipeNathan Rossi2014-05-211-26/+7
| | | | | | | | * Update default SRCREV * Update version * Clean up comments Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx_3.14: Add 3.14 kernelNathan Rossi2014-05-211-0/+6
| | | | | | | * Add the recipe for the public linux-xlnx xlnx_3.14 branch * Update defconfig for zynq for 3.14 Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* machine-xilinx-default.inc: Move base dts includesNathan Rossi2014-04-301-6/+0
| | | | | | | | | | | * Move the base dts includes into the machine-xilinx-default.inc, removing the definition from the kernel recipes. This is to bring the device tree configuration inline with the kernel configuration variables. * Fix the name of the dtsi, using the expected file paths which machine the naming convention. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* machine-xilinx-default.inc: Move defconfig setupNathan Rossi2014-04-143-11/+0
| | | | | | | | * Move the defconfig into machine-xilinx-default.inc, so that the defconfigs can be completely overridden from machine configs * Add 3.14 defconfigs Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux/linux-machine-common.inc: Refactor defconfigsNathan Rossi2014-04-115-14/+11
| | | | | | | | | | | * Refactor defconfig default setting of MACHINE_KCONFIG, moving it from linux-xlnx.inc to linux-machine-common.inc, to allow sharing between linux-xlnx and linux-yocto recipes * Switch to prepending the configs, this ensures that the defconfigs are at the lowest priority, and that additional configs appended will override the defconfig Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux/linux-machine-kconfig.inc: Refactor out kconfig mergingNathan Rossi2014-04-112-22/+22
| | | | | | | | * Move the kconfig merging task into separate include * Update the merging to use "scripts/kconfig/merge_config.sh" instead of concatenating files together Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto: Add recipe for linux-yocto 3.14Nathan Rossi2014-04-011-0/+8
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx: Update SRC_URI to use https instead of gitNathan Rossi2014-03-254-5/+3
| | | | | | * Cleaned up the comments for tags used Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* boards/common/zynq-7-mainline-gem.dtsi: Added includeNathan Rossi2014-03-131-1/+4
| | | | | | | * This include is for setting up the zynq-7-base.dtsi to be compatible with linux-yocto and mainline drivers. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto-dev: Add support for MicroBlaze and ZynqNathan Rossi2014-03-121-0/+8
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto: Add 3.10 support for MicroBlaze and ZynqNathan Rossi2014-03-122-0/+81
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* boards/common: Re-organize defconfig pathsNathan Rossi2014-03-121-3/+2
| | | | | | | * Move to linux/<arch> sub directories * Update machine and kernel paths Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-yocto: Drop linux-yocto 3.8 supportNathan Rossi2014-03-1243-178673/+0
| | | | | | | * Remove all ported patches used * Remove all scc files for microblaze and zynq targets Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* Don't add the kernel modules to the kernel-base package. This breaks the ↵Andreas Galauner2014-01-111-3/+0
| | | | | | | | kernel-modules metapackage which is automatically created. By adding the kernel module files to the kernel-base package, the kernel-modules metapackage breaks. The metapackage depends on automatically created kernel-module packages (named kernel-module-<modulename>) which are empty if the files are added to the kernel-base package. This causes bitbake to not create the packages for installing later as they wouldn't have any effect anyway. The twist is, that the kernel-modules metapackages depends on these packages. During creation of the rootfs, the process fails, because those packages can't be found. If modules should be installed in the image, don't use the kernel-base package for that. The kernel-modules packages is the right one.
* linux-xlnx: Backport kernel change for traceeventNathan Rossi2013-11-182-0/+39
| | | | | | | | * The Makefile in traceevent has posioned the includes for cross builds with /usr/local/include. This upstream patch has been back ported (from linux-xlnx 3.10) to resolve this issue. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* recipes-kernel:linux-yocto: Adjust xlnx_3.8 patch file.Sipke Vriend2013-11-083-116/+1799
| | | | | | | Adjust patch file to match new linux-xlnx_3.8 SRCREV. Also remove now redundant patch (included in adjusted patch). Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-xlnx: Update SRCREV for linux-xlnx_3.8Sipke Vriend2013-11-081-1/+1
| | | | Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-xlnx: Adjust SRCREV for linux-xlnx_3.10Sipke Vriend2013-10-291-2/+2
| | | | | | | Adjust source revision for linux-xlnx_3.10 recipe to match linux-xlnx.git tag Xilinx-v14.5. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-xlnx: Adjust SRCREV on xlnx_3.8 branch.Sipke Vriend2013-10-291-2/+1
| | | | Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-yocto: Adjust recipes and patches to match xlnx_3.8.Sipke Vriend2013-10-297-15/+80192
| | | | | | | Utilise the xlnx_3.8 branch sources on linux-xlnx.git instead of master. Adjust linux-yocto recipes and include additional patches accordingly. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-yocto: Remove a few redundant kc705 scc files.Sipke Vriend2013-10-283-29/+0
| | | | Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-xlnx: Adjust kernel to use xlnx_3.8 branchSipke Vriend2013-10-222-10/+6
| | | | | | linux-xlnx has an xlnx_3.8 branch, adjust the recipe to us it. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* linux-yocto: Change SRCREV_externalcache to be staticNathan Rossi2013-10-081-2/+4
| | | | | | | * Select a specific SRCREV for the externalcache * Resolves internet access requirement during parsing step Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-dtb.inc: Only append packages if not already in collectionNathan Rossi2013-10-081-1/+2
| | | | | | * Fixes compatibility with the linux-yocto recipes Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-xlnx.inc: Remove use of "linux-yocto"Nathan Rossi2013-09-173-8/+41
| | | | | | | | | | * Remove the dependence on the linux-yocto.inc and linux-yocto classes. * This change is made to make linux-xlnx less dependent on features that are provided by the linux-yocto recipes, and in turn make the linux-xlnx recipe more portable. * Fix-up the individual .bb files where required. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-dtb.inc: Fix-up PACKAGES variable for QA issuesNathan Rossi2013-09-171-0/+3
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* linux-machine-config.inc: Refactored useful python functionsNathan Rossi2013-09-041-32/+6
| | | | | | | | * Refactored the useful python functions into more generic form and placed them in the 'xilinx-utils.bbclass' which can be inherited for the functions. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* recipes-kernel:linux-xlnx Add recipe for linux-xlnx 3.10 and correspondingSipke Vriend2013-09-031-0/+10
| | | | | | | | config file in conf/machine. Added linux-xlnx_3.10.bb recipe, pointing initially at master next branch. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-yocto: Move common items to include file.Sipke Vriend2013-08-213-28/+27
| | | | | | | | | | linux-yocto recipe was modified to use overrides for SRC_URI. Extend this to linux-yocto-tiny by moving common parts to an include file. Update external cache variables to use overrides in case other BSP wish to use an external cache. Correct typo form microblaze configuration file. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* linux : Use overrides to prevent global application of SRC_URI_appends.Philip Balister2013-08-212-7/+8
| | | | | | | | Limt the scope of the SRC_URI additions to the machine/soc they apply to. If this layer is used with other BSP's, the patches may cause problem with other linux-yocto bbappends. Signed-off-by: Philip Balister <philip@balister.org>
* recipes-kernel: Move DTB generation to meta-xilinxSipke Vriend2013-08-213-4/+68
| | | | | | | | | | | | | oe-core changed the DTB generation to use the linux make system. http://git.openembedded.org/openembedded-core/commit/?id=72980d5bb465f0640ed451d1ebb9c5d2a210ad0c This resulted in the kernel make failing as the meta-xilinx contained dts/dtsi files are not in the kernel tree. To resolve, move the DTB creation using DTC into meta-xilinx layer. This will correct the make error and build the DTS files in meta-xilinx. Additionally the user can set KERNEL_DEVICETREE within local.conf to build an in-kernel-tree DTS if they desire. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-yocto: Set compatible machine to soc familySipke Vriend2013-08-162-2/+2
| | | | | | | Set COMPATIBLE_MACHINE to soc families, zynq and microblaze. This will capture all supported machines from conf. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel:linux-xlnx Move revision to bb file.Sipke Vriend2013-08-132-1/+2
| | | | | | | Move the revision to the bb file for linux-xlnx so it can be updated per kernel version. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* recipes-kernel: Add linux-xlnx-dev bleeding edge recipeSipke Vriend2013-08-091-0/+44
| | | | | | | | | | | Bleeding edge recipe allows developers to build the latest commit on linux-xlnx kernel master-next branch. The branch can be modified by the developer if they wish in the local.conf file by setting KBRANCH variable. The configuration is taken from meta-xilinx, and is likely from a slightly older kernel release. The developer should create a new config if there are new configs or features in the bleeding edge kernel. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
* linux-xlnx: Remove untested, Linux 3.6 versionNathan Rossi2013-08-021-11/+0
| | | | | | * Removed associated defconfigs Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* Refactored MACHINE_* usageNathan Rossi2013-08-013-29/+64
| | | | | | | | | | | | | * Added 'conf/machine/boards' as a default FILESEXTRAPATH (for each available layer). * Change MACHINE_* to rely only on the path being relative to 'conf/machine/boards'. * Fixed up linux-xlnx.inc and linux-machine-common.inc to use 'MACHINE_*' for default files. * Fixed KERNEL_DEVICETREE setting such that the variable is valid before the base __anonymous function of linux-dtb.inc is executed. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>