diff --git a/buildroot-external/board/ovos/raspberrypi/cmdline.txt b/buildroot-external/board/ovos/raspberrypi/cmdline.txt index efcc853b..df93e423 100644 --- a/buildroot-external/board/ovos/raspberrypi/cmdline.txt +++ b/buildroot-external/board/ovos/raspberrypi/cmdline.txt @@ -1 +1 @@ - mitigations=off snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0 dwc_otg.lpm_enable=0 acpi=off cgroup_enable=memory psi=1 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u +mitigations=off snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0 dwc_otg.lpm_enable=0 acpi=off cgroup_enable=memory psi=1 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u \ No newline at end of file diff --git a/buildroot-external/board/ovos/raspberrypi/rpi3/config.txt b/buildroot-external/board/ovos/raspberrypi/rpi3/config.txt index 16fc6679..25748818 100644 --- a/buildroot-external/board/ovos/raspberrypi/rpi3/config.txt +++ b/buildroot-external/board/ovos/raspberrypi/rpi3/config.txt @@ -1,78 +1,65 @@ +# Raspberry Pi 3 Configuration + +# Basic setting arm_64bit=1 + +# Disable command line tags. disable_commandline_tags=2 -disable_overscan=1 + +# Specify UEFI firmware file. +armstub=RPI_EFI.fd + +# Enable UART for serial communication. enable_uart=1 uart_2ndstage=1 -armstub=RPI_EFI.fd -disable_commandline_tags=2 + +# Set device tree memory address range. device_tree_address=0x1f0000 device_tree_end=0x200000 -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using a post-build script. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax -# We always use the same names, the real used variant is selected by -# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice +# Custom bootloader files. start_file=start_x.elf fixup_file=fixup_x.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 for full-resolution display. disable_overscan=1 -# Automatically load overlays for detected DSI displays +# Auto-detect DSI displays and load overlays. display_auto_detect=1 -# Enable DRM VC4 V3D driver and setup the mode +# Graphics acceleration with VC4 V3D driver, uses 384MB CMA limited to 2 framebuffer. dtoverlay=vc4-fkms-v3d,cma-384 -# dtoverlay=vc4-kms-v3d-pi4 -# hdmi_drive=2 -# hdmi_group=2 -# hdmi_mode=14 max_framebuffers=2 -# uncomment if you get no picture on HDMI for a default "safe" mode + +# Uncomment for HDMI safe mode. # hdmi_safe=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 -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +# Fixes for serial console on certain Pi models. dtoverlay=miniuart-bt -# enable autoprobing of Bluetooth driver without need of hciattach/btattach +# Enable Bluetooth driver autoprobing. dtparam=krnbt=on -# Enable the onboard soundcard +# Enable onboard audio. dtparam=audio=on -# Enable the hardware random generator +# Enable hardware random number generator. dtparam=random=on -# Enable camera driver -# dtoverlay=imx219 -# dtoverlay=ov5647 -# camera_auto_detect=1 +# Camera driver settings (uncomment to enable). +# dtoverlay=imx219 # For IMX219 camera module +# dtoverlay=ov5647 # For OV5647 camera module +# camera_auto_detect=1 # Auto-detect camera type -# Disable rainbow color splash +# Disable rainbow splash screen on boot. disable_splash=1 -# Enable some optional hardware interfaces -dtparam=i2c_arm=on -dtparam=i2c_arm_baudrate=100000 -dtoverlay=i2s-mmap -dtparam=i2s=on -dtparam=spi=on +# Enable I2C, I2S, and SPI interfaces for peripheral communication. +dtparam=i2c=on,i2s=on,spi=on # Use DWC2 instead of XHCI on the rpi3 to prevent issues with te RealTime kernel dtoverlay=dwc2 - -# Enable boost from 1.5Ghz to 1.8Ghz on compatible models -arm_boost=1 diff --git a/buildroot-external/board/ovos/raspberrypi/rpi4/config.txt b/buildroot-external/board/ovos/raspberrypi/rpi4/config.txt index 8a908c18..5f3f085f 100644 --- a/buildroot-external/board/ovos/raspberrypi/rpi4/config.txt +++ b/buildroot-external/board/ovos/raspberrypi/rpi4/config.txt @@ -1,73 +1,68 @@ +# Raspberry Pi 4 Configuration + +# Basic setting arm_64bit=1 -enable_uart=1 -enable_gic=1 + +# Specify UEFI firmware file. armstub=RPI_EFI.fd -disable_commandline_tags=2 + +# Enable UART for serial communication. +enable_uart=1 +uart_2ndstage=1 + +# Enable GIC (Generic Interrupt Controller). +enable_gic=1 + +# Set device tree memory address range. device_tree_address=0x1f0000 device_tree_end=0x200000 -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using a post-build script. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax -# We always use the same names, the real used variant is selected by -# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice +# Disable command line tags. +disable_commandline_tags=2 + +# Custom bootloader files. start_file=start4x.elf fixup_file=fixup4x.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 for full-resolution display. disable_overscan=1 -# Automatically load overlays for detected DSI displays +# Auto-detect DSI displays and load overlays. display_auto_detect=1 -# Enable DRM VC4 V3D driver and setup the mode +# Graphics acceleration with VC4 V3D driver, uses 384MB CMA limited to 2 framebuffer. dtoverlay=vc4-fkms-v3d,cma-384 -# dtoverlay=vc4-kms-v3d-pi4 -# hdmi_drive=2 -# hdmi_group=2 -# hdmi_mode=14 max_framebuffers=2 -# uncomment if you get no picture on HDMI for a default "safe" mode + +# Uncomment for HDMI safe mode. # hdmi_safe=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 -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +# Fixes for serial console on certain Pi models. dtoverlay=miniuart-bt -# enable autoprobing of Bluetooth driver without need of hciattach/btattach +# Enable Bluetooth driver autoprobing. dtparam=krnbt=on -# Enable the onboard soundcard +# Enable onboard audio. dtparam=audio=on -# Enable the hardware random generator +# Enable hardware random number generator. dtparam=random=on -# Enable camera driver -# dtoverlay=imx219 -# dtoverlay=ov5647 -# camera_auto_detect=1 +# Camera driver settings (uncomment to enable). +# dtoverlay=imx219 # For IMX219 camera module +# dtoverlay=ov5647 # For OV5647 camera module +# camera_auto_detect=1 # Auto-detect camera type -# Disable rainbow color splash +# Disable rainbow splash screen on boot. disable_splash=1 -# Enable some optional hardware interfaces -dtparam=i2c_arm=on -dtparam=i2c_arm_baudrate=100000 -dtoverlay=i2s-mmap -dtparam=i2s=on -dtparam=spi=on +# Enable I2C, I2S, and SPI interfaces for peripheral communication. +dtparam=i2c=on,i2s=on,spi=on -# Enable boost from 1.5Ghz to 1.8Ghz on compatible models +# Enable CPU frequency boost on compatible models. arm_boost=1 diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/RPI_EFI.fd b/buildroot-external/board/ovos/raspberrypi/rpi5/RPI_EFI.fd new file mode 100644 index 00000000..c25ec99e Binary files /dev/null and b/buildroot-external/board/ovos/raspberrypi/rpi5/RPI_EFI.fd differ diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/config.txt b/buildroot-external/board/ovos/raspberrypi/rpi5/config.txt new file mode 100644 index 00000000..48e3ad09 --- /dev/null +++ b/buildroot-external/board/ovos/raspberrypi/rpi5/config.txt @@ -0,0 +1,74 @@ +# Raspberry Pi 5 Configuration + +# Basic setting +arm_64bit=1 + +# Specify UEFI firmware file. +armstub=RPI_EFI.fd + +# Enable UART for serial communication. +enable_uart=1 +uart_2ndstage=1 + +# Enable GIC (Generic Interrupt Controller). +enable_gic=1 + +# Set device tree memory address range. +device_tree_address=0x1f0000 +device_tree_end=0x210000 + +# Keep RP1 PCIe configured on boot for PCIe peripherals. +pciex4_reset=0 + +# Max power to USB ports for high-power devices. +usb_max_current_enable=1 + +# Run CPU at max speed for better performance. +# force_turbo=1 + +# Custom bootloader files. +start_file=start4x.elf +fixup_file=fixup4x.dat + +# Disable overscan for full-resolution display. +disable_overscan=1 + +# Auto-detect DSI displays and load overlays. +display_auto_detect=1 + +# Graphics acceleration with VC4 V3D driver, uses 512MB CMA limited to 2 framebuffer. +dtoverlay=vc4-fkms-v3d,cma-512 +max_framebuffers=2 + +# Uncomment for HDMI safe mode. +# hdmi_safe=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 + +# Fixes for serial console on certain Pi models. +dtoverlay=miniuart-bt + +# Enable Bluetooth driver autoprobing. +dtparam=krnbt=on + +# Enable onboard audio. +dtparam=audio=on + +# Enable hardware random number generator. +dtparam=random=on + +# Camera driver settings (uncomment to enable). +# dtoverlay=imx219 # For IMX219 camera module +# dtoverlay=ov5647 # For OV5647 camera module +# camera_auto_detect=1 # Auto-detect camera type + +# Disable rainbow splash screen on boot. +disable_splash=1 + +# Enable I2C, I2S, and SPI interfaces for peripheral communication. +dtparam=i2c=on,i2s=on,spi=on + +# Enable CPU frequency boost on compatible models. +arm_boost=1 diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/genimage-rpi5.cfg b/buildroot-external/board/ovos/raspberrypi/rpi5/genimage-rpi5.cfg new file mode 100644 index 00000000..04c241f1 --- /dev/null +++ b/buildroot-external/board/ovos/raspberrypi/rpi5/genimage-rpi5.cfg @@ -0,0 +1,67 @@ +image esp.vfat { + vfat { + files = { + "bcm2712-rpi-5-b.dtb", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup4x.dat", + "rpi-firmware/start4x.elf", + "rpi-firmware/overlays", + "rpi-firmware/RPI_EFI.fd", + "rpi-eeprom/pieeprom.sig", + "rpi-eeprom/pieeprom.upd" + } + file EFI { + image = "efi-part/EFI" + } + } + size = 16M +} + +image overlayfs.ext4 { + name = "overlayfs" + ext4 { + use-mke2fs = "true" + } + size = 256M +} + +image disk.img { + hdimage { + partition-table-type = "gpt" + } + + partition esp { + align = 1M + partition-uuid = 9262aee5-2d23-4e09-baac-280591e2e834 + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "esp.vfat" + } + + partition rootfs-1 { + partition-uuid = c0932a41-44cf-463b-8152-d43188553ed4 + partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4 + image = "rootfs.squashfs" + size = 512M + } + + partition rootfs-2 { + partition-uuid = 3adea996-45ad-4928-920e-ffb5aedd00cb + partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4 + image = "rootfs.squashfs" + size = 512M + } + + partition overlayfs { + partition-uuid = f1326040-5236-40eb-b683-aaa100a9afcf + partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4 + image = "overlayfs.ext4" + } + + partition homefs { + partition-uuid = ba3c2691-cce9-4963-b773-42c440c235ec + partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4 + image = "homefs.ext4" + } +} diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/meta b/buildroot-external/board/ovos/raspberrypi/rpi5/meta new file mode 100644 index 00000000..bdc0d5bf --- /dev/null +++ b/buildroot-external/board/ovos/raspberrypi/rpi5/meta @@ -0,0 +1,3 @@ +BOARD_ID=rpi5-64 +BOARD_NAME="RaspberryPi 5 64bit" +CHASSIS=embedded diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/rootfs-overlay/etc/hwrevision b/buildroot-external/board/ovos/raspberrypi/rpi5/rootfs-overlay/etc/hwrevision new file mode 100644 index 00000000..74e2c7c2 --- /dev/null +++ b/buildroot-external/board/ovos/raspberrypi/rpi5/rootfs-overlay/etc/hwrevision @@ -0,0 +1 @@ +rpi5 1.0 diff --git a/buildroot-external/board/ovos/raspberrypi/rpi5/sw-description b/buildroot-external/board/ovos/raspberrypi/rpi5/sw-description new file mode 100644 index 00000000..e30522e3 --- /dev/null +++ b/buildroot-external/board/ovos/raspberrypi/rpi5/sw-description @@ -0,0 +1,21 @@ +software = +{ + name = "OpenVoiceOS"; + description = "Firmware update for OpenVoiceOS"; + version = "0.1.1"; + bootloader_transaction_marker = false; + bootloader_state_marker = false; + rpi5 = { + hardware-compatibility: ["1.0"]; + update: { + rootfs: { + images: ({ + filename = "rootfs.squashfs"; + device = "/dev/update"; + installed-directly = true; + type = "raw"; + }); + }; + }; + } +} diff --git a/buildroot-external/configs/rpi5_64_defconfig b/buildroot-external/configs/rpi5_64_defconfig new file mode 100644 index 00000000..aeb26ab6 --- /dev/null +++ b/buildroot-external/configs/rpi5_64_defconfig @@ -0,0 +1,340 @@ +BR2_aarch64=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y +BR2_ARM64_PAGE_SIZE_16K=y +BR2_PACKAGE_GLIBC_UTILS=y +BR2_BINUTILS_VERSION_2_39_X=y +BR2_GCC_VERSION_12_X=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_DL_DIR="/media/psf/OVOSbuildroot/downloads" +BR2_CCACHE=y +BR2_CCACHE_DIR="/media/psf/OVOSbuildroot/ccache" +BR2_OPTIMIZE_2=y +BR2_ENABLE_LTO=y +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/patches $(BR2_EXTERNAL)/board/ovos/raspberrypi/patches" +BR2_FORCE_HOST_BUILD=y +BR2_SSP_REGULAR=y +BR2_TARGET_GENERIC_HOSTNAME="OpenVoiceOS" +BR2_TARGET_GENERIC_ISSUE="Welcome to OpenVoiceOS" +BR2_TARGET_GENERIC_PASSWD_SHA512=y +BR2_INIT_SYSTEMD=y +# BR2_TARGET_ENABLE_ROOT_LOGIN is not set +BR2_SYSTEM_BIN_SH_BASH=y +# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set +BR2_SYSTEM_DHCP="eth0" +# BR2_ENABLE_LOCALE_PURGE is not set +BR2_GENERATE_LOCALE="en_US.UTF-8" +BR2_SYSTEM_ENABLE_NLS=y +BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL)/user_table.txt" +BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/rootfs-overlay $(BR2_EXTERNAL)/board/ovos/raspberrypi/rootfs-overlay $(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi5/rootfs-overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi5" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,5e78d297b997dcc7a78ba747a62fb28d0b6a10d8)/linux-5e78d297b997dcc7a78ba747a62fb28d0b6a10d8.tar.gz" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL)/kernel/ovos.config $(BR2_EXTERNAL)/kernel/device-drivers.config $(BR2_EXTERNAL)/kernel/docker.config $(BR2_EXTERNAL)/board/ovos/raspberrypi/kernel.config" +BR2_LINUX_KERNEL_LZ4=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2712-rpi-5-b" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y +BR2_PACKAGE_LINUX_TOOLS_GPIO=y +BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/busybox.config" +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_ACONNECT=y +BR2_PACKAGE_ALSA_UTILS_ALSALOOP=y +BR2_PACKAGE_ALSA_UTILS_ALSAUCM=y +BR2_PACKAGE_ALSA_UTILS_ALSATPLG=y +BR2_PACKAGE_ALSA_UTILS_AMIDI=y +BR2_PACKAGE_ALSA_UTILS_AMIXER=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_ALSA_UTILS_APLAYMIDI=y +BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI=y +BR2_PACKAGE_ALSA_UTILS_ASEQDUMP=y +BR2_PACKAGE_ALSA_UTILS_ASEQNET=y +BR2_PACKAGE_ALSA_UTILS_BAT=y +BR2_PACKAGE_ALSA_UTILS_IECSET=y +BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_NONFREE=y +BR2_PACKAGE_FFMPEG_FFPLAY=y +BR2_PACKAGE_FFMPEG_FFPROBE=y +BR2_PACKAGE_FFMPEG_AVRESAMPLE=y +BR2_PACKAGE_FFMPEG_POSTPROC=y +BR2_PACKAGE_FLAC=y +BR2_PACKAGE_PIPEWIRE=y +BR2_PACKAGE_PIPEWIRE_COMPRESS_OFFLOAD=y +BR2_PACKAGE_PIPEWIRE_EXAMPLES=y +BR2_PACKAGE_PIPEWIRE_GSTREAMER=y +BR2_PACKAGE_PIPEWIRE_V4L2=y +BR2_PACKAGE_PULSEAUDIO=y +BR2_PACKAGE_V4L2GRAB=y +BR2_PACKAGE_V4L2LOOPBACK=y +BR2_PACKAGE_V4L2LOOPBACK_UTILS=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_LZIP=y +BR2_PACKAGE_P7ZIP=y +BR2_PACKAGE_UNRAR=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_LSOF=y +BR2_PACKAGE_MEMSTAT=y +BR2_PACKAGE_NMON=y +BR2_PACKAGE_BINUTILS=y +BR2_PACKAGE_CHECK=y +BR2_PACKAGE_DIFFUTILS=y +BR2_PACKAGE_FINDUTILS=y +BR2_PACKAGE_GIT_CRYPT=y +BR2_PACKAGE_GREP=y +BR2_PACKAGE_JO=y +BR2_PACKAGE_JQ=y +BR2_PACKAGE_PATCH=y +BR2_PACKAGE_CPIO=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_E2FSPROGS=y +BR2_PACKAGE_E2FSPROGS_E2IMAGE=y +BR2_PACKAGE_E2FSPROGS_FUSE2FS=y +BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y +BR2_PACKAGE_FUSE_OVERLAYFS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_NFS_UTILS=y +BR2_PACKAGE_NTFS_3G=y +BR2_PACKAGE_SQUASHFS=y +BR2_PACKAGE_SQUASHFS_LZ4=y +BR2_PACKAGE_SQUASHFS_LZMA=y +BR2_PACKAGE_SQUASHFS_LZO=y +BR2_PACKAGE_SQUASHFS_XZ=y +BR2_PACKAGE_SQUASHFS_ZSTD=y +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y +BR2_PACKAGE_MESA3D_OPENGL_ES=y +BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI=y +BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT=y +BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI=y +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi5/config.txt" +BR2_PACKAGE_AVRDUDE=y +BR2_PACKAGE_CRYPTSETUP=y +BR2_PACKAGE_DBUS_PYTHON=y +BR2_PACKAGE_GPTFDISK=y +BR2_PACKAGE_GPTFDISK_GDISK=y +BR2_PACKAGE_GPTFDISK_SGDISK=y +BR2_PACKAGE_GPTFDISK_CGDISK=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_PARTED=y +BR2_PACKAGE_RASPI_GPIO=y +BR2_PACKAGE_READ_EDID=y +BR2_PACKAGE_RNG_TOOLS=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USB_MODESWITCH_DATA=y +BR2_PACKAGE_LUA=y +BR2_PACKAGE_PYTHON3=y +BR2_PACKAGE_PYTHON3_PY_PYC=y +BR2_PACKAGE_PYTHON_GOBJECT=y +BR2_PACKAGE_PYTHON_PIP=y +BR2_PACKAGE_PYTHON_PODMAN_COMPOSE=y +BR2_PACKAGE_PYTHON_SPIDEV=y +BR2_PACKAGE_ALSA_PLUGINS=y +BR2_PACKAGE_LIBVORBIS=y +BR2_PACKAGE_LILV=y +BR2_PACKAGE_OPUS=y +BR2_PACKAGE_PORTAUDIO=y +BR2_PACKAGE_SBC=y +BR2_PACKAGE_SBC_TOOLS=y +BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y +BR2_PACKAGE_LIBARCHIVE=y +BR2_PACKAGE_LIBDEFLATE=y +BR2_PACKAGE_LZ4_PROGS=y +BR2_PACKAGE_CA_CERTIFICATES=y +BR2_PACKAGE_LIBKSBA=y +BR2_PACKAGE_LIBSSH2=y +BR2_PACKAGE_LIBOPENSSL_BIN=y +BR2_PACKAGE_LIBOPENSSL_ENGINES=y +BR2_PACKAGE_LIBCONFIG=y +BR2_PACKAGE_LIBLOCKFILE=y +BR2_PACKAGE_LIBNFS=y +BR2_PACKAGE_LIBSYSFS=y +BR2_PACKAGE_LOCKDEV=y +BR2_PACKAGE_PHYSFS=y +BR2_PACKAGE_FONTCONFIG=y +BR2_PACKAGE_HARFBUZZ=y +BR2_PACKAGE_LIBEXIF=y +BR2_PACKAGE_LIBPNG=y +BR2_PACKAGE_OPENJPEG=y +BR2_PACKAGE_PIXMAN=y +BR2_PACKAGE_TIFF=y +BR2_PACKAGE_WEBP=y +BR2_PACKAGE_WIREPLUMBER=y +BR2_PACKAGE_ZBAR=y +BR2_PACKAGE_LIBINPUT=y +BR2_PACKAGE_LIBV4L_UTILS=y +BR2_PACKAGE_JSON_GLIB=y +BR2_PACKAGE_LIBCAMERA=y +BR2_PACKAGE_LIBCAMERA_V4L2=y +BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI=y +BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE=y +BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO=y +BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC=y +BR2_PACKAGE_LIBCURL=y +BR2_PACKAGE_LIBCURL_CURL=y +BR2_PACKAGE_LIBDNET=y +BR2_PACKAGE_LIBNICE=y +BR2_PACKAGE_LIBRSYNC=y +BR2_PACKAGE_LIBSOUP=y +BR2_PACKAGE_LIBSRTP=y +BR2_PACKAGE_LIBURIPARSER=y +BR2_PACKAGE_LIBWEBSOCKETS=y +BR2_PACKAGE_SLIRP4NETNS=y +BR2_PACKAGE_ZEROMQ=y +BR2_PACKAGE_ZEROMQ_WEBSOCKET=y +BR2_PACKAGE_LIBCAP_TOOLS=y +BR2_PACKAGE_LIBNPTH=y +BR2_PACKAGE_LIBFRIBIDI=y +BR2_PACKAGE_PCRE2=y +BR2_PACKAGE_AARDVARK_DNS=y +BR2_PACKAGE_AVAHI=y +BR2_PACKAGE_AVAHI_DAEMON=y +BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y +BR2_PACKAGE_AVAHI_DEFAULT_SERVICES=y +BR2_PACKAGE_BLUEZ_TOOLS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BLUEZ5_UTILS_OBEX=y +BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y +BR2_PACKAGE_BLUEZ5_UTILS_MONITOR=y +BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL=y +BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH=y +BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC=y +BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP=y +BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI=y +BR2_PACKAGE_CRDA=y +BR2_PACKAGE_DNSMASQ=y +BR2_PACKAGE_IFUPDOWN=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPUTILS=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_NET_TOOLS=y +BR2_PACKAGE_NETAVARK=y +BR2_PACKAGE_NETWORK_MANAGER=y +BR2_PACKAGE_NETWORK_MANAGER_TUI=y +BR2_PACKAGE_NETWORK_MANAGER_CLI=y +BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER=y +BR2_PACKAGE_OPENSSH=y +# BR2_PACKAGE_OPENSSH_SANDBOX is not set +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_WEXT=y +BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y +BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y +BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y +BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y +BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y +BR2_PACKAGE_WPA_SUPPLICANT_WPA3=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y +BR2_PACKAGE_WPA_SUPPLICANT_DBUS=y +BR2_PACKAGE_CATATONIT=y +BR2_PACKAGE_FILE=y +BR2_PACKAGE_GNUPG=y +BR2_PACKAGE_SCREEN=y +BR2_PACKAGE_TIME=y +BR2_PACKAGE_TINI=y +BR2_PACKAGE_WHICH=y +BR2_PACKAGE_ACL=y +BR2_PACKAGE_AUDIT=y +BR2_PACKAGE_COREUTILS=y +BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES=y +BR2_PACKAGE_EFIBOOTMGR=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_PODMAN=y +BR2_PACKAGE_PODMAN_DRIVER_BTRFS=y +BR2_PACKAGE_PODMAN_DRIVER_DEVICEMAPPER=y +BR2_PACKAGE_PODMAN_DRIVER_VFS=y +BR2_PACKAGE_PROCPS_NG=y +BR2_PACKAGE_RSYSLOG=y +BR2_PACKAGE_SHADOW=y +BR2_PACKAGE_SHADOW_SHADOWGRP=y +BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y +BR2_PACKAGE_SHADOW_UTMPX=y +BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y +BR2_PACKAGE_SWUPDATE=y +BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config" +BR2_PACKAGE_SWUPDATE_USB=y +BR2_PACKAGE_SYSTEMD_ANALYZE=y +BR2_PACKAGE_SYSTEMD_BACKLIGHT=y +# BR2_PACKAGE_SYSTEMD_PSTORE is not set +BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y +BR2_PACKAGE_SYSTEMD_HIBERNATE=y +# BR2_PACKAGE_SYSTEMD_HWDB is not set +BR2_PACKAGE_SYSTEMD_LOCALED=y +BR2_PACKAGE_SYSTEMD_LOGIND=y +# BR2_PACKAGE_SYSTEMD_NETWORKD is not set +BR2_PACKAGE_SYSTEMD_OOMD=y +BR2_PACKAGE_SYSTEMD_POLKIT=y +BR2_PACKAGE_SYSTEMD_RANDOMSEED=y +BR2_PACKAGE_SYSTEMD_REPART=y +# BR2_PACKAGE_SYSTEMD_RESOLVED is not set +BR2_PACKAGE_SYSTEMD_RFKILL=y +# BR2_PACKAGE_SYSTEMD_VCONSOLE is not set +BR2_PACKAGE_TAR=y +BR2_PACKAGE_UTIL_LINUX_BINARIES=y +BR2_PACKAGE_UTIL_LINUX_HWCLOCK=y +BR2_PACKAGE_UTIL_LINUX_KILL=y +BR2_PACKAGE_UTIL_LINUX_LOGGER=y +BR2_PACKAGE_UTIL_LINUX_LOGIN=y +BR2_PACKAGE_UTIL_LINUX_LSMEM=y +BR2_PACKAGE_UTIL_LINUX_MESG=y +BR2_PACKAGE_UTIL_LINUX_MORE=y +BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT=y +BR2_PACKAGE_UTIL_LINUX_PARTX=y +BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT=y +BR2_PACKAGE_UTIL_LINUX_SU=y +BR2_PACKAGE_UTIL_LINUX_SULOGIN=y +BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT=y +BR2_PACKAGE_UTIL_LINUX_ZRAMCTL=y +BR2_PACKAGE_LESS=y +BR2_PACKAGE_NANO=y +BR2_PACKAGE_VIM=y +BR2_TARGET_ROOTFS_SQUASHFS=y +BR2_TARGET_ROOTFS_SQUASHFS4_LZO=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop regexp loadenv echo cat test configfile search search_fs_uuid all_video video font gfxmenu gfxterm gzio xzio" +BR2_TARGET_GRUB2_INSTALL_TOOLS=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_E2FSPROGS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MKPASSWD=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_PKGCONF=y +BR2_PACKAGE_BTSPEAKER=y +BR2_PACKAGE_HOSTNAME_SERVICE=y +BR2_PACKAGE_LIBGPIOD2=y +BR2_PACKAGE_LIBGPIOD2_TOOLS=y +BR2_PACKAGE_NCPAMIXER=y +BR2_PACKAGE_OVOS_BUS_SERVER=y +BR2_PACKAGE_OVOS_CONTAINERS=y +BR2_PACKAGE_OVOS_CONTAINERS_ARCH="arm64" +BR2_PACKAGE_OVOS_CONTAINERS_GUI=y +BR2_PACKAGE_OVOS_SPLASH=y +BR2_PACKAGE_RESPEAKER=y +BR2_PACKAGE_RNNNOISE_LADSPA=y +BR2_PACKAGE_ROC_TOOLKIT=y +BR2_PACKAGE_RPI_EEPROM=y +BR2_PACKAGE_RPI_EEPROM_RPI5=y +BR2_PACKAGE_USERLAND_TOOLS=y +BR2_PACKAGE_VOCALFUSION=y +BR2_PACKAGE_WIFI_CONNECT=y +BR2_PACKAGE_PYTHON_ADAFRUIT_BLINKA=y +BR2_PACKAGE_PYTHON_SMBUS2=y diff --git a/buildroot-external/package/rpi-eeprom/rpi-eeprom.mk b/buildroot-external/package/rpi-eeprom/rpi-eeprom.mk index b4182361..79659670 100644 --- a/buildroot-external/package/rpi-eeprom/rpi-eeprom.mk +++ b/buildroot-external/package/rpi-eeprom/rpi-eeprom.mk @@ -3,16 +3,16 @@ # rpi-eeprom # ############################################################# -RPI_EEPROM_VERSION = 8855da988935f0c09ed4cc772103d4c5408a1afb +RPI_EEPROM_VERSION = 36e58db5c2a2656e553441f4f48f32227809105d RPI_EEPROM_SITE = $(call github,raspberrypi,rpi-eeprom,$(RPI_EEPROM_VERSION)) RPI_EEPROM_LICENSE = BSD-3-Clause RPI_EEPROM_LICENSE_FILES = LICENSE RPI_EEPROM_INSTALL_IMAGES = YES ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI4),y) - RPI_EEPROM_FIRMWARE_PATH = firmware-2711/stable/pieeprom-2023-05-11.bin + RPI_EEPROM_FIRMWARE_PATH = firmware-2711/stable/pieeprom-2024-01-22.bin else ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI5),y) # Raspberry Pi 5 - RPI_EEPROM_FIRMWARE_PATH = firmware-2712/stable/pieeprom-2024-01-05.bin + RPI_EEPROM_FIRMWARE_PATH = firmware-2712/stable/pieeprom-2024-02-16.bin endif define RPI_EEPROM_BUILD_CMDS diff --git a/buildroot-external/package/vocalfusion/app_xvf3510_int_spi_boot_v4_2_0.bin b/buildroot-external/package/vocalfusion/app_xvf3510_int_spi_boot_v4_2_0.bin new file mode 100644 index 00000000..5f90b5c9 Binary files /dev/null and b/buildroot-external/package/vocalfusion/app_xvf3510_int_spi_boot_v4_2_0.bin differ diff --git a/buildroot-external/package/vocalfusion/xvf3510-flash b/buildroot-external/package/vocalfusion/xvf3510-flash index 371a2ed9..94fefc7f 100644 --- a/buildroot-external/package/vocalfusion/xvf3510-flash +++ b/buildroot-external/package/vocalfusion/xvf3510-flash @@ -90,13 +90,15 @@ def send_image( if direct: BOOT_SEL_PIN.switch_to_input() - RST_N_PIN.switch_to_output(value=True) + RST_N_PIN.switch_to_output() + RST_N_PIN.value=1 spi = setup_spi(max_spi_speed_mhz) if direct: RST_N_PIN.value=False - BOOT_SEL_PIN.switch_to_output(value=True) + BOOT_SEL_PIN.switch_to_output() + BOOT_SEL_PIN.value=True RST_N_PIN.value=True else: set_boot_sel()