RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support

2020-03-18 Thread Kuldeep Singh
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Wednesday, March 18, 2020 4:22 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Kuldeep Singh > Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support > > >-Original Message- > >From: U-Boot On Behalf

Re: [PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-18 Thread Niel Fourie
Hi Sean, Simon, I will write tests for all of these cases as Simon requested. Thanks, it did not occur to me. On 3/17/20 7:51 PM, Sean Anderson wrote: -void dm_dump_drivers(void) +void dm_dump_driver_compat(void) { struct driver *d = ll_entry_start(struct driver, driver);

Re: [PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-18 Thread Niel Fourie
Hi Tom, On 3/17/20 7:51 PM, Sean Anderson wrote: On 3/17/20 10:09 AM, Niel Fourie wrote: Renamed dm "drivers" subcommand to "compat" (as it listed compatibility strings) and prevent it from segfaulting when drivers have no of_match populated. Added a new "drivers" subcommand to dump a list of

Re: [PATCH v2 0/5] sunxi: SPL SPI booting: Enable R40 and H6 SoCs

2020-03-18 Thread Jagan Teki
On Tue, Jan 28, 2020 at 6:17 AM Andre Przywara wrote: > > This series enables the SPI booting feature for Allwinner R40 and H6 > SoCs. To achieve this, we enable our spl_spi_sunxi.c driver to deal > with those two SoCs. The R40 is pretty straightforward, as it just needs > its base address

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
> Subject: Re: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver > > On Thu, Mar 12, 2020 at 11:24 AM Ioana Ciornei > wrote: > > > > Add a driver for the MDIO interface integrated in the mEMAC > > (Multi-rate Ethernet Media Access Controller) and the Fman 10G Ethernet > MACs. > > > >

[PATCH v2 13/14] configs: ls2088ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2088ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 4 configs/ls2088ardb_qspi_defconfig | 4

[PATCH v2 12/14] configs: ls1088ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/ls1088ardb_qspi_SECURE_BOOT_defconfig| 5 + configs/ls1088ardb_qspi_defconfig| 5 +

[PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
In order to maintain compatibility with the Linux DTS, the entire fsl-mc node is added but instead of being probed by a dedicated bus driver it will be a simple-mfd. Also, annotate the external MDIO nodes and describe the PHYs (4 x AQR405 and 4 x CS4340). Also, add phy-handles for the dpmacs to

[PATCH v2 08/14] arm: dts: ls1088a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls1088a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git

Re: [RFC RFT PATCH] env: spl: filter the variables in default environment of SPL or TPL

2020-03-18 Thread Wolfgang Denk
Dear Patrick, In message <20200318143602.23253-1-patrick.delau...@st.com> you wrote: > Use a new option CONFIG_SPL_ENV_VARS to filter the variables included > in the default environment used in SPL (and TPL). > > That allows to reduce the size of default_environment[]. Sorry, but NAK. we had

[PATCH v2 11/14] arm: dts: ls1088ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
In order to maintain compatibility with the Linux DTS, the entire fsl-mc node is added but instead of being probed by a dedicated bus driver it will be a simple-mfd. Also, annotate the external MDIO nodes and describe the PHYs (8 x VSC8514, AQR105). Also, add phy-handles for the dpmacs to their

RE: [Patch v3 2/2] configs: ls2080ardb: Make BOOT command access flash memory as per spi-mem

2020-03-18 Thread Kuldeep Singh
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Wednesday, March 18, 2020 4:03 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Kuldeep Singh > Subject: RE: [Patch v3 2/2] configs: ls2080ardb: Make BOOT command > access flash memory as per spi-mem > > >-Original

[PATCH v2 03/14] drivers: net: fsl-mc: add support for CONFIG_DM_ETH

2020-03-18 Thread Ioana Ciornei
Make any adjustments necessary in order to support DPAA2 devices probed using CONFIG_DM_ETH. While at it, fixup some styling issues aroung the switch-case statement. Signed-off-by: Ioana Ciornei --- Changes in v2: - none drivers/net/fsl-mc/mc.c | 48 ++---

[PATCH v2 06/14] arm: dts: lx2160a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO device nodes found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-lx2160a.dtsi | 20 1 file changed, 20 insertions(+) diff --git

RE: [Patch v3 1/3] mtd: spi-nor-ids: Enable SPI_NOR_OCTAL_READ flag for mt35xu*

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Saturday, March 14, 2020 6:24 PM >To: Priyanka Jain ; Jagan Teki >; Vignesh R ; u- >b...@lists.denx.de >Cc: Kuldeep Singh >Subject: [Patch v3 1/3] mtd: spi-nor-ids: Enable SPI_NOR_OCTAL_READ flag for >mt35xu* > >Commit

U-CLASS SPI Bus and Devices

2020-03-18 Thread Rudolf J Streif
I ran into an issue today with a U-CLASS SPI NOR flash device on a NXP FlexSPI controller. U-Boot started correctly from the flash device but using 'sf probe 0:0' would always return 'Invalid bus 0 (err=-19)'. This error message is emitted by spi_get_bus_and_cs() in drivers/spi/spi-uclass.c. I

Re: [PATCH 2/5] t210: do not enable PLLE and UPHY PLL HW PWRSEQ

2020-03-18 Thread JC Kuo
Please refer to "Notes" section in p1337 of Tegra_X1_TRM_DP07225001_v1.3p.pdf. There are some implementation considerations for boot software. Thanks, JC On 3/18/20 1:44 AM, Tom Warren wrote: > -Original Message- > From: Stephen Warren > Sent: Tuesday, March 17, 2020 10:30 AM > To: Tom

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
> Subject: RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Thursday, March 12, 2020 9:36 PM > >To: Priyanka Jain ; joe.hershber...@ni.com; u- > >b...@lists.denx.de > >Cc: Florin Laurentiu

[PATCH] dlmalloc: Add an option to default malloc to init

2020-03-18 Thread marek . bykowski
From: Marek Bykowski If a system wants the malloc to get moved around from one to another memory range it should call mem_malloc_init() with the updated memory ranges. However setting aside the new memory alone isn't enough. It should also bring the bins and static bookkeeping data to init. One

Re: [PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-18 Thread Tom Rini
On Wed, Mar 18, 2020 at 01:22:03PM +0100, Niel Fourie wrote: > Hi Tom, > > On 3/17/20 7:51 PM, Sean Anderson wrote: > > On 3/17/20 10:09 AM, Niel Fourie wrote: > > > Renamed dm "drivers" subcommand to "compat" (as it listed > > > compatibility strings) and prevent it from segfaulting when > > >

[PATCH] image-fit: Allow loading FIT image for VxWorks

2020-03-18 Thread Bin Meng
From: Lihua Zhao This adds the check against IH_OS_VXWORKS during FIT image load, to allow loading FIT image for VxWorks. Signed-off-by: Lihua Zhao Signed-off-by: Bin Meng Reviewed-by: Bin Meng --- common/image-fit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

RE: [PATCH v5 00/17] Enable ARM Trusted Firmware for U-Boot

2020-03-18 Thread Ang, Chee Hong
Any comment on this v5 patchsets ? > From: "Ang, Chee Hong" > > v5 changes: > This is another revision without the System Manager driver to handle the > secure/non-secure access. DW MAC and MMC drivers will make direct calls to > the high-level API to ATF if it's running in EL2 on

[PATCH v2 09/14] arm: dts: lx2160ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
In order to maintain compatibility with the Linux DTS, the entire fsl-mc node is added but instead of being probed by a dedicated bus driver it will be a simple-mfd. Also, annotate the EMDIO1 node and describe the 2 AR8035 RGMII PHYs and the 2 AQR107 PHYs. Also, add phy-handles for the dpmacs to

[PATCH v2 14/14] configs: lx2160ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 4 configs/lx2160ardb_tfa_defconfig | 4 2 files changed, 8 insertions(+) diff

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: Ioana Ciornei >Sent: Wednesday, March 18, 2020 5:33 PM >To: Priyanka Jain (OSS) ; >joe.hershber...@ni.com; u-boot@lists.denx.de >Cc: Florin Laurentiu Chiculita ; Madalin >Bucur (OSS) >Subject: RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver >

Re: [RFC 08/14] efi_loader: capsule: support firmware update

2020-03-18 Thread Sughosh Ganu
On Tue, 17 Mar 2020 at 07:42, AKASHI Takahiro wrote: > A capsule tagged with the guid, EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID, > is handled as a firmware update object. > What efi_update_capsule() basically does is to load any firmware management > protocol (or fmp) drivers contained in a

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Thursday, March 12, 2020 9:36 PM >To: Priyanka Jain ; joe.hershber...@ni.com; u- >b...@lists.denx.de >Cc: Florin Laurentiu Chiculita ; Madalin >Bucur (OSS) ; Ioana Ciornei > >Subject: [PATCH 01/14] drivers: net: add

[PATCH] condfigs: ls1046aqds: support distro boot

2020-03-18 Thread Biwen Li
Add support of distro boot for ls1046aqds Signed-off-by: Biwen Li --- include/configs/ls1046a_common.h | 8 +++- include/configs/ls1046aqds.h | 20 +--- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/include/configs/ls1046a_common.h

RE: [PATCH] lx2160a: Add dhcp in boot_targets

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Meenakshi >Aggarwal >Sent: Wednesday, March 11, 2020 8:52 PM >To: u-boot@lists.denx.de; Priyanka Jain >Cc: Meenakshi Aggarwal >Subject: [PATCH] lx2160a: Add dhcp in boot_targets > >Add dhcp in supported boot_targets for lx2160. >

RE: [PATCH] armv8: ls1028a: add dhcp boot target device

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of >andy.t...@nxp.com >Sent: Tuesday, March 10, 2020 9:01 AM >To: Priyanka Jain >Cc: Sudhanshu Gupta ; u-boot@lists.denx.de; >Andy Tang >Subject: [PATCH] armv8: ls1028a: add dhcp boot target device > >From: Yuantian Tang > >Add DHCP boot

RE: [PATCH 02/14] drivers: net: ldpaa: add support for probing based on the DTS

2020-03-18 Thread Ioana Ciornei
> Subject: Re: [PATCH 02/14] drivers: net: ldpaa: add support for probing based > on > the DTS > > On Thu, Mar 12, 2020 at 11:26 AM Ioana Ciornei > wrote: > > > > When CONFIG_DM_ETH is enabled DPAA2 network interfaces will now probe > > based on DTS nodes with the "fsl,qoriq-mc-dpmac"

RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support

2020-03-18 Thread Kuldeep Singh
> -Original Message- > From: Kuldeep Singh > Sent: Wednesday, March 18, 2020 5:15 PM > To: Priyanka Jain (OSS) ; u-boot@lists.denx.de > Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support > > > > > -Original Message- > > From: Priyanka Jain (OSS) > > Sent:

[PATCH] configs: a64-olinuxino-emmc: add eMMC boot part config commands

2020-03-18 Thread Petr Štetiar
mmc bootbus and partconf commands are needed in order to be able to configure booting from separate boot0/boot1 eMMC partitions. Signed-off-by: Petr Štetiar --- configs/a64-olinuxino-emmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/a64-olinuxino-emmc_defconfig

[RFC RFT PATCH] env: spl: filter the variables in default environment of SPL or TPL

2020-03-18 Thread Patrick Delaunay
Use a new option CONFIG_SPL_ENV_VARS to filter the variables included in the default environment used in SPL (and TPL). That allows to reduce the size of default_environment[]. If the new configuration flags CONFIG_SPL_ENV_VARS is - "" the default environment is empty (default) - list of

[PATCH v2 05/14] board: ls2088ardb: transition to DM_ETH

2020-03-18 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - used the positive logic

[PATCH v2 02/14] drivers: net: ldpaa: add support for probing based on the DTS

2020-03-18 Thread Ioana Ciornei
When CONFIG_DM_ETH is enabled DPAA2 network interfaces will now probe based on DTS nodes with the "fsl,qoriq-mc-dpmac" compatible. In this case, transform the ldpaa_eth driver into a UCLASS_ETH driver and reuse the _open()/_tx()/_stop() functions already inplemented. For the moment, the ldpaa_eth

[PATCH v2 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
Add a driver for the MDIO interface integrated in the mEMAC (Multi-rate Ethernet Media Access Controller) and the Fman 10G Ethernet MACs. Signed-off-by: Ioana Ciornei --- Changes in v2: - refactor the mdio read/write code for code reuse drivers/net/Kconfig | 7 ++ drivers/net/Makefile

[PATCH v2 07/14] arm: dts: ls2088a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls2080a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v2 04/14] board: ls1088ardb: transition to DM_ETH

2020-03-18 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - none

[PATCH v2 00/14] net: ldpaa_eth: transition to CONFIG_DM_ETH

2020-03-18 Thread Ioana Ciornei
This patch set targets to add support for CONFIG_DM_ETH in DPAA2 based SoCs. We start by adding a DM MDIO driver for the MDIO interface found on the mEMAC. The next two patches start the transition of the ldpaa_eth and fsl-mc drivers towards using the 'struct udevice' and probing on DTS nodes.

Re: [RFC 11/14] efi_loader: variable: export variables table for runtime access

2020-03-18 Thread Sughosh Ganu
On Tue, 17 Mar 2020 at 07:42, AKASHI Takahiro wrote: > There are platforms on which OS's won't be able to access UEFI variables > at runtime (i.e. after ExitBootServices). > With this patch, all the UEFI variables are exported as a configuration > table so as to enable retrieving variables'

Re: [GIT PULL] TI changes for next branch targeting v2020.07

2020-03-18 Thread Tom Rini
On Tue, Mar 17, 2020 at 01:39:45PM +0530, Lokesh Vutla wrote: > Hi Tom, > > Please find the pull request for next branch targeting v2020.07 merge window > containing TI specific changes. > > Gitlab build tests: > https://gitlab.denx.de/u-boot/custodians/u-boot-ti/pipelines/2444 > > Thanks and

Re: [U-Boot] Please pull from u-boot-i2c/next

2020-03-18 Thread Tom Rini
On Tue, Mar 17, 2020 at 06:26:28AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c next > > There is patch "[v2] bootcounter: add DM support for memory based bootcounter" > http://patchwork.ozlabs.org/patch/1247674/ > > which was assigned to me, not really i2c

Re: [PATCH 0/2] sunxi: clean up defconfig files

2020-03-18 Thread Jagan Teki
On Thu, Feb 20, 2020 at 11:21 PM Andre Przywara wrote: > > With some recent additions and some old cruft, there are some config > options that were defined in *almost* every board defconfig file for > Allwinner SoCs. > This "almost" seems to point to bugs, either those options were missed by >

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-03-18 Thread Tom Rini
On Tue, Mar 17, 2020 at 04:03:57PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - Fix sbi_remote_sfence_vma{,_asid}. > - Avoid calling sbi_clear_ipi(). > - Add new SBI v0.2 extensions support. > >

Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (4)

2020-03-18 Thread Tom Rini
On Wed, Mar 18, 2020 at 10:34:44AM +0100, Heinrich Schuchardt wrote: > The following changes since commit a4df9d8ab848ea4ff10b247ae435b0a14bbbd066: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell > (2020-03-16 12:33:24 -0400) > > are available in the Git repository at: > >

Re: Pull request: u-boot-sunxi/master

2020-03-18 Thread Tom Rini
On Wed, Mar 18, 2020 at 03:42:40PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit a4df9d8ab848ea4ff10b247ae435b0a14bbbd066: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell (2020-03-16 > 12:33:24

[PATCH v3 21/23] travis/gitlab/azure: Simplify the exit code for test.py

2020-03-18 Thread Simon Glass
It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update travis, azure also .azure-pipelines.yml | 4 .gitlab-ci.yml | 6 +-

[PATCH v3 23/23] test/py: Allow using buildman to build U-Boot

2020-03-18 Thread Simon Glass
It is a pain to have to set the CROSS_COMPILE environment variable when using test.py's --build option. It is possible to get this using the -A option from buildman. But it seems better to just use buildman to do the build when it is available. However using buildman adds a new dependency to the

RE: [PATCH v4 3/3] env: Add CONFIG_ENV_FULL_SUPPORT

2020-03-18 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: jeudi 3 octobre 2019 09:24 > To: u-boot@lists.denx.de > > Add a new flag CONFIG_ENV_FULL_SUPPORT to compile all > the environment features (attributes, callbacks > and flags) in U-Boot, TPL and SPL. > > This flag replace the existing flags for SPL and TPL >

[PATCH v2 00/14] vboot: Fix forged-configuration vulnerability

2020-03-18 Thread Simon Glass
When booting a FIT, if 'bootm' is used without a specified configuration, U-Boot will use the default one provided in the FIT. But it does not actually check that the signature is for that configuration. This means that it is possible to duplicate a configuration conf-1 to produce conf-2 (with

[PATCH v2 01/14] image: Correct comment for fit_conf_get_node()

2020-03-18 Thread Simon Glass
This should mention that conf_uname can be NULL and should be in the header file. Fix this. Signed-off-by: Simon Glass --- Changes in v2: None common/image-fit.c | 18 -- include/image.h| 20 2 files changed, 20 insertions(+), 18 deletions(-) diff

[PATCH v2 02/14] image: Be a little more verbose when checking signatures

2020-03-18 Thread Simon Glass
It is useful to be a little more specific about what is being checked. Update a few messages to help with this. Signed-off-by: Simon Glass --- Changes in v2: None common/image-fit.c | 2 +- tools/image-host.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [RFC 03/14] efi_loader: export a couple of protocol related functions

2020-03-18 Thread Heinrich Schuchardt
On 3/17/20 3:12 AM, AKASHI Takahiro wrote: This is a preparatory patch. Those functions will be used in an implementation of UEFI firmware management protocol as part of my capsule update patch. Signed-off-by: AKASHI Takahiro Merged into U-Boot master Best regards Heinrich

[PATCH v6 08/12] arm: dts: actions: s700: add u-boot specific dtsi file

2020-03-18 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added reviwed-by tag. Changes since v4: * Moved it

[PATCH v6 05/12] arm: dts: actions: s900: add u-boot specific dtsi file

2020-03-18 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. This patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * No changes. Changes since v4: * This patch is

[PATCH v6 07/12] arm: actions: add S700 SoC device tree

2020-03-18 Thread Amit Singh Tomar
This patch adds .dtsi file(sync with Linux 5.5-rc6 with hash "b3a987b0264d") and required binding for S700 SoC that is a 64-bit Quad-core ARM Cortex-A53 cores. It also provisions dts file to be built based on selected platform(CONFIG_MACH_S900/S700). Reviewed-by: Andre Przywara Signed-off-by:

[PATCH v6 12/12] doc: boards: add Cubieboard7 documentation

2020-03-18 Thread Amit Singh Tomar
This adds build and flash steps for Actions S700 based Cubieboard7 board. Signed-off-by: Amit Singh Tomar --- Changes since v5: * No changes. Changes since v4: * No changes. Changes since v3: * Convert plain text documentation to reStructuredText format. Changes since v2:

Re: [PATCH v2 12/14] image: Use constants for 'required' and 'key-name-hint'

2020-03-18 Thread Philippe REYNES
> Objet: [PATCH v2 12/14] image: Use constants for 'required' and > 'key-name-hint' > These are used in multiple places so update them to use a shared #define. > > Signed-off-by: Simon Glass Reviewed-by: Philippe Reynes > --- > > Changes in v2: None > > common/image-cipher.c | 2 +- >

[PATCH v6 10/12] actions: Move defconfig options to Kconfig

2020-03-18 Thread Amit Singh Tomar
This patch moves some of the config options from bubblegum_96_defconfig to platform specific Kconfig file. Signed-off-by: Amit Singh Tomar --- Changes since v5: * Newly added patch, was not there in earlier versions. --- arch/arm/mach-owl/Kconfig | 16

[PATCH v6 09/12] arm: add support Actions Semi S700

2020-03-18 Thread Amit Singh Tomar
This patch adds basic support for Actions Semi based S700 SoC, which is driven by common owl framework. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added reviewed-by tag. Changes since v4: * Moved it to 09/11 to 04/11. Changes since v3:

[PATCH v6 11/12] arm: add Cubieboard7 board support

2020-03-18 Thread Amit Singh Tomar
The Cubieboard is a single board computer containing a Actions S700 SoC(with 4 ARMv8 Cortex-A53 cores). This patch adds respective defconfig alongwith .dts(copied from Linux v5.5-rc6 with hash "b3a987b0264d"). Signed-off-by: Amit Singh Tomar --- Changes since v5: * Trimmed of the

[PATCH v3 10/23] travis: Don't copy files into .bm-work/

2020-03-18 Thread Simon Glass
At present if TEST_PY_BD is empty the script copies various files into a directory, to no purpose. This happens because UBOOT_TRAVIS_BUILD_DIR is set before TEST_PY_BD is tested. Move the 'if' to fix this. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add a new patch to

[PATCH v3 05/23] buildman: Update help for -d

2020-03-18 Thread Simon Glass
This help is a bit ambiguous. It only does anything if asked to show size changes with -S. Update the help and the function comments. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Reword the commit message for clarity tools/buildman/builder.py | 6 +++---

[PATCH v3 07/23] buildman: Be more selective about which directories to remove

2020-03-18 Thread Simon Glass
At present buildman removes any directory it doesn't intend to write output into. This is overly expansive since if the output directory happens to be somewhere with existing files, they may be removed. Using an existing directory for buildman is not a good practice, but since the result might be

[PATCH v3 12/23] gitlab/azure: Use the -w option for sandbox_spl

2020-03-18 Thread Simon Glass
Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This does not affect travis since the previous commit already used the -w flag. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update azure also .azure-pipelines.yml | 4 ++--

[PATCH v3 11/23] travis: Split the building into two parts

2020-03-18 Thread Simon Glass
Buildman is used in two ways: - to build a selection of boards (with no testing) - to build a single board (and run pytest) The gitlab and azure scrips do this in separate places, but travis does not. To aid the refactoring process and keep the following patches in sync across all three

[PATCH v3 09/23] buildman: Drop the -a option

2020-03-18 Thread Simon Glass
There is no point in setting the ARCH environment variable since the U-Boot build system no-longer uses it. It seems safe to drop this feature since it was only recently added. Signed-off-by: Simon Glass --- Changes in v3: - Drop mention of -a in the README also Changes in v2: - Add a new

[PATCH v3 15/23] travis/gitlab/azure: Drop the buildman -d flag

2020-03-18 Thread Simon Glass
This has no effect since -S is not given also. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update travis, azure also .azure-pipelines.yml | 4 ++-- .gitlab-ci.yml | 10 +- .travis.yml | 4 ++-- 3 files changed, 9 insertions(+), 9

[PATCH v3 13/23] travis/gitlab/azure: Use --board buildman flag with test.py

2020-03-18 Thread Simon Glass
The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass --- Changes in v3: None

[PATCH v3 16/23] gitlab/azure: Drop unnecessary if..fi when using test.py

2020-03-18 Thread Simon Glass
Since TEST_PY_BD is always defined we can drop this check. This does not affect travis since it has a single, unified script. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update azure also .azure-pipelines.yml | 22 +- .gitlab-ci.yml | 30

RE: [PATCH 1/2] mmc: t210: Add autocal and tap/trim updates for SDMMC1/3

2020-03-18 Thread Tom Warren
[Tom] see below -Original Message- From: Jaehoon Chung Sent: Tuesday, March 17, 2020 4:48 PM To: Tom Warren ; u-boot@lists.denx.de Subject: Re: [PATCH 1/2] mmc: t210: Add autocal and tap/trim updates for SDMMC1/3 External email: Use caution opening links or attachments On 3/17/20

U-CLASS SPI Bus and Devices

2020-03-18 Thread Rudolf J Streif
I ran into an issue today with a U-CLASS SPI NOR flash device on a NXP FlexSPI controller. U-Boot started correctly from the flash device but using 'sf probe 0:0' would always return 'Invalid bus 0 (err=-19)'. This error message is emitted by spi_get_bus_and_cs() in drivers/spi/spi-uclass.c. I

[PATCH v2] powerpc: allow opting out of WATCHDOG_RESET() from timer interrupt

2020-03-18 Thread Rasmus Villemoes
When using CONFIG_(SPL_)WDT, the watchdog_reset function is a lot more complicated than just poking a few SOC-specific registers - it involves accessing all kinds of global data, and if the interrupt happens at the wrong time (say, in the middle of an WATCHDOG_RESET() call from ordinary code),

[PATCH v3 14/23] travis/gitlab/azure: Drop BUILDMAN variable with test.py

2020-03-18 Thread Simon Glass
This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by: Simon Glass --- Changes in v3: None Changes in

[PATCH v3 17/23] gitlab/azure: Use -w flag for all test.py builds

2020-03-18 Thread Simon Glass
Avoid needing to know about the internal .bm-work directory, by passing the -w flag to buildman. This is not needed on travis since the -w flag is already used (from a previous patch). Drop the -P flag since this has no effect if -w is used. Signed-off-by: Simon Glass --- Changes in v3: None

[PATCH v3 18/23] travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist

2020-03-18 Thread Simon Glass
Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by: Simon Glass ---

[PATCH v3 22/23] travis/gitlab/azure: Drop repeated buildman call with test.py

2020-03-18 Thread Simon Glass
It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by: Simon Glass --- Changes in

[PATCH v3 20/23] travis/gitlab/azure: Enable test_handoff

2020-03-18 Thread Simon Glass
Ensure that this SPL test runs on gitlab. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update travis, azure also .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- .travis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v3 19/23] travis/gitlab/azure: Use -W to avoid warnings check

2020-03-18 Thread Simon Glass
We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: = WARNING == This board does not use

Antwort: [PATCH v2 32/39] irq: Add a method to convert an interrupt to ACPI

2020-03-18 Thread Wolfgang Wallner
Hi Simon, I'm resending this mail, as my email client has broken the formating in the first attempt, sorry. "Simon Glass" schrieb am 09.03.2020 04:44:56: > Von: "Simon Glass" > An: "U-Boot Mailing List" , > Kopie: "Bin Meng" , "Wolfgang Wallner" > , "Andy Shevchenko" > , "Simon Glass" >

Re: [RFC 04/14] efi_loader: correct a definition of struct efi_capsule_header

2020-03-18 Thread Heinrich Schuchardt
On 3/17/20 3:12 AM, AKASHI Takahiro wrote: See UEFI specification, section 8.5.3. In addition, the structure, efi_capsule_header, should be "packed" as it is a serialized binary format in a capsule file. Signed-off-by: AKASHI Takahiro Merged into U-Boot master. Best regards Heinrich

[PATCH v6 04/12] arm: dts: sync dts for Action Semi S900

2020-03-18 Thread Amit Singh Tomar
Synchronize device tree bindings with v5.5-rc6 tag with commit id "b3a987b0264d". Also, it removes older clock binding defined for S900 along with undocumented compatible string "actions,s900-serial" from serial driver and adapts clock driver to cater to new bindings. Signed-off-by: Amit Singh

[PATCH v6 01/12] arm: actions: Add common framework for Actions Owl Semi SoCs

2020-03-18 Thread Amit Singh Tomar
This commit adds common arch support for Actions Semi Owl series SoCs and removes the Bubblegum96 board files. Signed-off-by: Amit Singh Tomar --- Chanes since v5: * No change. Chanes since v4: * No change. Changes since v3: * Corrected the file list entry in MAINTAINERS

[PATCH v6 03/12] serial: actions: add compatible string

2020-03-18 Thread Amit Singh Tomar
This patch adds "actions,owl-uart" string to the owl uart driver. It is also defined in Linux kernel. Signed-off-by: Amit Singh Tomar --- Changes since v5: * Moved it to from 06/11 to 03/11. * Used appropriate commit message. * Removed the reviwed-by tag. Changes since

[PATCH v6 06/12] clk: actions: Add common clock driver

2020-03-18 Thread Amit Singh Tomar
This patch converts S900 clock driver to something common that can be used for other SoCs, for instance S700(few of clk registers are same). Signed-off-by: Amit Singh Tomar --- Changes since v5: * Removed the white space errors from "clk_owl.h". Changes since v4: * Removed

[PATCH v6 02/12] arm: actions: rename sysmap-s900 to sysmap-owl

2020-03-18 Thread Amit Singh Tomar
Now that memory maps(for both S700 and S900 SoCs) can be managed using a common file, rename sysmap-s900 to sysmap-owl to reflect the same. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * No changes. Changes since v4: * No changes.

Re: [RFC PATCH v2] cmd: mp: change the command name from cpu to mp

2020-03-18 Thread Bin Meng
On Sat, Mar 14, 2020 at 10:50 PM Pragnesh Patel wrote: > > When CONFIG_CMD_CPU and CONFIG_MP both are enabled, U-Boot compilation > gives an error of "multiple definition of `_u_boot_list_2_cmd_2_cpu'" > so cpu command(cmd/cpu.c) and mp command(cmd/mp.c) should have different > command name. > >

[PATCH v3 06/23] buildman: Allow ignoring warnings in the return code

2020-03-18 Thread Simon Glass
Sometimes we don't want buildman to return failure if it seems warnings. Add a -W option to support this. If buildman detects warnings (and no errors) it will return an exit code of 0 (success). Note that the definition of 'warnings' includes the migration warnings produced by U-Boot, such as:

[PATCH v3 03/23] buildman: Document the members of BuilderJob

2020-03-18 Thread Simon Glass
This class has a few more members now. Add documentation for them and fix a nit in the 'commits' comment. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None tools/buildman/builderthread.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v3 02/23] main: Drop show_boot_progress() prototype

2020-03-18 Thread Simon Glass
This is defined in bootstage.h and is not called in this file anyway. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None common/main.c | 5 - 1 file changed, 5 deletions(-) diff --git a/common/main.c b/common/main.c index ec8994ad45..06d7ff56d6 100644 ---

[PATCH v3 04/23] bulidman: Add support for a simple build

2020-03-18 Thread Simon Glass
It is useful to run a simple build and put all the output in a single directory. Add a -w option to support this. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None tools/buildman/README | 11 ++ tools/buildman/builder.py | 15 +++--

[PATCH v3 00/23] gitlab: Simplify the test script

2020-03-18 Thread Simon Glass
At present there are several things in the gitlab, travis and azure scripts which work around limitations in buildman. With a few small feature additions these can be removed. This series adds some new features to buildman and simplifies the script: - Option to run a single build in a specified

[PATCH v3 01/23] sandbox: Add documentation about required/useful packages

2020-03-18 Thread Simon Glass
Quite a few packages are used by sandbox or tools. Add a list of these to help people setting up for the first time. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None doc/arch/sandbox.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/arch/sandbox.rst

[PATCH v3 08/23] buildman: Allow building within a subdir of the current dir

2020-03-18 Thread Simon Glass
This is useful in some situations, in particular with -w and when building in-tree. Now that we are more careful about what we remove in _PrepareOutputSpace(), it should be safe to relax this restriction. Update the progress information also so it is clear what buildman is doing. Remove files can

RE: [RFC RFT PATCH] env: spl: filter the variables in default environment of SPL or TPL

2020-03-18 Thread Patrick DELAUNAY
Hi Wolfgang, > From: Wolfgang Denk > Sent: mercredi 18 mars 2020 15:51 > To: Patrick DELAUNAY > Cc: u-boot@lists.denx.de; Bin Meng ; Fabio Estevam > ; Heinrich Schuchardt ; Jagan > Teki ; Joe Hershberger > ; Kever Yang ; Marek > Vasut ; Simon Glass ; U-Boot STM32 > > Subject: Re: [RFC RFT

Antwort: [PATCH v2 33/39] acpi: Add support for SSDT generation

2020-03-18 Thread Wolfgang Wallner
Hi Simon, "Simon Glass" schrieb am 09.03.2020 04:44:57: > Betreff: [PATCH v2 33/39] acpi: Add support for SSDT generation > > Some devices need to generate code for the Secondary System Descriptor > Table (SSDT). Add a method to handle this. > > Signed-off-by: Simon Glass > --- > > Changes

[PATCH v6 00/12] Actions S700 SoC support

2020-03-18 Thread Amit Singh Tomar
This adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC with Cortex-A53 cores. Peripheral like UART seems to be compatible with S900 SoC(basic support for it is alreay present in u-boot). This series(v6) does following changes: * [PATCH v5 06/11] becomes

Re: [PATCH v3 2/5] cmd: bootefi: Parse reserved-memory node from DT

2020-03-18 Thread Heinrich Schuchardt
On 3/17/20 11:01 PM, Heinrich Schuchardt wrote: On 3/17/20 10:19 PM, Atish Patra wrote: Currently, bootefi only parses memory reservation block to setup EFI reserved memory mappings. However, it doesn't parse the reserved-memory[1] device tree node that also can contain the reserved memory

[PATCH] menu: add support for client defined statusline function

2020-03-18 Thread Thirupathaiah Annapureddy
Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that

  1   2   3   >