Re: [PATCH v3 1/2] mtd: rawnand: ca_nand: add Cortina Access Parallel NAND controller support

2020-06-03 Thread Miquel Raynal
Hi Alex, Alex Nemirovsky wrote on Wed, 3 Jun 2020 07:23:23 +: > Hi Miquel, > > still not clear what you would like us to do about the length of the driver. Stop duplicating the whole logic present in the core: - nand reset - nand identification - bad block handling -

RE: [PATCHv4 3/3] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2020-06-03 Thread Z.q. Hou
Hi Jagan, Thanks a lot for your comments! > -Original Message- > From: Jagan Teki [mailto:ja...@amarulasolutions.com] > Sent: 2020年6月3日 15:39 > To: Z.q. Hou > Cc: Tom Rini ; U-Boot-Denx ; > Lokesh Vutla ; Andrew F Davis ; Heiko > Schocher ; Simon Glass ; Feng Li > ; Alison Wang ; Sumit

Re: [PATCHv4 3/3] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2020-06-03 Thread Lukasz Majewski
Hi Jagan, > On Wed, Jun 3, 2020 at 12:31 AM Tom Rini wrote: > > > > On Wed, Jun 03, 2020 at 12:10:30AM +0530, Jagan Teki wrote: > > > On Tue, Jun 2, 2020 at 11:57 PM Tom Rini > > > wrote: > > > > > > > > On Tue, Jun 02, 2020 at 06:59:21PM +0530, Jagan Teki wrote: > > > > > On Tue, Jun 2,

[u-boot PATCH] phy: omap-usb2-phy: disable phy charger detect

2020-06-03 Thread Roger Quadros
From: Bin Liu AM654x PG1.0 has a silicon bug that D+ is pulled high after POR, which could cause enumeration failure with some USB hubs. Disabling the USB2_PHY Charger Detect function will put D+ into the normal state. Using property "ti,dis-chg-det-quirk" in the DT usb2-phy node to enable

[PATCH v2 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Alex Nemirovsky
From: Aaron Tseng Add Cortina Access Ethernet device driver for CA SoCs. This driver supports both legacy and DM_ETH network models. Signed-off-by: Aaron Tseng Signed-off-by: Alex Nemirovsky CC: Joe Hershberger CC: Abbie Chang CC: Tom Rini --- Changes in v2: - Remove legacy mode

[PATCH v2 2/2] board: presidio-asic: Add CAxxxx Ethernet support

2020-06-03 Thread Alex Nemirovsky
Add CA Ethernet support for the Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky --- Changes in v2: None arch/arm/dts/ca-presidio-engboard.dts| 7 +++ board/cortina/presidio-asic/presidio.c | 21 +

Re: [PATCH v1 00/15] add basic driver support for broadcom NS3 soc

2020-06-03 Thread Rayagonda Kokatanur
Hi Simon, On Wed, May 20, 2020 at 7:50 PM Simon Glass wrote: > > Hi Rayagonda, > > On Tue, 19 May 2020 at 23:19, Rayagonda Kokatanur > wrote: > > > > Hi Thomas, > > > > On Wed, May 20, 2020 at 7:34 AM Thomas Fitzsimmons > > wrote: > > > > > > Rayagonda Kokatanur writes: > > > > > > > On Tue,

Antwort: [PATCH v2 20/35] acpi: Support writing a GPIO

2020-06-03 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" schrieb: - > Betreff: [PATCH v2 20/35] acpi: Support writing a GPIO > > Allowing writing out a reference to a GPIO within the ACPI output. This > can be used by ACPI code to access a GPIO at runtime. > > Signed-off-by: Simon Glass > --- > > Changes in v2:

Re: [PATCHv2 01/36] dm: spi: Convert Freescale ESPI driver to driver model

2020-06-03 Thread Jagan Teki
On Wed, Jun 3, 2020 at 7:33 AM Z.q. Hou wrote: > > Hi Jagan, > > Thanks a lot for your comments! > > > -Original Message- > > From: Jagan Teki > > Sent: 2020年6月3日 3:29 > > To: Z.q. Hou > > Cc: U-Boot-Denx ; Priyanka Jain > > ; Shengzhou Liu ; Simon > > Glass ; Biwen Li ; Bin Meng > > ;

Re: [PATCH] doc: board: xilinx: zynq.rst: add description how to flash a SD card

2020-06-03 Thread Michal Simek
On 03. 06. 20 11:01, Johannes Krottmayer wrote: > On 03.06.20 at 08:23, Michal Simek wrote: >> On 02. 06. 20 17:55, Johannes Krottmayer wrote: >>> Add a short description in the ZYNQ documentation how to prepare a SD card >>> and >>> copy the related images to SD card. >>> >>> I think, it's

Re: [PATCH v2 21/35] acpi: Support copying properties from device tree to ACPI

2020-06-03 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" schrieb: - > Betreff: [PATCH v2 21/35] acpi: Support copying properties from device tree > to ACPI > > Some drivers in Linux support both device tree and ACPI. U-Boot itself > uses Linux device-tree bindings for its own configuration but does not use > ACPI. >

RE: [PATCHv4 1/3] spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)

2020-06-03 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Zhiqiang Hou >Sent: Tuesday, June 2, 2020 6:41 PM >To: u-boot@lists.denx.de; lokeshvu...@ti.com; a...@ti.com; h...@denx.de; >s...@chromium.org; feng.l...@nxp.com; Alison Wang >; sumit.g...@nxp.com; >eugen.hris...@microchip.com;

Re: [PATCH v3 1/2] mtd: rawnand: ca_nand: add Cortina Access Parallel NAND controller support

2020-06-03 Thread Miquel Raynal
Hi Jason, Jason Li wrote on Wed, 3 Jun 2020 01:55:22 +: > Hi Miquel/Tom, > > >> Hi Alex, > >> > >> Alex Nemirovsky wrote on Mon, 1 > >> Jun 2020 14:26:49 -0700: > >> > >> > From: Jason Li > >> > > >> > Supports all CA SoCs which support a parallel nand controller. > >> > It

Re: [PATCHv4 3/3] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2020-06-03 Thread Jagan Teki
On Wed, Jun 3, 2020 at 7:16 AM Z.q. Hou wrote: > > Hi Tom and Jagan, > > Thanks a lot for your comments! > > > -Original Message- > > From: Tom Rini > > Sent: 2020年6月3日 3:02 > > To: Jagan Teki ; Z.q. Hou > > > > Cc: U-Boot-Denx ; Lokesh Vutla > > ; Andrew F Davis ; Heiko Schocher > > ;

Re: [PATCH v3 1/2] mtd: rawnand: ca_nand: add Cortina Access Parallel NAND controller support

2020-06-03 Thread Alex Nemirovsky
Hi Miquel, > On Jun 3, 2020, at 12:37 AM, Miquel Raynal wrote: > > Hi Alex, > > Alex Nemirovsky wrote on Wed, 3 > Jun 2020 07:23:23 +: > >> Hi Miquel, >> >> still not clear what you would like us to do about the length of the driver. > > Stop duplicating the whole logic present in

[PATCH v3 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Alex Nemirovsky
From: Aaron Tseng Add Cortina Access Ethernet device driver for CA SoCs. This driver supports only the DM_ETH network model. Signed-off-by: Aaron Tseng Signed-off-by: Alex Nemirovsky CC: Joe Hershberger CC: Abbie Chang CC: Tom Rini --- Changes in v3: - Changed commit comment to

[PATCH v3 2/2] board: presidio-asic: Add CAxxxx Ethernet support

2020-06-03 Thread Alex Nemirovsky
Add CA Ethernet support for the Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky --- Changes in v3: None Changes in v2: None arch/arm/dts/ca-presidio-engboard.dts| 7 +++ board/cortina/presidio-asic/presidio.c | 21 +

Video support question

2020-06-03 Thread Yusuf Altıparmak
Hello, I am using 1042rdb to have graphical output from E9171. For ATI GPU's, these steps are setting a gpu environment for U-boot include/configs/T104xRDB.h +/* Video */ +#define CONFIG_VIDEO +#define VIDEO_IO_OFFSET +#if defined(CONFIG_VIDEO) +#define CONFIG_BIOSEMU +#define

[PATCH v2] doc: board: xilinx: zynq.rst: add description how to flash a SD card

2020-06-03 Thread Johannes Krottmayer
Add a short description in the ZYNQ documentation how to prepare a SD card and copy the related images to SD card. Signed-off-by: Johannes Krottmayer Cc: Michal Simek --- Changes for v2 - added missing partition number in mount command I think, it's necessary for the documentation to avoid

Re: [PATCH v3 1/2] mtd: rawnand: ca_nand: add Cortina Access Parallel NAND controller support

2020-06-03 Thread Miquel Raynal
Hi Alex, Alex Nemirovsky wrote on Wed, 3 Jun 2020 00:25:53 +: > > On Jun 2, 2020, at 12:20 AM, Miquel Raynal > > wrote: > > > > Hi Alex, > > > > Alex Nemirovsky wrote on Mon, 1 > > Jun 2020 14:26:49 -0700: > > > >> From: Jason Li > >> > >> Supports all CA SoCs which support a

Re: [PATCH v3 1/2] mtd: rawnand: ca_nand: add Cortina Access Parallel NAND controller support

2020-06-03 Thread Alex Nemirovsky
Hi Miquel, still not clear what you would like us to do about the length of the driver. > On Jun 3, 2020, at 12:21 AM, Miquel Raynal wrote: > > Hi Alex, > > Alex Nemirovsky wrote on Wed, 3 > Jun 2020 00:25:53 +: > >>> On Jun 2, 2020, at 12:20 AM, Miquel Raynal >>> wrote: >>> >>> Hi

[PATCH v4 2/2] board: presidio-asic: Add CAxxxx Ethernet support

2020-06-03 Thread Alex Nemirovsky
Add CA Ethernet support for the Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky --- Changes in v4: - Remove NI ENEt Driver legacy mode support Changes in v3: None Changes in v2: None arch/arm/dts/ca-presidio-engboard.dts| 7 +++

[PATCH v4 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Alex Nemirovsky
From: Aaron Tseng Add Cortina Access Ethernet device driver for CA SoCs. This driver supports only the DM_ETH network model. Signed-off-by: Aaron Tseng Signed-off-by: Alex Nemirovsky CC: Joe Hershberger CC: Abbie Chang CC: Tom Rini --- Changes in v4: None Changes in v3: - Changed

RE: [PATCHv4 1/3] spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)

2020-06-03 Thread Z.q. Hou
Hi Priyanka, Thanks a lot for your comments! > -Original Message- > From: Priyanka Jain (OSS) > Sent: 2020年6月3日 15:20 > To: Z.q. Hou ; u-boot@lists.denx.de; > lokeshvu...@ti.com; a...@ti.com; h...@denx.de; s...@chromium.org; > feng.l...@nxp.com; Alison Wang ; > sumit.g...@nxp.com;

Re: [PATCH] doc: board: xilinx: zynq.rst: add description how to flash a SD card

2020-06-03 Thread Johannes Krottmayer
On 03.06.20 at 08:23, Michal Simek wrote: > On 02. 06. 20 17:55, Johannes Krottmayer wrote: >> Add a short description in the ZYNQ documentation how to prepare a SD card >> and >> copy the related images to SD card. >> >> I think, it's necessary for the documentation to avoid such user

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

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 12:19:32AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - H6 emac support > - USB PHY H6 logic alignment > > Travis-CI: > https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi > > The following changes since commit

Re: [PATCH 4/4] crypto/fsl: add RNG support

2020-06-03 Thread Horia Geantă
On 6/3/2020 1:06 AM, Michael Walle wrote: > Register the random number generator with the rng subsystem in u-boot. > This way it can be used by EFI as well as for the 'rng' command. > I am trying to understand what's expected from UCLASS_RNG... UEFI spec mentions: <> lib/efi_loader/efi_rng.c

Re: [PATCH 1/1] sunxi: CONFIG_INIT_SP_RELATIVE=y for Pine64 LTS

2020-06-03 Thread Heinrich Schuchardt
On 6/3/20 6:31 PM, André Przywara wrote: > On 03/06/2020 16:47, Heinrich Schuchardt wrote: > > Hi Heinrich, > >> On 03.06.20 01:46, André Przywara wrote: >>> On 02/06/2020 20:55, Tom Rini wrote: >>> >>> Hi, >>> On Tue, Jun 02, 2020 at 09:45:25PM +0200, Heinrich Schuchardt wrote: > On

Re: [PATCH 2/4] crypto/fsl: export caam_get_era()

2020-06-03 Thread Horia Geantă
On 6/3/2020 1:06 AM, Michael Walle wrote: > We need the era in other modules, too. For example, to get the RNG > version. > > Signed-off-by: Michael Walle Reviewed-by: Horia Geantă Thanks, Horia

Pull request for UEFI sub-system for efi-2020-07-rc4

2020-06-03 Thread Heinrich Schuchardt
The following changes since commit ecd4d99f654f3f7bfb96001891d69c3125e70b69: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-06-01 23:34:18 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-07-rc4 for you to

Re: [PATCH 4/4] crypto/fsl: add RNG support

2020-06-03 Thread Michael Walle
Hi Horia, Hi Heinrich, thanks for reviewing. Am 2020-06-03 19:35, schrieb Heinrich Schuchardt: On 6/3/20 6:50 PM, Horia Geantă wrote: On 6/3/2020 1:06 AM, Michael Walle wrote: Register the random number generator with the rng subsystem in u-boot. This way it can be used by EFI as well as

Re: [PATCH 1/1] sunxi: CONFIG_INIT_SP_RELATIVE=y for Pine64 LTS

2020-06-03 Thread André Przywara
On 03/06/2020 16:47, Heinrich Schuchardt wrote: Hi Heinrich, > On 03.06.20 01:46, André Przywara wrote: >> On 02/06/2020 20:55, Tom Rini wrote: >> >> Hi, >> >>> On Tue, Jun 02, 2020 at 09:45:25PM +0200, Heinrich Schuchardt wrote: On 6/2/20 5:51 PM, Tom Rini wrote: > On Sun, May 31, 2020

Re: [PATCH v4 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Alex Nemirovsky
Hi Tom, > On Jun 3, 2020, at 8:03 AM, Tom Rini wrote: > > On Wed, Jun 03, 2020 at 01:05:18AM -0700, Alex Nemirovsky wrote: >> From: Aaron Tseng >> >> Add Cortina Access Ethernet device driver for CA SoCs. >> This driver supports only the DM_ETH network model. >> >> Signed-off-by: Aaron

[PATCH v5 6/6] config: Enable support for the XHCI controller on RPI4 board

2020-06-03 Thread Marek Szyprowski
This requires enabling BRCMSTB PCIe and XHCI_PCI drivers as well as PCI and USB commands. To get it working one has to call the following commands: "pci enum; usb start;", thus such commands have been added to the default "preboot" environment variable. One has to update their environment if it is

Re: [PATCH v2 22/35] acpi: Add support for various misc ACPI opcodes

2020-06-03 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" schrieb: - > Betreff: [PATCH v2 22/35] acpi: Add support for various misc ACPI opcodes > > Add more functions to handle some miscellaneous ACPI opcodes. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > Changes in v1: None > >

Re: [PATCH v4 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 01:05:18AM -0700, Alex Nemirovsky wrote: > From: Aaron Tseng > > Add Cortina Access Ethernet device driver for CA SoCs. > This driver supports only the DM_ETH network model. > > Signed-off-by: Aaron Tseng > Signed-off-by: Alex Nemirovsky > > CC: Joe Hershberger >

Re: [PATCHv2 1/8] amlogic: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:48PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Cc: Beniamino Galvani > Acked-by: Neil Armstrong > Cc: u-boot-amlo...@groups.io > Signed-off-by: Tom

Re: [PATCHv2 2/8] imx: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:49PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Cc: Adam Ford > Cc: Vanessa Maegima > Cc: Otavio Salvador > Cc: Igor Opaniuk > Cc: Manivannan

Re: [PATCH 2/3] kconfig: fix some typos

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 07:07:15PM +0200, Marcin Juszkiewicz wrote: > Signed-off-by: Marcin Juszkiewicz Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] ARM: add psci_arch_init() declaration for CONFIG_ARMV7_PSCI

2020-06-03 Thread Tom Rini
On Wed, May 20, 2020 at 11:43:34AM +0900, Masahiro Yamada wrote: > arch/arm/include/asm/system.h declares psci_arch_init(), but it is > surrounded by #ifdef CONFIG_ARMV8_PSCI. > > psci_arch_init() is called for CONFIG_ARMV7_PSCI too. Add the missing > function declaration. > > Signed-off-by:

Re: [PATCH 2/4] crypto/fsl: export caam_get_era()

2020-06-03 Thread Heinrich Schuchardt
On 6/3/20 12:05 AM, Michael Walle wrote: > We need the era in other modules, too. For example, to get the RNG > version. > > Signed-off-by: Michael Walle > --- > drivers/crypto/fsl/sec.c | 2 +- > include/fsl_sec.h| 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH 2/6] board: puma: fix indentation for -u-boot.dtsi

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > Tabs not spaces, so transform it to the common styling. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 1/6] arm64: dts: rk3399-puma: fix gpio levels for gmac reset pin

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > The gmac reset has opposite values for the gpio declaration > and the separate reset-active, bring this in line to make > u-boot also find the ethernet-phy. > > This mimics the upstream Linus commit found on >

Re: [PATCH 6/6] board: puma: remove separate fit generator

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > The introduction of the puma-specific generator was mainly a way > to split the pmu firmware from the ATF binary and not having to > distribute that 4GB (sparse) image that was created before moving > to the

Re: [PATCH 4/4] crypto/fsl: add RNG support

2020-06-03 Thread Heinrich Schuchardt
On 6/3/20 6:50 PM, Horia Geantă wrote: > On 6/3/2020 1:06 AM, Michael Walle wrote: >> Register the random number generator with the rng subsystem in u-boot. >> This way it can be used by EFI as well as for the 'rng' command. >> > I am trying to understand what's expected from UCLASS_RNG... > >

Re: [PATCH] bootcount_ext: Add Ext4 build dependency

2020-06-03 Thread Tom Rini
On Wed, May 20, 2020 at 09:13:26AM +0200, Frédéric Danis wrote: > This config option depends on EXT4 support. > If Ext4 write capability is not selected, it generate write error messages > and is unable to maintain boot counter. > > Signed-off-by: Frédéric Danis Applied to u-boot/master,

Re: [PATCH] cmd: fitupd: move config check to Kconfig

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 06:34:15PM +0200, Heinrich Schuchardt wrote: > Configuration checks should not be in the C files but in the Kconfig files. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/3] kconfig: mark SPL/TPL options for DM_KEYBOARD

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 07:07:14PM +0200, Marcin Juszkiewicz wrote: > All three options had the same description. > > Signed-off-by: Marcin Juszkiewicz Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 12:24:53AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summay: > - Toshiba spinand (Yoshio) > - SPI/SPI Flash cleanup (Jagan) > - Remove SH SPI (Jagan) > > Travis-CI: > https://travis-ci.org/github/openedev/u-boot-amarula/builds/693428912 > > The

[PATCH 1/2] rockchip: rockpro64: Store default env into SPI

2020-06-03 Thread Marcin Juszkiewicz
Board has flash chip on board so let store U-Boot environment there. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 3 ++- include/configs/rockpro64_rk3399.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git configs/rockpro64-rk3399_defconfig

[PATCH 2/2] rockchip: rockpro64: add SPI boot

2020-06-03 Thread Marcin Juszkiewicz
U-Boot TPL 2020.07-rc3-00121-gab88251130 (Jun 03 2020 - 16:43:42) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB 256B stride 256B stride lpddr4_set_rate: change freq to

Re: [PATCHv2 4/8] rockchip: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:51PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Acked-by: Kever Yang > Cc: Simon Glass > Cc: Philipp Tomsich > Acked-by: Klaus Goger > Cc: Jagan

Re: [PATCHv2 6/8] m68k: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:53PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > While in here, add the doc file to the MAINTAINERS entry for coldfire. > > Cc: Huan Wang > Cc: Angelo

Re: [PATCHv2 3/8] powerpc: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:50PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Cc: Po Liu > Cc: Qiang Zhao > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 3/3] kconfig: fix typo for OHCI host and add to DM list

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 07:07:16PM +0200, Marcin Juszkiewicz wrote: > Description said that OHCI is not supported for driver model > while it was converted too. > > Signed-off-by: Marcin Juszkiewicz Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCHv2 5/8] arm: ti: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:52PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > Cc: Lokesh Vutla > Cc: Vitaly Andrianov > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

Re: [PATCHv2 8/8] cubieboard7: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:55PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > While in here, add the doc file to the MAINTAINERS entry. > > Cc: Amit Singh Tomar > Cc: Manivannan

Re: [PATCHv2 7/8] fu540: Remove ARCH= references from documentation

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 02:36:54PM -0400, Tom Rini wrote: > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > While in here, add the doc file to the MAINTAINERS entry. > > Cc: Paul Walmsley > Cc: Palmer Dabbelt

Re: [PATCH 3/6] board: puma: reorganize devicetrees to actually work and match upstream

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > So far the puma dts files only just included the main puma dtsi without > handling the actual baseboard and rk3399-puma.dtsi was very much > detached from the variant in the mainline Linux kernel. > > Recent

Re: [PATCH 5/6] board: puma: allow building with TPL as well

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > Right now puma-u-boot can fit everything into SPL but that may overflow > easily for example with more extensive debug options. > > By adding CONFIG_TPL and removing the CONFIG_SPL_TEXT_BASE it is easy > to

Re: [PATCH 1/4] crypto/fsl: make SEC%u status line consistent

2020-06-03 Thread Heinrich Schuchardt
On 6/3/20 12:05 AM, Michael Walle wrote: > Align the status line with all the other output in U-Boot. > > Before the change: > DDR3.9 GiB (DDR3, 32-bit, CL=11, ECC on) > SEC0: RNG instantiated > WDT: Started with servicing (60s timeout) > > After the change: > DDR3.9 GiB (DDR3, 32-bit,

Re: [PATCH 4/6] board: puma: fix indentation of misc_init_r

2020-06-03 Thread Philipp Tomsich
> On 03.06.2020, at 16:59, Heiko Stuebner wrote: > > From: Heiko Stuebner > > The commit moving puma to the generic cpuid/macaddr helpers used 7 spaces > as indentation, so correct that by moving to the required tabs. > > Fixes: fa177ff0208b ("board: puma: Use rockchip_* helpers to setup

Re: [PATCH] tools: fw_env: Fix warning when reading too little

2020-06-03 Thread Tom Rini
On Thu, May 28, 2020 at 05:54:45PM +0200, Harald Seiler wrote: > When using CONFIG_ENV_IS_IN_FAT and the config-file specifies a size > larger than what U-Boot wrote into the env-file, a confusing error > message is shown: > > $ fw_printenv > Read error on /boot/uboot.env: Success > >

Re: [PATCH] image: android: fix abootimg support

2020-06-03 Thread Tom Rini
On Fri, May 29, 2020 at 05:53:45PM +0200, Christian Gmeiner wrote: > abootimg creates images where all load addresses are 0. > > Android Boot Image Info: > * file name = artifacts/fastboot.img > * image size = 31381504 bytes (29.93 MB) > page size = 2048 bytes > * Boot Name = "" > * kernel

Re: [PATCH] mkimage: Default to adding a crc32 hash with '-f auto'

2020-06-03 Thread Tom Rini
On Wed, May 27, 2020 at 07:24:55AM -0600, Simon Glass wrote: > This option currently does not add any sort of hash to the images in the > FIT. > > Add a hash node requesting a crc32 checksum, which at least provides some > protection. > > The crc32 value is easily ignored (e.g. in SPL) if not

Re: [v2] Azure: Add 'tools-only' build for macOS X hosts

2020-06-03 Thread Tom Rini
On Tue, May 26, 2020 at 08:39:03PM -0400, Tom Rini wrote: > Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully > this will catch changes to host tools that are incompatible on BSD style > environments. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/1] test/py: use actual core count for parallel builds

2020-06-03 Thread Tom Rini
On Sun, May 31, 2020 at 12:44:24AM +0200, Heinrich Schuchardt wrote: > When building U-Boot we should not blindly use make -j8 but consider the > actual core count given by os.cpu_count(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass > Acked-by: Stephen Warren Applied to

Re: [PATCH 1/2] usb: ohci: Add header file for ARCH_DMA_MINALIGN

2020-06-03 Thread Tom Rini
On Sat, May 30, 2020 at 10:29:03AM -0600, Simon Glass wrote: > This is defined in the asm/cache.h header file. Update this header file to > include it so it gets the same value consistently across U-Boot. > > This fixes 'usb host' on omapl138_lcdk. > > Fixes: 90526e9fbac ("common: Drop net.h

Re: [PATCH 2/2] dma-mapping: Add header file for ARCH_DMA_MINALIGN

2020-06-03 Thread Tom Rini
On Sat, May 30, 2020 at 10:29:04AM -0600, Simon Glass wrote: > This is defined in the asm/cache.h header file. Update this header file to > include it. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > Tested-by: Adam Ford #da850-evm Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/4] crypto/fsl: make SEC%u status line consistent

2020-06-03 Thread Horia Geantă
On 6/3/2020 1:06 AM, Michael Walle wrote: > @@ -657,7 +657,7 @@ int sec_init_idx(uint8_t sec_idx) > printf("SEC%u: RNG instantiation failed\n", sec_idx); > return -1; > } > - printf("SEC%u: RNG instantiated\n", sec_idx); > +

Re: [PATCH 3/4] crypto/fsl: support newer SEC modules

2020-06-03 Thread Horia Geantă
On 6/3/2020 1:06 AM, Michael Walle wrote: > Since Era 10, the version registers changed. Add the version registers > and use them on newer modules. > > Signed-off-by: Michael Walle Reviewed-by: Horia Geantă Thanks, Horia

Re: [PATCH v5 2/6] arm: update comments to the common style

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 02:43:41PM +0200, Marek Szyprowski wrote: > Update the comments in include/asm/system.h to the common style. > > Signed-off-by: Marek Szyprowski Thanks! Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v5 3/6] arm: provide a function for boards init code to modify MMU virtual-physical map

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 02:43:42PM +0200, Marek Szyprowski wrote: > Provide function for setting arbitrary virtual-physical MMU mapping > and cache settings for the given region. > > Signed-off-by: Marek Szyprowski Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH 4/6] board: puma: fix indentation of misc_init_r

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner The commit moving puma to the generic cpuid/macaddr helpers used 7 spaces as indentation, so correct that by moving to the required tabs. Fixes: fa177ff0208b ("board: puma: Use rockchip_* helpers to setup cpuid and macaddr") Signed-off-by: Heiko Stuebner ---

[PATCH 1/1] clk: ccf: mux: change the get_rate helper

2020-06-03 Thread Dario Binacchi
The previous version of the get_rate helper does not work if the mux clock parent is changed after the probe. This error has not been detected because this condition has not been tested. The error occurs because the set_parent helper does not change the parent of the clock device but only the

Re: [PATCH v2 02/23] am335x: sl50: Enable DM_SPI

2020-06-03 Thread Enric Balletbo i Serra
Hi Jagan, On 27/5/20 14:56, Jagan Teki wrote: > Enable DM_SPI for am355x sl50 board. > > Build is fine, but not tested. > > Cc: Enric Balletbo i Serra > Signed-off-by: Jagan Teki Reviewed-by: Enric Balletbo i Serra > --- > Changes for v2: > - new patch > > configs/am335x_sl50_defconfig |

GRUB Multiboot specification equivalent implementation from U-Boot - reserved memory regions

2020-06-03 Thread Johannes Krottmayer
Hi, I have a special question about reserved memory regions one some architectures. For the first time only for ARM and ARM64. Is there a equivalent or similar mechanism in U-Boot to tell the Kernel, which memory regions are free available for the Kernel? On x86 with GRUB as boot loader, I can

[PATCH] doc: driver-model: fix typo in design.rst

2020-06-03 Thread Dario Binacchi
Signed-off-by: Dario Binacchi --- doc/driver-model/design.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/driver-model/design.rst b/doc/driver-model/design.rst index 635effcef6..1bd2a22672 100644 --- a/doc/driver-model/design.rst +++ b/doc/driver-model/design.rst @@

[PATCH 6/6] board: puma: remove separate fit generator

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner The introduction of the puma-specific generator was mainly a way to split the pmu firmware from the ATF binary and not having to distribute that 4GB (sparse) image that was created before moving to the bl31.elf as base. Looking at the publically available repository for

[PATCH 3/6] board: puma: reorganize devicetrees to actually work and match upstream

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner So far the puma dts files only just included the main puma dtsi without handling the actual baseboard and rk3399-puma.dtsi was very much detached from the variant in the mainline Linux kernel. Recent changes resulted in a strange situation with nonworking puma boards.

[PATCH 0/6] revive Theobroma-Systems puma board

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner This revives the puma boards and makes them boot again with mainline uboot. Main points may be going back to the general fit script and cleaning up the devicetree situation that got completely broken by the recent sync from mainline linux. Heiko Stuebner (6): arm64:

Re: [PATCH v2 01/23] configs: igep00x0: Enable DM_SPI

2020-06-03 Thread Enric Balletbo i Serra
Hi Jagan, On 27/5/20 14:56, Jagan Teki wrote: > Enable DM_SPI for igep00x0 board. > > Build is fine, but not tested. > > Cc: Enric Balletbo i Serra > Signed-off-by: Jagan Teki Reviewed-by: Enric Balletbo i Serra > --- > Changes for v2: > - none > > configs/igep00x0_defconfig | 1 + > 1

[PATCH v5 0/6] ARM: arbitrary virtual-physical mappings for RPi4 XHCI support

2020-06-03 Thread Marek Szyprowski
Hi All, This patchset adds support for creating a mapping for the arbitrary physical address at the given virtual address. This is needed to enable support for XHCI USB controller on PCIe bridge on Raspberry Pi 4 board, on which the USB controller's MMIO area 0x6 has to be remapped

[PATCH v5 1/6] powerpc: move ADDR_MAP to Kconfig

2020-06-03 Thread Marek Szyprowski
Move ADDR_MAP related config options from include/configs/*.h to the proper place in lib/Kconfig. This has been done using ./tools/moveconfig.py and manual inspection of the generated changes. This is a preparation to use ADDR_MAP helper on ARM 32bit Raspberry Pi4 board for mapping the PCIe XHCI

Re: [PATCH v3 06/10] rtc: add rtc command

2020-06-03 Thread Simon Glass
On Tue, 2 Jun 2020 at 13:14, Rasmus Villemoes wrote: > > Mostly as an aid for debugging RTC drivers, provide a command that can > be used to read/write arbitrary registers (assuming the driver > provides the read/write methods or their single-register-at-a-time > variants). > > Signed-off-by:

[PATCH 1/6] arm64: dts: rk3399-puma: fix gpio levels for gmac reset pin

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner The gmac reset has opposite values for the gpio declaration and the separate reset-active, bring this in line to make u-boot also find the ethernet-phy. This mimics the upstream Linus commit found on https://lore.kernel.org/r/20200603132836.362519-1-he...@sntech.de

[PATCH 2/6] board: puma: fix indentation for -u-boot.dtsi

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner Tabs not spaces, so transform it to the common styling. Signed-off-by: Heiko Stuebner --- arch/arm/dts/rk3399-puma-u-boot.dtsi | 30 ++-- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/dts/rk3399-puma-u-boot.dtsi

[PATCH 5/6] board: puma: allow building with TPL as well

2020-06-03 Thread Heiko Stuebner
From: Heiko Stuebner Right now puma-u-boot can fit everything into SPL but that may overflow easily for example with more extensive debug options. By adding CONFIG_TPL and removing the CONFIG_SPL_TEXT_BASE it is easy to enable a TPL build as well. Only obstacle is the usb-specific handling for

Re: [PATCH 1/1] sunxi: CONFIG_INIT_SP_RELATIVE=y for Pine64 LTS

2020-06-03 Thread Heinrich Schuchardt
On 03.06.20 01:46, André Przywara wrote: > On 02/06/2020 20:55, Tom Rini wrote: > > Hi, > >> On Tue, Jun 02, 2020 at 09:45:25PM +0200, Heinrich Schuchardt wrote: >>> On 6/2/20 5:51 PM, Tom Rini wrote: On Sun, May 31, 2020 at 10:43:00AM +, Heinrich Schuchardt wrote: > Booting

[PATCH v5 3/6] arm: provide a function for boards init code to modify MMU virtual-physical map

2020-06-03 Thread Marek Szyprowski
Provide function for setting arbitrary virtual-physical MMU mapping and cache settings for the given region. Signed-off-by: Marek Szyprowski --- arch/arm/include/asm/mmu.h| 8 arch/arm/include/asm/system.h | 13 + arch/arm/lib/cache-cp15.c | 24

[PATCH v5 5/6] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 32bit)

2020-06-03 Thread Marek Szyprowski
Create a non-cacheable mapping for the 0x6 physical memory region, where MMIO registers for the PCIe XHCI controller are instantiated by the PCIe bridge. Due to 32bit limit in the CPU virtual address space in ARM 32bit mode, this region is mapped at 0xff80 CPU virtual address.

[PATCH v5 4/6] mmc: bcm283x: fix int to pointer cast

2020-06-03 Thread Marek Szyprowski
From: Seung-Woo Kim On build with 32 bit, there is a warning for int-to-pointer-cast. Fix the int to pointer cast by using uintptr_t. Signed-off-by: Seung-Woo Kim Signed-off-by: Marek Szyprowski --- drivers/mmc/bcm2835_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v5 2/6] arm: update comments to the common style

2020-06-03 Thread Marek Szyprowski
Update the comments in include/asm/system.h to the common style. Signed-off-by: Marek Szyprowski --- arch/arm/include/asm/system.h | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index

[PATCH] rockchip: rockpro64: initialize USB in preboot

2020-06-03 Thread Marcin Juszkiewicz
With video output enabled and USB keyboard supported there is no need for serial console. So let initialize USB subsystem so keyboard connected to board (either directly or via hub) can be used to interrupt autoboot. U-Boot TPL 2020.07-rc3-00123-g52d6cbd1a7 (Jun 03 2020 - 17:34:20) Channel 0:

Re: [PATCH] armv8: layerscape: don't remove crypto node on LS1028A

2020-06-03 Thread Michael Walle
[+ Horia] Am 2020-06-02 17:09, schrieb Michael Walle: At least on the LS1028A the crypto module is always there, but has some functions disabled on non-E parts. Thus it doesn't make sense to completely remove the node. Linux will figure out what is there and what is not. Please note, this

Re: [PATCH 4/4] crypto/fsl: add RNG support

2020-06-03 Thread Horia Geantă
On 6/3/2020 9:25 PM, Michael Walle wrote: > Hi Horia, Hi Heinrich, > > thanks for reviewing. > > Am 2020-06-03 19:35, schrieb Heinrich Schuchardt: >> On 6/3/20 6:50 PM, Horia Geantă wrote: >>> On 6/3/2020 1:06 AM, Michael Walle wrote: Register the random number generator with the rng

Re: [PATCH] serial: Convert ARM_DCC to Kconfig

2020-06-03 Thread Luca Ceresoli
On 02/06/20 23:26, Tom Rini wrote: > The symbol "CONFIG_ARM_DCC" is used to control building > drivers/serial/arm_dcc.c. Provide a simple Kconfig entry for this. > > Cc: Luca Ceresoli > Cc: Michal Simek > Cc: Tom McLeod > Cc: Mike Looijmans > Signed-off-by: Tom Rini Reviewed-by: Luca

Re: [PATCH v4 1/2] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 07:03:09PM +, Alex Nemirovsky wrote: > Hi Tom, > > > On Jun 3, 2020, at 8:03 AM, Tom Rini wrote: > > > > On Wed, Jun 03, 2020 at 01:05:18AM -0700, Alex Nemirovsky wrote: > >> From: Aaron Tseng > >> > >> Add Cortina Access Ethernet device driver for CA SoCs. >

UCLASS_BLK driver binding without devtree and U_BOOT_DEVICE

2020-06-03 Thread Anastasiia Lukianenko
Hello Simon, We are adding support for Xen [1] para-virtualized block device as a u-boot driver and have some questions with respect to driver model and instantiation of new devices. Because of the nature of the device driver we cannot use device tree or define statically the device instances

Re: [PATCH] rockchip: Add delay after link-training

2020-06-03 Thread Peter Geis
On Tue, Jun 2, 2020 at 11:12 AM Kurt Miller wrote: > > On Tue, 2020-06-02 at 10:23 +0800, Shawn Lin wrote: > > > > 在 2020/6/2 9:59, Kever Yang 写道: > > > > > > Hi Kurt, > > > > > > On 2020/6/2 上午4:30, Kurt Miller wrote: > > > > > > > > On at least the RockPro64, many cards will trip a > > > >

  1   2   >