From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Guillaume La Roque <glaroque@baylibre.com>,
Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
Neil Armstrong <neil.armstrong@linaro.org>
Cc: Julien Masson <jmasson@baylibre.com>,
u-boot@lists.denx.de, u-boot-amlogic@groups.io,
Guillaume La Roque <glaroque@baylibre.com>
Subject: Re: [PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android
Date: Tue, 19 Nov 2024 11:35:14 +0100 [thread overview]
Message-ID: <87v7wjy0il.fsf@baylibre.com> (raw)
In-Reply-To: <20241114-adnroidv2-v2-3-015bffb1373a@baylibre.com>
Hi Guillaume,
Thank you for the patch.
On jeu., nov. 14, 2024 at 22:29, Guillaume La Roque <glaroque@baylibre.com> 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.
>
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> ---
> configs/khadas-vim3l_android_ab_defconfig | 7 ++++++-
> configs/khadas-vim3l_android_defconfig | 7 ++++++-
> include/configs/khadas-vim3l_android.h | 26 ++++++++++++++++++++++----
> include/configs/meson64_android.h | 3 ---
> 4 files changed, 34 insertions(+), 9 deletions(-)
[...]
>
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_GPT=y
> CONFIG_CMD_I2C=y
> diff --git a/include/configs/khadas-vim3l_android.h b/include/configs/khadas-vim3l_android.h
> index f39a3782d663..31068c59d5ed 100644
> --- a/include/configs/khadas-vim3l_android.h
> +++ b/include/configs/khadas-vim3l_android.h
> @@ -41,10 +41,28 @@
> "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" \
> + "gpio_recovery=88\0" \
gpio_recovery is not used anywhere. Can we please drop this?
With that addressed, please add:
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
> + "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 */
> diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h
> index 77364bbf9cf0..37ef8b8f7a7e 100644
> --- a/include/configs/meson64_android.h
> +++ b/include/configs/meson64_android.h
> @@ -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;" \
>
> --
> 2.34.1
next prev parent reply other threads:[~2024-11-19 10:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 21:29 [PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image Guillaume La Roque
2024-11-14 21:29 ` [PATCH v2 1/5] bootstd: android: add support of bootimage v2 Guillaume La Roque
2024-11-14 21:29 ` [PATCH v2 2/5] bootstd: android: add non-A/B image support Guillaume La Roque
2024-11-19 10:17 ` Mattijs Korpershoek
2024-11-14 21:29 ` [PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android Guillaume La Roque
2024-11-15 14:04 ` Neil Armstrong
2024-11-19 10:35 ` Mattijs Korpershoek [this message]
2024-11-19 11:21 ` Guillaume LA ROQUE
2024-11-14 21:29 ` [PATCH v2 4/5] configs: khadas-vim3_android{_ab}: " Guillaume La Roque
2024-11-15 14:04 ` Neil Armstrong
2024-11-19 10:36 ` Mattijs Korpershoek
2024-11-19 11:20 ` Guillaume LA ROQUE
2024-11-14 21:29 ` [PATCH v2 5/5] bootstd: Add test for Android boot image v2 Guillaume La Roque
2024-11-19 10:21 ` [PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v7wjy0il.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=glaroque@baylibre.com \
--cc=jmasson@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot-amlogic@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox