]>
Commit | Line | Data |
---|---|---|
46f01da8 PS |
1 | BR2_aarch64=y |
2 | BR2_cortex_a72=y | |
3 | BR2_ARM_FPU_VFPV4=y | |
4 | ||
5 | BR2_TOOLCHAIN_BUILDROOT_CXX=y | |
6 | ||
7 | BR2_SYSTEM_DHCP="eth0" | |
8 | ||
9 | # Linux headers same as kernel, a 5.10 series | |
10 | BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y | |
11 | ||
12 | BR2_LINUX_KERNEL=y | |
13 | BR2_LINUX_KERNEL_CUSTOM_TARBALL=y | |
276a16a5 | 14 | BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz" |
46f01da8 PS |
15 | BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" |
16 | ||
17 | # Build the DTB from the kernel sources | |
18 | BR2_LINUX_KERNEL_DTS_SUPPORT=y | |
19 | BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-cm4" | |
20 | ||
21 | BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y | |
22 | ||
23 | BR2_PACKAGE_RPI_FIRMWARE=y | |
24 | BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y | |
25 | ||
26 | # Required tools to create the SD image | |
27 | BR2_PACKAGE_HOST_DOSFSTOOLS=y | |
28 | BR2_PACKAGE_HOST_GENIMAGE=y | |
29 | BR2_PACKAGE_HOST_MTOOLS=y | |
30 | ||
31 | # Required tool to flash CM4 eMMC memory | |
32 | BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT | |
33 | ||
34 | # Filesystem / image | |
35 | BR2_TARGET_ROOTFS_EXT2=y | |
36 | BR2_TARGET_ROOTFS_EXT2_4=y | |
37 | BR2_TARGET_ROOTFS_EXT2_SIZE="120M" | |
38 | # BR2_TARGET_ROOTFS_TAR is not set | |
39 | BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh" | |
40 | BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh" | |
41 | BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay --aarch64" |