At this point, we can generate an SD card image that is composed of an EFI system partition, a SquashFS root partition (a), a blank root partition (b), and a data partition. On the EFI system partition are the Raspberry Pi firmware and device trees, U-Boot and GRUB. The SquashFS filesystem contains the kernel and the whole filesystem tree. A Raspberry Pi can successfully boot from an SD card containing this image. It's not quite usable yet, because there's no writable storage available, or indeed any way to log in.
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
BR2_arm=y
|
|
BR2_cortex_a53=y
|
|
BR2_ARM_FPU_NEON_VFPV4=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
|
|
BR2_CCACHE=y
|
|
BR2_CCACHE_DIR="$(HOME)/.cache/buildroot"
|
|
BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
|
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
|
BR2_INIT_SYSTEMD=y
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_AIMEEOS_PATH)/board/raspberrypi3/post-image.sh"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,cd231d4775b14f228606c09f219b48308f6ab3aa)/linux-cd231d4775b14f228606c09f219b48308f6ab3aa.tar.gz"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_AIMEEOS_PATH)/kernel/config"
|
|
BR2_LINUX_KERNEL_ZSTD=y
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3"
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
# BR2_PACKAGE_BUSYBOX is not set
|
|
BR2_PACKAGE_XZ=y
|
|
BR2_PACKAGE_RPI_FIRMWARE=y
|
|
BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
|
|
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
|
|
BR2_PACKAGE_RPI_FIRMWARE_CMDLINE_FILE="$(BR2_EXTERNAL_AIMEEOS_PATH)/board/raspberrypi3/cmdline.txt"
|
|
BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="$(BR2_EXTERNAL_AIMEEOS_PATH)/board/raspberrypi3/config.txt"
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI="boot configfile echo efi_gop fat gzio linux loadenv minicmd normal part_gpt probe regexp squash4 test zstd"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_3_32b"
|
|
BR2_PACKAGE_HOST_KMOD_XZ=y
|
|
AIMEEOS=y
|
|
AIMEEOS_RPI=y
|