* [PATCH 0/3] configs: sei510/sei610: drop Android support
@ 2026-09-10 14:04 Guillaume La Roque
2026-09-10 14:04 ` [PATCH 1/3] configs: sei510: " Guillaume La Roque
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Guillaume La Roque @ 2026-09-10 14:04 UTC (permalink / raw)
To: u-boot-amlogic, u-boot
Cc: Neil Armstrong, Tom Rini, Quentin Schulz, Marek Vasut,
Guillaume La Roque
Remove Android support from SEI510 and SEI610 while retaining generic
board support. Both boards switch to meson64.h, leaving the shared
meson64_android.h header unused, so remove it too.
Fastboot remains enabled, but "oem format" is removed along with the
Android partition layout.
Build-tested sei510, sei610 and the four Khadas VIM3/VIM3L Android
defconfigs. Both SEI defconfigs are unchanged by savedefconfig.
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
Guillaume La Roque (3):
configs: sei510: drop Android support
configs: sei610: drop Android support
configs: remove unused meson64_android.h
MAINTAINERS | 1 -
board/amlogic/sei510/MAINTAINERS | 1 -
board/amlogic/sei610/MAINTAINERS | 1 -
configs/sei510_defconfig | 10 --
configs/sei610_defconfig | 10 --
include/configs/meson64_android.h | 279 --------------------------------------
include/configs/sei510.h | 30 ----
include/configs/sei610.h | 30 ----
8 files changed, 362 deletions(-)
---
base-commit: d4152edb50356338af994d1c0483f65b717b4c15
change-id: 20260909-remove_sei_android-44993a3f3353
Best regards,
--
Guillaume La Roque <glaroque@baylibre.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] configs: sei510: drop Android support
2026-09-10 14:04 [PATCH 0/3] configs: sei510/sei610: drop Android support Guillaume La Roque
@ 2026-09-10 14:04 ` Guillaume La Roque
2026-09-10 14:04 ` [PATCH 2/3] configs: sei610: " Guillaume La Roque
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Guillaume La Roque @ 2026-09-10 14:04 UTC (permalink / raw)
To: u-boot-amlogic, u-boot
Cc: Neil Armstrong, Tom Rini, Quentin Schulz, Marek Vasut,
Guillaume La Roque
Android is no longer supported on SEI510. Remove its Android
configuration and use meson64.h for generic board support.
Drop "fastboot oem format" as well, since it depends on the removed
Android partition layout.
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
board/amlogic/sei510/MAINTAINERS | 1 -
configs/sei510_defconfig | 10 ----------
include/configs/sei510.h | 30 ------------------------------
3 files changed, 41 deletions(-)
diff --git a/board/amlogic/sei510/MAINTAINERS b/board/amlogic/sei510/MAINTAINERS
index c6039bc82e2..ea27e800983 100644
--- a/board/amlogic/sei510/MAINTAINERS
+++ b/board/amlogic/sei510/MAINTAINERS
@@ -4,5 +4,4 @@ S: Maintained
L: u-boot-amlogic@groups.io
F: board/amlogic/sei510/
F: configs/sei510_defconfig
-F: include/configs/sei510.h
F: doc/board/amlogic/sei510.rst
diff --git a/configs/sei510_defconfig b/configs/sei510_defconfig
index 689c12e388f..0ef6343098a 100644
--- a/configs/sei510_defconfig
+++ b/configs/sei510_defconfig
@@ -1,6 +1,5 @@
CONFIG_ARM=y
CONFIG_SYS_BOARD="sei510"
-CONFIG_SYS_CONFIG_NAME="sei510"
CONFIG_ARCH_MESON=y
CONFIG_TEXT_BASE=0x01000000
CONFIG_SYS_MALLOC_LEN=0x8000000
@@ -25,18 +24,12 @@ CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y
-CONFIG_USE_PREBOOT=y
-CONFIG_PREBOOT="run load_logo"
# CONFIG_CONSOLE_MUX is not set
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_MISC_INIT_R=y
-CONFIG_AVB_VERIFY=y
CONFIG_SYS_MAXARGS=32
# CONFIG_CMD_BDI is not set
-CONFIG_CMD_ADTIMG=y
-CONFIG_CMD_ABOOTIMG=y
# CONFIG_CMD_IMI is not set
-CONFIG_CMD_BCB=y
CONFIG_CMD_DFU=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_GPT=y
@@ -47,7 +40,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_BMP=y
CONFIG_CMD_REGULATOR=y
-CONFIG_CMD_AVB=y
CONFIG_OF_CONTROL=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
@@ -58,7 +50,6 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=2
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
# CONFIG_INPUT is not set
CONFIG_MMC_MESON_GX=y
CONFIG_DM_MDIO=y
@@ -99,4 +90,3 @@ CONFIG_VIDEO_BMP_RLE8=y
CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
-CONFIG_LIBAVB=y
diff --git a/include/configs/sei510.h b/include/configs/sei510.h
deleted file mode 100644
index 0f8070b8d31..00000000000
--- a/include/configs/sei510.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Configuration for the SEI510
- *
- * Copyright (C) 2019 Baylibre, SAS
- * Author: Jerome Brunet <jbrunet@baylibre.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define LOGO_UUID "43a3305d-150f-4cc9-bd3b-38fca8693846;"
-#define ROOT_UUID "ddb8c3f6-d94d-4394-b633-3134139cc2e0;"
-
-#define PARTS_DEFAULT \
- "uuid_disk=${uuid_gpt_disk};" \
- "name=logo,size=2M,uuid=" LOGO_UUID \
- "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
- "name=dtbo,size=8M,uuid=${uuid_gpt_dtbo};" \
- "name=vbmeta,size=64K,uuid=${uuid_gpt_vbmeta};" \
- "name=boot,size=32M,bootable,uuid=${uuid_gpt_boot};" \
- "name=recovery,size=32M,uuid=${uuid_gpt_recovery};" \
- "name=cache,size=256M,uuid=${uuid_gpt_cache};" \
- "name=super,size=2304M,uuid=${uuid_gpt_super};" \
- "name=userdata,size=4820M,uuid=${uuid_gpt_userdata};" \
- "name=rootfs,size=-,uuid=" ROOT_UUID
-
-#include <configs/meson64_android.h>
-
-#endif /* __CONFIG_H */
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] configs: sei610: drop Android support
2026-09-10 14:04 [PATCH 0/3] configs: sei510/sei610: drop Android support Guillaume La Roque
2026-09-10 14:04 ` [PATCH 1/3] configs: sei510: " Guillaume La Roque
@ 2026-09-10 14:04 ` Guillaume La Roque
2026-09-10 14:04 ` [PATCH 3/3] configs: remove unused meson64_android.h Guillaume La Roque
2026-09-10 14:06 ` [PATCH 0/3] configs: sei510/sei610: drop Android support Neil Armstrong
3 siblings, 0 replies; 5+ messages in thread
From: Guillaume La Roque @ 2026-09-10 14:04 UTC (permalink / raw)
To: u-boot-amlogic, u-boot
Cc: Neil Armstrong, Tom Rini, Quentin Schulz, Marek Vasut,
Guillaume La Roque
Android is no longer supported on SEI610. Remove its Android
configuration and use meson64.h for generic board support.
Drop "fastboot oem format" as well, since it depends on the removed
Android partition layout.
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
board/amlogic/sei610/MAINTAINERS | 1 -
configs/sei610_defconfig | 10 ----------
include/configs/sei610.h | 30 ------------------------------
3 files changed, 41 deletions(-)
diff --git a/board/amlogic/sei610/MAINTAINERS b/board/amlogic/sei610/MAINTAINERS
index 799ad687f09..6d0159f204b 100644
--- a/board/amlogic/sei610/MAINTAINERS
+++ b/board/amlogic/sei610/MAINTAINERS
@@ -4,5 +4,4 @@ S: Maintained
L: u-boot-amlogic@groups.io
F: board/amlogic/sei610/
F: configs/sei610_defconfig
-F: include/configs/sei610.h
F: doc/board/amlogic/sei610.rst
diff --git a/configs/sei610_defconfig b/configs/sei610_defconfig
index 7f6488dfba0..91ebc3282e1 100644
--- a/configs/sei610_defconfig
+++ b/configs/sei610_defconfig
@@ -1,6 +1,5 @@
CONFIG_ARM=y
CONFIG_SYS_BOARD="sei610"
-CONFIG_SYS_CONFIG_NAME="sei610"
CONFIG_ARCH_MESON=y
CONFIG_TEXT_BASE=0x01000000
CONFIG_SYS_MALLOC_LEN=0x8000000
@@ -25,18 +24,12 @@ CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y
-CONFIG_USE_PREBOOT=y
-CONFIG_PREBOOT="run load_logo"
# CONFIG_CONSOLE_MUX is not set
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_MISC_INIT_R=y
-CONFIG_AVB_VERIFY=y
CONFIG_SYS_MAXARGS=32
# CONFIG_CMD_BDI is not set
-CONFIG_CMD_ADTIMG=y
-CONFIG_CMD_ABOOTIMG=y
# CONFIG_CMD_IMI is not set
-CONFIG_CMD_BCB=y
CONFIG_CMD_DFU=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_GPT=y
@@ -47,7 +40,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_BMP=y
CONFIG_CMD_REGULATOR=y
-CONFIG_CMD_AVB=y
CONFIG_OF_CONTROL=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
@@ -58,7 +50,6 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=2
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
# CONFIG_INPUT is not set
CONFIG_MMC_MESON_GX=y
CONFIG_DM_MDIO=y
@@ -99,4 +90,3 @@ CONFIG_VIDEO_BMP_RLE8=y
CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
-CONFIG_LIBAVB=y
diff --git a/include/configs/sei610.h b/include/configs/sei610.h
deleted file mode 100644
index 783eece271d..00000000000
--- a/include/configs/sei610.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Configuration for the SEI610
- *
- * Copyright (C) 2019 Baylibre, SAS
- * Author: Jerome Brunet <jbrunet@baylibre.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define LOGO_UUID "43a3305d-150f-4cc9-bd3b-38fca8693846;"
-#define ROOT_UUID "ddb8c3f6-d94d-4394-b633-3134139cc2e0;"
-
-#define PARTS_DEFAULT \
- "uuid_disk=${uuid_gpt_disk};" \
- "name=logo,start=512K,size=2M,uuid=" LOGO_UUID \
- "name=misc,size=512K,uuid=${uuid_gpt_misc};" \
- "name=dtbo,size=8M,uuid=${uuid_gpt_dtbo};" \
- "name=vbmeta,size=512K,uuid=${uuid_gpt_vbmeta};" \
- "name=boot,size=32M,bootable,uuid=${uuid_gpt_boot};" \
- "name=recovery,size=32M,uuid=${uuid_gpt_recovery};" \
- "name=cache,size=256M,uuid=${uuid_gpt_cache};" \
- "name=super,size=2304M,uuid=${uuid_gpt_super};" \
- "name=userdata,size=12274M,uuid=${uuid_gpt_userdata};" \
- "name=rootfs,size=-,uuid=" ROOT_UUID
-
-#include <configs/meson64_android.h>
-
-#endif /* __CONFIG_H */
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] configs: remove unused meson64_android.h
2026-09-10 14:04 [PATCH 0/3] configs: sei510/sei610: drop Android support Guillaume La Roque
2026-09-10 14:04 ` [PATCH 1/3] configs: sei510: " Guillaume La Roque
2026-09-10 14:04 ` [PATCH 2/3] configs: sei610: " Guillaume La Roque
@ 2026-09-10 14:04 ` Guillaume La Roque
2026-09-10 14:06 ` [PATCH 0/3] configs: sei510/sei610: drop Android support Neil Armstrong
3 siblings, 0 replies; 5+ messages in thread
From: Guillaume La Roque @ 2026-09-10 14:04 UTC (permalink / raw)
To: u-boot-amlogic, u-boot
Cc: Neil Armstrong, Tom Rini, Quentin Schulz, Marek Vasut,
Guillaume La Roque
SEI510 and SEI610 were the last users of meson64_android.h. Remove
this unused header now that both boards use meson64.h.
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
MAINTAINERS | 1 -
include/configs/meson64_android.h | 279 --------------------------------------
2 files changed, 280 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4e9ccca5ca4..e5bf89afdec 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -198,7 +198,6 @@ F: drivers/power/domain/meson-gx-pwrc-vpu.c
F: drivers/video/meson/
F: drivers/watchdog/meson_gxbb_wdt.c
F: include/configs/meson64.h
-F: include/configs/meson64_android.h
F: tools/amlimage*
F: doc/board/amlogic/
N: meson
diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h
deleted file mode 100644
index d6ef0a83a68..00000000000
--- a/include/configs/meson64_android.h
+++ /dev/null
@@ -1,279 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Configuration for Android Amlogic Meson 64bits SoCs
- *
- * Copyright (C) 2019 Baylibre, SAS
- * Author: Jerome Brunet <jbrunet@baylibre.com>
- */
-
-#ifndef __MESON64_ANDROID_CONFIG_H
-#define __MESON64_ANDROID_CONFIG_H
-
-#include <linux/sizes.h>
-
-#ifndef BOOT_PARTITION
-#define BOOT_PARTITION "boot"
-#endif
-
-#ifndef LOGO_PARTITION
-#define LOGO_PARTITION "logo"
-#endif
-
-#ifndef CONTROL_PARTITION
-#define CONTROL_PARTITION "misc"
-#endif
-
-#ifndef EXTRA_ANDROID_ENV_SETTINGS
-#define EXTRA_ANDROID_ENV_SETTINGS ""
-#endif
-
-#if defined(CONFIG_CMD_AVB)
-#define AVB_VERIFY_CHECK \
- "if test \"${force_avb}\" -eq 1; then " \
- "if run avb_verify; then " \
- "echo AVB verification OK.;" \
- "setenv bootargs \"$bootargs $avb_bootargs\";" \
- "else " \
- "echo AVB verification failed.;" \
- "exit; fi;" \
- "else " \
- "setenv bootargs \"$bootargs androidboot.verifiedbootstate=orange\";" \
- "echo Running without AVB...; "\
- "fi;"
-
-#define AVB_VERIFY_CMD "avb_verify=avb init ${mmcdev}; avb verify $slot_suffix;\0"
-#else
-#define AVB_VERIFY_CHECK ""
-#define AVB_VERIFY_CMD ""
-#endif
-
-#if defined(CONFIG_CMD_BCB) && defined(CONFIG_ANDROID_AB)
-#define ANDROIDBOOT_GET_CURRENT_SLOT_CMD "get_current_slot=" \
- "if part number mmc ${mmcdev} " CONTROL_PARTITION " control_part_number; " \
- "then " \
- "echo " CONTROL_PARTITION \
- " partition number:${control_part_number};" \
- "bcb ab_select current_slot mmc ${mmcdev}:${control_part_number};" \
- "else " \
- "echo " CONTROL_PARTITION " partition not found;" \
- "fi;\0"
-
-#define AB_SELECT_SLOT \
- "run get_current_slot; " \
- "if test -e \"${current_slot}\"; " \
- "then " \
- "setenv slot_suffix _${current_slot}; " \
- "else " \
- "echo current_slot not found;" \
- "exit;" \
- "fi;"
-
-#define AB_SELECT_ARGS \
- "setenv bootargs_ab androidboot.slot_suffix=${slot_suffix}; " \
- "echo A/B cmdline addition: ${bootargs_ab};" \
- "setenv bootargs ${bootargs} ${bootargs_ab};"
-
-#define AB_BOOTARGS " androidboot.force_normal_boot=1"
-#define RECOVERY_PARTITION "boot"
-#else
-#define AB_SELECT_SLOT ""
-#define AB_SELECT_ARGS " "
-#define ANDROIDBOOT_GET_CURRENT_SLOT_CMD ""
-#define AB_BOOTARGS " "
-#define RECOVERY_PARTITION "recovery"
-#endif
-
-#if defined(CONFIG_CMD_ABOOTIMG)
-/*
- * Prepares complete device tree blob for current board (for Android boot).
- *
- * Boot image or recovery image should be loaded into $loadaddr prior to running
- * these commands. The logic of these commnads is next:
- *
- * 1. Read correct DTB for current SoC/board from boot image in $loadaddr
- * to $fdtaddr
- * 2. Merge all needed DTBO for current board from 'dtbo' partition into read
- * DTB
- * 3. User should provide $fdtaddr as 3rd argument to 'bootm'
- */
-#define PREPARE_FDT \
- "echo Preparing FDT...; " \
- "if test $board_name = sei510; then " \
- "echo \" Reading DTB for sei510...\"; " \
- "setenv dtb_index 0;" \
- "elif test $board_name = sei610; then " \
- "echo \" Reading DTB for sei610...\"; " \
- "setenv dtb_index 1;" \
- "else " \
- "echo Error: Android boot is not supported for $board_name; " \
- "exit; " \
- "fi; " \
- "abootimg get dtb --index=$dtb_index dtb_start dtb_size; " \
- "cp.b $dtb_start $fdt_addr_r $dtb_size; " \
- "fdt addr $fdt_addr_r 0x80000; "
-
-#define BOOT_CMD "bootm ${loadaddr} ${loadaddr} ${fdt_addr_r};"
-
-#else
-#define PREPARE_FDT " "
-#define BOOT_CMD "bootm ${loadaddr};"
-#endif
-
-#define BOOTENV_DEV_FASTBOOT(devtypeu, devtypel, instance) \
- "bootcmd_fastboot=" \
- "setenv run_fastboot 0;" \
- "if test \"${boot_source}\" = \"usb\"; then " \
- "echo Fastboot forced by usb rom boot;" \
- "setenv run_fastboot 1;" \
- "fi;" \
- "if test \"${run_fastboot}\" -eq 0; then " \
- "if gpt verify mmc ${mmcdev} ${partitions}; then; " \
- "else " \
- "echo Broken MMC partition scheme;" \
- "setenv run_fastboot 1;" \
- "fi; " \
- "fi;" \
- "if test \"${run_fastboot}\" -eq 0; then " \
- "if bcb load " __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) " " \
- CONTROL_PARTITION "; then " \
- "if bcb test command = bootonce-bootloader; then " \
- "echo BCB: Bootloader boot...; " \
- "bcb clear command; bcb store; " \
- "setenv run_fastboot 1;" \
- "elif bcb test command = boot-fastboot; then " \
- "echo BCB: fastboot userspace boot...; " \
- "setenv force_recovery 1;" \
- "fi; " \
- "else " \
- "echo Warning: BCB is corrupted or does not exist; " \
- "fi;" \
- "fi;" \
- "if test \"${run_fastboot}\" -eq 1; then " \
- "echo Running Fastboot...;" \
- "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \
- "fi\0"
-
-#define BOOTENV_DEV_NAME_FASTBOOT(devtypeu, devtypel, instance) \
- "fastboot "
-
-#define BOOTENV_DEV_RECOVERY(devtypeu, devtypel, instance) \
- "bootcmd_recovery=" \
- "pinmux dev pinctrl@14;" \
- "pinmux dev pinctrl@40;" \
- "setenv run_recovery 0;" \
- "if run check_button; then " \
- "echo Recovery button is pressed;" \
- "setenv run_recovery 1;" \
- "fi; " \
- "if bcb load " __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) " " \
- CONTROL_PARTITION "; then " \
- "if bcb test command = boot-recovery; then " \
- "echo BCB: Recovery boot...; " \
- "setenv run_recovery 1;" \
- "fi;" \
- "else " \
- "echo Warning: BCB is corrupted or does not exist; " \
- "fi;" \
- "if test \"${skip_recovery}\" -eq 1; then " \
- "echo Recovery skipped by environment;" \
- "setenv run_recovery 0;" \
- "fi;" \
- "if test \"${force_recovery}\" -eq 1; then " \
- "echo Recovery forced by environment;" \
- "setenv run_recovery 1;" \
- "fi;" \
- "if test \"${run_recovery}\" -eq 1; then " \
- "echo Running Recovery...;" \
- "mmc dev ${mmcdev};" \
- "setenv bootargs \"${bootargs} androidboot.serialno=${serial#}\";" \
- AB_SELECT_SLOT \
- AB_SELECT_ARGS \
- AVB_VERIFY_CHECK \
- "part start mmc ${mmcdev} " RECOVERY_PARTITION "${slot_suffix} boot_start;" \
- "part size mmc ${mmcdev} " RECOVERY_PARTITION "${slot_suffix} boot_size;" \
- "if mmc read ${loadaddr} ${boot_start} ${boot_size}; then " \
- PREPARE_FDT \
- "echo Running Android Recovery...;" \
- BOOT_CMD \
- "fi;" \
- "echo Failed to boot Android...;" \
- "reset;" \
- "fi\0"
-
-#define BOOTENV_DEV_NAME_RECOVERY(devtypeu, devtypel, instance) \
- "recovery "
-
-#define BOOTENV_DEV_SYSTEM(devtypeu, devtypel, instance) \
- "bootcmd_system=" \
- "echo Loading Android " BOOT_PARTITION " partition...;" \
- "mmc dev ${mmcdev};" \
- "setenv bootargs ${bootargs} androidboot.serialno=${serial#};" \
- AB_SELECT_SLOT \
- AB_SELECT_ARGS \
- AVB_VERIFY_CHECK \
- "part start mmc ${mmcdev} " BOOT_PARTITION "${slot_suffix} boot_start;" \
- "part size mmc ${mmcdev} " BOOT_PARTITION "${slot_suffix} boot_size;" \
- "if mmc read ${loadaddr} ${boot_start} ${boot_size}; then " \
- PREPARE_FDT \
- "setenv bootargs \"${bootargs} " AB_BOOTARGS "\" ; " \
- "echo Running Android...;" \
- BOOT_CMD \
- "fi;" \
- "echo Failed to boot Android...;\0"
-
-#define BOOTENV_DEV_NAME_SYSTEM(devtypeu, devtypel, instance) \
- "system "
-
-#define BOOTENV_DEV_PANIC(devtypeu, devtypel, instance) \
- "bootcmd_panic=" \
- "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \
- "reset\0"
-
-#define BOOTENV_DEV_NAME_PANIC(devtypeu, devtypel, instance) \
- "panic "
-
-#define BOOT_TARGET_DEVICES(func) \
- func(FASTBOOT, fastboot, na) \
- func(RECOVERY, recovery, na) \
- func(SYSTEM, system, na) \
- func(PANIC, panic, na) \
-
-#define PREBOOT_LOAD_LOGO \
- "if test \"${boot_source}\" != \"usb\" && " \
- "gpt verify mmc ${mmcdev} ${partitions}; then; " \
- "mmc dev ${mmcdev};" \
- "part start mmc ${mmcdev} " LOGO_PARTITION " boot_start;" \
- "part size mmc ${mmcdev} " LOGO_PARTITION " boot_size;" \
- "if mmc read ${loadaddr} ${boot_start} ${boot_size}; then " \
- "bmp display ${loadaddr} m m;" \
- "fi;" \
- "fi;"
-
-#define CFG_EXTRA_ENV_SETTINGS \
- EXTRA_ANDROID_ENV_SETTINGS \
- "partitions=" PARTS_DEFAULT "\0" \
- "mmcdev=2\0" \
- "fastboot_raw_partition_bootloader=0x1 0xfff mmcpart 1\0" \
- "fastboot_raw_partition_bootenv=0x0 0xfff mmcpart 2\0" \
- ANDROIDBOOT_GET_CURRENT_SLOT_CMD \
- AVB_VERIFY_CMD \
- "force_avb=0\0" \
- "gpio_recovery=88\0" \
- "check_button=gpio input ${gpio_recovery};test $? -eq 0;\0" \
- "load_logo=" PREBOOT_LOAD_LOGO "\0" \
- "stdin=" STDIN_CFG "\0" \
- "stdout=" STDOUT_CFG "\0" \
- "stderr=" STDOUT_CFG "\0" \
- "dtboaddr=0x08200000\0" \
- "loadaddr=0x01080000\0" \
- "fdt_addr_r=0x01000000\0" \
- "scriptaddr=0x08000000\0" \
- "kernel_addr_r=0x01080000\0" \
- "pxefile_addr_r=0x01080000\0" \
- "ramdisk_addr_r=0x13000000\0" \
- "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
- BOOTENV
-
-#include <configs/meson64.h>
-
-#endif /* __MESON64_ANDROID_CONFIG_H */
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] configs: sei510/sei610: drop Android support
2026-09-10 14:04 [PATCH 0/3] configs: sei510/sei610: drop Android support Guillaume La Roque
` (2 preceding siblings ...)
2026-09-10 14:04 ` [PATCH 3/3] configs: remove unused meson64_android.h Guillaume La Roque
@ 2026-09-10 14:06 ` Neil Armstrong
3 siblings, 0 replies; 5+ messages in thread
From: Neil Armstrong @ 2026-09-10 14:06 UTC (permalink / raw)
To: Guillaume La Roque, u-boot-amlogic, u-boot
Cc: Tom Rini, Quentin Schulz, Marek Vasut
On 9/10/26 16:04, Guillaume La Roque wrote:
> Remove Android support from SEI510 and SEI610 while retaining generic
> board support. Both boards switch to meson64.h, leaving the shared
> meson64_android.h header unused, so remove it too.
>
> Fastboot remains enabled, but "oem format" is removed along with the
> Android partition layout.
>
> Build-tested sei510, sei610 and the four Khadas VIM3/VIM3L Android
> defconfigs. Both SEI defconfigs are unchanged by savedefconfig.
>
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> ---
> Guillaume La Roque (3):
> configs: sei510: drop Android support
> configs: sei610: drop Android support
> configs: remove unused meson64_android.h
>
> MAINTAINERS | 1 -
> board/amlogic/sei510/MAINTAINERS | 1 -
> board/amlogic/sei610/MAINTAINERS | 1 -
> configs/sei510_defconfig | 10 --
> configs/sei610_defconfig | 10 --
> include/configs/meson64_android.h | 279 --------------------------------------
> include/configs/sei510.h | 30 ----
> include/configs/sei610.h | 30 ----
> 8 files changed, 362 deletions(-)
> ---
> base-commit: d4152edb50356338af994d1c0483f65b717b4c15
> change-id: 20260909-remove_sei_android-44993a3f3353
>
> Best regards,
> --
> Guillaume La Roque <glaroque@baylibre.com>
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-10 14:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 14:04 [PATCH 0/3] configs: sei510/sei610: drop Android support Guillaume La Roque
2026-09-10 14:04 ` [PATCH 1/3] configs: sei510: " Guillaume La Roque
2026-09-10 14:04 ` [PATCH 2/3] configs: sei610: " Guillaume La Roque
2026-09-10 14:04 ` [PATCH 3/3] configs: remove unused meson64_android.h Guillaume La Roque
2026-09-10 14:06 ` [PATCH 0/3] configs: sei510/sei610: drop Android support Neil Armstrong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.