configs/raspberrypizero2w_64: new defconfig
This configuration builds an image for the Raspberry Pi Zero 2 W (64-bit). Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
ebe1efd0a1
commit
ea3f2d9f93
29
board/raspberrypi/config_zero2w_64bit.txt
Normal file
29
board/raspberrypi/config_zero2w_64bit.txt
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Please note that this is only a sample, we recommend you to change it to fit
|
||||||
|
# your needs.
|
||||||
|
# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.
|
||||||
|
# See http://buildroot.org/manual.html#rootfs-custom
|
||||||
|
# and http://elinux.org/RPiconfig for a description of config.txt syntax
|
||||||
|
|
||||||
|
start_file=start.elf
|
||||||
|
fixup_file=fixup.dat
|
||||||
|
|
||||||
|
kernel=Image
|
||||||
|
|
||||||
|
# To use an external initramfs file
|
||||||
|
#initramfs rootfs.cpio.gz
|
||||||
|
|
||||||
|
# Disable overscan assuming the display supports displaying the full resolution
|
||||||
|
# If the text shown on the screen disappears off the edge, comment this out
|
||||||
|
disable_overscan=1
|
||||||
|
|
||||||
|
# How much memory in MB to assign to the GPU on Pi models having
|
||||||
|
# 256, 512 or 1024 MB total memory
|
||||||
|
gpu_mem_256=100
|
||||||
|
gpu_mem_512=100
|
||||||
|
gpu_mem_1024=100
|
||||||
|
|
||||||
|
# Enable UART0 for serial console on ttyAMA0
|
||||||
|
dtoverlay=miniuart-bt
|
||||||
|
|
||||||
|
# enable 64bits support
|
||||||
|
arm_64bit=1
|
||||||
@@ -37,6 +37,10 @@ For model Zero 2 W (model B3 in smaller form factor):
|
|||||||
|
|
||||||
$ make raspberrypizero2w_defconfig
|
$ make raspberrypizero2w_defconfig
|
||||||
|
|
||||||
|
For model Zero 2 W (model B3 in smaller form factor, 64-bit):
|
||||||
|
|
||||||
|
$ make raspberrypizero2w_64_defconfig
|
||||||
|
|
||||||
For model 2 B:
|
For model 2 B:
|
||||||
|
|
||||||
$ make raspberrypi2_defconfig
|
$ make raspberrypi2_defconfig
|
||||||
|
|||||||
1
board/raspberrypizero2w-64
Symbolic link
1
board/raspberrypizero2w-64
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
raspberrypi
|
||||||
32
configs/raspberrypizero2w_64_defconfig
Normal file
32
configs/raspberrypizero2w_64_defconfig
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
BR2_aarch64=y
|
||||||
|
BR2_ARM_FPU_VFPV4=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
|
||||||
|
BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
|
||||||
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||||
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w-64/post-build.sh"
|
||||||
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w-64/post-image.sh"
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
|
||||||
|
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
|
||||||
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||||
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-zero-2-w"
|
||||||
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||||
|
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||||
|
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_CONFIG_FILE="board/raspberrypizero2w-64/config_zero2w_64bit.txt"
|
||||||
|
BR2_PACKAGE_KMOD=y
|
||||||
|
BR2_PACKAGE_KMOD_TOOLS=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||||
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||||
|
BR2_PACKAGE_HOST_KMOD_XZ=y
|
||||||
|
BR2_PACKAGE_HOST_MTOOLS=y
|
||||||
Reference in New Issue
Block a user