Re: [PATCH 2/2] boot: android: Add bootconfig support

2024-12-04 Thread Guillaume LA ROQUE
Le 03/12/2024 à 01:34, Tom Rini a écrit : On Mon, Dec 02, 2024 at 05:20:20PM -0700, Simon Glass wrote: Hi Guillaume, On Mon, 2 Dec 2024 at 01:03, Guillaume LA ROQUE wrote: Hi, Le 30/11/2024 à 21:24, Simon Glass a écrit : Hi Guillaume, On Thu, 28 Nov 2024 at 03:15, Guillaume La Roque

Re: [PATCH 2/2] boot: android: Add bootconfig support

2024-12-02 Thread Guillaume LA ROQUE
Hi, Le 30/11/2024 à 21:24, Simon Glass a écrit : Hi Guillaume, On Thu, 28 Nov 2024 at 03:15, Guillaume La Roque wrote: For android vendor boot image version 4 bootconfig is mandatory.[1] In the android_image_get_ramdisk function, after copying both vendor and boot ramdisks, we extract all

[PATCH 2/2] boot: android: Add bootconfig support

2024-11-28 Thread Guillaume La Roque
Signed-off-by: Guillaume La Roque --- boot/image-android.c | 29 + 1 file changed, 29 insertions(+) diff --git a/boot/image-android.c b/boot/image-android.c index 05245a0ba918..66e4c58ab4eb 100644 --- a/boot/image-android.c +++ b/boot/image-android.c @@ -475,6 +475,9

[PATCH 1/2] boot: android: import addBootConfigParameters() from AOSP

2024-11-28 Thread Guillaume La Roque
to be compliant with U-Boot's coding style. [1] https://android.googlesource.com/platform/external/u-boot/+/7af0a0506d4de6f5ea147d10fb0664a8af07d326 Signed-off-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/image-android.c | 30 ++ 1 file c

[PATCH 0/2] android: add bootconfig support

2024-11-28 Thread Guillaume La Roque
-off-by: Guillaume La Roque --- Guillaume La Roque (1): boot: android: Add bootconfig support Mattijs Korpershoek (1): boot: android: import addBootConfigParameters() from AOSP boot/image-android.c | 59 1 file changed, 59

[PATCH v4 1/5] bootstd: android: add support of bootimage v2

2024-11-26 Thread Guillaume La Roque
eader#header-v2 Tested-by: Julien Masson Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/bootmeth_android.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/boot/bootmeth_android.c b/boot/bootmeth_android.c index 19b1f2c

[PATCH v4 5/5] bootstd: Add test for Android boot image v2

2024-11-26 Thread Guillaume La Roque
oot_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 Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- arch/sandbox/dts/test.dts

[PATCH v4 4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-11-26 Thread Guillaume La Roque
Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Reviewed-by: Mattijs Korpershoek Acked-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas

[PATCH v4 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-11-26 Thread Guillaume La Roque
Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android. Reviewed-by: Mattijs Korpershoek Acked-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs

[PATCH v4 2/5] bootstd: android: add non-A/B image support

2024-11-26 Thread Guillaume La Roque
Update android bootmeth to support non-A/B image. Enable AB support only when ANDROID_AB is enabled. Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/Kconfig | 1 - boot/bootmeth_android.c | 51

[PATCH v4 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-26 Thread Guillaume La Roque
hadas 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. Signed-off-by: Guillaume La Roque --- Changes in v4: - test: fix test after patch done on it by Mattijs :

Re: [PATCH v3 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-26 Thread Guillaume LA ROQUE
Hi, Le 25/11/2024 à 13:06, Mattijs Korpershoek a écrit : Hello, On mar., nov. 19, 2024 at 15:16, "Mattijs Korpershoek via groups.io" wrote: Hi, On Tue, 19 Nov 2024 12:37:37 +0100, Guillaume La Roque wrote: Actually bootmethod android only support android boot image version 4 a

Re: [PATCH v3 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-20 Thread Guillaume LA ROQUE
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 : Hi, Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit : Hi Guillaume, On mar., nov. 19, 2024 at 15:16, Mattijs Korpersh

Re: [PATCH v2 4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-11-20 Thread Guillaume LA ROQUE
Hi, Le 19/11/2024 à 11:36, Mattijs Korpershoek a écrit : Hi Guillaume, Thank you for the patch. On jeu., nov. 14, 2024 at 22:29, Guillaume La Roque wrote: Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Signed

Re: [PATCH v3 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-20 Thread Guillaume LA ROQUE
Hi, Le 19/11/2024 à 18:21, Mattijs Korpershoek a écrit : Hi Guillaume, On mar., nov. 19, 2024 at 15:16, Mattijs Korpershoek wrote: Hi, On Tue, 19 Nov 2024 12:37:37 +0100, Guillaume La Roque wrote: Actually bootmethod android only support android boot image version 4 and with AB image

[PATCH v3 5/5] bootstd: Add test for Android boot image v2

2024-11-19 Thread Guillaume La Roque
oot_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 Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- arch/sandbox/dts/test.dts

[PATCH v3 4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-11-19 Thread Guillaume La Roque
Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Reviewed-by: Mattijs Korpershoek Acked-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas

[PATCH v3 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-11-19 Thread Guillaume La Roque
Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android. Reviewed-by: Mattijs Korpershoek Acked-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs

[PATCH v3 1/5] bootstd: android: add support of bootimage v2

2024-11-19 Thread Guillaume La Roque
eader#header-v2 Tested-by: Julien Masson Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/bootmeth_android.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/boot/bootmeth_android.c b/boot/bootmeth_android.c index 19b1f2c

[PATCH v3 2/5] bootstd: android: add non-A/B image support

2024-11-19 Thread Guillaume La Roque
Update android bootmeth to support non-A/B image. Enable AB support only when ANDROID_AB is enabled. Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/Kconfig | 1 - boot/bootmeth_android.c | 51

[PATCH v3 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-19 Thread Guillaume La Roque
hadas 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. Signed-off-by: Guillaume La Roque --- Changes in v3: - Remove gpio recovery stuff not needed anymore. - Link

Re: [PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-11-19 Thread Guillaume LA ROQUE
Hi, Le 19/11/2024 à 11:35, Mattijs Korpershoek a écrit : Hi Guillaume, Thank you for the patch. On jeu., nov. 14, 2024 at 22:29, Guillaume La Roque wrote: Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android

[PATCH v2 4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-11-14 Thread Guillaume La Roque
Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas-vim3_android_defconfig| 7 ++- include/configs

[PATCH v2 5/5] bootstd: Add test for Android boot image v2

2024-11-14 Thread Guillaume La Roque
oot_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 Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- arch/sandbox/dts/test.dts

[PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-11-14 Thread Guillaume La Roque
Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs/khadas-vim3l_android_defconfig| 7 ++- include/configs

[PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image

2024-11-14 Thread Guillaume La Roque
hadas 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. Signed-off-by: Guillaume La Roque --- Changes in v2: - Drop patch 3 (configs: khadas-vim3{l}: fix userdata size) al

[PATCH v2 2/5] bootstd: android: add non-A/B image support

2024-11-14 Thread Guillaume La Roque
Update android bootmeth to support non-A/B image. Enable AB support only when ANDROID_AB is enabled. Signed-off-by: Guillaume La Roque --- boot/Kconfig | 1 - boot/bootmeth_android.c | 51 +--- configs/am62x_a53_android.config

[PATCH v2 1/5] bootstd: android: add support of bootimage v2

2024-11-14 Thread Guillaume La Roque
eader#header-v2 Tested-by: Julien Masson Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- boot/bootmeth_android.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/boot/bootmeth_android.c b/boot/bootmeth_android.c index 19b1f2c

Re: [PATCH v2 0/3] image: android: misc fixes when using on Qualcomm platforms

2024-10-17 Thread Guillaume LA ROQUE
Hi, thanks for this fixes. I just test this series on Khadas VIM3 with android image version 2 non A/B  and AB, on TI AM62P with android image version 4 with AB, both boards boot fine. Tested-by: Guillaume La Roque Guillaume Le 17/10/2024 à 16:44, Neil Armstrong a écrit : When trying to

[PATCH 6/6] bootstd: Add test for Android boot image v2

2024-10-17 Thread Guillaume La Roque
oot_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 Signed-off-by: Guillaume La Roque --- arch/sandbox/dts/test.dts | 10 +- test/boot/bootf

[PATCH 4/6] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-10-17 Thread Guillaume La Roque
Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs/khadas-vim3l_android_defconfig| 7 ++- include/configs

[PATCH 5/6] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-10-17 Thread Guillaume La Roque
Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas-vim3_android_defconfig| 7 ++- include/configs

[PATCH 3/6] configs: khadas-vim3{l}: fix userdata size

2024-10-17 Thread Guillaume La Roque
hadas-vim3{l}: Increase boot/recovery partition size") Signed-off-by: Guillaume La Roque --- include/configs/khadas-vim3_android.h | 4 ++-- include/configs/khadas-vim3l_android.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/khadas-vim3_android.h

[PATCH 2/6] bootstd: android: add non-A/B image support

2024-10-17 Thread Guillaume La Roque
Update android bootmeth to support non-A/B image. Enable AB support only when ANDROID_AB is enabled. Signed-off-by: Guillaume La Roque --- boot/Kconfig | 1 - boot/bootmeth_android.c | 53 ++-- configs/am62x_a53_android.config

[PATCH 1/6] bootstd: android: add support of bootimage v2

2024-10-17 Thread Guillaume La Roque
/boot-image-header#header-v2 Signed-off-by: Guillaume La Roque --- boot/bootmeth_android.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/boot/bootmeth_android.c b/boot/bootmeth_android.c index 19b1f2c377b9..2e7f85e4a708 100644 --- a

[PATCH 0/6] Add support of Android Boot Image version 2 and non-AB image

2024-10-17 Thread Guillaume La Roque
hadas 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. Signed-off-by: Guillaume La Roque --- Guillaume La Roque (6): bootstd: android: add support of bootima

Re: [PATCH 1/2] configs: khadas-vim3{l}: Increase boot/recovery partition size

2024-10-12 Thread Guillaume LA ROQUE
bo,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=boot,size=64M,bootable,uuid=${uuid_gpt_boot};" \ + "name=recovery,size=64M,uuid=${uuid_gpt_recovery};" \ "name=cache,size=256M,uuid=${uuid_gpt_cache};" \ "name=super,size=1792M,uuid=${uuid_gpt_super};" \ "name=userdata,size=12786M,uuid=${uuid_gpt_userdata};" \ Reviewed-by: Guillaume La Roque

Re: [PATCH 2/2] configs: meson64_android: Remove dtbo support

2024-10-12 Thread Guillaume LA ROQUE
o${slot_suffix} p_dtbo_size; " \ - "mmc read ${dtboaddr} ${p_dtbo_start} ${p_dtbo_size}; " \ - "echo \" Applying DTBOs...\"; " \ - "adtimg addr $dtboaddr; " \ - "adtimg get dt --index=$dtbo_index dtbo0_addr; " \ - "fdt apply $dtbo0_addr;" \ - "setenv bootargs \"$bootargs androidboot.dtbo_idx=$dtbo_index \";"\ + "fdt addr $fdt_addr_r 0x8; " #define BOOT_CMD "bootm ${loadaddr} ${loadaddr} ${fdt_addr_r};" Reviewed-by: Guillaume La Roque

Re: [PATCH v3 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-09 Thread Guillaume LA ROQUE
erity Corrupted: 0 Thanks for your patches. Tested-by: Guillaume La Roque Le 08/10/2024 à 22:18, Dmitry Rokosov a écrit : The patch series include changes: - move ab_select_slot() documentation to @ notation - move ab_select command to bcb subcommands - introduce the ab_dump command to

Re: [PATCH v2 3/3] board: ti: am62px: Add android bootflow support

2024-09-27 Thread Guillaume LA ROQUE
Hi Bryan, Le 16/09/2024 à 15:27, Bryan Brattlof a écrit : Hi Guillaume! On September 12, 2024 thus sayeth Guillaume La Roque: From: Mattijs Korpershoek When CONFIG_BOOTMETH_ANDROID is set, enable Android boot flow support. To build for AM62Px for Android, we can re-use the

[PATCH v2 2/3] board: beagle: beagleplay: Add android bootflow support

2024-09-12 Thread Guillaume La Roque
Because of this difference, we need to have a different partitioning table than the generic TI one. Include generic TI android support and override the partitioning table to boot Android. Signed-off-by: Mattijs Korpershoek Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque

[PATCH v2 3/3] board: ti: am62px: Add android bootflow support

2024-09-12 Thread Guillaume La Roque
Signed-off-by: Mattijs Korpershoek Reviewed-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- board/ti/am62px/am62px.env | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am62px/am62px.env b/board/ti/am62px/am62px.env index f8b6aff2c2fd..7ef54079aa8d 100644 --- a/board

[PATCH v2 1/3] board: ti: am62x_evm: Add android bootflow

2024-09-12 Thread Guillaume La Roque
Korpershoek Signed-off-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- board/ti/am62x/am62x.env | 5 + configs/am62x_a53_android.config | 21 + doc/board/ti/am62x_sk.rst| 14 ++ include/env/ti/android.env | 31

[PATCH v2 0/3] Add Android 14 bootflow support for AM62X and AM62P board

2024-09-12 Thread Guillaume La Roque
/BeaglePlay: https://www.ti.com/tool/PROCESSOR-SDK-AM62X - AM62PX: https://www.ti.com/tool/PROCESSOR-SDK-AM62P Signed-off-by: Guillaume La Roque --- Changes in v2: - Remove uneeded part in android fragment - Update commit message. - Link to v1: https://lore.kernel.org/r/20240902-sitaraupstream-v1-0

Re: [PATCH] bootstd: android: Add U-Boot version to cmdline

2024-09-10 Thread Guillaume LA ROQUE
4-bootmeth-bootloader-version-2a2b35fce4cf Best regards, -- Mattijs Korpershoek Reviewed-by: Julien Masson Reviewed-by: Guillaume La Roque

[PATCH 2/3] board: beagle: beagleplay: Add android bootflow support

2024-09-02 Thread Guillaume La Roque
Because of this difference, we need to have a different partitioning table than the generic TI one. Include generic TI android support and override the partitioning table to boot Android. Signed-off-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- board/beagle/beagleplay

[PATCH 3/3] board: ti: am62px: Add android bootflow support

2024-09-02 Thread Guillaume La Roque
Signed-off-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- board/ti/am62px/am62px.env | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am62px/am62px.env b/board/ti/am62px/am62px.env index f8b6aff2c2fd..7ef54079aa8d 100644 --- a/board/ti/am62px/am62px.env +++ b/board/ti

[PATCH 1/3] board: ti: am62x_evm: Add android bootflow

2024-09-02 Thread Guillaume La Roque
Add Android bootflow support for AM62X SK EVM board with new android boot method. Co-developed-by: Mattijs Korpershoek Signed-off-by: Mattijs Korpershoek Signed-off-by: Guillaume La Roque --- board/ti/am62x/am62x.env | 5 + configs/am62x_a53_android.config | 34

[PATCH 0/3] Add Android 14 bootflow support for AM62X and AM62P board

2024-09-02 Thread Guillaume La Roque
/BeaglePlay: https://www.ti.com/tool/PROCESSOR-SDK-AM62X - AM62PX: https://www.ti.com/tool/PROCESSOR-SDK-AM62P Signed-off-by: Guillaume La Roque --- Guillaume La Roque (1): board: ti: am62x_evm: Add android bootflow Mattijs Korpershoek (2): board: beagle: beagleplay: Add android bootflow

Re: [PATCH v3 5/5] bootstd: Add test for bootmeth_android

2024-07-11 Thread Guillaume LA ROQUE
as inf: +set_part_data(2, inf.read()) + +test_abootimg.AbootimgTestDiskImage(cons, 'vendor_boot.img', test_abootimg.vboot_img_hex) +vendor_boot_img = os.path.join(cons.config.result_dir, 'vendor_boot.img') +with open(vendor_boot_img, 'rb') as inf: +set_part_data(4, inf.read()) + +with open(fname, 'wb') as outf: +outf.write(disk_data) + +print('wrote to {}'.format(fname)) + +return fname def setup_cedit_file(cons): infname = os.path.join(cons.config.source_dir, @@ -478,6 +556,7 @@ def test_ut_dm_init_bootstd(u_boot_console): setup_bootmenu_image(u_boot_console) setup_cedit_file(u_boot_console) setup_cros_image(u_boot_console) +setup_android_image(u_boot_console) # Restart so that the new mmc1.img is picked up u_boot_console.restart_uboot() Reviewed-by: Guillaume La Roque

Re: [PATCH v2 0/5] bootstd: Add Android support

2024-06-14 Thread Guillaume LA ROQUE
you can add for this series: Tested-by: Guillaume La Roque Guillaume Le 13/06/2024 à 12:13, Mattijs Korpershoek a écrit : Android boot flow is a bit different than a regular Linux distro. Android relies on multiple partitions in order to boot. A typical boot flow would be: 1. Parse the

Re: [PATCH v2 5/5] bootstd: Add test for bootmeth_android

2024-06-13 Thread Guillaume LA ROQUE
arts[int(num)] = Partition(int(start), int(size), name) + +with open(fname, 'rb') as inf: +disk_data = inf.read() + +boot_img = os.path.join(cons.config.result_dir, 'bootv4.img') + with open(boot_img, 'rb') as inf: +set_part_data(2, inf.read()) + +vendor_boot_img = os.path.join(cons.config.result_dir, 'vendor_boot.img') +with open(vendor_boot_img, 'rb') as inf: +set_part_data(4, inf.read()) + +with open(fname, 'wb') as outf: +outf.write(disk_data) + +print('wrote to {}'.format(fname)) + +return fname def setup_cedit_file(cons): infname = os.path.join(cons.config.source_dir, @@ -477,6 +552,7 @@ def test_ut_dm_init_bootstd(u_boot_console): setup_bootmenu_image(u_boot_console) setup_cedit_file(u_boot_console) setup_cros_image(u_boot_console) +setup_android_image(u_boot_console) # Restart so that the new mmc1.img is picked up u_boot_console.restart_uboot() Reviewed-by: Guillaume La Roque

Re: [PATCH v2 1/5] boot: android: Provide vendor_bootimg_addr in boot_get_fdt()

2024-06-13 Thread Guillaume LA ROQUE
fdt_blob = (char *)map_sysmem(fdt_addr, 0); if (fdt_check_header(fdt_blob)) Reviewed-by: Guillaume La Roque

Re: [PATCH v2 3/5] android: boot: Add set_abootimg_addr() and set_avendor_bootimg_addr()

2024-06-13 Thread Guillaume LA ROQUE
a matching board name * Reviewed-by: Guillaume La Roque

Re: [PATCH v2 2/5] bootstd: Add bootflow_iter_check_mmc() helper

2024-06-13 Thread Guillaume LA ROQUE
e sure it uses a mmc device + * + * Return: 0 if OK, -ENOTSUPP if some other device is used (e.g. ethernet) + */ +int bootflow_iter_check_mmc(const struct bootflow_iter *iter); + /** * bootflow_iter_check_sf() - Check that a bootflow uses SPI FLASH * Reviewed-by: Guillaume La Roque

Re: [PATCH v2 1/2] bootstd: Fix a handful of doc typos in bootmeth

2024-06-05 Thread Guillaume LA ROQUE
bootstd_priv->bootmeth_order. If there is no + * ordering of the bootmeths in bootstd_priv->bootmeth_order. If there is no * ordering there, then all bootmethods are added * * @iter: Iterator to update with the order Reviewed-by: Guillaume La Roque Guillaume

Re: [PATCH] cmd: bcb: Fix bcb compilation when CONFIG_CMD_BCB=n

2024-06-05 Thread Guillaume LA ROQUE
c inline int bcb_get(enum bcb_field field, + char *value_out, size_t value_size) { return -EOPNOTSUPP; } --- base-commit: ea722aa5eb33740ae77e8816aeb72b385e621cd0 change-id: 20240603-bcb-compil-d8eaf7074475 Best regards, Reviewed-by: Guillaume La Roque Regards Guillaume

[PATCH] phy: meson-g12a-usb2: fix ret check on power_domain_get

2023-10-17 Thread Guillaume La Roque
xes: 5533c883ce10 ("phy: support Amlogic A1 family") Signed-off-by: Guillaume La Roque --- drivers/phy/meson-g12a-usb2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/meson-g12a-usb2.c b/drivers/phy/meson-g12a-usb2.c index 4ba3992bda70..3958d2404b85

Re: [PATCH] drivers: usb: dwc3: Add support for AM62 USB wrapper driver

2022-06-20 Thread Guillaume LA ROQUE
Hi, Le 07/04/2022 à 09:28, Aswath Govindraju a écrit : Add support for AM62 USB wrapper for DWC3 Controller in AM62 SoC. Signed-off-by: Aswath Govindraju --- Link to corresponding kernel dt-bindings and driver patches, - https://patchwork.kernel.org/project/linux-usb/list/?series=629613 dr

[PATCH v2] arm: mediatek: merge board Kconfigs into mach-mediatek

2021-09-10 Thread Guillaume La Roque
only define SYS_{SOC,VENDOR} once - all board definitions are in a single place, simplifying the build logic. Signed-off-by: Guillaume La Roque --- arch/arm/mach-mediatek/Kconfig | 42 +++- arch/mips/mach-mtmips/Kconfig| 3 ++ arch/mips/mach-mtmips/mt7620

[PATCH] arm: mediatek: merge board Kconfigs into mach-mediatek

2021-07-19 Thread Guillaume La Roque
only define SYS_{SOC,VENDOR} once - all board definitions are in a single place, simplifying the build logic. Signed-off-by: Guillaume La Roque --- arch/arm/mach-mediatek/Kconfig | 42 +++- arch/mips/mach-mtmips/Kconfig| 3 ++ arch/mips/mach-mtmips/mt7620

Re: [PATCH] serial: meson: handle RX errors

2020-07-21 Thread guillaume La Roque
EMPTY) > + return false; > + > + /* > + * Handle and drop any RX error here to avoid > + * returning true here when an error byte is in the FIFO > + */ > + if (status & AML_UART_ERR) { > +

[U-Boot] [PATCH 2/3] pinctrl: meson: add support of drive-strength-microamp

2019-06-04 Thread Guillaume La Roque
drive-strength-microamp is a new feature needed for G12A SoC. the default DS setting after boot is usually 500uA and it is not enough for many functions. We need to be able to set the drive strength to reliably enable things like MMC, I2C, etc ... Signed-off-by: Guillaume La Roque --- drivers

[U-Boot] [PATCH 3/3] pinctrl: meson: g12a: add DS bank value

2019-06-04 Thread Guillaume La Roque
add drive-strength bank regiter and bit value for G12A SoC Signed-off-by: Guillaume La Roque --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl

[U-Boot] [PATCH 1/3] dm: pinctrl: Add driver-strength-microamp property

2019-06-04 Thread Guillaume La Roque
Add drive-strength-microamp property support to allow drive strength in uA Signed-off-by: Guillaume La Roque --- include/dm/pinctrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h index e7b8ad9078..3eca34fbf7 100644 --- a/include/dm/pinctrl.h

[U-Boot] [PATCH 0/3] Add drive-strength-microamp in Meson pinctrl driver

2019-06-04 Thread Guillaume La Roque
: https://lore.kernel.org/lkml/20190514082652.20686-1-glaro...@baylibre.com/ Cheers Guillaume Guillaume La Roque (3): dm: pinctrl: Add driver-strength-microamp property pinctrl: meson: add support of drive-strength-microamp pinctrl: meson: g12a: add DS bank value drivers/pinctrl/meson/pin

[U-Boot] [PATCH] pinctrl: meson: axg: Fix PIN and BANK offsets

2019-04-08 Thread Guillaume La Roque
: Guillaume La Roque --- drivers/pinctrl/meson/pinctrl-meson-axg.c | 358 +++--- 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-axg.c b/drivers/pinctrl/meson/pinctrl-meson-axg.c index 3bbbe817b4..8f23c8cef1 100644 --- a/drivers

[U-Boot] [PATCH] i2c: meson: add configurable divider factors

2019-03-22 Thread Guillaume La Roque
This patch add support for I2C controller in Meson-AXG SoC, Due to the IP changes between I2C controller, we need to introduce a compatible data to make the divider factor configurable. backport from linux: 931b18e92cd0 ("2c: meson: add configurable divider factors") Signed-off-by: Gu