summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "binutils: revert to version 2.25.1 for e500mc targets"HEADmasterAdrian Dudau2016-10-2727-22327/+0
| | | | | | | | | | | | | This reverts commit 043564f3b4dc1d2801c2170e92ec4b84403a1d0d. The boot issue that originally caused this commit has been fixed in the 4.1 kernel. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com> Conflicts: conf/layer.conf
* Revert "kernel: CVE-2016-4951"Martin Borg2016-10-272-48/+0
| | | | | | | meta-freescale uses a kernel version that includes this fix. Signed-off-by: Martin Borg <martin.borg@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Revert "kernel/drivers/hid: CVE-2016-5829"Adrian Dudau2016-10-202-53/+1
| | | | | | | | meta-freescale bumped up to a newer kernel version that includes this fix. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Replace dependency on meta-fsl-ppc with meta-freescaleAdrian Dudau2016-10-192-3/+3
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* kernel: CVE-2016-4951Sona Sarmadi2016-10-112-0/+44
| | | | | | | | | | | | | Fixes null pointer dereference in tipc_nl_publ_dump. References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4951 Reference to upstream fix: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/?id=49956430d3d55b47e4a2d2f5f777d641cae137d6 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* kernel/drivers/hid: CVE-2016-5829Sona Sarmadi2016-07-282-0/+56
| | | | | | | | | | | | | | Fixes a heap-based buffer overflow vulnerability in the Linux kernel's hiddev driver. This flaw could allow a local attacker to corrupt kernel memory or crashing the system. References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5829 Upstream patch: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/?id=f67b6920a0cf Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
* linux-qoriq: Upgrade to v4.1Adrian Dudau2016-07-117-211/+1
| | | | | | Drop patches that are already in mainline. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* README: Update maintainers and contribution informatioAdrian Dudau2016-07-041-2/+4
| | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* linux-qoriq: Fix kernel oops caused by fsnotify race conditionAdrian Dudau2016-05-312-0/+81
| | | | | | | Backport from mainline. Only kernels <4.2 are affected by this. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Fman config for Enea specific device treeAdrian Calianu2016-05-231-0/+7
| | | | | | | | | For Enea specific device tree where only the FM1@GETH5 is allocated to Linux stack while all other ethernet ports are allocated to USDPAA it is required to have a specific config file. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* kernel ipc: fix compat msgrcv with negative msgtypPaul Vaduva2016-04-272-0/+29
| | | | | | | | | | Compat function takes msgtyp argument as u32 and passes it down to do_msgrcv which results in casting to long, thus the sign is lost and we get a big positive number instead. Cast the argument to signed type before passing it down. Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
* Update layer dependency on meta-enea-bsp-commonAdrian Dudau2016-04-212-3/+3
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Drop linux-qoriq-prt kernel recipeAdrian Dudau2016-04-151-10/+0
| | | | | | | | We don't release a preempt-rt enabled kernel in 6.0, so no need for the recipe. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* linux-qoriq: Remove dts patches for USDPAAAdrian Dudau2016-04-144-458/+0
| | | | | | | These are moved to the meta-enea-networking layer. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* recipes-kernel: rename references to cfg fragmentsStefan Sicleru2016-04-012-26/+26
| | | | | | | | Kernel config fragments were renamed and references must be updated accordingly. Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* binutils: revert to version 2.25.1 for e500mc targetsMartin Borg2016-03-3027-0/+22327
| | | | | | | | | | | | Poky master branch has recently upgraded to binutils version 2.26, but for e500mc based targets the kernel crashes early in boot if built with this version of binutils. Reverting back to binutils 2.25.1 is a temporary workaround to be able to build bootable images for these targets. Signed-off-by: Martin Borg <martin.borg@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
* pramfs-init: add recipeNora Björklund2016-03-092-0/+94
| | | | | | | pramfs-init is a RRECCOMMEND to pramfs, that helps mount FS to PRAM. Signed-off-by: Nora Björklund <nora.bjorklund@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* linux-qoriq: stop copying cfg fragmentsAdrian Dudau2016-03-081-18/+0
| | | | | | | | | The bug this change addresses has been fixed upstream in meta-fsl-ppc ( commit 97a5f5d7c1451649b72cdc4d6faab69a761c6e7b), so it's not needed anymore. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
* recipes-kernel: provide VFAT and NLS supportStefan Sicleru2016-03-011-0/+1
| | | | | | | | Add support for VFAT fs and one of its available code pages - 437 (United States, Canada). Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* recipes-kernel: provide NFSv3/4 server supportStefan Sicleru2016-03-011-0/+2
| | | | | Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* kernel: copy cfg fragments to kernel's build directoryStefan Sicleru2016-03-012-29/+6
| | | | | | | | | | | | | | | | | | | | There were two do_configure_prepend() methods, one within FSL's repository and another one in Enea's repository. Due to layers' priorities, the last to be executed was the one from FSL's layer. Hence .config resulted from executing do_configure_prepend() from Enea's repository was lost because both were operating on the same .config file. The issue is how FSL checks for cfg fragments. Fragments need to be within build directory instead of source directory, hence do_unpack_append() method was modified accordingly, otherwise none of the fragments would have been applied on .config. do_configure_prepend() from our repository was deleted, since it's not of much use. Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* update layer dependenciesAdrian Dudau2016-02-222-4/+5
| | | | | | | | The config fragments have been moved to meta-enea-base-ppc now, so this layer should depend on it now. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* openssl: add ptestStefan Sicleru2016-02-054-0/+148
| | | | | | | | | | | This is backported from poky/meta repository. Needed only by FSL's openssl version (found in meta-fsl-ppc layer). Original commit: 8132507f0397877c4d528414c6d34ca61674b6dd on meta-fsl-ppc/dizzy-enea. Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* kernel: Add device tree for p3041ds for USDPAAdizzyMihaela Martinas2015-12-142-0/+129
| | | | | | | | | | | | A new device tree for USDPAA support has been added for p3041ds platform. This was necessary to allow the usage of an ethernet interface as a normal one, that interfaces with the Linux kernel network stack. In the beginning all the interfaces were allocated to USDPAA, so they were not visible to the Linux kernel. For the development process this would mean the impossibility to boot using a nfs or to connect via ssh. Signen-off-by: Mihaela Martinas <Mihaela.Martinas@enea.com> Signed-off-by: Huimin She <huimin.she@enea.com>
* kernel: Add device tree for p2041rdb for USDPAAMihaela Martinas2015-12-102-0/+115
| | | | | | | | | | | | A new device tree for USDPAA support has been added for p2041rdb platform. This was necessary to allow the usage of an ethernet interface as a normal one, that interfaces with the Linux kernel network stack. In the beginning all the interfaces were allocated to USDPAA, so they were not visible to the Linux kernel. For the development process this would mean the impossibility to boot using a nfs or to connect via ssh. Signed-off-by: Mihaela Martinas <Mihaela.Martinas@enea.com> Signed-off-by: Huimin She <huimin.she@enea.com>
* kernel: add device tree for t4240rdbHuimin She2015-12-092-0/+215
| | | | | | | | | | | | A device tree (dts) is added for USDPAA support on t4240rdb. In the default USDPAA dts, all the ethernet interfaces are dedicated to USDPAA, so that they are not visible to Linux kernel. This brings difficulty for development, such as nfs booting and ssh login. In the new dts, one ethernet interface is reserved for Linux kernel network stack, and the others are for USDPAA. Signed-off-by: Huimin She <huimin.she@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
* linux-qoriq-common.inc: Replaced python print with yocto commandAndrei Varvara2015-12-091-3/+3
| | | | | | | | | When printing from a recipe it should be used the printing functions provided by yocto. Used bb.note for info printing and bb.error for error exception printing. Signed-off-by: Andrei Varvara <andrei.varvara@enea.com> Signed-off-by: George Nita <george.nita@enea.com>
* linux-qoriq-common.inc: Fix config fragment path for linux-qoriqAndrei Varvara2015-12-071-0/+15
| | | | | | | | | | | | | | | | | | The Freescale linux-qoriq.inc is expecting that cfg folder is present in the source directory. Our recipes regarding cfg copies the cfg folder in the working directory. A patch was made to the Freescale's original recipe to look for cfg patches inside workdir, but this was not accepted by Freescale. A new fix was proposed that basically copies the cfg folder from the working directory to source directory where original FSL recipe expects to find it. This way we do not have to modify the original FSL recipe. In order to implement this fix python code that copies the cfg folder from working directory to source directory has been added in the do_unpack task. Signed-off-by: Andrei Varvara <andrei.varvara@enea.com> Signed-off-by: George Nita <george.nita@enea.com>
* Moved config fragment path fix for linux-qoriq kernelAndrei Varvara2015-11-251-0/+26
| | | | | | | | relocated config fragment path fix for linux-qoriq kernel from meta-fsl-ppc to meta-enea-bsp-ppc Signed-off-by: Andrei Varvara <andrei.varvara@enea.com> Signed-off-by: George Nita <george.nita@enea.com>
* add the linux-qoriq-prt kernel recipe from meta-fsl-ppcAdrian Dudau2015-11-173-0/+131
| | | | | | | | New kernel recipes are defined in the meta-enea-bsp-<arch> layers now. Movin the recipe together with patches from meta-fsl-ppc. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Tudor Florea <tudor.florea@enea.com>
* minor changes to the README fileAdrian Dudau2015-11-021-2/+2
|
* linux-qoriq: add whitespace before prepend valueAdrian Dudau2015-10-291-1/+1
| | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* linux-qoriq: small formatting fixAdrian Dudau2015-10-291-1/+3
| | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* kernel: lose the staging-kernel legacyAdrian Dudau2015-10-292-182/+0
| | | | | | | | We give up building the so-called "staging kernel". From now on we'll use the native kernel configuration mechanism and issue two kernel build commands if needed. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* rename the kernel config fragments variableAdrian Dudau2015-10-291-3/+3
| | | | | | | To keep it in synch with the one defined in enea.common.inc in meta-enea-base. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Initial commitAdrian Dudau2015-10-2813-0/+558
result of splitting up meta-enea Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>