Add ODROID-M1 support (#2387)
* Add ODROID-M1 board support * Add Rockchip kernel config for ODROID-M1 Kernel defconfig for Rockchip is based on Armbian kernel defconfig from config/kernel/linux-rk3568-odroid-edge.config (git hash 95c829f9e664). * Add U-Boot/Kernel patches * Add Rockchip blob support Add package which provides Rockchip TPL and ATF firmware binaries. * Use latest U-Boot for ODROID-M1 * Fix Rockchip blob support * Update defconfig * Use GPT by default * Create uboot partition to support non-recovery boot * Enable eMMC boot in U-Boot SPL * Drop unnecessary mmc device selection Distro boot already activates the right mmc device. The extra selection seems to actually cause problems for eMMC boot. * Make sure driver for eMMC is built-in * Use odroid-m1 as Supervisor machine * Add ODROID-M1 to CI pipeline and issue template * Bump to Linux 6.1.16
This commit is contained in:
21
buildroot-external/package/rockchip-blobs/Config.in
Normal file
21
buildroot-external/package/rockchip-blobs/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_ROCKCHIP_BLOBS
|
||||
bool "Rockchip loader binaries"
|
||||
help
|
||||
Rockchip loader binaries (required by U-Boot)
|
||||
|
||||
if BR2_PACKAGE_ROCKCHIP_BLOBS
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_BLOBS_VERSION
|
||||
string "Git hash version of rkbin"
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_BLOBS_ATF
|
||||
string "ARM Trusted Firmware file"
|
||||
help
|
||||
ARM Trusted Firmware file
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_BLOBS_TPL
|
||||
string "Rockchip TPL file"
|
||||
help
|
||||
Rockchip TPL file
|
||||
|
||||
endif
|
||||
18
buildroot-external/package/rockchip-blobs/rockchip-blobs.mk
Normal file
18
buildroot-external/package/rockchip-blobs/rockchip-blobs.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# Rockchip loader binaries
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ROCKCHIP_BLOBS_VERSION = $(call qstrip,$(BR2_PACKAGE_ROCKCHIP_BLOBS_VERSION))
|
||||
ROCKCHIP_BLOBS_SOURCE = $(ROCKCHIP_BLOBS_VERSION).tar.gz
|
||||
ROCKCHIP_BLOBS_SITE = https://github.com/JeffyCN/rockchip_mirrors/archive
|
||||
ROCKCHIP_BLOBS_LICENSE = PROPRIETARY
|
||||
ROCKCHIP_BLOBS_INSTALL_IMAGES = YES
|
||||
|
||||
define ROCKCHIP_BLOBS_INSTALL_IMAGES_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/$(BR2_PACKAGE_ROCKCHIP_BLOBS_ATF) $(BINARIES_DIR)/bl31.elf
|
||||
$(INSTALL) -D -m 0644 $(@D)/$(BR2_PACKAGE_ROCKCHIP_BLOBS_TPL) $(BINARIES_DIR)/ram_init.bin
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user