2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-07-24 20:39:17 +00:00
|
|
|
#
|
2020-02-29 08:25:20 +00:00
|
|
|
# Copyright (C) 2012-2020 OpenWrt.org
|
2017-03-04 18:41:34 +00:00
|
|
|
# Copyright (C) 2017 LEDE project
|
2021-02-10 13:52:34 +00:00
|
|
|
|
2012-07-24 20:39:17 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=arm
|
2020-02-08 20:58:55 +00:00
|
|
|
BOARD:=bcm27xx
|
2016-03-08 18:11:55 +00:00
|
|
|
BOARDNAME:=Broadcom BCM27xx
|
2022-04-06 21:07:55 +00:00
|
|
|
FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usbgadget
|
bcm27xx: add new bcm2712 subtarget
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>
2024-01-18 14:52:22 +00:00
|
|
|
SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711 bcm2712
|
2012-07-24 20:39:17 +00:00
|
|
|
|
2023-06-08 17:50:35 +00:00
|
|
|
KERNEL_PATCHVER:=6.1
|
2012-07-24 20:39:17 +00:00
|
|
|
|
|
|
|
define Target/Description
|
2016-03-08 18:11:55 +00:00
|
|
|
Build firmware image for Broadcom BCM27xx SoC devices.
|
2012-07-24 20:39:17 +00:00
|
|
|
Currently produces SD Card image for Raspberry Pi.
|
|
|
|
endef
|
|
|
|
|
2016-09-04 11:34:18 +00:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2021-02-20 18:55:14 +00:00
|
|
|
|
|
|
|
DEFAULT_PACKAGES := $(filter-out urngd,$(DEFAULT_PACKAGES))
|
2017-03-04 18:41:34 +00:00
|
|
|
DEFAULT_PACKAGES += \
|
2024-01-26 08:52:35 +00:00
|
|
|
bcm27xx-gpu-fw bcm27xx-utils \
|
2017-03-04 18:41:34 +00:00
|
|
|
kmod-usb-hid \
|
|
|
|
kmod-sound-core kmod-sound-arm-bcm2835 \
|
|
|
|
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
|
2018-06-14 15:21:19 +00:00
|
|
|
partx-utils mkf2fs e2fsprogs
|
2016-09-04 11:34:18 +00:00
|
|
|
|
2015-10-05 10:27:34 +00:00
|
|
|
KERNELNAME:=Image dtbs
|
2014-02-28 20:29:40 +00:00
|
|
|
|
2012-07-24 20:39:17 +00:00
|
|
|
$(eval $(call BuildTarget))
|