summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi: Update to v4.14.58Andrei Gherzan2018-07-261-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-firmware: remove duplicate ${PN}-bcm43455 packageMartin Jansa2018-07-261-1/+8
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-firmware: move ${PN}-cypress-license handling to oe-core recipeMartin Jansa2018-07-201-15/+0
| | | | | | | | | | * this will make this bbappend a bit more version agnostic * depends on oe-core commits from: http://lists.openembedded.org/pipermail/openembedded-core/2018-July/153164.html to prevent including ${PN}-cypress-license package twice in PACKAGES http://lists.openembedded.org/pipermail/openembedded-core/2018-July/153165.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: update 4.9 recipe to current HEADMirza Krak2018-07-201-1/+1
| | | | | | | | | | | | | Contains the following changes: 7f9c648dad64 drm/vc4: Move IRQ enable to PM path which fixes an unbalanced IRQ enable warning, which was rapported in #286 Signed-off-by: Mirza Krak <mirza.krak@northern.tech> Signed-off-by: Gunnar Andersson <gandersson@genivi.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* sdcard_image-rpi.bbclass: drop KERNEL_INITRAMFS variableMartin Jansa2018-07-161-4/+2
| | | | | | | | | | | | | | | | | | | | | | * use INITRAMFS_SYMLINK_NAME from new kernel-artifact-names.bbclass instead of KERNEL_INITRAMFS * the documentation says that KERNEL_INITRAMFS should be used to define extension of initramfs, but in linux-raspberrypi.inc it's defined only to 1 or empty based on INITRAMFS_IMAGE_BUNDLE variable and I don't see any code in meta-raspberry or oe-core which would use KERNEL_INITRAMFS to actualy name the initramfs artifact to create: ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin used in classes/sdcard_image-rpi.bbclass * also fix the assumption that there is -${MACHINE} suffix in: ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin because that's defined as KERNEL_IMAGE_SYMLINK_NAME and some DISTROs might use different value * this depends on oe-core changes which were merged today: http://git.openembedded.org/openembedded-core/commit/?id=7d0ef0eaa1bfe97015a774c26f5791622e7e8b12 * this is the last piece of previous pull-request: https://github.com/agherzan/meta-raspberrypi/pull/159 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: Update to 4.14.52+Khem Raj2018-07-071-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-firmware: update Cypress license checksumHugo Hromic2018-06-271-1/+1
| | | | | | | Upstream recipe was updated and the license checksum needed refresh. See: <https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3bec3951b2f95e5f9a592cc3f64c8f5fb152f57> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* linux-firmware: restore and merge bluez-firmwarePeter A. Bigot2018-05-142-55/+77
| | | | | | | | | | | | The attempt to Raspbian updated firmware blobs in packages separate from linux-firmware introduced unresolvable conflicts with the standard linux-firmware roll-up package. Revert to using an augmented linux-firmware recipe that overrides and adds firmware from two Raspbian repositories that have up-to-date images. Closes #244 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* linux-raspberrypi: Update to v4.14.39Peter A. Bigot2018-05-091-2/+2
| | | | Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* linux-raspberrypi: Disable serial on kernel cmdline if ENABLE_UART is unsetKhem Raj2018-05-041-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Drop CONFIG_OABI_COMPAT completelyPaul Barker2018-04-231-8/+0
| | | | | | | There's no reason to support the old, outdated ARM OABI when upstream linux-raspberrypi doesn't support this by default. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop inappropriate forced settingsPaul Barker2018-04-231-4/+0
| | | | | | | | | | | | CONFIG_BLK_DEV_DRBD: Deciding whether to use the in-kernel DRBD module or the external drbd recipe in meta-networking is a policy decision and doesn't belong in our BSP layer. CONFIG_LEGACY_PTYS: These are legacy for a reason. They're not enabled in the defconfig so they shouldn't be required for rpi devices. Let's drop this here, it can be added back in a distro layer where (if) needed. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Don't set CONFIG_CMDLINEPaul Barker2018-04-231-3/+0
| | | | | | We force the command line at runtime via cmdline.txt anyway. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop support for CMDLINE_NFSROOT_USBPaul Barker2018-04-231-14/+0
| | | | | | | This is obsolete, undocumented and won't work anyway since we force the kernel command line to ${CMDLINE} via the cmdline.txt file. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop unnecessary configurationsPaul Barker2018-04-231-42/+0
| | | | | | | | | | | | | | | | | KERNEL_ENABLE_CGROUPS: This is obsolete, all required config options for cgroups are enabled by default. KERNEL_INITRAMFS: Some of the config options we set are already enabled by default. UDEV_GE_141: This is long obsolete and all the required config options are already set in the defconfig. ARM_KEEP_OABI: AEABI=y and OABI_COMPAT=n are already set in the defconfig. CONFIG_LOCALVERSION_AUTO: This setting is already disabled in the defconfig. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Drop unnecessary dependencies and tasksPaul Barker2018-04-231-0/+2
| | | | | | | | | | | | | | We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Update to v4.16.yPaul Barker2018-04-231-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to v4.14.34Paul Barker2018-04-231-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update v4.9.y kernelPaul Barker2018-04-231-1/+1
| | | | | | This branch is still getting a few fixes upstream. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Allow specification of ncurses locationPaul Barker2018-04-234-4/+74
| | | | | | | | | | | | | | | | | | From patch message: In some cross build environments such as the Yocto Project build environment it provides an ncurses library that is compiled differently than the host's version. This causes display corruption problems when the host's curses includes are used instead of the includes from the provided compiler are overridden. There is a second case where there is no curses libraries at all on the host system and menuconfig will just fail entirely. The solution is simply to allow an override variable in check-lxdialog.sh for environments such as the Yocto Project. Adding a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing compiling and linking against the right headers and libraries. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-firmware: Remove as replaced by linux-firmware-raspbianAndrei Gherzan2018-03-293-85/+0
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-firmware-raspbian: New recipe which uses RPi-Distro repositoryAndrei Gherzan2018-03-291-0/+53
| | | | | | | | This packages only the firmware needed for the RaspberryPi boards. We use the RPi-Distro as it's already maintained by the Raspbian guys and we get better support for the RaspberryPi needed firmwares. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update 4.14 recipe to 4.14.30Andrei Gherzan2018-03-281-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update 4.9 recipe to current HEADAndrei Gherzan2018-03-281-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* 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>