Re: 32bit GRUB on RISC-V

2021-07-01 Thread Tom Rini
On Fri, Jul 02, 2021 at 03:53:28AM +0200, Heinrich Schuchardt wrote: > Hello Tom, > > the RISC-V platform specification has a profile OS-A for running rich > operating systems like Linux and BSD. This profile requires 64bit and UEFI > conforming to the EBBR. Only the 'embedded' profile may use

32bit GRUB on RISC-V

2021-07-01 Thread Heinrich Schuchardt
Hello Tom, the RISC-V platform specification has a profile OS-A for running rich operating systems like Linux and BSD. This profile requires 64bit and UEFI conforming to the EBBR. Only the 'embedded' profile may use 32bit. This obsoletes 32bit GRUB on RISC-V. Best regards Heinrich

Re: iMX8MM USB support?

2021-07-01 Thread Fabio Estevam
Tim, On Thu, Jul 1, 2021 at 10:13 PM Fabio Estevam wrote: > > On Thu, Jul 1, 2021 at 9:49 PM Tim Harvey wrote: > > > By the way, I took a quick stab at enabling SDP on > > imx8mm-venice-gw73xx-0x and found compile issues so I configured for > > an imx8mm_evk using your diffs and hit the same

Re: iMX8MM USB support?

2021-07-01 Thread Fabio Estevam
On Thu, Jul 1, 2021 at 9:49 PM Tim Harvey wrote: > By the way, I took a quick stab at enabling SDP on > imx8mm-venice-gw73xx-0x and found compile issues so I configured for > an imx8mm_evk using your diffs and hit the same issues. > > drivers/usb/host/ehci-mx6.c: In function ‘ehci_hcd_init’: >

Re: [PATCH 2/3] usb: ehci-mx6: add IMX8MM OTG support

2021-07-01 Thread Fabio Estevam
Hi Tim, On Tue, Apr 27, 2021 at 10:55 PM Tim Harvey wrote: > I will re-submit and add is_imx8mn() that's what the NXP > downstream u-boot does as well. When you re-submit this, please add: Tested-by: Fabio Estevam USB gadget works now on imx8mm-evk. Thanks

Re: iMX8MM USB support?

2021-07-01 Thread Fabio Estevam
Hi Tim, On Thu, Jul 1, 2021 at 9:49 PM Tim Harvey wrote: > Yes, this works on my board. I just sent a v2 of these patches (cc'd you). I have just tried "ums 0 mmc 1" and it works on a imx8mm-evk now after applying your patches, thanks! > By the way, I took a quick stab at enabling SDP on >

Re: [PATCH 1/3] usb: ehci-mx6: move mode set/detect to probe

2021-07-01 Thread Tim Harvey
On Thu, Jul 1, 2021 at 5:41 PM Fabio Estevam wrote: > > Hi Tim. > > On Thu, Jun 3, 2021 at 12:50 PM Tim Harvey wrote: > > > Marek, > > > > Is there something you want me to change here? > > > > I am happy to test gadget support as my board has an OTG connector. > > Could you give me some

Re: iMX8MM USB support?

2021-07-01 Thread Tim Harvey
On Thu, Jul 1, 2021 at 5:36 PM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Jul 1, 2021 at 8:58 PM Tim Harvey wrote: > > > Fabio, > > > > I no longer have the patches/config around and am not sure I even have > > a working imx8mm-evk anymore. > > > > Do you have the patches I submitted to enable

Re: [PATCH 1/3] usb: ehci-mx6: move mode set/detect to probe

2021-07-01 Thread Fabio Estevam
Hi Tim. On Thu, Jun 3, 2021 at 12:50 PM Tim Harvey wrote: > Marek, > > Is there something you want me to change here? > > I am happy to test gadget support as my board has an OTG connector. > Could you give me some pointers on how to configure a gadget in U-Boot > in order to test? One quick

Re: iMX8MM USB support?

2021-07-01 Thread Fabio Estevam
Hi Tim, On Thu, Jul 1, 2021 at 8:58 PM Tim Harvey wrote: > Fabio, > > I no longer have the patches/config around and am not sure I even have > a working imx8mm-evk anymore. > > Do you have the patches I submitted to enable USB OTG in general on IMX8MM? > usb: ehci-mx6: add IMX8MM and IMX8MN OTG

Re: iMX8MM USB support?

2021-07-01 Thread Tim Harvey
On Thu, Jul 1, 2021 at 4:15 PM Fabio Estevam wrote: > > Hi Tim and Schrempf, > > On Fri, Apr 10, 2020 at 3:37 PM Tim Harvey wrote: > > > Frieder, > > > > My issue was that I forgot to set ATF_LOAD_ADDR=0x92! > > > > So I'm running now, booting imx8mm-evk via SDP using your USB patches > >

Re: iMX8MM USB support?

2021-07-01 Thread Fabio Estevam
Hi Tim and Schrempf, On Fri, Apr 10, 2020 at 3:37 PM Tim Harvey wrote: > Frieder, > > My issue was that I forgot to set ATF_LOAD_ADDR=0x92! > > So I'm running now, booting imx8mm-evk via SDP using your USB patches > and imx_usb configuration. Sorry for resurrecting such an old thread. I

Re: [RFC PATCH 2/2] global-data.h: add build-time sanity check of sizeof(struct global_data)

2021-07-01 Thread Tom Rini
On Tue, May 18, 2021 at 11:19:47AM +0200, Rasmus Villemoes wrote: > The layout and contents of struct global_data depends on a lot of > CONFIG_* preprocessor macros, not all of which are entirely converted > to Kconfig - not to mention weird games played here and there. This > can result in one

Re: [RFC PATCH 1/2] build_bug.h: add wrapper for _Static_assert

2021-07-01 Thread Tom Rini
On Tue, May 18, 2021 at 11:19:46AM +0200, Rasmus Villemoes wrote: > [Linux commit 6bab69c65013bed5fce9f101a64a84d0385b3946] > > BUILD_BUG_ON() is a little annoying, since it cannot be used outside > function scope. So one cannot put assertions about the sizeof() a > struct next to the struct

U-Boot contributor call 20th July

2021-07-01 Thread Simon Glass
Hi, Next week's call is cancelled due to the US holiday. The next one is two weeks later (20th July) and I propose we discuss of-platdata, i.e. how to avoid the overhead of devicetree in SPL. As always these calls are open to anyone interested. Regards, Simon [1] https://bit.ly/3bFvwA1 or

Re: Building U-Boot for Compulab's imx8mm-cl-iot-gate board

2021-07-01 Thread Paul Liu
Hi Fabio, We have dfu_alt_info set. So that we can capsule update from UEFI. First, "setenv -e -nv -bs -rt -v OsIndications =0x04" And then we can "efidebug capsule update -v ${loadaddr}". To make the capsule binary, we need to create a capsule1.itb with the following content: /dts-v1/; / {

Setting serverip from DHCP server

2021-07-01 Thread Gregory Anders
(Re-sending now that I'm subscribed to the list) Hi all, I am running U-Boot on an embedded device that is connected via Ethernet to my workstation. The workstation is running dhcpd and U-Boot is able to successfully obtain an IP address via DHCP from the server. However, the `serverip`

Re: Building U-Boot for Compulab's imx8mm-cl-iot-gate board

2021-07-01 Thread Paul Liu
Hi Fabio, Yes. It is able to not provide the fip,bin. If you use bl31.bin as bl31.bin then fip.bin can be empty. If you use bl2.bin as bl31.bin then you have to have the fip. This depends on how TF-A are being built. If you build TF-A without NEED_BL2=yes. Then you don't need the fip.bin. If you

Re: [RFC PATCH 00/28] cli: Add a new shell

2021-07-01 Thread Tom Rini
On Thu, Jul 01, 2021 at 02:15:43AM -0400, Sean Anderson wrote: > Well, this has been sitting on my hard drive for too long without feedback > ("Release early, release often"), so here's the first RFC. This is not ready > to > merge (see the "Future work" section below), but the shell is

Re: [RFC PATCH 22/28] env: Add a priv pointer to hwalk_r

2021-07-01 Thread Tom Rini
On Thu, Jul 01, 2021 at 02:16:05AM -0400, Sean Anderson wrote: > This allows callers of hwalk_r to pass data to their callback. This mirrors > e.g. env_attr_walk. > > Signed-off-by: Sean Anderson Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [GIT PULL] xilinx patches for v2021.10

2021-07-01 Thread Tom Rini
On Thu, Jul 01, 2021 at 11:25:22AM +0200, Michal Simek wrote: > Hi, > > please pull these patches to your tree (next). There are a lot of DT > syncup changes which are also going to Linux kernel. > CI loop doesn't show any problem. > > BTW: Isn't there any option in CI not to run builds against

[PATCH] configs: am65x_evm: Switch envboot out for distro_bootcmd

2021-07-01 Thread Tom Rini
Swap out the TI-centric "envboot" logic for the generic distro_bootcmd logic for the bootcmd we run before trying to do something more complex involving additional firmware, etc. Cc: Lokesh Vutla Signed-off-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 2 +- include/configs/am65x_evm.h

[PATCH] image: android: Automatically detect more compression types

2021-07-01 Thread Stephan Gerhold
At the moment android_image_get_kcomp() can automatically detect LZ4 compressed kernels and the compression specified in uImages. However, especially on ARM64 Linux is often compressed with GZIP. Attempting to boot an Android image with a GZIP compressed kernel image currently results in a very

Re: [PATCH] MAINTAINERS, git-mailrc: socfpga: Change co-maintainer to Tien Fong Chee

2021-07-01 Thread Sean Anderson
On 7/1/21 12:01 PM, Ley Foon Tan wrote: I'm no longer work in Intel, change Intel SoCFPGA co-maintainer to Tien Fong Chee. Signed-off-by: Ley Foon Tan --- MAINTAINERS| 2 +- doc/git-mailrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS

[PATCH] pci: imx: use reset-gpios if defined by device-tree

2021-07-01 Thread Tim Harvey
If reset-gpio is defined by device-tree use that instead of a board-specific function to toggle PCI reset. The presense of 'reset-gpio' in the device-tree will override calling the weak imx6_pcie_toggle_reset function therefore I've Cc'd all the board maintainers who rely on that function here as

Re: Building U-Boot for Compulab's imx8mm-cl-iot-gate board

2021-07-01 Thread Fabio Estevam
Hi Paul, On Thu, Jul 1, 2021 at 12:45 PM Paul Liu wrote: > Hi Fabio, > > Yes. It is able to not provide the fip,bin. > If you use bl31.bin as bl31.bin then fip.bin can be empty. > If you use bl2.bin as bl31.bin then you have to have the fip. > > This depends on how TF-A are being built. > If

[PATCH] MAINTAINERS, git-mailrc: socfpga: Change co-maintainer to Tien Fong Chee

2021-07-01 Thread Ley Foon Tan
I'm no longer work in Intel, change Intel SoCFPGA co-maintainer to Tien Fong Chee. Signed-off-by: Ley Foon Tan --- MAINTAINERS| 2 +- doc/git-mailrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 86ff5e04a6..4997ac97a8 100644 ---

[PATCH 5/7] stm32mp: cmd_stm32key: add get_misc_dev function

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 0/7] stm32mp: cmd_stm32key: updates

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 1/7] stm32mp: configs: activate the command stm32key only for ST boards

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

Re: [RFC PATCH v1 0/6] add rk3318 A95X Z2 board

2021-07-01 Thread Johan Jonker
Hi Alex, Thanks for reporting! With rockchip,dw-hdmi.yaml all kind notifications rk3328/rk3399 but not for ddc-i2c-scl-* Submitted by Laurent, but not reviewed/fixed nodes together with the Rockchip mail group. Someone has to look at/fix it... dt-bindings: display: rockchip: dw-hdmi: Convert

[PATCH] configs: stm32mp1: remove splashimage and add fdtoverlay_addr_r

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH] configs: j721e_evm: Switch envboot out for distro_bootcmd

2021-07-01 Thread Tom Rini
Swap out the TI-centric "envboot" logic for the generic distro_bootcmd logic for the bootcmd we run before trying to do something more complex involving additional firmware, etc. Cc: Lokesh Vutla (maintainer:J721E BOARD) Signed-off-by: Tom Rini --- configs/j721e_evm_a72_defconfig | 2 +-

[PATCH 3/7] stm32mp: cmd_stm32key: handle error in fuse_hash_value

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 3/3] ti: omap5: Switch to generic distro boot for non-Android cases

2021-07-01 Thread Tom Rini
Remove the environment support for various legacy boot methods. With this, we will now default to booting any distribution that follows the generic distro boot framework and no longer attempt to boot various legacy (to this SoC) scripts/etc. Note that if we do not find anything here we will

[PATCH 2/3] arm: ti: environment: Move in to

2021-07-01 Thread Tom Rini
This include file is only used by ti_omap5_common.h. Further, the move is towards using the generic distro boot framework and not this set of macros. Start by moving all of the contents in directly to where they are used. Signed-off-by: Tom Rini --- include/configs/ti_omap5_common.h | 229

[PATCH 1/3] ti: am43xx_evm: Switch to DISTRO_BOOT only

2021-07-01 Thread Tom Rini
Remove the environment support for various legacy boot methods. With this, we will now default to booting any distribution that follows the generic distro boot framework and no longer attempt to boot various legacy (to this SoC) scripts/etc. Signed-off-by: Tom Rini ---

Re: [RFC] Load U-Boot without LK on DragonBoard 410c (+ DB820c?)

2021-07-01 Thread Stephan Gerhold
Hi Nicolas, On Thu, Jul 01, 2021 at 01:27:30PM +0200, Nicolas Dechesne wrote: > On Thu, Jul 1, 2021 at 11:07 AM Stephan Gerhold wrote: > > > > Hi! > > > > at the moment the U-Boot ports for both DragonBoard 410c and 820c are > > designed to be loaded as an Android boot image after Qualcomm's LK

[PATCH 7/7] stm32mp: cmd_stm32key: add subcommand close

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 6/7] stm32mp: cmd_stm32key: add read OTP subcommand

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH] stm32mp: stm32prog: fix the content of short help message

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

Re: [RFC PATCH v1 0/6] add rk3318 A95X Z2 board

2021-07-01 Thread Alex Bee
Hi Johan, Am 30.06.21 um 18:22 schrieb Johan Jonker: With a new board from a recent Linux DT the U-boot rk3328.dtsi is in need for an update. Please advise what to do with usb3 regulators, aliases and other stuff that has to change. Also some of the U-boot board files could use some

Re: [RFC] Load U-Boot without LK on DragonBoard 410c (+ DB820c?)

2021-07-01 Thread Nicolas Dechesne
hey Stephan, Thanks for such a great email! the outcome is excellent! On Thu, Jul 1, 2021 at 11:07 AM Stephan Gerhold wrote: > > Hi! > > at the moment the U-Boot ports for both DragonBoard 410c and 820c are > designed to be loaded as an Android boot image after Qualcomm's LK > bootloader. This

Re: [PATCH 5/9] board: phytec: phycore_imx8mp: Add fec support

2021-07-01 Thread Fabio Estevam
Hi Teresa, Your series looks great. Just a few comments on this patch. On Thu, Jul 1, 2021 at 6:47 AM Teresa Remmet wrote: > --- a/include/configs/phycore_imx8mp.h > +++ b/include/configs/phycore_imx8mp.h > @@ -42,6 +42,8 @@ > "console=ttymxc0,115200\0" \ >

Re: [PATCH 2/2] ARM: imx: Pick correct eMMC boot partition from ROM log

2021-07-01 Thread Harald Seiler
Hi, On Thu, 2021-07-01 at 01:08 +0200, Marek Vasut wrote: > In case the iMX8M boot from eMMC boot partition and the primary image > is corrupted, the BootROM is capable of starting a secondary image in > the other eMMC boot partition as a fallback. > > However, the BootROM leaves the eMMC

[PATCH 3/3] board: freescale: LX2162AQDS: Add MAINTAINER

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[v2 PATCH 1/3] board: freescale: LX2160ARDB: Add MAINTAINER

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

Re: [PATCH 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-01 Thread Tony (bodhi)
Hi Stefan, On Thu, Jul 1, 2021 at 1:22 AM Stefan Roese wrote: > > Hi Tony, > > On 01.07.21 10:19, Stefan Roese wrote: > > On 01.07.21 06:26, Tony Dinh wrote: > >> In DM Ethernet, the old "egiga0" name is no longer valid, so replace it > >> with Ethernet PHY name from device tree. > >> > >>

Re: [PATCH 2/2] ARM: imx: Pick correct eMMC boot partition from ROM log

2021-07-01 Thread Teresa Remmet
Hello Marek, Am Donnerstag, den 01.07.2021, 01:08 +0200 schrieb Marek Vasut: > In case the iMX8M boot from eMMC boot partition and the primary image > is corrupted, the BootROM is capable of starting a secondary image in > the other eMMC boot partition as a fallback. I would like to ask a more

[v2 PATCH 2/3] board: freescale: LX2160AQDS: Add MAINTAINER

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 9/9] board: phytec: imx8mp-phycore: Switch to binman

2021-07-01 Thread Teresa Remmet
Use now binman for image creation. Signed-off-by: Teresa Remmet --- .../imx8mp-phyboard-pollux-rdk-u-boot.dtsi| 105 ++ arch/arm/mach-imx/imx8m/Kconfig | 1 + .../phytec/phycore_imx8mp/imximage-8mp-sd.cfg | 10 ++ configs/phycore-imx8mp_defconfig

[PATCH 7/9] board: phytec: phycore-imx8mp: Enable DVS1 control

2021-07-01 Thread Teresa Remmet
Enable DVS1 control through PMIC_STBY_REQ. Signed-off-by: Teresa Remmet --- board/phytec/phycore_imx8mp/spl.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c index 815ca9badcba..19c486e55174 100644

[PATCH 8/9] arm: dts: imx8mp-phyboard-pollux-rdk-u-boot: Add wdog pinctrl entry

2021-07-01 Thread Teresa Remmet
Add missing pinctrl entry in spl. Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi index

[PATCH 6/9] board: phytec: phycore_imx8mp: Set VDD_ARM to 0,95V

2021-07-01 Thread Teresa Remmet
Increase VDD_ARM to prevent timing issues as VDD_SOC is used in OD mode. Also increase GIC clock. Signed-off-by: Teresa Remmet --- board/phytec/phycore_imx8mp/spl.c | 11 ++- configs/phycore-imx8mp_defconfig | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH 5/9] board: phytec: phycore_imx8mp: Add fec support

2021-07-01 Thread Teresa Remmet
Enable support for the fec ethernet on phyCORE-i.MX8MP. Signed-off-by: Teresa Remmet --- board/phytec/phycore_imx8mp/phycore-imx8mp.c | 14 +++ configs/phycore-imx8mp_defconfig | 7 ++ include/configs/phycore_imx8mp.h | 25 3 files

[PATCH 4/9] board: phytec: phycore_imx8mp: Change debug UART

2021-07-01 Thread Teresa Remmet
With the first redesign the debug UART had changed from UART2 to UART1. As the first hardware revision is considered as alpha and will not be supported in future. The old setup will not be preserved. Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 4 ++--

[PATCH 3/9] arm: dts: imx8mp-phyboard-pollux: Sync dts files with kernel

2021-07-01 Thread Teresa Remmet
This update includes eqos support and debug uart changes. Synced with kernel commit 846f752866bd ("arm64: dts: imx8mp-phyboard-pollux-rdk: Change debug UART") Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts | 58 ++---

[PATCH 1/9] arm: dts: imx8mp: Resync imx8mp device tree include

2021-07-01 Thread Teresa Remmet
Sync imx8mp include with kernel commit: d1689cd3c0f4 ("arm64: dts: imx8mp: Use the correct name for child node "snps, dwc3"") Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp.dtsi | 146 +-- 1 file changed, 141 insertions(+), 5 deletions(-) diff --git

[PATCH 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-07-01 Thread Teresa Remmet
Factor out the common node settings for dm-spl and dm-pre-reloc and move them to imx8mp-u-boot.dtsi Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-evk-u-boot.dtsi | 39 + .../imx8mp-phyboard-pollux-rdk-u-boot.dtsi| 39 +

[PATCH 0/9] phyCORE-i.MX8MP Update

2021-07-01 Thread Teresa Remmet
Hello, this patchstack includes phyCORE-i.MX8MP updates and the switch to binman. But also resynced the imx8mp.dtsi from kernel add introduced a common imx8mp-u-boot.dtsi Teresa Teresa Remmet (9): arm: dts: imx8mp: Resync imx8mp device tree include arm: dts: imx8mp: Add common u-boot dtsi

[GIT PULL] xilinx patches for v2021.10

2021-07-01 Thread Michal Simek
Hi, please pull these patches to your tree (next). There are a lot of DT syncup changes which are also going to Linux kernel. CI loop doesn't show any problem. BTW: Isn't there any option in CI not to run builds against the same sha1? Because I see build for the branch itself and then for the

[RFC] Load U-Boot without LK on DragonBoard 410c (+ DB820c?)

2021-07-01 Thread Stephan Gerhold
Hi! at the moment the U-Boot ports for both DragonBoard 410c and 820c are designed to be loaded as an Android boot image after Qualcomm's LK bootloader. This is simple to set up but LK is redundant in this case, since everything done by LK can be also done directly by U-Boot. Dropping LK

[PATCH 2/3] board: freescale: LX2160AQDS: Add MAINTAINER

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

[PATCH 1/3] board: freescale: LX2160ARDB: Add MAINTAINER

2021-07-01 Thread Hexagon Email Recovery
This message could not be delivered immediately due to an internal mail routing issue. The mail routing error has been resolved in the meantime. We apologize for the delay in delivery and any inconvenience this may have caused. In case of any questions please contact us via i...@hexagon.com.

Re: [PATCH v3 1/2] efi_loader: fix set_capsule_result()

2021-07-01 Thread AKASHI Takahiro
NAK again with the same reason that I gave on v1/v2. Please follow your own rules that you imposed on me. -Takahiro Akashi On Thu, Jul 01, 2021 at 10:20:48AM +0200, Heinrich Schuchardt wrote: > The log category must be LOG_CATEGORY LOGC_EFI. > > efi_set_variable() should be called with

Re: [PATCH 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-01 Thread Stefan Roese
Hi Tony, On 01.07.21 10:19, Stefan Roese wrote: On 01.07.21 06:26, Tony Dinh wrote: In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Signed-off-by: Tony Dinh ---   board/zyxel/nsa310s/nsa310s.c | 15 +++   1 file

[PATCH v3 2/2] efi_loader: clear OsIndications

2021-07-01 Thread Heinrich Schuchardt
After each reboot we must clear flag EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED in variable OsIndications. Signed-off-by: Heinrich Schuchardt --- v3: always reset EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED --- lib/efi_loader/efi_setup.c | 40

[PATCH v3 1/2] efi_loader: fix set_capsule_result()

2021-07-01 Thread Heinrich Schuchardt
The log category must be LOG_CATEGORY LOGC_EFI. efi_set_variable() should be called with EFI_CALL(). Use efi_set_variable_int() instead. A log text "Updating ..." if SetVariable() fails does not make sense for a variable that is not required to be preexisting. Signed-off-by: Heinrich Schuchardt

[PATCH v3 0/2] efi_loader: indicating capsule update results

2021-07-01 Thread Heinrich Schuchardt
When creating the Capsule variable we should immediately update CapsuleLast. After each reboot we must clear flag EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED in variable OsIndications. v3: clear EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED even after capsule

Re: [PATCH 4/4] NSA310S : Add DM SATA configs

2021-07-01 Thread Stefan Roese
On 01.07.21 06:26, Tony Dinh wrote: Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh --- include/configs/nsa310s.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h index

Re: [PATCH 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-01 Thread Stefan Roese
On 01.07.21 06:26, Tony Dinh wrote: In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Signed-off-by: Tony Dinh --- board/zyxel/nsa310s/nsa310s.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 2/4] NSA310S : Add DM USB, DM Ethernet, and DM SATA configs

2021-07-01 Thread Stefan Roese
On 01.07.21 06:26, Tony Dinh wrote: Convert to Driver Model. - Add DM USB, DM Ethernet, and DM SATA configs to nsa310s_defconfig - Add CONFIG_DEFAULT_DEVICE_TREE to nsa310s_defconfig - Move CONFIG_ENV_SECT_SIZE from board file to nsa310s_defconfig - Add CONFIG_IDENT_STRING, and

Re: [PATCH 1/4] NSA310S : Add device tree DTS for Zyxel NSA310S board

2021-07-01 Thread Stefan Roese
On 01.07.21 06:26, Tony Dinh wrote: Add device tree kirkwood-nsa310s.dts for Zyxel NSA310S board to convert to Driver Model. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-nsa310s.dts | 318

Re: [PATCH] configs: stm32mp1: remove splashimage and add fdtoverlay_addr_r

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:42 PM, Patrick Delaunay wrote: > Add the variable used by PXE command for fdtoverlays support > since the commit 69076dff2284 ("cmd: pxe: add support for FDT overlays"). > > Reused the unused "splashimage" address as CONFIG_SPLASH_SOURCE and > CONFIG_VIDEO_LOGO are not

Re: [PATCH 7/7] stm32mp: cmd_stm32key: add subcommand close

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:56 PM, Patrick Delaunay wrote: > The expected sequence to close the device > > 1/ Load key in DDR with any supported load command > 2/ Update OTP with key: STM32MP> stm32key read > > At this point the device is able to perform image authentication but >

Re: [PATCH 6/7] stm32mp: cmd_stm32key: add read OTP subcommand

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:56 PM, Patrick Delaunay wrote: > Allow to read the OTP value and lock status with the command > $> stm32key read. > > This patch also protects the stm32key fuse command. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cmd_stm32key.c | 93

Re: [PATCH 5/7] stm32mp: cmd_stm32key: add get_misc_dev function

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:56 PM, Patrick Delaunay wrote: > Add a helper function to access to BSEC misc driver. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cmd_stm32key.c | 19 +-- > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH 4/7] stm32mp: cmd_stm32key: lock of PKH OTP after fuse

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:56 PM, Patrick Delaunay wrote: > Lock the OTP value of key's hash after the command > $> stm32key fuse > > This operation forbids a second update of these OTP as they are > ECC protected in BSEC: any update of these OTP with a different value > causes a BSEC disturb

Re: [PATCH 3/7] stm32mp: cmd_stm32key: handle error in fuse_hash_value

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:55 PM, Patrick Delaunay wrote: > Handle errors in fuse_hash_value function. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cmd_stm32key.c | 24 +++- > 1 file changed, 15 insertions(+), 9 deletions(-) > > diff --git

Re: [PATCH 2/7] stm32mp: cmd_stm32key: use sub command

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:55 PM, Patrick Delaunay wrote: > Simplify parsing the command argument by using > the macro U_BOOT_CMD_WITH_SUBCMDS. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cmd_stm32key.c | 55 ++-- > 1 file changed, 36

Re: [PATCH 1/7] stm32mp: configs: activate the command stm32key only for ST boards

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/28/21 2:55 PM, Patrick Delaunay wrote: > This command is used to evaluate the secure boot on stm32mp SOC, > it is deactivated by default in real products. > > We activate this command only in STMicroelectronics defconfig > used with the evaluation boards. > > Signed-off-by:

Re: [PATCH] arm: dts: stm32mp15: alignment with v5.13

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/29/21 12:01 PM, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v5.13 > - ARM: dts: stm32: Add PTP clock to Ethernet controller > - ARM: dts: stm32: enable the analog filter for all I2C nodes in > stm32mp151 > - ARM: dts: stm32: fix usart 2 & 3 pinconf to wake

Re: [PATCH 2/2] stm32mp: syscon: manage clock when present in device tree

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/29/21 12:04 PM, Patrick Delaunay wrote: > Enable the clocks during syscon probe when they are present in device tree. > > This patch avoids a freeze when the SYSCFG clock is not enabled by > TF-A / OP-TEE. > > Signed-off-by: Patrick Delaunay > --- > >

Re: [PATCH 1/2] clk: stm32mp1: add support of SYSCFG clock

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/29/21 12:04 PM, Patrick Delaunay wrote: > Add the support of SYSCFG clock used by syscon driver > to prepare the clock management of STM32MP_SYSCON_SYSCFG. > > This clock is already defined in kernel device tree, > stm32mp151.dtsi but not yet supported in the syscon driver: > >

Re: [PATCH] configs: stm32mp1: activate command rng

2021-07-01 Thread Patrice CHOTARD
Hi Patrick On 6/29/21 12:08 PM, Patrick Delaunay wrote: > Activate the command rng with CONFIG_CMD_RNG, used to test > the rng driver > > Signed-off-by: Patrick Delaunay > --- > > configs/stm32mp15_basic_defconfig | 2 +- > configs/stm32mp15_trusted_defconfig | 2 +- > 2 files changed, 2

Re: [PATCH] xilinx: zynqmp: Add support for 67dr silicon

2021-07-01 Thread Michal Simek
st 30. 6. 2021 v 11:40 odesílatel Michal Simek napsal: > > From: T Karthik Reddy > > Add zynqmp 67dr silicon to zynqmp device id table. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > board/xilinx/zynqmp/zynqmp.c | 5 + > 1 file changed, 5 insertions(+) > > diff

Re: [PATCH] watchdog: cadence: Add expire_now method

2021-07-01 Thread Michal Simek
po 28. 6. 2021 v 15:45 odesílatel Michal Simek napsal: > > It is working in a way that only minimal timeout is setup to reach > expiration just right after it is setup. > Please make sure that PMUFW is compiled with ENABLE_EM flag. > > On U-Boot prompt you can test it like: > ZynqMP> wdt dev

Re: [PATCH] arm64: zynqmp: Enable WDT command

2021-07-01 Thread Michal Simek
po 28. 6. 2021 v 15:51 odesílatel Michal Simek napsal: > > Enable watchdog command to be able to work with watchdogs. > > Signed-off-by: Michal Simek > --- > > configs/xilinx_zynqmp_virt_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/xilinx_zynqmp_virt_defconfig >

[PATCH] arm64: rk3399: adjust vdd power layout

2021-07-01 Thread xiaobo
1. R4S passive silent heat dissipation based on metal housing, no active heat dissipation by fan, so PWM-Fan and CPU_Thermal are removed 2. Modify Ethernet1 interface of PCIE0 3. Modify the VCC VDD power layout Signed-off-by: xiaobo --- arch/arm/dts/rk3399-nanopi-r4s.dts | 79

[PATCH] arm64: rk3399: adjust vdd power layout

2021-07-01 Thread xiaobo
1. R4S passive silent heat dissipation based on metal housing, no active heat dissipation by fan, so PWM-Fan and CPU_Thermal are removed 2. Modify Ethernet1 interface of PCIE0 3. Modify the VCC VDD power layout Signed-off-by: xiaobo --- arch/arm/dts/rk3399-nanopi-r4s.dts | 79

[RFC PATCH 27/28] cli: lil: Add a function to quote values

2021-07-01 Thread Sean Anderson
This allows us to convert lil_values into a form which can be re-parsed. We were already doing this for lists, so we just have to expose the inner loop. Signed-off-by: Sean Anderson --- common/cli_lil.c | 89 1 file changed, 52 insertions(+), 37

[RFC PATCH 26/28] cli: lil: Allocate len even when str is NULL in alloc_value_len

2021-07-01 Thread Sean Anderson
This allows us to reserve some space ahead of time, avoiding another alloc/copy/free. Signed-off-by: Sean Anderson --- common/cli_lil.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/common/cli_lil.c b/common/cli_lil.c index 153c34791b..42659920b5 100644 ---

[RFC PATCH 28/28] cli: lil: Load procs from the environment

2021-07-01 Thread Sean Anderson
When we start up the LIL interpreter, go through every variable and see if it looks like a new procedure. If it does, try and parse it. For the return trip, every time that we create a new procedure, create a new global variable containing that procedure. The end result of this is that procedures

[RFC PATCH 25/28] cli: lil: Always quote items in lil_list_to_value

2021-07-01 Thread Sean Anderson
This function took an argument do_quote which determined whether or not to quote an item. All callers set it to true, so remove it and always quote. Signed-off-by: Sean Anderson --- common/cli_lil.c | 34 ++ include/cli_lil.h | 2 +- 2 files changed, 15

[RFC PATCH 24/28] cli: lil: Make proc always take 3 arguments

2021-07-01 Thread Sean Anderson
This rewrites proc to always take 3 arguments. It also adds proper error handling. TCL does not allow for anonymous functions to be created with proc. Allowing for a variable number of arguments makes the code much more complex when adding error handling. Since fnc_proc was the last user of

[RFC PATCH 23/28] cli: lil: Handle OOM for hm_put

2021-07-01 Thread Sean Anderson
hm_put allocates memory, and this can fail. Instead of failing silently, return an error code. This also fixes up callers to handle this error. Signed-off-by: Sean Anderson --- common/cli_lil.c | 47 --- 1 file changed, 32 insertions(+), 15

[RFC PATCH 21/28] cli: lil: Add a distinct parsing step

2021-07-01 Thread Sean Anderson
This adds a parser to LIL (as separate from the interpreter). This is necessary to detect syntax errors before evaluating anything. Before this, running a script like echo some message; echo syntax error} would result in "some message" being printed before the error was discovered. This

[RFC PATCH 22/28] env: Add a priv pointer to hwalk_r

2021-07-01 Thread Sean Anderson
This allows callers of hwalk_r to pass data to their callback. This mirrors e.g. env_attr_walk. Signed-off-by: Sean Anderson --- cmd/nvedit.c | 8 env/callback.c | 4 ++-- env/flags.c | 4 ++-- include/search.h | 2 +- lib/hashtable.c | 5 +++-- 5 files changed, 12

[RFC PATCH 19/28] cli: lil: Add "symbol" structure

2021-07-01 Thread Sean Anderson
We need a generic structure to hold symbols parsed by the parser. We would also like to re-use existing code as much as possible without rewriting everything. To do this, we hijack the allocators for lil_list and lil_value and have them allocate enough space for a lil_symbol. While we're at it,

[RFC PATCH 20/28] cli: lil: Add config to enable debug output

2021-07-01 Thread Sean Anderson
This provides an easy way to enable assertions and debug messages. It will also be used to enable tracing features in future patches. Signed-off-by: Sean Anderson --- cmd/Kconfig | 6 ++ common/Makefile | 3 +++ 2 files changed, 9 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig

  1   2   >