aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine
AgeCommit message (Collapse)Author
2020-03-31rpi-base.conf: add disable-bt.dtbo and miniuart-bt.dtbo overlays.zeusOrne Brocaar
Closes #602. Signed-off-by: Orne Brocaar <info@brocaar.com>
2019-09-16rpi-base.inc: Introduce DISABLE_VC4GRAPHICSAndrei Gherzan
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>
2019-09-16raspberrypi*.conf: Remove vc4 configuration as we already default to itAndrei Gherzan
As of late[1], we defaulted to enabling vc4graphics in MACHINE_FEATURES. Let's cleanup the machine configurations as per this change. [1] https://github.com/agherzan/meta-raspberrypi/pull/417 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-08-15raspberrypi4-64: Remove the 3G RAM limitationAndrei Gherzan
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] https://github.com/raspberrypi/linux/pull/3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-25raspberrypi4-64.conf: Limit RAM to 3GAndrei Gherzan
The PCI controller on the Raspberry Pi 4 acts as a DMA controller and can only address the first 3Gb[1] of the memory space. On 32bit this was addressed by implementing bouncing buffers[2] but this currently has no support for arm64. In order to have working USB, as a workaround, we limit the ram to 3G. Fixes #446 [1] https://github.com/raspberrypi/linux/issues/3093 [2] https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/pci/controller/pcie-brcmstb-bounce.c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-19raspberrypi*: Define ARMSTUB for all machinesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-18rpi-base.inc: Enabling open-source vc4graphics driver for all RPI platformsRiyaz
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>
2019-07-18raspberrypi4-64.conf: Remove memory limitationAndrei Gherzan
We can do this because the kernel now includes a workaround for the DMA issue. https://github.com/raspberrypi/linux/pull/3080 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-16raspberrypi4.conf: The firmware uses kernel7l.img when LPAE is supportedAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-16raspberrypi4-64.conf: Uboot configuration and drop armstubAndrei Gherzan
We drop armstub configuration because the new firmware includes them. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-16raspberrypi4.conf: Define uboot defconfigAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04raspberrypi4-64.conf: Define a machine feature for armstubsAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04raspberrypi4-64.conf: Initial machine configurationAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04raspberrypi4-64.conf: Introduce RPi arm64 machineAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30raspberrypi4: Use vc4-fkms-v3dAndrei Gherzan
Currently, we use vc4-kms-v3d as the default overlay for VC4 but this seems to break vc4 at runtime on RPi4. Change this to vc4-fkms-v3d for now as this is the default Raspbian ons as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30rpi-base.inc: Include the "fake" KMS dtboAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30raspberrypi4.conf: Add initial machine 32 bit configurationAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30rpi-base: Rename the rpi0w dtbAndrei Gherzan
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>
2019-06-30raspberrypi3.conf: Clarify machine modeAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30rpi-base.inc: Include rpi4 dtbAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-05-29rpi-default-versions: Switch defaults to 4.19Khem Raj
4.19 is now declared stable, see https://github.com/raspberrypi/linux/issues/2931#issuecomment-494016355 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-24linux-raspberrypi: Switch default back to 4.14.yPaul Barker
The 4.19.y kernel is not yet considered stable upstream as discussed in the following GitHub issues: https://github.com/agherzan/meta-raspberrypi/issues/410 https://github.com/raspberrypi/linux/issues/2931 Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-02-24machines: Switch default kernel to 4.19Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24dtbo: Remove lirc-rpi overlayKhem Raj
kernel 4.19 does not have this overlay Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-19raspberrypi-cm3.conf: Define it as a stand alone machineAndrei Gherzan
As well, define the correct configuration for this machine. Tested this with and without u-boot on CM3 (with internal storage) and CM3+ without internal storage. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-02-07raspberrypi3-64.conf: Use more appropriate tuneKhem Raj
rpi3 is based on cortex-a53 implementation which is armv8+crc+simd now that OE-Core has the appropriate tunes, switch to using the new tune file, bonus, is that chromium will be more optimized now Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18rpi-default-providers.inc: use virtual/libgbm instead of libgbmMing Liu
This is to be consistent with the latest OE. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2018-12-12Add Pican2 supportFabien Lahoudere
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>
2018-11-23linux-firmware: replace machine override with new recipesPeter A. Bigot
Raspberry Pi hardware requires firmware that supersedes or is not present in the standard linux-firmware distribution. These files are maintained in the RPi-Distro project on github. Several attempts have been made to reconcile conflicts between what's in linux-firmware and what the hardware needs. The existing approach is functional but not maintainable since it combines material from three repositories into a single package that claims to be linux-firmware. Remove the appends that change the content of linux-firmware for rpi hardware. Add two new recipes that follow the RPi-Distro repositories: * firmware-nonfree which forked from linux-firmware and replaces content is provided as linux-firmware-rpidistro; * bluez-firmware which forked from (very old) bluez and adds content is provided as bluez-firmware-rpidistro. The packages are named to make clear that these come from RPi-Distro, rather than generic sources. Licensing attempts to record the state of licensing as documented in RPi-Distro. Resolves: #298 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-11-07machines: Drop VC4_CMA_SIZEKhem Raj
setting cma is not required with latest vc4 driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-31rpi-base.inc: Add gpio-key to the device tree overlaysOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-31rpi-base.inc: Sort device tree overlaysOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-11rpi-base.inc: Build rpi-poe dtb overlayAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-08-16machines: use new format for SERIAL_CONSOLESHugo Hromic
From the documentation: SERIAL_CONSOLES - Provide a value that specifies the baud rate followed by the TTY device name separated by a semicolon. Use spaces to separate multiple devices Fixes build error of `systemd-serialgetty` after recent commit 8218bec. See: <https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SERIAL_CONSOLES> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-08-16machines: Replace obsolete SERIAL_CONSOLE with SERIAL_CONSOLESKhem Raj
Fix #302 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26raspberrypi3-64.conf: Define only the dtb files that are available for arch64Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-07-26rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREEAndrei Gherzan
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>
2018-07-20rpi-base.inc: update IMAGE_BOOT_FILES for change in oe-coreJonathan Haigh
[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>
2018-07-16raspberrypi3-64.conf: Include cm3 dtbAndrei Gherzan
Add the CM3 dtb in the boot partition so we can boot this board as well with this machine. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-07-16raspberrypi-cm3.conf: Inherit raspberrypi3 not raspberrypi2Andrei Gherzan
The CM3 module is based Raspberry Pi 3 not 2. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-06-04rpi-base.inc: install at86rf233 overlayAnton Gerasimov
Controlled with ENABLE_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2018-05-14raspberrypi3-64.conf: add 3B+ device treePeter A. Bigot
Closes #253 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-14linux-firmware: restore and merge bluez-firmwarePeter A. Bigot
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>
2018-05-05rpi-base.inc: add dwc2 overlayPeter A. Bigot
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>
2018-03-29raspberrypi0-wifi.conf: Use linux-firmware-raspbian packageAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-03-29rpi-base.inc: Add Raspberry Pi 3B+ dtbAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-03-29raspberrypi3-64.conf: Use linux-firmware-raspbian packages and add bcm43455Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-03-29raspberrypi3.conf: Use linux-firmware-raspbian packages and add bcm43455Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-03-07rpi-base.inc: set default wic kickstart filePeter A. Bigot
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>
2018-02-28linux-raspberrypi: Change default version to 4.14.yPaul Barker
This matches the change made in the upstream firmware repository earlier in February. Signed-off-by: Paul Barker <pbarker@toganlabs.com>