mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
8b63d9ac4a
This patch adds support for Raspberry Pi 5. Instead of using 16K pages like Raspberry Pi OS, OpenWrt uses 4K pages due to incompatibilities with F2FS and other applications. There are multiple RPi forum posts with different cases and users are forcing kernel8.img to workaround them, which is the 64 bit kernel of the RPi 4. However, this isn't possible in OpenWrt because we only ship one kernel and we would have to add RPi 5 support to bcm2711 subtarget (RPi 4) for that workaround to work in OpenWrt. Specification: - Processor Broadcom BCM2712 2.4GHz quad-core 64-bit Arm Cortex-A76 CPU, with cryptographic extension, 512KB L2 caches per core, 2048KB L3 cache Features: - VideoCore VII GPU, supports OpenGL ES 3.1, Vulkan 1.2 - Dual 4Kp60 HDMI display output with HDR support 4Kp60 HEVC decoder - LPDDR4X-4267 SDRAM 4GB and 8GB - Dual-band 802.11ac Wi-Fi - Bluetooth 5.0 / Bluetooth Low Energy - microSD card slot, with support for SDR104 high-speed mode - 2 x USB 3.0 ports - 2 x USB 2.0 ports - Gigabit Ethernet - 2 x 4 lane MIPI camera/display - PCIe 2.0 x1 - 5V/5A power via USB-C - Raspberry Pi standard 40-pin header - Real-time clock RTC - Power button Build system: x86_64 Build-tested: bcm2712 Run-tested: bcm2712/RPi5 Signed-off-by: Marty Jones <mj8263788@gmail.com> [Remove device variant, improve description] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
34 lines
824 B
Makefile
34 lines
824 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2012-2020 OpenWrt.org
|
|
# Copyright (C) 2017 LEDE project
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=bcm27xx
|
|
BOARDNAME:=Broadcom BCM27xx
|
|
FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usbgadget
|
|
SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711 bcm2712
|
|
|
|
KERNEL_PATCHVER:=6.1
|
|
|
|
define Target/Description
|
|
Build firmware image for Broadcom BCM27xx SoC devices.
|
|
Currently produces SD Card image for Raspberry Pi.
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES := $(filter-out urngd,$(DEFAULT_PACKAGES))
|
|
DEFAULT_PACKAGES += \
|
|
bcm27xx-gpu-fw \
|
|
kmod-usb-hid \
|
|
kmod-sound-core kmod-sound-arm-bcm2835 \
|
|
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
|
|
partx-utils mkf2fs e2fsprogs
|
|
|
|
KERNELNAME:=Image dtbs
|
|
|
|
$(eval $(call BuildTarget))
|