[PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer

2022-01-01 Thread Tony Dinh
Add myself as maintainer. Signed-off-by: Tony Dinh --- board/iomega/iconnect/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/iomega/iconnect/MAINTAINERS b/board/iomega/iconnect/MAINTAINERS index 167cf074b9..a1b018e816 100644 --- a/board/iomega/iconnect/MAINTAINERS +++ b/b

[PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init

2022-01-01 Thread Tony Dinh
- Add board_late_init function to enable pci_init Signed-off-by: Tony Dinh --- board/iomega/iconnect/iconnect.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c index fe4be28b13..9e123aab00 100644 --- a/board/iomega/i

[PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs

2022-01-01 Thread Tony Dinh
- Add MVEBU PCIe configs - Also add SYS_THUMB_BUILD to keep u-boot image size within 512K Signed-off-by: Tony Dinh --- configs/iconnect_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/iconnect_defconfig b/configs/iconnect_defconfig index d8593bcdd2..bc44dbd218 100644

[PATCH 0/3] Add PCIe support for Iomega iConnect board

2022-01-01 Thread Tony Dinh
The Iomega iConnect board has an internal mPCIe slot. - Add PCIe support to enable the mPCIe slot to accept devices such as Wifi card or mSATA. - Add SYS_THUMB_BUILD to keep u-boot image size within 512K - Add myself as maintainer. Luka no longer has this board and wishes to see someone maintain

Re: help on udoo_neo power up on mainline uboot

2022-01-01 Thread Fabio Estevam
Hi Tommaso, On Sat, Jan 1, 2022 at 8:22 PM Tommaso Merciai wrote: > Hi Peter, Fabio, > What do you think about this solution: > > First create new static entry in gd: > > +++ b/include/asm-generic/global_data.h > @@ -459,6 +459,7 @@ struct global_data { > */ > char *smbios_versi

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Pali Rohár
On Saturday 01 January 2022 16:00:27 Tony Dinh wrote: > Hi Pali > > On Sat, Jan 1, 2022 at 3:12 PM Pali Rohár wrote: > > > > On Saturday 01 January 2022 14:54:34 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > > > > > > > On Sunday 26 December 202

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Tony Dinh
Hi Pali On Sat, Jan 1, 2022 at 3:12 PM Pali Rohár wrote: > > On Saturday 01 January 2022 14:54:34 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > > > > > On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: > > > > Follow up on the UART booting session

Re: [PATCH 2/3] efi: ECPT add EBBRv2.0 conformance profile

2022-01-01 Thread Heinrich Schuchardt
On 12/31/21 15:36, Jose Marinho wrote: Hi Heinrich, -Original Message- From: Heinrich Schuchardt Sent: 23 December 2021 18:32 To: Jose Marinho ; u-boot@lists.denx.de Cc: ilias.apalodi...@linaro.org; sughosh.g...@linaro.org; takahiro.aka...@linaro.org; ag...@csgraf.de; nd Subject: R

Re: help on udoo_neo power up on mainline uboot

2022-01-01 Thread Tommaso Merciai
On Thu, Dec 30, 2021 at 02:20:07PM +, Peter Robinson wrote: > On Thu, Dec 30, 2021 at 2:12 PM Fabio Estevam wrote: > > > > Hi Peter, > > > > On Thu, Dec 30, 2021 at 11:08 AM Peter Robinson > > wrote: > > > > > That works for my Full board. Interestingly in my playing I had got to > > > simil

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Pali Rohár
On Saturday 01 January 2022 14:54:34 Tony Dinh wrote: > Hi Pali, > > On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > > > On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: > > > Follow up on the UART booting session before. > > > > > > Thanks for the advice about the Reset Strapping docume

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Tony Dinh
Hi Pali, On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: > > Follow up on the UART booting session before. > > > > Thanks for the advice about the Reset Strapping documentation. I've > > extracted the attachment 88AP510_Reset_Strapping.xls

Re: [PATCH v8 12/12] (RFC) efi_loader, dts: add public keys for capsules to device tree

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: By specifying CONFIG_EFI_CAPSULE_KEY_PATH, the build process will automatically insert the given key into the device tree. Otherwise, users are required to do so manually, possibly, with the utility script, fdtsig.sh. Why do we need a script fdtsig.sh?

Re: [PATCH v8 07/12] tools: mkeficapsule: allow for specifying GUID explicitly

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule

Re: [PATCH v8 06/12] test/py: efi_capsule: add image authentication test

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: Add a couple of test cases against capsule image authentication for capsule-on-disk, where only a signed capsule file with the verified signature will be applied to the system. Due to the difficulty of embedding a public key (esl file) in U-Boot binary d

Re: [PATCH v8 05/12] doc: update UEFI document for usage of mkeficapsule

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: Now we can use mkeficapsule command instead of EDK-II's script to create a signed capsule file. So update the instruction for capsule authentication. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- doc/develop/

Re: [PATCH v8 04/12] tools: mkeficapsule: add man page

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: Add a man page for mkeficapsule command. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- MAINTAINERS| 1 + doc/mkeficapsule.1 | 95 ++ 2 files changed, 96

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Pali Rohár
On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: > Follow up on the UART booting session before. > > Thanks for the advice about the Reset Strapping documentation. I've > extracted the attachment 88AP510_Reset_Strapping.xls from the HW Spec > for Dove at: > https://www.kernel.org/doc/html/late

Re: [PATCH v8 03/12] tools: mkeficapsule: add firmwware image signing

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: nits: There is a typo in the patch subject. With this enhancement, mkeficapsule will be able to sign a capsule file when it is created. A signature added will be used later in the verification at FMP's SetImage() call. To do that, We need specify addit

Re: [PATCH v8 02/12] tools: build mkeficapsule with tools-only_defconfig

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: Add CONFIG_TOOLS_MKEFICAPSULE. Then we want to always build mkeficapsule if tools-only_defconfig is used. Signed-off-by: AKASHI Takahiro --- configs/tools-only_defconfig | 1 + tools/Kconfig| 8 tools/Makefile

Re: [PATCH] Revert "clk: Detect failure to set defaults"

2022-01-01 Thread Sean Anderson
Hi Marek, Please CC clock maintainers for future patches. On 1/1/22 1:51 PM, Marek Vasut wrote: This reverts commit 92f1e9a4b31c0bf0f4f61ab823a6a88657323646. The aforementioned patch causes massive breakage on all platforms which have 'assigned-clock' DT property in their DT which references an

Re: [PATCH v8 01/12] tools: mkeficapsule: rework the code a little bit

2022-01-01 Thread Heinrich Schuchardt
On 12/20/21 06:02, AKASHI Takahiro wrote: Abstract common routines to make the code easily understandable. No functional change. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- tools/mkeficapsule.c | 223 ++- 1 file changed, 159 insertions

Re: [RESEND PATCH] imx: Enable ACTLR.SMP in SPL for i.MX6

2022-01-01 Thread Fabio Estevam
Hi Sven, Thanks for your patch. On Sat, Jan 1, 2022 at 3:47 PM Sven Schwermer wrote: > > Similar to what has been done before with c5437e5b for u-boot proper, we > enable the SMP bit for SPL as well. This is necessary when SDP booting > straight into Linux, i.e. falcon boot. When SDP boot mode i

[PATCH] net: eth-phy: Demote missing phy-handle log message to debug

2022-01-01 Thread Marek Vasut
Reduce the missing phy-handle log message to debug message. It is possible for ethernet DT node to have no phy-handle e.g. in case of a fixed-link connection. Furthermore, drop the FEC: prefix, which is a copy-paste error and rather print the ethernet device name. Signed-off-by: Marek Vasut Cc: R

CONFIG_SYS_SPL_ARGS_ADDR

2022-01-01 Thread Sven Schwermer
Hi, I'm looking into booting Linux FIT images from SPL. In board_init_r (common/spl/spl.c), the boot argument is set to CONFIG_SYS_SPL_ARGS_ADDR if defined. When booting a FIT image including a DTB, shouldn't this automatically be set to fdt_addr (struct spl_image_info)? This would ensure a s

[PATCH] Revert "clk: Detect failure to set defaults"

2022-01-01 Thread Marek Vasut
This reverts commit 92f1e9a4b31c0bf0f4f61ab823a6a88657323646. The aforementioned patch causes massive breakage on all platforms which have 'assigned-clock' DT property in their DT which references any clock that are not supported by the platform clock driver. That can easily happen either in SPL, o

[PATCH] Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled

2022-01-01 Thread Marek Vasut
Skip running arch/arm/mach-imx flash.bin generation in case BINMAN is enabled, otherwise the target in arch/arm/mach-imx/Makefile regenerates the flash.bin again and produces corrupted result. Signed-off-by: Marek Vasut Cc: Peng Fan Cc: Simon Glass --- Makefile | 1 - 1 file changed, 1 deletio

[RESEND PATCH] imx: Enable ACTLR.SMP in SPL for i.MX6

2022-01-01 Thread Sven Schwermer
Similar to what has been done before with c5437e5b for u-boot proper, we enable the SMP bit for SPL as well. This is necessary when SDP booting straight into Linux, i.e. falcon boot. When SDP boot mode is active, the ROM code does not set this bit which makes the caches not work once activated in L

[PATCH v2 2/2] f_sdp: Retry sourcing default FIT script

2022-01-01 Thread Sven Schwermer
"script@1" is not a valid node name if the "reg" property is missing. The yocto build system embeds the boot script as an image that's pointed to by the "bootscr" property within the default configuration. That is what we use here as the fallback when sourcing the "script@1" fails. This implementat

[PATCH v2 1/2] cmd: source: Use script from default config

2022-01-01 Thread Sven Schwermer
When sourcing FIT images, source the script node from the "bootscr" property within the default configuration. If board_fit_config_name_match is overridden, this will determine the selected configuration rather than the default one. The old behaviour is inconsistent with the FIT image specificatio

[PATCH v2 5/7] common: board_r: move init_addr_map() to init.h

2022-01-01 Thread Ovidiu Panait
asm/mmu.h include is currently guarded by CONFIG_ADDR_MAP ifdef because the header is only present on arm and powerpc. In order to remove the dependency on this header and the associated ifdef, move init_addr_map() declaration to init.h, since it is only called during the common init sequence. Rev

[PATCH v2 7/7] common: board_r: drop ifdefs around header includes

2022-01-01 Thread Ovidiu Panait
Drop the remaining ifdefs around header includes, to fix an old TODO. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- (no changes since v1) common/board_r.c | 9 - 1 file changed, 9 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index be225d8f87..bac386f021 1

[PATCH v2 1/7] common: spl: move armv7m-specific code to spl_perform_fixups()

2022-01-01 Thread Ovidiu Panait
Factor out armv7m fragment to spl_perform_fixups(), which is an arch/board specific function designed for this purpose. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- (no changes since v1) arch/arm/cpu/armv7m/cpu.c | 6 ++ common/spl/spl.c | 3 --- 2 files changed, 6 i

[PATCH v2 6/7] common: board_r: include asm-generic/gpio.h

2022-01-01 Thread Ovidiu Panait
Not all architectures define and even on those that do, the header cannot be included for all boards without causing various build failures. Since common/board_r.c only needs gpio_hog_probe_all() declaration, include and drop the associated ifdef. Reviewed-by: Simon Glass Signed-off-by: Ovidiu

[PATCH v2 4/7] common: board_r: drop initr_addr_map wrapper

2022-01-01 Thread Ovidiu Panait
Add a return value to init_addr_map and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Reviewed-by: Matthias Brugger Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- (no changes since v1) arch/arm/include/asm/mmu.h | 2 +- arch/arm/mach-

[PATCH v2 3/7] common: board_r: drop initr_kgdb wrapper

2022-01-01 Thread Ovidiu Panait
Add a return value to kgdb_init and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Also, move the "KGDB" print message inside kgdb_init(). Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Changes in v2: - drop extern and add function comment c

[PATCH] imx6: Enable ACTLR.SMP in SPL

2022-01-01 Thread Sven Schwermer
Similar to what has been done before with c5437e5b for u-boot proper, we enable the SMP bit for SPL as well. This is necessary when SDP booting straight into Linux, i.e. falcon boot. When SDP boot mode is active, the ROM code does not set this bit which makes the caches not work once activated in L