summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/rpi-base.inc
Commit message (Collapse)AuthorAgeFilesLines
* rpi-base.conf: add disable-bt.dtbo and miniuart-bt.dtbo overlays.zeusOrne Brocaar2020-03-311-0/+2
| | | | | | Closes #602. Signed-off-by: Orne Brocaar <info@brocaar.com>
* rpi-base.inc: Introduce DISABLE_VC4GRAPHICSAndrei Gherzan2019-09-161-1/+1
| | | | | | | | | | | | Since we enabled vc4graphics by default[1], there is no easy way to disable it if needed. This patch introduces a variable (DISABLE_VC4GRAPHICS) which when set to '1' will not add 'vc4graphics' to MACHINE_FEATURES forcing the old behaviour. One could use it in 'local.conf' for example. [1] https://github.com/agherzan/meta-raspberrypi/pull/417 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Enabling open-source vc4graphics driver for all RPI platformsRiyaz2019-07-181-1/+1
| | | | | | | | Vc4graphics enables drm backend on wayland Compositor (weston & westeros) Appending vc4graphics machine feature to use mesa drivers for OpenGL and V4l2 for video. Signed-off-by: Riyaz <Riyaz.l@ltts.com>
* rpi-base.inc: Include the "fake" KMS dtboAndrei Gherzan2019-06-301-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base: Rename the rpi0w dtbAndrei Gherzan2019-06-301-1/+1
| | | | | | | | | | This change is following the rename in the kernel: commit 6f91b5dbfdb62a434571a73f2dc15181963e3bea Author: Phil Elwell <phil@raspberrypi.org> Date: Tue May 28 16:36:04 2019 +0100 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include rpi4 dtbAndrei Gherzan2019-06-301-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* dtbo: Remove lirc-rpi overlayKhem Raj2019-02-241-1/+0
| | | | | | kernel 4.19 does not have this overlay Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add Pican2 supportFabien Lahoudere2018-12-121-0/+1
| | | | | | | | | | | In order to make Pican 2 work, we : - add mcp2515.dto to the overlay list - add a variable to enable it in local.conf - create a udev rule to mount interface http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
* rpi-base.inc: Add gpio-key to the device tree overlaysOtavio Salvador2018-10-311-0/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rpi-base.inc: Sort device tree overlaysOtavio Salvador2018-10-311-5/+5
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rpi-base.inc: Build rpi-poe dtb overlayAndrei Gherzan2018-09-111-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREEAndrei Gherzan2018-07-261-10/+17
| | | | | | | This is helpful for example in the cases where the kernel doesn't provide all the dtbs in arm64 as in arm. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: update IMAGE_BOOT_FILES for change in oe-coreJonathan Haigh2018-07-201-10/+5
| | | | | | | | | | | | [Issue #285] -- https://github.com/agherzan/meta-raspberrypi/issues/285 The openembedded-core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d changed the names of DTB files in the deploy directory - they are no longer prefixed with "${KERNEL_IMAGETYPE}-". Update make_dtb_boot_files (which generates entries in IMAGE_BOOT_FILES) to take this change into account. Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
* rpi-base.inc: install at86rf233 overlayAnton Gerasimov2018-06-041-0/+1
| | | | | | Controlled with ENABLE_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
* rpi-base.inc: add dwc2 overlayPeter A. Bigot2018-05-051-0/+1
| | | | | | | | | | | | This along with some module and connman magic allows a RaspberryPi Zero Wireless to tether to a host over USB. dtoverlay=dwc2,dr_mode=peripheral modprobe g_ether connman enable gadget connman tether gadget on Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* rpi-base.inc: Add Raspberry Pi 3B+ dtbAndrei Gherzan2018-03-291-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: set default wic kickstart filePeter A. Bigot2018-03-071-0/+1
| | | | | | | While wic is not a standard image, adding it to IMAGE_FSTYPES in local.conf will fail unless a WKS_FILE is provided. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* Fix do_image_rpi_sdimg/do_image_wic dependenciesPaul Barker2018-02-281-0/+2
| | | | | | | | | | | | | | | | | | | | | The dependency resolution code in bitbake has recently been optimized and this seems to have slightly changed the behaviour of do_image_rpi_sdimg and do_image_wic. We ensure that the main build artifacts are present by depending on the relevant do_deploy and do_populate_sysroot tasks. However, we need to ensure that other build tasks for these dependencies have also been executed before we try to create our image. This can be achieved by adding a recursive dependency on do_build, so that the do_build tasks of all recipes in the dependency chain of do_image_rpi_sdimg/do_image_wic are executed before the image function itself is executed. The original issue seen here was that 'recipedata' files were not copied to 'tmp/deploy/licenses' as do_populate_lic for each dependency had not been ran before the image creation function. The write_deploy_manifest function from license.bbclass (listed in IMAGE_POSTPROCESS_COMMAND) therefore failed. Adding the recursive dependency on do_build fixes this issue, ensuring do_populate_lic runs before do_image_rpi_sdimg/do_image_wic. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Include udev-rules-rpi in MACHINE_EXTRA_RRECOMMENDSAndrei Gherzan2018-01-261-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: use $KERNEL_PACKAGE_NAME for the kernel package nameRicardo Salveti2018-01-111-1/+1
| | | | | | | | | | The kernel class is now using $KERNEL_PACKAGE_NAME to set the default kernel package name in order to allow alternate kernel flavors. This fixes the following bitbake warning: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base (). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* rpi-base.inc: Fix KERNEL_IMAGETYPE assignmentPaul Barker2017-11-271-1/+3
| | | | | | | | | | We can't just override KERNEL_IMAGETYPE in machine-specific conf files without breaking the implementation of RPI_USE_U_BOOT. Instead we need to define a new KERNEL_IMAGETYPE_DIRECT variable which will control the value when u-boot is not in use. This new variable may then be overridden as needed without breaking our u-boot support. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* raspberrypi3-64: set default kernel to ImageLoys Ollivier2017-11-101-1/+1
| | | | | | | | | | | | Fixes: 50fd319205d8 for raspberrypi3-64. Fixes: #153 For raspberrypi3-64 set default kernel image to "Image". "zImage" are not supported by arm64 platforms. And ".gz" images are not handled by bootloader yet. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
* rpi-base.inc: KERNEL_IMAGETYPE default to zImageAndrei Gherzan2017-11-081-1/+1
| | | | | | | | | | We used to have this as the default but there was a bug at some point in the firmware which didn't work with compressed kernel images. We switched to Image and never changed it back even though that bug is long history. In this way we will stop carrying 15M of a kernel image. 4M looks much better. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Set dependencies for creating wic imagesPaul Barker2017-09-241-0/+4
| | | | | | | We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Support using u-boot with Image format for raspberrypi3-64Paul Barker2017-09-241-2/+12
| | | | | | | | For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot instead of the legacy uImage format. We also need to issue the 'booti' command to boot the kernel instead of 'bootm'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Simplify setting of IMAGE_BOOT_FILESPaul Barker2017-09-241-3/+3
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base: wic: generate entries for u-bootAndrea Galbusera2017-06-301-1/+3
| | | | | | | | | | | This commit allow wic generated images to work when we want u-boot to load the kernel image. Augment IMAGE_BOOT_FILES with the proper entries when KERNEL_IMAGETYPE is "uImage". More specifically add u-boot image and boot.scr to deployed files and give the proper name to the kernel image accordingly. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* rpi-base: fix make_dtb_boot_files() for raspberrypi3-64Andrea Galbusera2017-04-211-4/+5
| | | | | | | | | | | | Building the stock wic image for raspberrypi3-64 failed to find dtbs listed in IMAGE_BOOT_FILES. This patch updates the make_dtb_boot_files() function to account for dtbs listed in KERNEL_DEVICETREE that do include a path prefix: this is the case for things like broadcom/bcm2710-rpi-3-b.dtb (the dts dir layout in the kernel sources is different for arm64). Use the same approach already used for overlays/ dir. While at it also fix a typo in dtb overlay code path comments. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* pitft: Include the pitft35r dtbo filesRob Woolley2017-04-171-0/+1
| | | | | | Include the pitft35r device tree blobs in the filesystem of the image. Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
* rpi-base.inc: Include dtb for RPI0 WiFiAndrei Gherzan2017-04-141-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base: wic: generate entries for device tree filesMaciej Borzecki2017-03-111-1/+31
| | | | | | | Augment IMAGE_BOOT_FILES with entries picking up proper dtb[o]s. This allows for building usable wic images once again. Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
* rpi-base.inc: Include dtb file for CM1 and CM3Andrei Gherzan2017-01-201-1/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: remove input modules form XSERVERAndreas Müller2016-12-291-3/+0
| | | | | | This is nothing a BSP has to decide Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* rpi-base.inc: add xserver-xorg-extension-glx to XSERVER for vc4 enabledAndreas Müller2016-12-291-0/+1
| | | | | | make glxinfo/glggears/.. work Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* rpi-base.inc: Include pi3-disable-bt-overlay.dtbJonathan Liu2016-11-081-0/+1
| | | | | | This is used to disable Bluetooth and restore the serial console. Signed-off-by: Jonathan Liu <net147@gmail.com>
* rpi-base.inc: Don't install kernel image into rootfsPaul Barker2016-10-311-0/+4
| | | | | | | The kernel image is installed into the FAT32 boot partition and does not need to also be installed into the rootfs. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* vc4graphics: Support X11 with the VC4 driver.Carlos Alberto Lopez Perez2016-09-211-1/+1
| | | | | | | | | | * We need to use the X11 modesetting driver with VC4. * We need to build at least the mesa swrast DRI driver. (its already the default so don't overwrite it to empty) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-base.inc: add vc4-kms-v3d to the overlays to support vc4graphicsHerve Jourdain2016-09-211-0/+1
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* rpi-base.inc: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-211-15/+15
| | | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Add support for .dtbo variant of overlays for the default KERNEL_DEVICETREE variable (the list will be turned into "-overlay.dtb" by linux-raspberry-base.bbclass, if needed, depending on the kernel version) Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* rpi-base.inc: Include pi3-miniuart-bt-overlay.dtbAndrei Gherzan2016-04-251-0/+1
| | | | | | This is used to switch BT from ttyUSB0 to ttyS0 (miniUART). Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi*.conf: Serial console definition splitTrevor Woerner2016-04-211-2/+0
| | | | | | | | The latest raspberrypi3 puts its console on ttyS0 instead of ttyAMA0 (like all the preceding boards). Therefore pull this definition out of the common include file and add it separately for each MACHINE. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* rpi-base.inc: Add overlay for rpi-ft5406Petter Mabäcker2016-04-131-0/+1
| | | | | | | rpi-ft5406 is an enabler for Official Raspberry Pi 7 inch touchscreen support. Signed-off-by: Petter Mabäcker <petter@technux.se>
* rpi-base.inc: Remove deprecated MACHINE_FEATURESPetter Mabäcker2016-04-131-1/+1
| | | | Signed-off-by: Petter Mabäcker <petter@technux.se>
* pitft: Add support for pitft28rPetter Mabäcker2016-04-131-0/+1
| | | | | | | | | | | The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" While at it also fix a minor typo in README. Signed-off-by: Petter Mabäcker <petter@technux.se>
* rpi-base.inc: Add rpi3 device tree blobTheodor Gherzan2016-03-101-0/+1
| | | | Signed-off-by: Theodor Gherzan <theodor@resin.io>
* pitft: Add PiTFT22 supportPetter Mabäcker2016-03-011-0/+1
| | | | | | | | | | | | | | | | | | - Add support to build overlays for PiTFT22 in the kernel. - Setup a basic configuration for the driver The PiTFT22 support is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft22" This patch also includes restructuring of kernel patches per kernel version specific directories. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Allow MACHINE_FEATURES appendsPetter Mabäcker2016-03-011-1/+1
| | | | | | | | Ensure that it's possible to add MACHINE_FEATURES from places that will be executed before rpi-base.inc (like e.g. local.conf), without having them overrided. Signed-off-by: Petter Mabäcker <petter@technux.se>
* rpi-base.inc: add i2c-rtc overlayJonathan Liu2015-10-251-0/+1
| | | | | | | | The update of the kernel in 10a5bace87c19e50014f838031e8f3db334b45b7 to 3.18.16 missed the separate rtc overlays being replaced by the i2c-rtc overlay. Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi: Update kernel to 3.18.16Alex J Lennon2015-10-211-12/+10
| | | | | | | | This requires some changes to KERNEL_DEVICETREE as the dtb layout has changed to support overlays. This change also makes us ready to support kernel 4.x series Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* If SERIAL_CONSOLE is already define by another layer, this value may not be ↵Thomas Perrot2015-06-051-1/+1
| | | | | | good. Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>