Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> |
| 2 | # |
| 3 | # SPDX-License-Identifier: MIT |
| 4 | |
| 5 | #@TYPE: Machine |
| 6 | #@NAME: RaspberryPi Development Boards (32bit) |
| 7 | #@DESCRIPTION: Machine configuration for the RaspberryPi boards in 32 bit mode |
| 8 | |
| 9 | DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" |
| 10 | require conf/machine/include/arm/armv7a/tune-cortexa7.inc |
| 11 | include conf/machine/include/rpi-base.inc |
| 12 | |
| 13 | # This machine includes by default the kernel for v7l. We hook in support for |
| 14 | # v7. |
| 15 | RASPBERRYPI_v7_KERNEL = "linux-raspberrypi-v7" |
| 16 | RASPBERRYPI_v7_KERNEL_PACKAGE_NAME = "kernel-v7" |
| 17 | RASPBERRYPI_v7_KERNEL_FILE ?= "kernel7.img" |
| 18 | # We don't need a lot for v7l because it is the default provider, |
| 19 | # virtual/kernel. |
| 20 | RASPBERRYPI_v7l_KERNEL_FILE ?= "kernel7l.img" |
| 21 | |
| 22 | MACHINE_FEATURES += "pci" |
| 23 | MACHINE_EXTRA_RRECOMMENDS += "\ |
| 24 | linux-firmware-rpidistro-bcm43430 \ |
| 25 | linux-firmware-rpidistro-bcm43436 \ |
| 26 | linux-firmware-rpidistro-bcm43436s \ |
| 27 | linux-firmware-rpidistro-bcm43455 \ |
| 28 | linux-firmware-rpidistro-bcm43456 \ |
| 29 | bluez-firmware-rpidistro-bcm43430a1-hcd \ |
| 30 | bluez-firmware-rpidistro-bcm43430b0-hcd \ |
| 31 | bluez-firmware-rpidistro-bcm4345c0-hcd \ |
| 32 | bluez-firmware-rpidistro-bcm4345c5-hcd \ |
| 33 | " |
| 34 | |
| 35 | # FIXME: This machine doesn't support u-boot (yet) |
| 36 | RPI_EXTRA_IMAGE_BOOT_FILES = " \ |
| 37 | ${KERNEL_IMAGETYPE};${RASPBERRYPI_v7l_KERNEL_FILE} \ |
| 38 | ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}/${KERNEL_IMAGETYPE};${RASPBERRYPI_v7_KERNEL_FILE} \ |
| 39 | " |