RE: [EXT] RE: [PATCH v5 01/16] crypto/fsl: Add support for CAAM Job ring driver model

2021-11-22 Thread Gaurav Jain
Hello Andrey > -Original Message- > From: ZHIZHIKIN Andrey > Sent: Monday, November 22, 2021 10:51 PM > To: Gaurav Jain ; u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; > Peng Fan ; Simon Glass ; Priyanka > Jain ; Ye Li ; Horia Geanta > ; Ji Luo ; Franck Lenormand > ; Silvano

[PATCH] board: ls1043ardb: force PCI device enumeration

2021-11-22 Thread Martin Schiller
Commit eb1986804d1d ("configs: enable DM_ETH support for LS1043ARDB") resulted in the PCI bus no longer being implicitly enumerated. However, this is necessary for the fdt pcie fixups to work. Therefore, similar to commit 8b6558bd4187 ("board: ls1088ardb: transition to DM_ETH"), pci_init() is

Re: [PATCH] board: ls1046ardb: force PCI device enumeration

2021-11-22 Thread Martin Schiller
On 2021-11-22 17:30, Camelia Alexandra Groza (OSS) wrote: -Original Message- From: U-Boot On Behalf Of Martin Schiller Sent: Wednesday, November 17, 2021 13:59 To: u-boot@lists.denx.de Cc: Martin Schiller ; Priyanka Jain Subject: [PATCH] board: ls1046ardb: force PCI device

Re: Please pull u-boot-net/next

2021-11-22 Thread Tom Rini
On Tue, Nov 23, 2021 at 05:25:27AM +0200, Ramon Fried wrote: > this PR includes the following net changes for next: > > - Various DSA additions > - bootp: fix for VCI string > - tsec: support for promiscuous mode > - add Aspeed MDIO driver > The following changes since commit

Please pull u-boot-net/next

2021-11-22 Thread Ramon Fried
this PR includes the following net changes for next: - Various DSA additions - bootp: fix for VCI string - tsec: support for promiscuous mode - add Aspeed MDIO driver The following changes since commit 2ad8d0cb950da2233a2ec030533f4e54c6d04126: Merge branch 'efi-2022-01' of

Re: Please pull u-boot-net/next

2021-11-22 Thread Ramon Fried
On Wed, Nov 17, 2021 at 4:09 PM Tom Rini wrote: > > On Tue, Nov 16, 2021 at 08:08:36AM +0200, Ramon Fried wrote: > > On Mon, Nov 15, 2021 at 7:37 PM Tom Rini wrote: > > > > > > On Wed, Nov 10, 2021 at 07:58:42PM +0200, Ramon Fried wrote: > > > > > > > his PR includes the following net changes

RE: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults

2021-11-22 Thread Peng Fan (OSS)
> Subject: Re: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults > > On Mon, Nov 22, 2021 at 11:33:27AM +0800, Peng Fan (OSS) wrote: > > + Rob > > > > On 2021/11/20 20:57, Tom Rini wrote: > > > On Sat, Nov 20, 2021 at 12:10:54PM +, Peng Fan (OSS) wrote: > > > > > Subject: [PATCH V2] clk:

RE: [PATCH 21/23] video: Support virtio devices with the splash screen

2021-11-22 Thread Peng Fan (OSS)
> Subject: Re: [PATCH 21/23] video: Support virtio devices with the splash > screen > > On 11/20/21 5:24 AM, Simon Glass wrote: > > This is useful for showing a logo when booting from qemu. > > > > Signed-off-by: Simon Glass > > --- > > > > common/splash_source.c | 14 ++ > >

Re: [PATCH 21/23] video: Support virtio devices with the splash screen

2021-11-22 Thread Jaehoon Chung
On 11/20/21 5:24 AM, Simon Glass wrote: > This is useful for showing a logo when booting from qemu. > > Signed-off-by: Simon Glass > --- > > common/splash_source.c | 14 ++ > include/splash.h | 1 + > include/virtio.h | 1 + > 3 files changed, 16 insertions(+) > >

Re: [PATCH v2 12/14] mmc: mediatek: add support for MediaTek MT7621 SoC

2021-11-22 Thread Jaehoon Chung
On 11/19/21 10:37 AM, Weijie Gao wrote: > This patch adds SDXC support for MediaTek MT7621 SoC > > Signed-off-by: Weijie Gao Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > v2 changes: none > --- > drivers/mmc/mtk-sd.c | 13 + > 1 file changed, 13 insertions(+) >

[PATCH 5/5] test: fix pylint error in u_boot_console_exec_attach.py

2021-11-22 Thread Heinrich Schuchardt
* provide module docstring Signed-off-by: Heinrich Schuchardt --- test/py/u_boot_console_exec_attach.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/py/u_boot_console_exec_attach.py b/test/py/u_boot_console_exec_attach.py index 27834b55cd..8dd8cc1230 100644

[PATCH 3/5] test: fix pylint errors in u_boot_utils.py

2021-11-22 Thread Heinrich Schuchardt
* there is no os.path.unlink() method * don't inherit from object * add module docstring * move imports to the top * avoid unused variable Signed-off-by: Heinrich Schuchardt --- test/py/u_boot_utils.py | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git

[PATCH 0/5] test: fix pylint warnings

2021-11-22 Thread Heinrich Schuchardt
Fix pylint warning like: * missing docstring * incorrect indentation * don't inherit from object * unused variable Heinrich Schuchardt (5): test: fix pylint errors in multiplexed_log.py test: fix pylint errors in u_boot_spawn.py test: fix pylint errors in u_boot_utils.py test: fix pylint

[PATCH 1/5] test: fix pylint errors in multiplexed_log.py

2021-11-22 Thread Heinrich Schuchardt
* don't inherit from object * remove superfluous comprehension * add module docstring Signed-off-by: Heinrich Schuchardt --- test/py/multiplexed_log.py | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test/py/multiplexed_log.py b/test/py/multiplexed_log.py

[PATCH 2/5] test: fix pylint errors in u_boot_spawn.py

2021-11-22 Thread Heinrich Schuchardt
* don't inherit from object * imports should be on the top level * avoid unused variable names * avoid unnecessary else after raise Signed-off-by: Heinrich Schuchardt --- test/py/u_boot_spawn.py | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 4/5] test: fix pylint error in u_boot_console_sandbox.py

2021-11-22 Thread Heinrich Schuchardt
* provide module docstring Signed-off-by: Heinrich Schuchardt --- test/py/u_boot_console_sandbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index 836f5a9e2b..7e1eb0e0b4 100644 ---

Re: [PATCH] phy: zynqmp: Add serdes/psgtr driver

2021-11-22 Thread Sean Anderson
On 11/18/21 7:30 AM, Michal Simek wrote: Add PSGTR driver for Xilinx ZynqMP. The most of configurations are taken from Linux kernel psgtr driver. USB3.0 and SGMII configurations are tested on SOM. In SGMII case also IOU_SLCR reg is updated to get proper clock setup and signal detection

RE: [PATCH v5 11/16] crypto/fsl: Fix kick_trng

2021-11-22 Thread ZHIZHIKIN Andrey
Hello Gaurav, > -Original Message- > From: U-Boot On Behalf Of Gaurav Jain > Sent: Monday, November 15, 2021 8:00 AM > To: u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; Peng > Fan > ; Simon Glass ; Priyanka Jain > ; Ye Li ; Horia Geanta > ; Ji Luo ; Franck Lenormand > ;

RE: [EXT] RE: [PATCH v5 01/16] crypto/fsl: Add support for CAAM Job ring driver model

2021-11-22 Thread ZHIZHIKIN Andrey
Hello Gaurav, > -Original Message- > From: Gaurav Jain > Sent: Monday, November 22, 2021 8:29 AM > To: ZHIZHIKIN Andrey ; u- > b...@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; Peng > Fan > ; Simon Glass ; Priyanka Jain > ; Ye Li ; Horia Geanta > ; Ji Luo ; Franck Lenormand > ;

Re: [PATCH v2 1/2] lib/circbuf: Make circbuf selectable symbol

2021-11-22 Thread Loic Poulain
Hi Wolfgang, On Mon, 22 Nov 2021 at 13:50, Wolfgang Denk wrote: > > Dear Loic Poulain, > > In message <1637584252-15617-1-git-send-email-loic.poul...@linaro.org> you > wrote: > > It is currenly only used from usbtty driver but make it properly > > selectable via Kconfig symbol, for future

RE: [PATCH] board: ls1046ardb: force PCI device enumeration

2021-11-22 Thread Camelia Alexandra Groza (OSS)
> -Original Message- > From: U-Boot On Behalf Of Martin Schiller > Sent: Wednesday, November 17, 2021 13:59 > To: u-boot@lists.denx.de > Cc: Martin Schiller ; Priyanka Jain > Subject: [PATCH] board: ls1046ardb: force PCI device enumeration > > Commit 045ecf899252 ("configs: enable

Re: [PATCH v2 2/2] usb: gadget: Add CDC ACM function

2021-11-22 Thread Loic Poulain
Hi Pali, On Mon, 22 Nov 2021 at 16:48, Pali Rohár wrote: > > Hello! I have just few notes, see below. > > > diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile > > index f560068..d5d891b 100644 > > --- a/drivers/usb/gadget/Makefile > > +++ b/drivers/usb/gadget/Makefile > > @@

Re: [PATCH v2 2/2] usb: gadget: Add CDC ACM function

2021-11-22 Thread Pali Rohár
Hello! I have just few notes, see below. > diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile > index f560068..d5d891b 100644 > --- a/drivers/usb/gadget/Makefile > +++ b/drivers/usb/gadget/Makefile > @@ -30,6 +30,7 @@ obj-$(CONFIG_USB_FUNCTION_MASS_STORAGE) += f_mass_storage.o

Re: [PATCH] sdhci: zynqmp: Setting up clock frequency based on DT

2021-11-22 Thread Michal Simek
Hi, On 11/19/21 18:16, Sean Anderson wrote: On 11/18/21 7:03 AM, Michal Simek wrote: Using clock-frequency property to define desired clock speed for controllers. Signed-off-by: Michal Simek ---   drivers/mmc/zynq_sdhci.c | 10 ++   1 file changed, 10 insertions(+) diff --git

[PATCH v2 2/4] configs: add khadas-vim3{l}_android for AOSP support

2021-11-22 Thread Mattijs Korpershoek
The Khadas VIM3 and VIM3L board are well supported in AOSP[1]. However, there is no mainline U-Boot support for it. The U-Boot used in AOSP is based on a vendor tree [2] Add all the necessary bits to flash and boot Android for both Khadas VIM3 and VIM3L boards. For Android instructions, refer to

[PATCH v2 3/4] configs: prepare khadas-vim3{l}_ab_android for AOSP support

2021-11-22 Thread Mattijs Korpershoek
In AOSP, both VIM3 and VIM3L have 2 bootloader flavors, depending on A/B enablement. For example, for vim3l, the naming is: - u-boot_kvim3l_noab.bin : legacy support - u-boot_kvim3l_ab.bin : A/B support Prepare a defconfig to support u-boot_kvim3_ab.bin and u-boot_kvim3l_ab.bin. This is

[PATCH v2 4/4] configs: khadas-vim3{l}_android_ab: enable A/B support

2021-11-22 Thread Mattijs Korpershoek
meson64_android.h also relies on CMD_AB_SELECT so enable that as well. Signed-off-by: Guillaume La Roque Signed-off-by: Mattijs Korpershoek --- configs/khadas-vim3_android_ab_defconfig | 2 ++ configs/khadas-vim3l_android_ab_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH v2 1/4] configs: meson64_android: add board specific env settings

2021-11-22 Thread Mattijs Korpershoek
This allows us to define extra board variables, such as "board" and "board_name". Signed-off-by: Guillaume La Roque Signed-off-by: Mattijs Korpershoek --- include/configs/meson64_android.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/meson64_android.h

[PATCH v2 0/4] meson64_android: add support for vim3/vim3l boards

2021-11-22 Thread Mattijs Korpershoek
The VIM3 and VIM3L boards are well supported in the Android Open Source project via the yukawa [1] platform. Their U-Boot version, despite being public [2] is not in mainline. [1] https://android.googlesource.com/device/amlogic/yukawa [2]

[PATCHv3] net: uclass: Save generated ethernet MAC addresses to the environment

2021-11-22 Thread Tom Rini
From: Michal Simek When a MAC address is randomly generated we currently only update the appropriate data structure. For consistency and to re-align with historic usage, it should be also saved to the appropriate environment variable as well. Cc: Wolfgang Denk Signed-off-by: Michal Simek

Re: [PATCH v2] board: stemmy: Increase boot image to 64 MB

2021-11-22 Thread Tom Rini
On Sat, Nov 20, 2021 at 11:55:42PM +0100, Linus Walleij wrote: > When using a recent kernel with a bunch of compiled-in > stuff the kernel image easily becomes bigger than 8 MB > yielding this error: > > Loading Kernel Image > Image too large: increase CONFIG_SYS_BOOTM_LEN > Must RESET

Re: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults

2021-11-22 Thread Tom Rini
On Mon, Nov 22, 2021 at 11:33:27AM +0800, Peng Fan (OSS) wrote: > + Rob > > On 2021/11/20 20:57, Tom Rini wrote: > > On Sat, Nov 20, 2021 at 12:10:54PM +, Peng Fan (OSS) wrote: > > > > Subject: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults > > > > > > > > From: Peng Fan > > > > > >

Re: [PATCH v2 1/2] lib/circbuf: Make circbuf selectable symbol

2021-11-22 Thread Wolfgang Denk
Dear Loic Poulain, In message <1637584252-15617-1-git-send-email-loic.poul...@linaro.org> you wrote: > It is currenly only used from usbtty driver but make it properly > selectable via Kconfig symbol, for future usage. > > Signed-off-by: Loic Poulain > --- > v2: no change > > lib/Kconfig | 3

[PATCH v2 2/2] usb: gadget: Add CDC ACM function

2021-11-22 Thread Loic Poulain
Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing

[PATCH v2 1/2] lib/circbuf: Make circbuf selectable symbol

2021-11-22 Thread Loic Poulain
It is currenly only used from usbtty driver but make it properly selectable via Kconfig symbol, for future usage. Signed-off-by: Loic Poulain --- v2: no change lib/Kconfig | 3 +++ lib/Makefile | 8 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/Kconfig

Re: [PATCH 3/3] cmd: add acmconsole command

2021-11-22 Thread Pali Rohár
On Monday 22 November 2021 11:33:15 Loic Poulain wrote: > Hi Pali, > > On Tue, 16 Nov 2021 at 20:36, Pali Rohár wrote: > > > > Hello! > > > > On Tuesday 16 November 2021 20:05:07 Loic Poulain wrote: > > > Hi Pali, > > > > > > Sorry for the late reply, > > > > > > On Mon, 27 Sept 2021 at 22:04,

Re: [PATCH 3/3] efi_loader: Extend PCR's for firmware measurements

2021-11-22 Thread Ilias Apalodimas
On Thu, Nov 18, 2021 at 11:47:51AM +0530, Ruchika Gupta wrote: > Firmwares before U-Boot may be capable of doing tpm measurements > and passing them to U-Boot in the form of eventlog. However there > may be scenarios where the firmwares don't have TPM driver and > are not capable of extending the

Re: [PATCH 1/3] efi_loader: Add check for event log passed from firmware

2021-11-22 Thread Ilias Apalodimas
Hi Ruchika, > [...] > +static efi_status_t efi_init_event_log(struct udevice *dev) > { > /* >* vendor_info_size is currently set to 0, we need to change the length >* and allocate the flexible array member if this changes >*/ > struct tcg_pcr_event

Re: [PATCH] configs: amlogic: Disable CONFIG_NET_RANDOM_ETHADDR when unnecessary

2021-11-22 Thread Vyacheslav
Sounds right for jethub boards. Signed-off-by: Vyacheslav Bocharov 22.11.2021 14:07, Neil Armstrong пишет: On Meson GXL, GXM, AXG, G12A, G12B & SM1 SoCs, we can generate an unique MAC address if none valid found in the eFuses storage. Only the GXBB based boards doesn't have a fallback way to

[PATCH] configs: amlogic: Disable CONFIG_NET_RANDOM_ETHADDR when unnecessary

2021-11-22 Thread Neil Armstrong
On Meson GXL, GXM, AXG, G12A, G12B & SM1 SoCs, we can generate an unique MAC address if none valid found in the eFuses storage. Only the GXBB based boards doesn't have a fallback way to generate an unique MAC address, so we rely on CONFIG_NET_RANDOM_ETHADDR to have a valid one. An exception is

Re: [PATCHv2] net: uclass: Save ethernet MAC address when generated

2021-11-22 Thread Wolfgang Denk
Dear Tom, In message <20211120155358.376540-1-tr...@konsulko.com> you wrote: > > When MAC address is randomly generated it should be also saved to > variables. This step is there when MAC address is passed via pdata but not > when it is randomly generated. "saved to variables" ? Which variables?

Re: [PATCH 2/3] tpm: use more algorithms than sha256 on pcr_read

2021-11-22 Thread Ilias Apalodimas
Hi Ruchika, [...] > - void *data, unsigned int *updates); > + u32 algorithm, void *data, u32 digest_len, This goes into a tpm_u16() call. It doesn't break anything currently, but shouldn't we define this as u16 ? > + unsigned int *updates); > > /**

Re: [PATCH] net: zynq: Add support for mdio bus address decoding

2021-11-22 Thread Ramon Fried
On Mon, Nov 22, 2021 at 9:40 AM Michal Simek wrote: > > > > On 11/21/21 20:11, Ramon Fried wrote: > > On Thu, Nov 18, 2021 at 2:06 PM Michal Simek > > wrote: > >> > >> There are flying two configurations around. > > Can you rephrase ? I don't understand. > > The first configuration is > eth { >

Re: [PATCH] net: zynq: Add support for GEM reset

2021-11-22 Thread Ramon Fried
On Mon, Nov 22, 2021 at 9:34 AM Michal Simek wrote: > > > > On 11/21/21 20:12, Ramon Fried wrote: > > On Thu, Nov 18, 2021 at 2:08 PM Michal Simek > > wrote: > >> > >> Perform reset before core initialization. > > Does it fix any apparent issue ? How did it work before that ? > > Standard flow

Re: [PATCH 3/3] cmd: add acmconsole command

2021-11-22 Thread Loic Poulain
Hi Pali, On Tue, 16 Nov 2021 at 20:36, Pali Rohár wrote: > > Hello! > > On Tuesday 16 November 2021 20:05:07 Loic Poulain wrote: > > Hi Pali, > > > > Sorry for the late reply, > > > > On Mon, 27 Sept 2021 at 22:04, Pali Rohár wrote: > > > > > > On Thursday 19 August 2021 13:13:06 Loic Poulain

Re: [PATCH v2 0/2] env: setenv add resolve value option

2021-11-22 Thread Art Nikpal
On Mon, Nov 22, 2021 at 4:52 PM Wolfgang Denk wrote: > > Dear Artem, > > In message > you > wrote: > > > > > > > > next examples just demonstrate how its works for already defined env > > > > variables which contain other variables (like storred env variables) > > > > > > Which next examples?

Re: [PATCH 5/5] configs: khadas-vim3{l}_android_ab: enable A/B support

2021-11-22 Thread Mattijs Korpershoek
Hi Neil, Thank you for your review. Neil Armstrong writes: > Hi, > > On 19/11/2021 11:08, Mattijs Korpershoek wrote: >> meson64_android.h also relies on CMD_AB_SELECT so enable that as well. >> >> Signed-off-by: Guillaume La Roque >> Signed-off-by: Mattijs Korpershoek >> --- >>

Re: [PATCH 3/5] boards: meson: add khadas vim3{l} android support

2021-11-22 Thread Mattijs Korpershoek
Hi Neil, Thank you for your review. Neil Armstrong writes: > Hi, > > On 19/11/2021 11:08, Mattijs Korpershoek wrote: >> Add all the necessary bits to flash and boot Android for both Khadas >> VIM3 and VIM3L boards. >> >> For Android instructions, refer to [1] >> >> [1]

Re: [PATCH 2/4] stm32mp15: remove configs dependency on CONFIG_TFABOOT

2021-11-22 Thread Ilias Apalodimas
On Mon, 22 Nov 2021 at 10:09, Patrice CHOTARD wrote: > > Hi Patrick > > On 10/11/21 9:52 AM, Patrick Delaunay wrote: > > Remove the dependency on CONFIG_TFABOOT in stm32mp Kconfig > > - always activate the ARCH config: CONFIG_ARCH_SUPPORT_PSCI > > and CONFIG_CPU_V7_HAS_NONSEC > > -

Re: serial download on imx8mp

2021-11-22 Thread Michael Nazzareno Trimarchi
Hi On Mon, Nov 22, 2021 at 10:18 AM Peng Fan (OSS) wrote: > > > > On 2021/10/22 15:37, Rasmus Villemoes wrote: > > Hi > > > > I'm having trouble getting serial download to work on an imx8mp evk. I'm > > building on top of v2021.10. > > > > The SPL + U-Boot proper that I build work fine when I

Re: serial download on imx8mp

2021-11-22 Thread Peng Fan (OSS)
On 2021/10/22 15:37, Rasmus Villemoes wrote: Hi I'm having trouble getting serial download to work on an imx8mp evk. I'm building on top of v2021.10. The SPL + U-Boot proper that I build work fine when I write them to an SD card and boot from that, also boot from eMMC with the same binaries

Re: [PATCH V3 1/5] imx: imx8mq_evk: switch to binman

2021-11-22 Thread Peng Fan (OSS)
On 2021/11/12 1:24, Heiko Thiery wrote: Hi Peng, Am Fr., 22. Okt. 2021 um 04:07 Uhr schrieb Peng Fan (OSS) : From: Peng Fan Switch to use binman to pack images After switching to binman you will hit the same issue I have in the u-boot CI. The mkimage step will fail because the hdmi

Re: [PATCH V3 1/5] imx: imx8mq_evk: switch to binman

2021-11-22 Thread Peng Fan (OSS)
On 2021/11/11 22:41, Patrick Wildt wrote: On Fri, Oct 22, 2021 at 10:42:16AM +0800, Peng Fan (OSS) wrote: From: Peng Fan Switch to use binman to pack images Signed-off-by: Peng Fan I'm unsure how to reply to this. On the one hand I really like to see this go in, on the other hand this

Re: [PATCH V3 4/5] imx: imx8mq use common imximage.cfg

2021-11-22 Thread Peng Fan (OSS)
On 2021/11/12 1:21, Heiko Thiery wrote: Hi Peng, Am Fr., 22. Okt. 2021 um 04:08 Uhr schrieb Peng Fan (OSS) : From: Peng Fan After all these board switch to binman, we could use common imximage.cfg Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/imximage.cfg | 12 +++-

Re: [PATCH v2 0/2] env: setenv add resolve value option

2021-11-22 Thread Wolfgang Denk
Dear Artem, In message you wrote: > > > > > > next examples just demonstrate how its works for already defined env > > > variables which contain other variables (like storred env variables) > > > > Which next examples? > > Usage examples (from commit message): > > => setenv a hello; setenv b

Re: [PATCH 4/4] stm32mp15: tidy up #ifdefs in cpu.c

2021-11-22 Thread Patrice CHOTARD
Hi Patrick On 10/11/21 9:52 AM, Patrick Delaunay wrote: > We should avoid #ifdef in C modules and the unused functions > are eliminated by the linker. > > Use the more readable IS_ENABLE() instead. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cpu.c | 34

Re: [PATCH 3/4] stm32mp15: replace CONFIG_TFABOOT when it is possible

2021-11-22 Thread Patrice CHOTARD
Hi Patrick On 10/11/21 9:52 AM, Patrick Delaunay wrote: > In some part of STM32MP15 support the CONFIG_TFABOOT can be replaced > by other config: CONFIG_ARMV7_PSCI and CONFIG_ARM_SMCCC. > > This patch also simplifies the code in cpu.c, stm32mp1_ram.c and > clk_stml32mp1.c as execution of U-Boot

Re: [PATCH v2 0/2] env: setenv add resolve value option

2021-11-22 Thread Art Nikpal
On Sat, Nov 20, 2021 at 8:36 PM Wolfgang Denk wrote: > > Dear Artem, > > In message > you > wrote: > > > > next examples just demonstrate how its works for already defined env > > variables which contain other variables (like storred env variables) > > Which next examples? > > > sure I know

[PATCH] test: address some pylint warnings

2021-11-22 Thread Heinrich Schuchardt
* remove unused variables * module description must precede import statements * fix inconsistent return values Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_loader.py | 10 +- test/py/tests/test_efi_selftest.py | 6 ++ 2 files changed, 7 insertions(+), 9

Re: [PATCH 3/5] boards: meson: add khadas vim3{l} android support

2021-11-22 Thread Neil Armstrong
Hi, On 19/11/2021 11:08, Mattijs Korpershoek wrote: > Add all the necessary bits to flash and boot Android for both Khadas > VIM3 and VIM3L boards. > > For Android instructions, refer to [1] > > [1] https://source.android.com/setup/build/devices#vim3_and_vim3l_boards > Signed-off-by: Guillaume

Re: [PATCH 5/5] configs: khadas-vim3{l}_android_ab: enable A/B support

2021-11-22 Thread Neil Armstrong
Hi, On 19/11/2021 11:08, Mattijs Korpershoek wrote: > meson64_android.h also relies on CMD_AB_SELECT so enable that as well. > > Signed-off-by: Guillaume La Roque > Signed-off-by: Mattijs Korpershoek > --- > configs/khadas-vim3_android_ab_defconfig | 2 ++ >

Re: [PATCH 2/4] stm32mp15: remove configs dependency on CONFIG_TFABOOT

2021-11-22 Thread Patrice CHOTARD
Hi Patrick On 10/11/21 9:52 AM, Patrick Delaunay wrote: > Remove the dependency on CONFIG_TFABOOT in stm32mp Kconfig > - always activate the ARCH config: CONFIG_ARCH_SUPPORT_PSCI > and CONFIG_CPU_V7_HAS_NONSEC > - CONFIG_ARMV7_NONSEC is deactivated in trusted defconfig > - the correct sysreset

Re: [PATCH v2 13/14] net: mediatek: add support for MediaTek MT7621 SoC

2021-11-22 Thread Weijie Gao
On Sun, 2021-11-21 at 21:14 +0200, Ramon Fried wrote: > On Fri, Nov 19, 2021 at 3:37 AM Weijie Gao > wrote: > > > > This patch adds GMAC support for MediaTek MT7621 SoC. > > MT7621 has the same GMAC/Switch configuration as MT7623. > > > > Signed-off-by: Weijie Gao > > --- > > v2 changes: none

Re: [PATCH v2 0/2] env: setenv add resolve value option

2021-11-22 Thread Art Nikpal
On Sat, Nov 20, 2021 at 8:36 PM Wolfgang Denk wrote: > > Dear Artem, > > In message > you > wrote: > > > > next examples just demonstrate how its works for already defined env > > variables which contain other variables (like storred env variables) > > Which next examples? Usage examples

Re: [PATCH 5/6] Makefile: Add a pylint checker to the build

2021-11-22 Thread Heinrich Schuchardt
On 11/22/21 04:48, Simon Glass wrote: At present the Python code in U-Boot is somewhat inconsistent, with some files passing pylint quite cleanly and others not. Add a way to track progress on this clean-up, by checking that no module has got any worse as a result of changes. This can be used