firefly-itx: Don't use abandoned media U-Boot

The board config file was likely copy-pasted from a former `media` board and thus includes some stuff that is not needed, like the abandoned U-Boot repo which is basically an old fork from Raxda's vendor U-Boot.

- Switch to default rk3588 vendor U-Boot (using a generic rk3588 defconfig)
- Cleanup board config file
This commit is contained in:
ColorfulRhino
2024-06-29 16:34:20 +02:00
committed by Ricardo Pardini
parent 744eca2484
commit 227c756abe

View File

@@ -1,25 +1,16 @@
# Rockchip RK3588j Octa core 4GB-32GB eMMC GBE HDMI HDMI-IN PCIe SATA USB3 WiFi 4G 5G # Rockchip RK3588j Octa core 4GB-32GB eMMC GBE HDMI HDMI-IN PCIe SATA USB3 WiFi 4G 5G
BOARD_NAME="Firefly ITX-3588J" BOARD_NAME="Firefly ITX-3588J"
BOARDFAMILY="rockchip-rk3588" BOARDFAMILY="rockchip-rk3588"
BOOT_SOC="rk3588"
BOARD_MAINTAINER="" BOARD_MAINTAINER=""
KERNEL_TARGET="vendor" KERNEL_TARGET="vendor"
FULL_DESKTOP="yes" BOOTCONFIG="rk3588_defconfig"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-firefly-itx-3588j.dtb" BOOT_FDT_FILE="rockchip/rk3588-firefly-itx-3588j.dtb"
SRC_EXTLINUX="yes" BOOT_LOGO="desktop"
SRC_CMDLINE="console=ttyS02,1500000 console=tty0" FULL_DESKTOP="yes"
BOOT_SOC="rk3588"
IMAGE_PARTITION_TABLE="gpt" IMAGE_PARTITION_TABLE="gpt"
function post_family_config__firefly-itx-3588j_use_vendor_uboot() { function post_family_tweaks_bsp__firefly_itx_3588j() {
BOOTCONFIG="rk3588_defconfig"
BOOTSOURCE='https://github.com/150balbes/u-boot-rk'
BOOTBRANCH='branch:rk3588'
BOOTDIR="u-boot-${BOARD}"
BOOTPATCHDIR="u-boot-firefly-itx-3588j"
}
function post_family_tweaks_bsp__firefly-itx-3588j() {
display_alert "$BOARD" "Installing rk3588-bluetooth.service" "info" display_alert "$BOARD" "Installing rk3588-bluetooth.service" "info"
# Bluetooth on this board is handled by a Broadcom (AP6275PR3) chip and requires # Bluetooth on this board is handled by a Broadcom (AP6275PR3) chip and requires
@@ -33,7 +24,7 @@ function post_family_tweaks_bsp__firefly-itx-3588j() {
return 0 return 0
} }
function post_family_tweaks__firefly-itx-3588j_enable_services() { function post_family_tweaks__firefly_itx_3588j_enable_services() {
display_alert "$BOARD" "Enabling rk3588-bluetooth.service" "info" display_alert "$BOARD" "Enabling rk3588-bluetooth.service" "info"
chroot_sdcard systemctl enable rk3588-bluetooth.service chroot_sdcard systemctl enable rk3588-bluetooth.service
return 0 return 0