Add support of Android Boot Image version 2 and non-AB image
v3 cover Add support of Android Boot Image version 2 and non-AB image
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
patchset was tested on khadas VIM3 and VIM3L with AOSP main branch and android-mainline kernel and with TI AM62P with android release provided by TI.
---
Changes in v3:
- Remove gpio recovery stuff not needed anymore.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Drop patch 3 (configs: khadas-vim3{l}: fix userdata size) already
applied
- Apply Tested-by and Reviewed-by from v1
- Fix comments
- Revert malloc/free for slot_suffix
- Remove vim3/vim3l stuff in meson64_android.h
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Guillaume La Roque (5):
bootstd: android: add support of bootimage v2
bootstd: android: add non-A/B image support
configs: khadas-vim3l_android{_ab}: move on bootmeth android
configs: khadas-vim3_android{_ab}: move on bootmeth android
bootstd: Add test for Android boot image v2
arch/sandbox/dts/test.dts | 10 +++- boot/Kconfig | 1 - boot/bootmeth_android.c | 78 +++++++++++++++++++++---------- configs/am62x_a53_android.config | 1 + configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas-vim3_android_defconfig | 7 ++- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs/khadas-vim3l_android_defconfig | 7 ++- configs/sandbox_defconfig | 1 + include/configs/khadas-vim3_android.h | 25 ++++++++-- include/configs/khadas-vim3l_android.h | 25 ++++++++-- include/configs/meson64_android.h | 6 --- test/boot/bootflow.c | 29 ++++++++++-- test/py/tests/test_ut.py | 49 +++++++++++++++++++ 14 files changed, 206 insertions(+), 47 deletions(-)
---
base-commit: ce427e40a2422b75374ee3404e3f5c6536e8984a
change-id: 20241015-adnroidv2-a01dca609707
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
PATCH v3 1/5 bootstd: android: add support of bootimage v2
Android bootmeth only support boot image v3/4.
Add support of Android Boot Image version 2 [1].
Vendor boot image is only supported in version 3 and 4 so don't try to read it when header version is less than 3.
[1] https://source.android.com/docs/core/architecture/bootloader/boot-image-header#header-v2
--- boot/bootmeth_android.c | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-)
boot/bootmeth_android.c +12 -15
@@ -259,16 +259,12 @@ static int android_read_bootflow(struct udevice *dev, struct bootflow *bflow) goto free_priv; } -if (priv->header_version !=4 ) { -log_debug ("only boot.img v4 is supported %u\n" , priv->header_version); - ret = -EINVAL ; - goto free_priv; - } - - ret =scan_vendor_boot_part (bflow->blk, priv); -if (ret <0 ) { -log_debug ("scan vendor_boot failed: err=%d\n" , ret); - goto free_priv; +if (priv->header_version >=3 ) { + ret =scan_vendor_boot_part (bflow->blk, priv); +if (ret <0 ) { +log_debug ("scan vendor_boot failed: err=%d\n" , ret); + goto free_priv; + } }/*
@@ -476,12 +472,13 @@ static int boot_android_normal(struct bootflow *bflow)if (ret <0 )return log_msg_ret ("read boot" , ret); - ret =read_slotted_partition (desc,"vendor_boot" , priv->slot, vloadaddr); -if (ret <0 ) -return log_msg_ret ("read vendor_boot" , ret); - +if (priv->header_version >=3 ) { + ret =read_slotted_partition (desc,"vendor_boot" , priv->slot, vloadaddr); +if (ret <0 ) +return log_msg_ret ("read vendor_boot" , ret); +set_avendor_bootimg_addr (vloadaddr); + }set_abootimg_addr (loadaddr); -set_avendor_bootimg_addr (vloadaddr); ret =bootm_boot_start (loadaddr, bflow->cmdline);
Signature · 1 line
2.34.1
PATCH v3 2/5 bootstd: android: add non-A/B image support
In reply to Guillaume La RoqueUpdate android bootmeth to support non-A/B image. Enable AB support only when ANDROID_AB is enabled.
--- boot/Kconfig | 1 - boot/bootmeth_android.c | 51 +++++++++++++++++++++++++++++++++------- configs/am62x_a53_android.config | 1 + configs/sandbox_defconfig | 1 + 4 files changed, 44 insertions(+), 10 deletions(-)
boot/Kconfig +0 -1
@@ -500,7 +500,6 @@ config BOOTMETH_ANDROID bool "Bootdev support for Android" depends on X86 || ARM || SANDBOX depends on CMDLINE - select ANDROID_AB select ANDROID_BOOT_IMAGE select CMD_BCB imply CMD_FASTBOOT
boot/bootmeth_android.c +42 -9
122 lines not on this page · raw message
configs/am62x_a53_android.config +1 -0
@@ -11,6 +11,7 @@ CONFIG_RANDOM_UUID=y # Needed for FASTBOOT_CMD_OEM_FORMAT CONFIG_FASTBOOT_CMD_OEM_FORMAT=y # Enable Android boot flow CONFIG_BOOTMETH_ANDROID=y +CONFIG_ANDROID_AB=y CONFIG_SYS_BOOTM_LEN=0x4000000 CONFIG_SYS_MALLOC_LEN=0x08000000 CONFIG_AVB_VERIFY=y
configs/sandbox_defconfig +1 -0
@@ -50,6 +50,7 @@ CONFIG_LOG_DEFAULT_LEVEL=6 CONFIG_LOGF_FUNC=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_STACKPROTECTOR=y +CONFIG_ANDROID_AB=y CONFIG_CMD_CPU=y CONFIG_CMD_LICENSE=y CONFIG_CMD_SMBIOS=y
Signature · 1 line
2.34.1
PATCH v3 3/5 configs: khadas-vim3l_android{_ab}: move on bootmeth android
In reply to Guillaume La RoqueActually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android.
--- configs/khadas-vim3l_android_ab_defconfig | 7 ++++++- configs/khadas-vim3l_android_defconfig | 7 ++++++- include/configs/khadas-vim3l_android.h | 25 +++++++++++++++++++++---- include/configs/meson64_android.h | 3 --- 4 files changed, 33 insertions(+), 9 deletions(-)
configs/khadas-vim3l_android_ab_defconfig +6 -1
@@ -24,6 +24,12 @@ CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y +CONFIG_BOOTMETH_ANDROID=y +# CONFIG_BOOTMETH_EXTLINUX is not set +# CONFIG_BOOTMETH_EXTLINUX_PXE is not set +# CONFIG_BOOTMETH_EFILOADER is not set +# CONFIG_BOOTMETH_EFI_BOOTMGR is not set +# CONFIG_BOOTMETH_VBE is not set CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -35,7 +41,6 @@ CONFIG_SYS_MAXARGS=32 CONFIG_CMD_ADTIMG=y CONFIG_CMD_ABOOTIMG=y # CONFIG_CMD_IMI is not set -CONFIG_CMD_BCB=y CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y
configs/khadas-vim3l_android_defconfig +6 -1
@@ -24,6 +24,12 @@ CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y +CONFIG_BOOTMETH_ANDROID=y +# CONFIG_BOOTMETH_EXTLINUX is not set +# CONFIG_BOOTMETH_EXTLINUX_PXE is not set +# CONFIG_BOOTMETH_EFILOADER is not set +# CONFIG_BOOTMETH_EFI_BOOTMGR is not set +# CONFIG_BOOTMETH_VBE is not set CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -34,7 +40,6 @@ CONFIG_SYS_MAXARGS=32 CONFIG_CMD_ADTIMG=y CONFIG_CMD_ABOOTIMG=y # CONFIG_CMD_IMI is not set -CONFIG_CMD_BCB=y CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y
include/configs/khadas-vim3l_android.h +21 -4
@@ -41,10 +41,27 @@ "name=rootfs,size=-,uuid=" ROOT_UUID#endif -#define EXTRA_ANDROID_ENV_SETTINGS \ - "board=vim3l\0" \ - "board_name=vim3l\0" \ +#define CFG_EXTRA_ENV_SETTINGS \ + "board=vim3l\0" \ + "board_name=vim3l\0" \ + "bootmeths=android\0" \ + "bootcmd=bootflow scan\0" \ + "adtb_idx=2\0" \ + "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" \ + "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" \ -#include <configs/meson64_android.h> +#include <configs/meson64.h> #endif /* __CONFIG_H */
include/configs/meson64_android.h +0 -3
@@ -104,9 +104,6 @@"elif test $board_name = sei610; then " \"echo \" Reading DTB for sei610...\"; " \"setenv dtb_index 1;" \ -"elif test $board_name = vim3l; then " \ -"echo \" Reading DTB for vim3l...\"; " \ -"setenv dtb_index 2;" \"elif test $board_name = vim3; then " \"echo \" Reading DTB for vim3...\"; " \"setenv dtb_index 3;" \
Signature · 1 line
2.34.1
PATCH v3 4/5 configs: khadas-vim3_android{_ab}: move on bootmeth android
In reply to Guillaume La RoqueActually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android.
--- configs/khadas-vim3_android_ab_defconfig | 7 ++++++- configs/khadas-vim3_android_defconfig | 7 ++++++- include/configs/khadas-vim3_android.h | 25 +++++++++++++++++++++---- include/configs/meson64_android.h | 3 --- 4 files changed, 33 insertions(+), 9 deletions(-)
configs/khadas-vim3_android_ab_defconfig +6 -1
@@ -24,6 +24,12 @@ CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y +CONFIG_BOOTMETH_ANDROID=y +# CONFIG_BOOTMETH_EXTLINUX is not set +# CONFIG_BOOTMETH_EXTLINUX_PXE is not set +# CONFIG_BOOTMETH_EFILOADER is not set +# CONFIG_BOOTMETH_EFI_BOOTMGR is not set +# CONFIG_BOOTMETH_VBE is not set CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -35,7 +41,6 @@ CONFIG_SYS_MAXARGS=32 CONFIG_CMD_ADTIMG=y CONFIG_CMD_ABOOTIMG=y # CONFIG_CMD_IMI is not set -CONFIG_CMD_BCB=y CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y
configs/khadas-vim3_android_defconfig +6 -1
@@ -24,6 +24,12 @@ CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y +CONFIG_BOOTMETH_ANDROID=y +# CONFIG_BOOTMETH_EXTLINUX is not set +# CONFIG_BOOTMETH_EXTLINUX_PXE is not set +# CONFIG_BOOTMETH_EFILOADER is not set +# CONFIG_BOOTMETH_EFI_BOOTMGR is not set +# CONFIG_BOOTMETH_VBE is not set CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_OF_BOARD_SETUP=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -34,7 +40,6 @@ CONFIG_SYS_MAXARGS=32 CONFIG_CMD_ADTIMG=y CONFIG_CMD_ABOOTIMG=y # CONFIG_CMD_IMI is not set -CONFIG_CMD_BCB=y CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y
include/configs/khadas-vim3_android.h +21 -4
@@ -41,10 +41,27 @@ "name=rootfs,size=-,uuid=" ROOT_UUID#endif -#define EXTRA_ANDROID_ENV_SETTINGS \ - "board=vim3\0" \ - "board_name=vim3\0" \ +#define CFG_EXTRA_ENV_SETTINGS \ + "board=vim3\0" \ + "board_name=vim3\0" \ + "bootmeths=android\0" \ + "bootcmd=bootflow scan\0" \ + "adtb_idx=3\0" \ + "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" \ + "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" \ -#include <configs/meson64_android.h> +#include <configs/meson64.h> #endif /* __CONFIG_H */
include/configs/meson64_android.h +0 -3
@@ -104,9 +104,6 @@"elif test $board_name = sei610; then " \"echo \" Reading DTB for sei610...\"; " \"setenv dtb_index 1;" \ -"elif test $board_name = vim3; then " \ -"echo \" Reading DTB for vim3...\"; " \ -"setenv dtb_index 3;" \"else " \"echo Error: Android boot is not supported for $board_name; " \"exit; " \
Signature · 1 line
2.34.1
PATCH v3 5/5 bootstd: Add test for Android boot image v2
In reply to Guillaume La RoqueRename actual android bootmethod test to specify it's for boot image version 4.
Add a unit test for testing the Android bootmethod with boot image version 2.
This requires another mmc image (mmc8) to contain the following partitions:
- misc: contains the Bootloader Control Block (BCB)
- boot_a: contains a fake generic kernel image
we can test this with:
$ ./test/py/test.py --bd sandbox --build -k test_ut # build the mmc8.img $ ./test/py/test.py --bd sandbox --build -k bootflow_android
--- arch/sandbox/dts/test.dts | 10 +++++++++- test/boot/bootflow.c | 29 +++++++++++++++++++++++++--- test/py/tests/test_ut.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 4 deletions(-)
arch/sandbox/dts/test.dts +9 -1
@@ -44,6 +44,7 @@ mmc5 = "/mmc5"; mmc6 = "/mmc6"; mmc7 = "/mmc7"; + mmc8 = "/mmc8"; pci0 = &pci0; pci1 = &pci1; pci2 = &pci2;
@@ -1138,13 +1139,20 @@ filename = "mmc6.img"; }; - /* This is used for Android tests */ + /* This is used for Android boot image v4 tests */ mmc7 { status = "disabled"; compatible = "sandbox,mmc"; filename = "mmc7.img"; }; + /* This is used for Android boot image v2 tests. */ + mmc8 { + status = "disabled"; + compatible = "sandbox,mmc"; + filename = "mmc8.img"; + }; + pch { compatible = "sandbox,pch"; };
test/boot/bootflow.c +26 -3
@@ -1199,8 +1199,8 @@ static int bootflow_cros(struct unit_test_state *uts) }BOOTSTD_TEST (bootflow_cros,UTF_CONSOLE ); -/* Test Android bootmeth */ -static int bootflow_android (struct unit_test_state *uts) +/* Test Android bootmeth with boot image version 4 */ +static int bootflow_android_image_v4 (struct unit_test_state *uts) {if (!IS_ENABLED (CONFIG_BOOTMETH_ANDROID ))return -EAGAIN ;
@@ -1220,7 +1220,30 @@ static int bootflow_android(struct unit_test_state *uts)return 0 ; } -BOOTSTD_TEST (bootflow_android,UTF_CONSOLE ); +BOOTSTD_TEST (bootflow_android_image_v4,UTF_CONSOLE ); + +/* Test Android bootmeth with boot image version 2 */ +static int bootflow_android_image_v2 (struct unit_test_state *uts) +{ +if (!IS_ENABLED (CONFIG_BOOTMETH_ANDROID )) +return -EAGAIN ; + +ut_assertok (scan_mmc_android_bootdev (uts,"mmc8" )); +ut_assertok (run_command ("bootflow list" ,0 )); + +ut_assert_nextlinen ("Showing all" ); +ut_assert_nextlinen ("Seq" ); +ut_assert_nextlinen ("---" ); +ut_assert_nextlinen (" 0 extlinux" ); +ut_assert_nextlinen (" 1 android ready mmc 0 mmc8.bootdev.whole " ); +ut_assert_nextlinen ("---" ); +ut_assert_skip_to_line ("(2 bootflows, 2 valid)" ); + +ut_assert_console_end (); + +return 0 ; +} +BOOTSTD_TEST (bootflow_android_image_v2,UTF_CONSOLE );/* Test EFI bootmeth */ static int bootflow_efi (struct unit_test_state *uts)
test/py/tests/test_ut.py +49 -0
55 lines not on this page · raw message
Signature · 1 line
2.34.1
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d [2/5] bootstd: android: add non-A/B image support https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36 [3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823 [4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa [5/5] bootstd: Add test for Android boot image v2 https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844a
--
Mattijs
Hi Guillaume,
Quoted 15 lines · Mattijs Korpershoek
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/5] bootstd: android: add support of bootimage v2
Quoted 9 lines
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d [2/5] bootstd: android: add non-A/B image support https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36 [3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823 [4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa [5/5] bootstd: Add test for Android boot image v2 https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844a
CI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452
Could you have a look please?
Thanks!
Quoted 3 lines
--
Mattijs
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 27 lines
Hi Guillaume,
Quoted 14 lines · Mattijs Korpershoek
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/5] bootstd: android: add support of bootimage v2
Quoted 9 lines
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d [2/5] bootstd: android: add non-A/B image support https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36 [3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823 [4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa [5/5] bootstd: Add test for Android boot image v2 https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844a
Quoted 4 lines
CI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
--
Mattijs
Hi,
unfortunately i don't find for now how i can fix issue in test.
i don't really understand with when we launch test individually it's working but if we launch test_ut test not working , I see on android test for image version 4 to mmc7 in bootflow list detected.
=> ut bootstd bootflow_android_image_v4
Test: bootflow_android_image_v4: bootflow.cscan_mmc_android_bootdev: mmc7
order 0: mmc2
order 1: mmc1
order 2: mmc7
order 3: <NULL>
Enabled mmc mmc7 bootdev
ab_select_slot() ANDROID: Attempting slot a, tries remaining 7 ab_select_slot() ANDROID: Attempting slot a, tries remaining 7 Older order: mmc2
Showing all bootflows
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ---------------- 0 extlinux ready mmc 1 mmc1.bootdev.part_1 /extlinux/extlinux.conf 1 android ready mmc 0 mmc7.bootdev.whole
2 android ready mmc 0 mmc7.bootdev.whole
--- ----------- ------ -------- ---- ------------------------ ---------------- (3 bootflows, 3 valid)
if we just launch bootflow_android_image_v4 we have only a mmc7.bootdev.whole and so test is ok.
if someone have an idea or can give some idea of what i can try or check .
thanks for helping.
Guillaume
Le 20/11/2024 à 13:56, Guillaume LA ROQUE a écrit :
Quoted 42 lines
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 27 lines
Hi Guillaume,
Quoted 13 lines · Mattijs Korpershoek
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
Quoted 10 lines
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d
[2/5] bootstd: android: add non-A/B image support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36
[3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823
[4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa
[5/5] bootstd: Add test for Android boot image v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844aQuoted 4 lines
CI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
Signature · 1 line
Mattijs
Hi Guillaume,
Quoted 31 lines · Guillaume LA ROQUE
Hi,
unfortunately i don't find for now how i can fix issue in test.
i don't really understand with when we launch test individually it's working but if we launch
test_uttest not working ,
I see on android test for image version 4 to mmc7 in bootflow list detected.=> ut bootstd
bootflow_android_image_v4
Test:bootflow_android_image_v4:bootflow.cscan_mmc_android_bootdev: mmc7
order 0: mmc2
order 1: mmc1
order 2: mmc7
order 3: <NULL>
Enabled mmc mmc7 bootdev
ab_select_slot()ANDROID: Attempting slot a, tries remaining 7ab_select_slot()ANDROID: Attempting slot a, tries remaining 7
Older order: mmc2
Showing all bootflows
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------
----------------
0 extlinux ready mmc 1 mmc1.bootdev.part_1
/extlinux/extlinux.conf
1 android ready mmc 0 mmc7.bootdev.whole 2 android ready mmc 0 mmc7.bootdev.whole
--- ----------- ------ -------- ---- ------------------------
----------------
(3 bootflows, 3 valid)
Quoted 6 lines
if we just launch
bootflow_android_image_v4we have only a mmc7.bootdev.whole and so test is ok.if someone have an idea or can give some idea of what i can try or check .
thanks for helping.
I'll have a look
Quoted 48 lines
Guillaume
Le 20/11/2024 à 13:56, Guillaume LA ROQUE a écrit :Quoted 45 lines
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 30 lines
Hi Guillaume,
Quoted 15 lines · Mattijs Korpershoek
Hi,
Quoted 9 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to
https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)Quoted 10 lines
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d
[2/5] bootstd: android: add non-A/B image support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36
[3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823
[4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa
[5/5] bootstd: Add test for Android boot image v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844aQuoted 4 lines
CI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
Signature · 1 line
Mattijs
Hi,
Quoted 35 lines · Mattijs Korpershoek
Hi Guillaume,
Quoted 31 lines · Guillaume LA ROQUE
Hi,
unfortunately i don't find for now how i can fix issue in test.
i don't really understand with when we launch test individually it's working but if we launch
test_uttest not working ,
I see on android test for image version 4 to mmc7 in bootflow list detected.=> ut bootstd
bootflow_android_image_v4
Test:bootflow_android_image_v4:bootflow.cscan_mmc_android_bootdev: mmc7
order 0: mmc2
order 1: mmc1
order 2: mmc7
order 3: <NULL>
Enabled mmc mmc7 bootdev
ab_select_slot()ANDROID: Attempting slot a, tries remaining 7ab_select_slot()ANDROID: Attempting slot a, tries remaining 7
Older order: mmc2
Showing all bootflows
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------
----------------
0 extlinux ready mmc 1 mmc1.bootdev.part_1
/extlinux/extlinux.conf
1 android ready mmc 0 mmc7.bootdev.whole 2 android ready mmc 0 mmc7.bootdev.whole
--- ----------- ------ -------- ---- ------------------------
----------------
(3 bootflows, 3 valid)
Quoted 8 lines
Quoted 6 lines
if we just launch
bootflow_android_image_v4we have only a mmc7.bootdev.whole and so test is ok.if someone have an idea or can give some idea of what i can try or check .
thanks for helping.
I'll have a look
The following command fails:
$ ./test/py/test.py --bd sandbox --build -k test_ut
Running both test at the same time fails as well:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v
However, running individually, no issues are observed:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v4 $ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v2
Going back to look at the v1 series [1], the tests were working fine.
If we use the following base (from [1]), it works fine:
commit 9e1cd2f2cb86 ("Merge https://source.denx.de/u-boot/custodians/u-boot-usb")
However, the don't when using this base:
commit b7d4c80fce44 ("Merge tag 'efi-next-2024-11-18' of https://source.denx.de/u-boot/custodians/u-boot-efi into next")
I've bisected the issue and I've found that the following patch from Simon causes the issue:
commit fbdac8155c89 ("test: Expand implementation of ut_list_has_dm_tests()")
Reverting the above patch fixes the problem when running with:
$ ./test/py/test.py --bd sandbox --build -k test_ut
However, I don't understand why Simon's patch causes a duplicate mmc7 dev to be mounted.
I will continue the investigation.
[1] https://lore.kernel.org/all/[email protected]/
Quoted 49 lines
Quoted 49 lines
Guillaume
Le 20/11/2024 à 13:56, Guillaume LA ROQUE a écrit :Quoted 45 lines
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 30 lines
Hi Guillaume,
Quoted 15 lines · Mattijs Korpershoek
Hi,
Quoted 9 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to
https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)Quoted 10 lines
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d
[2/5] bootstd: android: add non-A/B image support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36
[3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823
[4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa
[5/5] bootstd: Add test for Android boot image v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844aQuoted 4 lines
CI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
Signature · 1 line
Mattijs
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 70 lines · Mattijs Korpershoek via groups.io
Hi,
Quoted 35 lines · Mattijs Korpershoek
Hi Guillaume,
Quoted 31 lines · Guillaume LA ROQUE
Hi,
unfortunately i don't find for now how i can fix issue in test.
i don't really understand with when we launch test individually it's working but if we launch
test_uttest not working ,
I see on android test for image version 4 to mmc7 in bootflow list detected.=> ut bootstd
bootflow_android_image_v4
Test:bootflow_android_image_v4:bootflow.cscan_mmc_android_bootdev: mmc7
order 0: mmc2
order 1: mmc1
order 2: mmc7
order 3: <NULL>
Enabled mmc mmc7 bootdev
ab_select_slot()ANDROID: Attempting slot a, tries remaining 7ab_select_slot()ANDROID: Attempting slot a, tries remaining 7
Older order: mmc2
Showing all bootflows
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------
----------------
0 extlinux ready mmc 1 mmc1.bootdev.part_1
/extlinux/extlinux.conf
1 android ready mmc 0 mmc7.bootdev.whole 2 android ready mmc 0 mmc7.bootdev.whole
--- ----------- ------ -------- ---- ------------------------
----------------
(3 bootflows, 3 valid)Quoted 8 lines
Quoted 6 lines
if we just launch
bootflow_android_image_v4we have only a mmc7.bootdev.whole and so test is ok.if someone have an idea or can give some idea of what i can try or check .
thanks for helping.
I'll have a look
The following command fails:
$ ./test/py/test.py --bd sandbox --build -k test_utRunning both test at the same time fails as well:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_vHowever, running individually, no issues are observed:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v4 $ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v2Going back to look at the v1 series [1], the tests were working fine.
If we use the following base (from [1]), it works fine:
commit9e1cd2f2cb86("Merge https://source.denx.de/u-boot/custodians/u-boot-usb")However, the don't when using this base:
commitb7d4c80fce44("Merge tag 'efi-next-2024-11-18' of https://source.denx.de/u-boot/custodians/u-boot-efi into next")I've bisected the issue and I've found that the following patch from Simon causes the issue:
commitfbdac8155c89("test: Expand implementation ofut_list_has_dm_tests()")
Quoted 7 lines
Reverting the above patch fixes the problem when running with:
$ ./test/py/test.py --bd sandbox --build -k test_utHowever, I don't understand why Simon's patch causes a duplicate mmc7 dev to be mounted.
I will continue the investigation.
Ok, I found the issue. it's not a duplicate mmc7, but we bind the bootmeth multiple times, which causes issues.
This can also be reproduced on next with:
$ ./test/py/test.py --bd sandbox --build -k test_ut $ ./test/py/test.py --bd sandbox --build -k "bootflow_android or bootflow_cros"
I will send a patch.
Quoted 61 lines
[1] https://lore.kernel.org/all/[email protected]/
Quoted 41 lines
Quoted 41 lines
Guillaume
Le 20/11/2024 à 13:56, Guillaume LA ROQUE a écrit :Quoted 37 lines
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 34 lines
Hi Guillaume,
Quoted 15 lines · Mattijs Korpershoek
Hi,
Quoted 9 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to
https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)Quoted 10 lines
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d
[2/5] bootstd: android: add non-A/B image support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36
[3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823
[4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa
[5/5] bootstd: Add test for Android boot image v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844aCI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
Signature · 1 line
Mattijs-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group. View/Reply Online (#2578): https://groups.io/g/u-boot-amlogic/message/2578
Mute This Topic: https://groups.io/mt/109662676/1991006
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/u-boot-amlogic/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 80 lines · Mattijs Korpershoek
Quoted 70 lines · Mattijs Korpershoek via groups.io
Hi,
Quoted 35 lines · Mattijs Korpershoek
Hi Guillaume,
Quoted 31 lines · Guillaume LA ROQUE
Hi,
unfortunately i don't find for now how i can fix issue in test.
i don't really understand with when we launch test individually it's working but if we launch
test_uttest not working ,
I see on android test for image version 4 to mmc7 in bootflow list detected.=> ut bootstd
bootflow_android_image_v4
Test:bootflow_android_image_v4:bootflow.cscan_mmc_android_bootdev: mmc7
order 0: mmc2
order 1: mmc1
order 2: mmc7
order 3: <NULL>
Enabled mmc mmc7 bootdev
ab_select_slot()ANDROID: Attempting slot a, tries remaining 7ab_select_slot()ANDROID: Attempting slot a, tries remaining 7
Older order: mmc2
Showing all bootflows
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------
----------------
0 extlinux ready mmc 1 mmc1.bootdev.part_1
/extlinux/extlinux.conf
1 android ready mmc 0 mmc7.bootdev.whole 2 android ready mmc 0 mmc7.bootdev.whole
--- ----------- ------ -------- ---- ------------------------
----------------
(3 bootflows, 3 valid)Quoted 8 lines
Quoted 6 lines
if we just launch
bootflow_android_image_v4we have only a mmc7.bootdev.whole and so test is ok.if someone have an idea or can give some idea of what i can try or check .
thanks for helping.
I'll have a look
The following command fails:
$ ./test/py/test.py --bd sandbox --build -k test_utRunning both test at the same time fails as well:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_vHowever, running individually, no issues are observed:
$ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v4 $ ./test/py/test.py --bd sandbox --build -k bootflow_android_image_v2Going back to look at the v1 series [1], the tests were working fine.
If we use the following base (from [1]), it works fine:
commit9e1cd2f2cb86("Merge https://source.denx.de/u-boot/custodians/u-boot-usb")However, the don't when using this base:
commitb7d4c80fce44("Merge tag 'efi-next-2024-11-18' of https://source.denx.de/u-boot/custodians/u-boot-efi into next")I've bisected the issue and I've found that the following patch from Simon causes the issue:
commitfbdac8155c89("test: Expand implementation ofut_list_has_dm_tests()")Quoted 7 lines
Reverting the above patch fixes the problem when running with:
$ ./test/py/test.py --bd sandbox --build -k test_utHowever, I don't understand why Simon's patch causes a duplicate mmc7 dev to be mounted.
I will continue the investigation.
Quoted 8 lines
Ok, I found the issue. it's not a duplicate mmc7, but we bind the bootmeth multiple times, which causes issues.
This can also be reproduced on next with:
$ ./test/py/test.py --bd sandbox --build -k test_ut $ ./test/py/test.py --bd sandbox --build -k "bootflow_android or bootflow_cros"I will send a patch.
Quoted 62 lines
Quoted 62 lines
[1] https://lore.kernel.org/all/[email protected]/
Quoted 41 lines
Quoted 41 lines
Guillaume
Le 20/11/2024 à 13:56, Guillaume LA ROQUE a écrit :Quoted 37 lines
Hi,
Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit :
Quoted 34 lines
Hi Guillaume,
Quoted 15 lines · Mattijs Korpershoek
Hi,
Quoted 9 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to
https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)Quoted 10 lines
[1/5] bootstd: android: add support of bootimage v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d
[2/5] bootstd: android: add non-A/B image support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36
[3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823
[4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa
[5/5] bootstd: Add test for Android boot image v2
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844aCI has found some issues when applying these series:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/23452Could you have a look please?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
i will check
Quoted 5 lines
Thanks!
Quoted 2 lines
Signature · 1 line
Mattijs-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group. View/Reply Online (#2578): https://groups.io/g/u-boot-amlogic/message/2578
Mute This Topic: https://groups.io/mt/109662676/1991006
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/u-boot-amlogic/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 15 lines · Mattijs Korpershoek via groups.io
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/5] bootstd: android: add support of bootimage v2
Quoted 9 lines
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d [2/5] bootstd: android: add non-A/B image support https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36 [3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823 [4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa [5/5] bootstd: Add test for Android boot image v2 https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844a
Due to the test regressions discussed in this thread, I'm dropping this series from the u-boot-dfu tree.
Please submit a v4 targetting next once [1] lands in next.
Thanks,
Mattijs
[1] https://lore.kernel.org/r/all/20241123024300.GY3600562@bill-the-cat/
Quoted 12 lines
--
Mattijs-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group. View/Reply Online (#2573): https://groups.io/g/u-boot-amlogic/message/2573
Mute This Topic: https://groups.io/mt/109662676/1991006
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/u-boot-amlogic/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi,
Le 25/11/2024 à 13:06, Mattijs Korpershoek a écrit :
Quoted 27 lines
Hello,
Quoted 14 lines · Mattijs Korpershoek via groups.io
Hi,
Quoted 8 lines · Guillaume La Roque
Actually bootmethod android only support android boot image version 4 and with AB image, some old platform wtill use android boot image version 2 with AB or without AB slot.
This patchset add support of both version 2 and non-AB slot images. It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/5] bootstd: android: add support of bootimage v2
Quoted 9 lines
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dbe7eee992e90bbe84278db20d29159e3eedfe0d [2/5] bootstd: android: add non-A/B image support https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a85f2e0e7bd3665366ca2704d1142d3f16f22c36 [3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/88547773b2df5e4cabbaec57a0f2e7f212dbf823 [4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4a2e58717f2f33ef0dbb422026ef71938f2265aa [5/5] bootstd: Add test for Android boot image v2 https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/acaa7f35a33146f887948d34130229388280844a
Quoted 4 lines
Due to the test regressions discussed in this thread, I'm dropping this series from the u-boot-dfu tree.
Please submit a v4 targetting next once [1] lands in next.
next was update so i will send v4 today, thanks for fix on test.
Guillaume
Quoted 17 lines
Thanks,
Mattijs[1] https://lore.kernel.org/r/all/20241123024300.GY3600562@bill-the-cat/
Quoted 11 lines
--
Mattijs-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group. View/Reply Online (#2573): https://groups.io/g/u-boot-amlogic/message/2573
Mute This Topic: https://groups.io/mt/109662676/1991006
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/u-boot-amlogic/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-