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

2020-06-03 Thread Kever Yang
Hi Heiko,     Could you use 'rockchip' instead of 'board' as prefix in the subject? Thanks, - Kever On 2020/6/3 下午10:59, Heiko Stuebner wrote: 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

Re: [PATCHv5][ 7/7] board: tbs2910: add documentation

2020-06-03 Thread Denis 'GNUtoo' Carikli
On Sat, 30 May 2020 19:18:33 +0200 Soeren Moch wrote: > > +Links: > > +-- > > + - > > https://www.tbsdtv.com/download/document/tbs2910/TBS2910-Matrix-ARM-mini-PC-SCH_rev2.1.pdf > > +- The schematics for the revision 2.1 of the TBS2910 Matrix > > ARM miniPC. > > + - > > https://cache.fre

Re: [PATCHv5][ 4/7] board: tbs2910_defconfig: Add support for booting general purpose distributions

2020-06-03 Thread Denis 'GNUtoo' Carikli
On Sat, 30 May 2020 19:17:49 +0200 Soeren Moch wrote: Since I need to fix the MAINTAINER file to add the documentation path in it anyway, it's probably better to resend again a v6 serie. As I plan to resend a serie anyway, would the following work better: > board: tbs2910: Add support for bootin

RE: [PATCH u-boot] eth/r8152: update the firmware

2020-06-03 Thread Hayes Wang
Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, June 02, 2020 7:59 PM [...] > Can you be more specific about the problem you are fixing here ? > What is the problem ? > >>> > >>> There is low probability that the device may be lost when rebooting. > >>> Should I submit v2 to reword th

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

2020-06-03 Thread Tom Rini
On Wed, Jun 03, 2020 at 08:59:58PM -0600, Simon Glass wrote: > Hi Rayagonda, > > On Wed, 3 Jun 2020 at 03:10, Rayagonda Kokatanur > wrote: > > > > 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 Ko

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

2020-06-03 Thread Kever Yang
On 2020/6/3 下午11:15, Marcin Juszkiewicz wrote: 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 25

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

2020-06-03 Thread Kever Yang
On 2020/6/3 下午11:15, Marcin Juszkiewicz wrote: Board has flash chip on board so let store U-Boot environment there. Signed-off-by: Marcin Juszkiewicz Reviewed-by: Kever Yang Thanks, - Kever --- configs/rockpro64-rk3399_defconfig | 3 ++- include/configs/rockpro64_rk3399.h | 2 -- 2 f

Re: [PATCH v2 2/4] roc-rk3399-pc: Mark default env from SPI

2020-06-03 Thread Kever Yang
On 2020/6/2 上午4:42, Jagan Teki wrote: Mark the default U-Boot environment as SPI flash since this is an on board flash device. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- configs/roc-pc-rk3399_defconfig | 3 ++- include/configs/roc-pc-rk3399.h | 4 2 fi

Re: [PATCH v2 3/4] roc-rk3399-pc: Add SPI boot

2020-06-03 Thread Kever Yang
On 2020/6/2 上午4:42, Jagan Teki wrote: U-Boot TPL 2020.07-rc3-00090-gd4e919f927-dirty (Jun 01 2020 - 23:45:53) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 2

Re: [PATCH v2 1/4] Makefile: Drop to handle rkspi image type

2020-06-03 Thread Kever Yang
On 2020/6/2 上午4:42, Jagan Teki wrote: On rockchip platforms, SPI boot image creation is not straightforward like MMC boot image creation where former requires to specify tpl, spl in multimage format in mkimage, and later simply do a concatenate mkimaged-tpl with spl. On this note, let drop rks

Re: [PATCH v2 4/4] doc: rockchip: Document SPI flash program steps

2020-06-03 Thread Kever Yang
On 2020/6/2 上午4:42, Jagan Teki wrote: Document SPI flash program steps for rockchip platforms. Suggested-by: Hugh Cole-Baker Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- doc/board/rockchip/rockchip.rst | 26 +- 1 file changed, 25 inser

Re: [PATCH] rockchip: rockpro64: initialize USB in preboot

2020-06-03 Thread Kever Yang
On 2020/6/3 下午11:44, Marcin Juszkiewicz wrote: 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-g

Re: [PATCH 6/6] cmd: Add a memory-search command

2020-06-03 Thread Simon Glass
Hi Michal, On Wed, 3 Jun 2020 at 01:08, Michal Simek wrote: > > On 03. 06. 20 3:26, Simon Glass wrote: > > It is useful to be able to find hex values and strings in a memory range. > > Add a command to support this. > > > > cmd: Fix 'md' and add a memory-search command > > At present 'md.q' is br

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

2020-06-03 Thread Simon Glass
Hi Rayagonda, On Wed, 3 Jun 2020 at 03:10, Rayagonda Kokatanur wrote: > > 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 A

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

2020-06-03 Thread Simon Glass
On Wed, 3 Jun 2020 at 07:12, Dario Binacchi wrote: > > Signed-off-by: Dario Binacchi > --- > > doc/driver-model/design.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Please always add a simple commit message, e.g. Fix the 'memeber' typo in this file. Reviewed-by: Simon Glass

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

2020-06-03 Thread Simon Glass
Hi Jason, On Tue, 2 Jun 2020 at 19:55, Jason Li wrote: > > 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 should be note

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

2020-06-03 Thread Z.q. Hou
Hi Jagan, Thanks for your comments! > -Original Message- > From: Jagan Teki [mailto:ja...@amarulasolutions.com] > Sent: 2020年6月3日 15:41 > To: Z.q. Hou > Cc: U-Boot-Denx ; Priyanka Jain > ; Shengzhou Liu ; Simon > Glass ; Biwen Li ; Bin Meng > ; Jiafei Pan ; Chuanhua Han > ; Xiaowei Bao

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

2020-06-03 Thread Heinrich Schuchardt
On 6/3/20 12:05 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. > > Signed-off-by: Michael Walle > --- > drivers/crypto/fsl/Kconfig | 11 + > drivers/crypto/fsl/Makefile |

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

2020-06-03 Thread uboot
Hi Tom, Please pull some riscv updates: - Fixes 7e249bc13aaf: ("riscv: Move all SMP related SBI calls to SBI_v01") Move sbi_probe_extension() out of CONFIG_SBI_V01. - SiFive FU540 support SPL. Thanks Rick https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/694099665 The following

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

2020-06-03 Thread Alex Nemirovsky
Hi Tom, Thanks for your feedback. > On Jun 3, 2020, at 3:03 PM, Tom Rini wrote: > > On Wed, Jun 03, 2020 at 09:10:46PM +, Alex Nemirovsky wrote: >> Hi Tom >> >>> On Jun 3, 2020, at 1:59 PM, Tom Rini wrote: >>> >>> On Wed, Jun 03, 2020 at 07:03:09PM +, Alex Nemirovsky wrote: Hi T

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 09:10:46PM +, Alex Nemirovsky wrote: > Hi Tom > > > On Jun 3, 2020, at 1:59 PM, Tom Rini wrote: > > > > 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,

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 > > > > synch

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 1:59 PM, Tom Rini wrote: > > 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 A

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. > >>

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 subsyst

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 pat

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 Cereso

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 b

[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: LPDD

[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 config

[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 4

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 Ts

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 for

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 fol

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

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 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... > > UEFI

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 bl31.e

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 a/

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 > htt

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 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 cpu

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, CL

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 enable

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 change

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 6/2/2

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

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 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 use

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: 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 d09b832cd8ccb7e37e2b18839

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 fro

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 signatu

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 > > Fi

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 si

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 ne

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: [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 Sad

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: [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 Teki

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 D

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 si

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 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 Sadhasi

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 Ri

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: Mas

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] 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 signatur

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: [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, thanks

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 |

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 fi

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 pine6

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 us

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 >

[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. Commi

[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 that

[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: dts:

[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 Signed-o

[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 t

[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 b/arch/ar

[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 --- .../puma_rk33

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 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 clock

[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 @@ -

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 > > include/acpi/acpig

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: Rasm

[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 MM

[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 somewhe

[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

[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 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. Signed-o

[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 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 1e3f

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. >

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: None

[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 this

  1   2   >