summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi-4.14: Update past 4.14.22Khem Raj2018-03-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Add recipe for v4.14.yPaul Barker2018-02-281-0/+6
| | | | | | It's alive! (a.k.a. upstream have stopped rebasing this branch) Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Update to v4.15.yPaul Barker2018-02-281-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to v4.9.80Paul Barker2018-02-281-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-firmware: fix addition of NVRAM file to image (fixes #184)Hugo Hromic2018-02-051-1/+1
| | | | Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa2018-02-011-3/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: fix build with devtoolMartin Kelly2018-01-311-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, building linux-raspberrypi with "devtool build" breaks because ${B}.config doesn't yet exist when do_configure_prepend runs. Fix this by taking some logic from kernel.bbclass do_configure to populate ${B}.config before do_configure_prepend. The full explanation for why this is necessary is fairly complex: - In devtool builds, externalsrc.bbclass gets inherited and sets a list of SRCTREECOVEREDTASKS, which don't get run because they affect the source tree and, when using devtool, we want the developer's changes to be the single source of truth. kernel-yocto.bbclass adds do_kernel_configme to SRCTREECOVEREDTASKS, so it doesn't run in a devtool build., In a normal non-devtool build, do_kernel_configme creates ${B}.config. - Normally (e.g. in linux-yocto), it would be OK that do_kernel_configme doesn't run, because the first few lines of do_configure in kernel.bbclass populate ${B}.config from either ${S}.config (if it exists) for custom developer changes, or otherwise from ${WORDIR}/defconfig. - In linux-raspberrypi, we add do_configure_prepend, which tweaks ${B}.config. Since this runs *before* the kernel.bbclass do_configure, ${B}.config doesn't yet exist and we hit an error. Thus we need to move the logic from do_configure up to before our do_configure_prepend. Because we are copying only a portion of do_configure and not the whole thing, there is no clean way to do it using OE functionality, so we just copy-and-paste. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* linux-raspberrypi: remove custom oldconfig commandMartin Kelly2018-01-311-2/+0
| | | | | | | | This command is done (with more correct flags) in kernel.bbclass's kernel_do_configure. Since we inherit that and prepend to it, we don't need to run it ourselves, as we end up just running it twice. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* linux-raspberrypi: Update 4.9 recipe to 4.9.77Andrei Gherzan2018-01-231-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-firmware: make rpi fw specific to rpiMartin Kelly2018-01-221-20/+20
| | | | | | | | | | | Currently, we are installing the rpi custom txt and fw files whenever the meta-raspberrypi layer is included in bblayers.conf. This breaks other machines that need to use the bcm43430 drivers but with alternate txt or fw files. Install these files only when "rpi" is in MACHINEOVERRIDES. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* linux-raspberrypi: Update dev version to 4.14.yPaul Barker2017-12-042-32/+2
| | | | | | The patch to add dtbo rules to the arm64 Makefile is no longer needed. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Don't install empty firmware directoryPaul Barker2017-12-041-4/+0
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to 4.9.65Paul Barker2017-12-041-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update 4.9 recipe to 4.9.59Andrei Gherzan2017-11-081-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-1/+1
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-firmware: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-4/+4
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-raspberrypi: Keep framebuffer support when vc4graphics is enabledPaul Barker2017-10-091-1/+0
| | | | | | Framebuffer support may be required for some monitors and applications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi.inc: Define KBUILD_DEFCONFIG for rpi0 WiFiAndrei Gherzan2017-10-031-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi-dev: Bump to 4.13.y seriesPaul Barker2017-09-241-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Move LOADADDR setting to inc filePaul Barker2017-09-243-10/+5
| | | | | | | There is no reason to continue supporting pre-4.8 series kernels so we can move the setting of LOADADDR to the common inc file. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Merge inc filesPaul Barker2017-09-242-133/+124
| | | | | | | There is no need to have 2 separate inc files any more and the existing code has several duplications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop ineffective codePaul Barker2017-09-241-19/+0
| | | | | | | The code to determine if we need to depend on lzop-native will fail as the local defconfig file no longer exists. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-base.bbclass: DropPaul Barker2017-09-241-1/+0
| | | | | | | | The only remaining function in linux-raspberrypi-base was split_overlays() which is used in the sdcard_image-rpi class. So we can move this function over and drop the now-empty linux-raspberrypi-base class. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop unnecessary codePaul Barker2017-09-241-8/+0
| | | | | | | | | * The kerneltype variable is not used anywhere after being set. * The manipulation of KERNEL_DEVICETREE is effectively a no-op, we read the current value in get_dts() and store this back into the same variable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-firmware: Update brcmfmac43430 to 7.45.41.46Andrei Gherzan2017-09-213-20/+27
| | | | | | | | | | | | | | | | | | | | | The version of this firmware provided by linux-firmware is 7.45.41.26. This version seems to have connectivity issues when bonding interfaces. Raspbian included an updated version (7.45.41.46) which tested, proved to fix this problem (see https://github.com/resin-os/meta-resin/issues/812). The version Raspbian is providing is not yet in linux-firmware as they have it directly from Cypress (see https://github.com/RPi-Distro/repo/issues/88). Besides the issue described above, it fixes various other issues including a broadpwn fix. Hopefully this version, or a newer one, will end up in upstream soon. In order to catch when that happens and stop overwriting this firmware, a check is added in the racipe based on the md5sum of the current shipped firmware. In terms of ditribution license, we got an informal one in the github thread mentioned above. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Build dtbs with dtbs make target for rpi64Khem Raj2017-09-201-0/+5
| | | | | | | | | | | OE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files This makes the vc4 initialize properly on rpi64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.9.bb: Upgrade to 4.9.50Khem Raj2017-09-201-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Disable DRBD lkmKhem Raj2017-09-081-0/+2
| | | | | | This comes from drbd-utils in meta-oe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Add option for disabling rpi boot logo.Zdzisław Krajewski2017-09-011-0/+3
| | | | Signed-off-by Zdzisław Krajewski <zdzichucb@gmail.com>
* linux-raspberrypi: fix kernel configuration using cfg filesAndrea Ghittino2017-08-313-16/+8
| | | | | | | | | In tree configurations are now used to build the kernel and it is possible to extend the config via bbappend and cfg fragments Fix issue 14 Signed-off-by: Andrea Ghittino <aghittino@gmail.com>
* linux-raspberrypi: Update to tag 'raspberrypi-kernel_1.20170811-1'Paul Barker2017-08-291-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa2017-07-271-1/+1
| | | | | | | | | * bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi-dev: Switch to rpi-4.12.yPaul Barker2017-07-051-2/+2
| | | | | | Linux v4.12 is now released. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-rasbperrypi: Update to 4.9.35Paul Barker2017-07-021-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Skip if not preferred providerPaul Barker2017-06-011-0/+7
| | | | | | | | This should avoid network traffic to resolve ${AUTOREV} unless this recipe is explicitly selected as the preferred provider of virtual/kernel. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Rename recipePaul Barker2017-06-011-1/+1
| | | | | | | This recipe is now uniquely named instead of just being another version of linux-raspberrypi. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Minor recipe tidyupPaul Barker2017-05-221-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-rasbperrypi: Update to 4.9.27Paul Barker2017-05-221-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Merge pull request #71 from agherzan/pbarker/dev-4.11Andrei Gherzan2017-05-171-2/+2
|\ | | | | linux-raspberrypi: Switch dev recipe to 4.11 branch
| * linux-raspberrypi: Switch dev recipe to 4.11 branchPaul Barker2017-05-151-2/+2
| | | | | | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* | Merge pull request #59 from LocutusOfBorg/patch-2Andrei Gherzan2017-05-171-1/+1
|\ \ | | | | | | Make CMDLINE overridable from outside
| * | linux-raspberrypi: Make CMDLINE overridable from outsideGianfranco Costamagna2017-05-161-1/+1
| |/ | | | | | | | | | | | | | | currently there is no way to override the default CMDLINE, this variable needs to be set only if the developer didn't set it already from another layer. Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
* / linux-rasberrypi: Drop 4.4 series kernelPaul Barker2017-05-152-54/+0
|/ | | | | | | The rpi-4.4.y branch has been unmaintained for a couple of months now. Let's drop it before branching for pyro. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi_4.9.bb: Update to 4.9.23Khem Raj2017-04-201-2/+2
| | | | | | bring CMA > 256M changes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.9: Bump to 4.9.21Andrei Gherzan2017-04-141-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi_dev: Add back arm64 dtbo rules patchPaul Barker2017-03-112-1/+31
| | | | | | | This patch hasn't yet been applied to the 4.10.y branch of linux-raspberrypi. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi_4.4: Update to 4.4.50Paul Barker2017-03-111-2/+3
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi_dev: Disable version sanity checkPaul Barker2017-03-111-1/+5
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi_dev: Allow branch overridePaul Barker2017-03-111-1/+2
| | | | | | | This makes the linux-raspberrypi_dev recipe more flexible by allowing the kernel branch to be overridden in local.conf. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi_dev: Use AUTOREVPaul Barker2017-03-111-1/+1
| | | | | | | | | | | The development branches of linux-raspberrypi are rebased frequently. To avoid fetch failures caused by out-of-date git hashes we need to use AUTOREV. LINUX_VERSION may need to be overridden in local.conf to match the upstream version. Signed-off-by: Paul Barker <pbarker@toganlabs.com>