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:
@@ -137,6 +137,11 @@ function _create_disk_gpt() {
|
||||
# Make sure boot partition is shifted by SPL size
|
||||
boot_offset=$((boot_offset+$(size2sectors "${BOOT_SPL_SIZE}")))
|
||||
fi
|
||||
if [ "${BOARD_ID}" == "odroid-m1" ]; then
|
||||
# Create partition for U-Boot binary (required by Hardkernel SPL to boot
|
||||
# using default petitboot SPI
|
||||
sgdisk -n "0:16384:+8M" -c 0:"uboot" -t 0:"21686148-6449-6E6F-744E-656564454649" "${hdd_img}"
|
||||
fi
|
||||
sgdisk -n "0:${boot_offset}:+$(get_boot_size)" -c 0:"hassos-boot" -t 0:"C12A7328-F81F-11D2-BA4B-00A0C93EC93B" -u 0:${BOOT_UUID} "${hdd_img}"
|
||||
|
||||
# Kernel 0
|
||||
|
||||
Reference in New Issue
Block a user