Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-11 Thread Michal Simek
On 10. 02. 20 13:07, Grygorii Strashko wrote: > > > On 07/02/2020 13:31, Michal Simek wrote: >> There is no reason to check sgmii branch again when it is clear that phy >> interface is rgmii. >> >> Signed-off-by: Michal Simek >> --- >> >>   drivers/net/phy/dp83867.c | 4 +--- >>   1 file changed,

RE: [PATCH v2 7/7] test: env: add test for env info sub-command

2020-02-11 Thread Patrick DELAUNAY
Hi Stephen > From: Stephen Warren > Sent: lundi 10 février 2020 21:25 > > On 2/10/20 10:01 AM, Patrick Delaunay wrote: > > Add a pytest for testing the env info sub-command: > > > > test_env_info: test command with several option > > > > test_env_info_test: test the result of the sub-commandi wi

[PATCH] configs: ls1088a: Correct ENV_ADDR value

2020-02-11 Thread Kuldeep Singh
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init. QSPI region starts from 0x2000 offset. Correct the config value i.e 0x8050 -> 0x2050. Signed-off-by: Kuldeep Singh --- configs/ls1088aqds_tfa_defconfig | 2 +- configs/ls1088ardb_tfa_defconfig | 2 +- 2 files ch

[PATCH] configs: ls2080a: Correct ENV_ADDR value

2020-02-11 Thread Kuldeep Singh
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init. QSPI region in LS2088ARDB and LS2088AQDS starts from 0x2000 offset. Correct the config value i.e 0x8050 -> 0x2050. Also, define config value as 0x2030 in qspi defconfig. Signed-off-by: Kuldeep Singh --- con

[PATCH] configs: ls1046a: Define ENV_ADDR value

2020-02-11 Thread Kuldeep Singh
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init. Define value 0x4030 in QSPI defconfig for LS1046ARDB as value is already defined in TFA. Correct ENV_ADDR and ENV_SECT_SIZE value for LS1046AQDS as per defconfig. Signed-off-by: Kuldeep Singh --- configs/ls1046aqds_qsp

[PATCH 0/3] RFC: add fdt_add_pubkey tool

2020-02-11 Thread Rasmus Villemoes
In order to reduce the coupling between building the kernel and U-Boot, I'd like a tool that can add a public key to U-Boot's dtb without simultaneously signing a FIT image. That tool doesn't seem to exist, so I stole the necessary pieces from mkimage et al and put it in a single .c file. I'm stil

[PATCH 1/3] test_vboot.py: remove extraneous -k option to fit_check_sign

2020-02-11 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- test/py/tests/test_vboot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index 9c41ee56b1..3dd8e3cb66 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @

[PATCH 3/3] test_vboot.py: include test of fdt_add_pubkey tool

2020-02-11 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- test/py/tests/test_vboot.py | 8 1 file changed, 8 insertions(+) diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index 3dd8e3cb66..799c28cc2c 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @@ -182,6 +

[PATCH 2/3] tools: add fdt_add_pubkey

2020-02-11 Thread Rasmus Villemoes
Having to use the -K option to mkimage to populate U-Boot's .dtb with the public key while signing the kernel FIT image is often a little awkward. In particular, when using a meta-build system such as bitbake/Yocto, having the tasks of the kernel and U-Boot recipes intertwined, modifying deployed a

Re: [PATCH 2/3] tools: add fdt_add_pubkey

2020-02-11 Thread Alex Kiernan
On Tue, Feb 11, 2020 at 9:49 AM Rasmus Villemoes wrote: > > Having to use the -K option to mkimage to populate U-Boot's .dtb with the > public key while signing the kernel FIT image is often a little > awkward. In particular, when using a meta-build system such as > bitbake/Yocto, having the tasks

Re: [PATCH 2/3] tools: add fdt_add_pubkey

2020-02-11 Thread Rasmus Villemoes
On 11/02/2020 10.54, Alex Kiernan wrote: > On Tue, Feb 11, 2020 at 9:49 AM Rasmus Villemoes > wrote: >> >> Having to use the -K option to mkimage to populate U-Boot's .dtb with the >> public key while signing the kernel FIT image is often a little >> awkward. In particular, when using a meta-build

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Mauro Condarelli
Thanks Daniel. On 2/10/20 10:28 PM, Daniel Schwierzeck wrote: > Hi Mauro, > > Am 10.02.20 um 21:20 schrieb Mauro Condarelli: >> FYI >> I've been using this patchset for over a week without any adverse effect. >> It allowed me to port to VoCore2 board. >> Should I add a "Tested-by" flag? >> If so:

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Stefan
Hi Mauro, On 11.02.20 11:58, Mauro Condarelli wrote: Thanks Daniel. On 2/10/20 10:28 PM, Daniel Schwierzeck wrote: Hi Mauro, Am 10.02.20 um 21:20 schrieb Mauro Condarelli: FYI I've been using this patchset for over a week without any adverse effect. It allowed me to port to VoCore2 board. Sh

[PATCH v2] colibri_imx7: add readme.rst doc

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Add initial readme.rst file which provides all needed information for obtaining a workable image ready for flashing for both eMMC/NAND versions of Colibri iMX7. Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov --- v2: - Converted to reStructuredText format [Bin Me

Re: [PATCH v1] colibri_imx7: add README file

2020-02-11 Thread Igor Opaniuk
Hi Bin, On Fri, Feb 7, 2020 at 4:54 PM Bin Meng wrote: > > Hi Igor, > > On Fri, Feb 7, 2020 at 7:14 PM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > Add initial README file which provides all needed information > > for obtaining a workable image ready for flashing > > for both eMMC/NAN

uEnv.txt not read on eMMC Beaglebone black

2020-02-11 Thread Benjamin Freeman
Hi, I have made a distribution for Beaglebone black using Buildroot 2019.11.1. Everything works fine when all the files are flashed on a SD card. I have now flashed the eMMC with the same files. Unfortunately it doesn't boot properly anymore. U-boot doesn't read the uEnv.txt anymore. Here

[PATCH] arm64: zynqmp: Print multiboot register value in EL3

2020-02-11 Thread Michal Simek
Multi boot register can be used for using different boot images and design better boot strategy. Let EL3 SPL or U-Boot to read it and print it. Signed-off-by: Michal Simek --- arch/arm/mach-zynqmp/include/mach/hardware.h | 4 +++- board/xilinx/zynqmp/zynqmp.c | 14 +

[PATCH 1/1] common/console.c: discard volatile

2020-02-11 Thread Heinrich Schuchardt
Avoid errors of like common/console.c: In function ‘console_record_reset’: common/console.c:615:16: error: passing argument 1 of ‘membuff_purge’ discards ‘volatile’ qualifier from pointer target type [-Werror=discarded-qualifiers] 615 | membuff_purge(&gd->console_out); |^~

Re: [PATCH v2] colibri_imx7: add readme.rst doc

2020-02-11 Thread Bin Meng
Hi Igor, On Tue, Feb 11, 2020 at 7:34 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add initial readme.rst file which provides all needed information > for obtaining a workable image ready for flashing > for both eMMC/NAND versions of Colibri iMX7. Thank you for converting the doc to reST f

Re: [PATCH v2] colibri_imx7: add readme.rst doc

2020-02-11 Thread Max Krummenacher
On Tue, 2020-02-11 at 13:34 +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > Add initial readme.rst file which provides all needed information > for obtaining a workable image ready for flashing > for both eMMC/NAND versions of Colibri iMX7. > > Signed-off-by: Igor Opaniuk > Reviewed-by: Ole

Re: [PATCH] regulator: fix: Move code to enable gpio regulator to pre_probe from ofdata_to_platdata

2020-02-11 Thread Tom Rini
On Sat, Jan 25, 2020 at 09:00:58AM +0100, Lukasz Majewski wrote: > The commit e8e9715df2d4 ("regulator: fixed: Modify enable-active-high > behavior") > fixed the regulator driver behavior when 'enable-active-high' is defined. > Unfortunately, this patch used dm_regulator_platdata()'s "boot_on" me

Re: [PATCH] Kconfig: update LOGLEVEL range

2020-02-11 Thread Tom Rini
On Mon, Feb 03, 2020 at 11:43:32AM +0100, marek.bykow...@gmail.com wrote: > From: Marek Bykowski > > As LOGLEVEL ranges form 0 to 9 set the limit to 10. > > Signed-off-by: Marek Bykowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] dm: fix design.rst document

2020-02-11 Thread Tom Rini
On Sun, Feb 09, 2020 at 07:57:41PM +0100, Dario Binacchi wrote: > The patch fixes some errors. > > Signed-off-by: Dario Binacchi > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Mauro Condarelli
Thanks for the fast answer, Stefan. On 2/11/20 12:16 PM, Stefan wrote: > Hi Mauro, > ===8< >>> https://gitlab.denx.de/u-boot/custodians/u-boot-mips/commits/testing >> I tried to use this repo/branch, but something is wrong (or I goofed >> badly). > > Just a quick reply: I tested u-boot-mips/te

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Stefan
On 11.02.20 13:34, Mauro Condarelli wrote: Thanks for the fast answer, Stefan. On 2/11/20 12:16 PM, Stefan wrote: Hi Mauro, ===8< https://gitlab.denx.de/u-boot/custodians/u-boot-mips/commits/testing I tried to use this repo/branch, but something is wrong (or I goofed badly). Just a quic

[PATCH v1 2/3] apalis-imx8: convert readme to reStructuredText

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/apalis-imx8/README | 66 -- board/toradex/apalis-imx8/readme.rst | 83 2 files changed, 83 insertions(+), 66 deletions(-) delete mo

[PATCH v1 1/3] verdix-imx8mm: convert readme to reStructuredText

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/verdin-imx8mm/README | 88 --- board/toradex/verdin-imx8mm/readme.rst | 112 + 2 files changed, 112 insertions(+), 88 deletions(-) delete m

[PATCH v1 3/3] colibri-imx8x: convert readme to reStructuredText

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/colibri-imx8x/README | 66 - board/toradex/colibri-imx8x/readme.rst | 82 ++ 2 files changed, 82 insertions(+), 66 deletions(-) delete m

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Daniel Schwierzeck
On Tue, Feb 11, 2020 at 11:58 AM Mauro Condarelli wrote: > > Thanks Daniel. > > On 2/10/20 10:28 PM, Daniel Schwierzeck wrote: > > Hi Mauro, > > > > Am 10.02.20 um 21:20 schrieb Mauro Condarelli: > >> FYI > >> I've been using this patchset for over a week without any adverse effect. > >> It allowe

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-11 Thread Wolfgang Denk
Dear Tom, In message <20200210142800.GJ13379@bill-the-cat> you wrote: > > I'm a little wary of changing the global setting for everyone as well. > Perhaps we just need to note the problem happened for now and see if it > really happens again in the future, such that we need to consider such a > h

Re: [PATCH 2/3] tools: add fdt_add_pubkey

2020-02-11 Thread Alex Kiernan
On Tue, Feb 11, 2020 at 10:22 AM Rasmus Villemoes wrote: > > On 11/02/2020 10.54, Alex Kiernan wrote: > > On Tue, Feb 11, 2020 at 9:49 AM Rasmus Villemoes > > wrote: > >> > >> Having to use the -K option to mkimage to populate U-Boot's .dtb with the > >> public key while signing the kernel FIT im

dm: core: Board failing to boot since commit 82de42fa1468 (parent data/probe)

2020-02-11 Thread Wolfgang Wallner
Hello Simon, Since commit 82de42fa1468 ("dm: core: Allocate parent data separate from probing parent") I have trouble booting my board (a custom Apollo Lake design booted via Coreboot + U-Boot). I think this is because the function ns16550_serial_ofdata_to_platdata() of the UART driver noew tries

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Stefan
On 11.02.20 14:54, Daniel Schwierzeck wrote: On Tue, Feb 11, 2020 at 11:58 AM Mauro Condarelli wrote: Thanks Daniel. On 2/10/20 10:28 PM, Daniel Schwierzeck wrote: Hi Mauro, Am 10.02.20 um 21:20 schrieb Mauro Condarelli: FYI I've been using this patchset for over a week without any adverse

Re: [PATCH resend 0/2] gpio: mpc8xxx: honour shadow register when writing gpdat

2020-02-11 Thread Rasmus Villemoes
On 28/01/2020 13.04, Rasmus Villemoes wrote: > Rasmus Villemoes (2): > gpio: mpc8xxx: don't modify gpdat when setting gpio as input > gpio: mpc8xxx: don't do RMW on gpdat register when setting value > > drivers/gpio/mpc8xxx_gpio.c | 41 ++--- > 1 file changed,

Re: [PATCH] mmc: fsl_esdhc: actually enable cache snooping on mpc830x

2020-02-11 Thread Rasmus Villemoes
On 06/02/2020 05.14, Y.b. Lu wrote: >> -Original Message- >> From: Peng Fan >> Sent: Wednesday, February 5, 2020 3:08 PM >> To: Rasmus Villemoes ; u-boot@lists.denx.de; >> Y.b. Lu >> Cc: Mario Six >> Subject: RE: [PATCH] mmc: fsl_esdhc: actually enable cache snooping on >> mpc830x >> >>>

Re: [PATCH] ARM: keystone2: enable initrd fixup for LPAE addressing

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 09:25:52AM +0530, Lokesh Vutla wrote: > From: Tero Kristo > > Keystone2 u-boot loads the initrd image into non-LPAE addressed memory > but linux kernel is running in LPAE. This causes a conflict as kernel > detects that non-memory address is passed and kernel ignores init

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-11 Thread Wolfgang Denk
Dear Tom, In message <20200211135633.8b4d0240...@gemini.denx.de> I wrote: > > > I'm a little wary of changing the global setting for everyone as well. > > Perhaps we just need to note the problem happened for now and see if it > > really happens again in the future, such that we need to consider s

Re: [PATCH 1/9] dma-mapping: fix the prototype of dma_map_single()

2020-02-11 Thread Masahiro Yamada
Hi Simon, On Wed, Feb 5, 2020 at 9:17 AM Simon Glass wrote: > > On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada > wrote: > > > > Make dma_map_single() return the dma address, and remove the > > pointless volatile. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > arch/arm/include/asm/dma-map

[PATCH v3 1/5] doc: board: colibri_imx7: add readme.rst

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk - add initial index for toradex boards reST documentation - add initial readme.rst file which provides all needed information for obtaining a workable image ready for flashing for both eMMC/NAND versions of Colibri iMX7. Signed-off-by: Igor Opaniuk --- doc/board/index.rst

[PATCH v3 4/5] doc: board: colibri-imx8x: convert readme to reST

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/colibri-imx8x/README | 66 --- doc/board/toradex/colibri-imx8x.rst | 82 + doc/board/toradex/index.rst | 1 + 3 files changed,

[PATCH v3 3/5] doc: board: apalis-imx8: convert readme to reST

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/apalis-imx8/README | 66 doc/board/toradex/apalix-imx8.rst | 83 +++ doc/board/toradex/index.rst | 1 + 3 files changed, 84

[PATCH v3 5/5] doc: board: add rockchip subfolder

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk This fixes a warning when invoking make htmldocs: checking consistency... doc/board/rockchip/index.rst: WARNING: document isn't included in any toctree Signed-off-by: Igor Opaniuk --- doc/board/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/board/index.rs

[PATCH v3 2/5] doc: board: verdin-imx8mm: convert readme to reST

2020-02-11 Thread Igor Opaniuk
From: Igor Opaniuk Convert README to reStructuredText format. Signed-off-by: Igor Opaniuk --- board/toradex/verdin-imx8mm/README | 88 -- doc/board/toradex/index.rst | 1 + doc/board/toradex/verdin-imx8mm.rst | 112 3 files changed,

[PATCH resend 0/5] spi: mpc8xxx_spi: bug fixes, real ->set_speed and a pseudo-gpio driver

2020-02-11 Thread Rasmus Villemoes
This is a combination of a single patch and a 4-part series sent previously [1,2], this time with Jagan on Cc. Patch 1 is a convenient pseudo-gpio driver for controlling a single output signal on mpc830x. Since it's (usually) used as a chip select, representing it as a gpio (without the gp or i) m

[PATCH resend 1/5] gpio/mpc83xx_spisel_boot.c: gpio driver for SPISEL_BOOT signal

2020-02-11 Thread Rasmus Villemoes
From: "Klaus H. Sorensen" Some SoCs in the mpc83xx family, e.g. mpc8309, have a dedicated spi chip select, SPISEL_BOOT, that is used by the boot code to boot from flash. This chip select will typically be used to select a SPI boot flash. The SPISEL_BOOT signal is controlled by a single bit in th

[PATCH resend 5/5] mpc8xxx_spi: implement real ->set_speed

2020-02-11 Thread Rasmus Villemoes
Not all boards have the same CSB frequency, nor do every SPI slave necessarily support running at 16.7 MHz. So implement ->set_speed; that also allows using a smaller PM (i.e., 0) for slaves that do support a higher speed. Based on work by Klaus H. Sørensen. Cc: Klaus H. Sorensen Signed-off-by:

[PATCH resend 2/5] gazerbeam: add clocks property to SPI node

2020-02-11 Thread Rasmus Villemoes
Prepare for supporting setting different speeds in mpc8xxx_spi.c. Signed-off-by: Rasmus Villemoes --- arch/powerpc/dts/gdsys/mpc8308.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/powerpc/dts/gdsys/mpc8308.dtsi b/arch/powerpc/dts/gdsys/mpc8308.dtsi index 23e7403d91..1a319e

[PATCH resend 3/5] mpc8xxx_spi: put max_cs to use

2020-02-11 Thread Rasmus Villemoes
Currently, max_cs is write-only; it's just set in mpc8xxx_spi_ofdata_to_platdata and not otherwise used. My mpc8309 was always resetting during an "sf probe 0". It turns out dm_gpio_set_dir_flags() was being called with garbage, since nothing had initialized priv->gpios[0] - our device tree used "

[PATCH resend 4/5] mpc8xxx_spi: always use 8-bit characters, don't read or write garbage

2020-02-11 Thread Rasmus Villemoes
There are a few problems with the current driver. First, it unconditionally reads from dout/writes to din whether or not those pointers are NULL. So for example a simple "sf probe" ends up writing four bytes at address 0: => md.l 0x0 8 : 45454545 45454545 05050505 05050505

Re: [PATCH 2/9] dma-mapping: fix the prototype of dma_unmap_single()

2020-02-11 Thread Masahiro Yamada
On Wed, Feb 5, 2020 at 9:17 AM Simon Glass wrote: > > On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada > wrote: > > > > dma_unmap_single() takes the dma address, not virtual address. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > arch/arm/include/asm/dma-mapping.h | 4 +--- > > arch/nds32

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-11 Thread Rasmus Villemoes
On 05/02/2020 18.59, Simon Glass wrote: > Hi Rasmus, > >> This has been lightly tested in the sandbox. I'll add some proper unit >> tests, update the help texts and try to handle the Kconfig issue if >> this is something that might be accepted. >> >> Signed-off-by: Rasmus Villemoes >> --- >> cm

Re: [PATCH v3 12/21] actions: add Cubieboard7 README

2020-02-11 Thread Tom Rini
On Sat, Jan 25, 2020 at 05:52:54PM +0530, Amit Singh Tomar wrote: > Signed-off-by: Amit Singh Tomar > --- > Changes since v2: > * No Change. > Changes since v1: > * No Change. > --- > arch/arm/mach-owl/README.cubieboard7 | 88 > > 1 file change

Re: [PATCH v3 00/21] Actions S700 SoC support

2020-02-11 Thread Manivannan Sadhasivam
Hi Amit, On Sat, Jan 25, 2020 at 05:52:42PM +0530, Amit Singh Tomar wrote: > Hi, > > This is continuation of work[1], submitted(v2) almost a year back. > > It adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's > Quad-core ARMv8 SoC > with Cortex-A53 cores. Peripheral like UAR

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Mauro Condarelli
Sorry Daniel, I seem unable to pass the message through. I have, in front of me two, very similar directories: u-boot.master: built from master + Weijie.v3 patches + my vocore2 patch. u-boot-mips: built from u-boot-mips/testing + my vocore2 patch. I was very careful not to change anything after

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-11 Thread Wolfgang Denk
Dear Tom, In message <20200211150800.d895b240...@gemini.denx.de> I wrote: > > So an easy work around for the problem is to clear the "nodupes" > setting in your subscription - alternatively we can try and patch > mailman to behave like we want it. There is even a clean approach upstream [1]: [1

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-11 Thread Wolfgang Denk
Dear Rasmus Villemoes, In message <20200205010812.20373-1-rasmus.villem...@prevas.dk> you wrote: > Currently, there's no way to fetch the value of an environment > variable whose name is stored in some other variable, or generated from > such - in non-working pseudo-code, > > ${${varname}} > $

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 05:25:39PM +0100, Wolfgang Denk wrote: > Dear Tom, > > In message <20200211150800.d895b240...@gemini.denx.de> I wrote: > > > > So an easy work around for the problem is to clear the "nodupes" > > setting in your subscription - alternatively we can try and patch > > mailman

Re: [PATCH v3 5/5] doc: board: add rockchip subfolder

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk This fixes a warning when invoking make htmldocs: checking consistency... doc/board/rockchip/index.rst: WARNING: document isn't included in any toctree Signed-off-by: Igor Opaniuk I stumbled over the same issue: https://lists.denx.d

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Daniel Schwierzeck
On Tue, Feb 11, 2020 at 5:11 PM Mauro Condarelli wrote: > > Sorry Daniel, > I seem unable to pass the message through. > > I have, in front of me two, very similar directories: > > u-boot.master: > built from master + Weijie.v3 patches + my vocore2 patch. > > u-boot-mips: > built from u-boot-mips/

Re: [PATCH 1/1] net: designware: speed should be in a debug message

2020-02-11 Thread Heinrich Schuchardt
On 2/10/20 3:41 AM, Bin Meng wrote: Hi Heinrich, On Sun, Feb 9, 2020 at 11:58 AM Heinrich Schuchardt wrote: On 2/9/20 3:59 AM, Bin Meng wrote: On Sun, Feb 9, 2020 at 8:38 AM Heinrich Schuchardt wrote: The network connection speed is a debug information. So we should use debug() and not pr

Re: [PATCH v3 1/5] doc: board: colibri_imx7: add readme.rst

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk - add initial index for toradex boards reST documentation - add initial readme.rst file which provides all needed information for obtaining a workable image ready for flashing for both eMMC/NAND versions of Colibri iMX7. Please, run c

Re: [PATCH v3 2/5] doc: board: verdin-imx8mm: convert readme to reST

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk Convert README to reStructuredText format. Please, run checkpatch on your patch set: ERROR: DOS line endings #334: FILE: doc/board/toradex/verdin-imx8mm.rst:111: +Hit any key to stop autoboot: 0^M$ ERROR: DOS line endings #335:

Re: [PATCH v3 3/5] doc: board: apalis-imx8: convert readme to reST

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk Convert README to reStructuredText format. ERROR: DOS line endings #277: FILE: doc/board/toradex/apalix-imx8.rst:83: +^M$ ERROR: DOS line endings #286: FILE: doc/board/toradex/index.rst:9: + apalix-imx8^M$ Best regards Heinrich

Re: [PATCH v3 4/5] doc: board: colibri-imx8x: convert readme to reST

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk Convert README to reStructuredText format. ERROR: DOS line endings #276: FILE: doc/board/toradex/colibri-imx8x.rst:82: +mmc write ${loadaddr} 0x0 ${blkcnt}^M$ ERROR: DOS line endings #285: FILE: doc/board/toradex/index.rst:11: +

Re: [PATCH v3 5/5] doc: board: add rockchip subfolder

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 5:48 PM, Heinrich Schuchardt wrote: On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk This fixes a warning when invoking make htmldocs: checking consistency... doc/board/rockchip/index.rst: WARNING: document isn't included in any toctree Signed-off-by: Igor Opaniuk I st

Re: [PATCH v4 05/17] dm: Add support for simple-pm-bus

2020-02-11 Thread Simon Glass
Hi Sean, On Mon, 10 Feb 2020 at 23:05, Sean Anderson wrote: > > This type of bus is used in Linux to designate busses which have power buses > domains and/or clocks which need to be enabled before their child devices > can be used. Because power domains are automatically enabled before > probi

Re: [PATCH 1/1] test: log functions with CONFIG_LOG=n

2020-02-11 Thread Simon Glass
Hi Heinrich, On Mon, 10 Feb 2020 at 22:36, Heinrich Schuchardt wrote: > > If CONFIG_LOG=n, we still expect output for log_err(), log_warning(), > log_notice(), log_info() and in case of DEBUG=1 also for log_debug(). > > Provide unit tests verifying this. > > The tests depend on: > > CONFI

Re: [PATCH 1/1] log: output for CONFIG_LOG=n

2020-02-11 Thread Simon Glass
Hi Heinrich, On Mon, 10 Feb 2020 at 21:17, Heinrich Schuchardt wrote: > > > > On 2/11/20 12:13 AM, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 9 Feb 2020 at 15:33, Heinrich Schuchardt wrote: > >> > >> On 2/9/20 11:21 PM, Sean Anderson wrote: > >>> On 2/9/20 4:59 PM, Heinrich Schuchardt w

Re: [PATCH 1/1] common/console.c: discard volatile

2020-02-11 Thread Simon Glass
On Tue, 11 Feb 2020 at 05:05, Heinrich Schuchardt wrote: > > Avoid errors of like > > common/console.c: In function ‘console_record_reset’: > common/console.c:615:16: error: passing argument 1 of ‘membuff_purge’ > discards ‘volatile’ qualifier from pointer target type > [-Werror=discarded-qualifie

Re: [PATCH 2/3] tools: add fdt_add_pubkey

2020-02-11 Thread Simon Glass
Hi Rasmus, On Tue, 11 Feb 2020 at 02:49, Rasmus Villemoes wrote: > > Having to use the -K option to mkimage to populate U-Boot's .dtb with the > public key while signing the kernel FIT image is often a little > awkward. In particular, when using a meta-build system such as > bitbake/Yocto, having

Re: [PATCH v4 06/17] spi: dw: Add device tree properties for fields in CTRL1

2020-02-11 Thread Simon Glass
On Mon, 10 Feb 2020 at 23:05, Sean Anderson wrote: > > Some devices have different layouts for the fields in CTRL1 (e.g. the > Kendryte K210). Allow this layout to be configurable from the device tree. > The documentation has been taken from Linux. > > Signed-off-by: Sean Anderson > --- > > Chang

Re: [PATCH v4 04/17] reset: Add generic reset driver

2020-02-11 Thread Simon Glass
On Mon, 10 Feb 2020 at 23:05, Sean Anderson wrote: > > This patch adds a generic reset driver. It is designed to be useful when > one has a register in a regmap which contains bits that reset other > devices. I thought this seemed like a very generic use, so here is a > generic driver. The overall

Re: dm: core: Board failing to boot since commit 82de42fa1468 (parent data/probe)

2020-02-11 Thread Simon Glass
+Bin Hi Wolfgang, On Tue, 11 Feb 2020 at 06:59, Wolfgang Wallner wrote: > > Hello Simon, > > Since commit 82de42fa1468 ("dm: core: Allocate parent data separate from > probing parent") I have trouble booting my board (a custom Apollo Lake design > booted via Coreboot + U-Boot). > > I think this

Re: [PATCH 1/3] test_vboot.py: remove extraneous -k option to fit_check_sign

2020-02-11 Thread Simon Glass
Hi Rasmus, On Tue, 11 Feb 2020 at 02:49, Rasmus Villemoes wrote: > Please add a commit message with motivation and effect. > Signed-off-by: Rasmus Villemoes > --- > test/py/tests/test_vboot.py | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Regards, Simon

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-11 Thread Simon Glass
Hi Rasmus, On Tue, 11 Feb 2020 at 08:38, Rasmus Villemoes wrote: > > On 05/02/2020 18.59, Simon Glass wrote: > > Hi Rasmus, > > > > >> This has been lightly tested in the sandbox. I'll add some proper unit > >> tests, update the help texts and try to handle the Kconfig issue if > >> this is somet

Re: [PATCH 1/9] dma-mapping: fix the prototype of dma_map_single()

2020-02-11 Thread Simon Glass
On Tue, 11 Feb 2020 at 08:19, Masahiro Yamada wrote: > > Hi Simon, > > On Wed, Feb 5, 2020 at 9:17 AM Simon Glass wrote: > > > > On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada > > wrote: > > > > > > Make dma_map_single() return the dma address, and remove the > > > pointless volatile. > > > > > >

Re: [PATCH v4 05/17] dm: Add support for simple-pm-bus

2020-02-11 Thread Sean Anderson
Hi Simon, On 2/11/20 12:14 PM, Simon Glass wrote: > Hi Sean, > > On Mon, 10 Feb 2020 at 23:05, Sean Anderson wrote: >> >> This type of bus is used in Linux to designate busses which have power > > buses > >> domains and/or clocks which need to be enabled before their child devices >> can be us

[PATCH] sandbox: Update PCI nodes in dts files

2020-02-11 Thread Tom Rini
The way the PCI nodes are written today causes a number of warnings if we stop disabling some of the warnings we pass to DTC. As these warnings aren't disabled in current Linux Kernel builds, we should aim to not disable them here either, so rewrite these slightly. Update the driver model doc as

[PATCH] travis/gitlab/azure: Ensure we use python3 always

2020-02-11 Thread Tom Rini
When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the t

Re: [PATCH v3 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Mauro Condarelli
Thanks Daniel. On 2/11/20 5:49 PM, Daniel Schwierzeck wrote: > On Tue, Feb 11, 2020 at 5:11 PM Mauro Condarelli wrote: >> ===8< >> Hit any key to stop autoboot: 0 >> => > ok, booting from RAM works. But what I meant with bootable is, that > you can write the > the u-boot-mtmips.bin to SPI fl

Re: [PATCH v2 1/1] efi_loader: architecture specific UEFI setup

2020-02-11 Thread Daniel Kiper
On Wed, Feb 05, 2020 at 12:37:03PM +0100, Heinrich Schuchardt wrote: > Hello Daniel, hello Leif, > > what is the GRUB view on this discussion? Alex, could you chime in on this as a GRUB RISC-V maintainer? Daniel > Best regards > > Heinrich > > On 2/5/20 12:32 PM, Heinrich Schuchardt wrote: > > O

Re: [PATCH 1/1] test: log functions with CONFIG_LOG=n

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 6:14 PM, Simon Glass wrote: Hi Heinrich, On Mon, 10 Feb 2020 at 22:36, Heinrich Schuchardt wrote: If CONFIG_LOG=n, we still expect output for log_err(), log_warning(), log_notice(), log_info() and in case of DEBUG=1 also for log_debug(). Provide unit tests verifying this. The tes

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Simon Glass
Hi Tom, On Sat, 8 Feb 2020 at 07:51, Simon Glass wrote: > > Hi Stephen, > > On Thu, 6 Feb 2020 at 15:38, Simon Glass wrote: > > > > Hi Stephen, > > > > On Thu, 6 Feb 2020 at 15:32, Stephen Warren wrote: > > > > > > On 2/6/20 2:55 PM, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > This canno

Re: [PATCH v2 1/1] efi_loader: architecture specific UEFI setup

2020-02-11 Thread Heinrich Schuchardt
On 2/7/20 4:13 AM, Chang, Abner (HPS SW/FW Technologist) wrote: -Original Message- From: Atish Patra [mailto:ati...@atishpatra.org] Sent: Friday, February 7, 2020 6:56 AM To: Ard Biesheuvel ; Chang, Abner (HPS SW/FW Technologist) Cc: Alexander Graf ; Heinrich Schuchardt ; U-Boot Maili

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 11:20:36AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 8 Feb 2020 at 07:51, Simon Glass wrote: > > > > Hi Stephen, > > > > On Thu, 6 Feb 2020 at 15:38, Simon Glass wrote: > > > > > > Hi Stephen, > > > > > > On Thu, 6 Feb 2020 at 15:32, Stephen Warren wrote: > > > > >

Re: [PATCH v3 1/5] doc: board: colibri_imx7: add readme.rst

2020-02-11 Thread Igor Opaniuk
Hi Heinrich, On Tue, Feb 11, 2020 at 7:04 PM Heinrich Schuchardt wrote: > > On 2/11/20 4:19 PM, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > - add initial index for toradex boards reST documentation > > - add initial readme.rst file which provides all needed information > > for obtaining a

Re: [PATCH v3 1/5] doc: board: colibri_imx7: add readme.rst

2020-02-11 Thread Igor Opaniuk
Heinrich, On Tue, Feb 11, 2020 at 9:37 PM Igor Opaniuk wrote: > > Hi Heinrich, > > On Tue, Feb 11, 2020 at 7:04 PM Heinrich Schuchardt > wrote: > > > > On 2/11/20 4:19 PM, Igor Opaniuk wrote: > > > From: Igor Opaniuk > > > > > > - add initial index for toradex boards reST documentation > > > -

Re: [PATCH 10/11] arm: fdt: omap: update dts panel node

2020-02-11 Thread dariobin
> Il 11 febbraio 2020 alle 5.11 Lokesh Vutla ha scritto: > > > > > On 11/02/20 1:49 AM, dario...@libero.it wrote: > > Hi Lokesh > > > >> Il 10 febbraio 2020 alle 5.22 Lokesh Vutla ha scritto: > >> > >> > >> > >> > >> On 10/02/20 12:17 AM, Dario Binacchi wrote: > >>> Add the "u-boot,dm-pre-

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Thu, Feb 06, 2020 at 02:55:49PM -0700, Simon Glass wrote: > Hi Tom, > > This cannot be pulled yet since we need to update gitlab's docker > image to include SDL2. But gitlab seems to be having various problems > this week and today i won't work at all: > > https://gitlab.denx.de/u-boot/custod

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-11 Thread Rasmus Villemoes
On 11/02/2020 17.30, Wolfgang Denk wrote: > Dear Rasmus Villemoes, > > In message <20200205010812.20373-1-rasmus.villem...@prevas.dk> you wrote: >> Currently, there's no way to fetch the value of an environment >> variable whose name is stored in some other variable, or generated from >> such - in

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 03:26:10PM -0500, Tom Rini wrote: > On Thu, Feb 06, 2020 at 02:55:49PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > This cannot be pulled yet since we need to update gitlab's docker > > image to include SDL2. But gitlab seems to be having various problems > > this week

Re: [PATCH v3 1/5] doc: board: colibri_imx7: add readme.rst

2020-02-11 Thread Heinrich Schuchardt
On 2/11/20 8:56 PM, Igor Opaniuk wrote: Heinrich, On Tue, Feb 11, 2020 at 9:37 PM Igor Opaniuk wrote: Hi Heinrich, On Tue, Feb 11, 2020 at 7:04 PM Heinrich Schuchardt wrote: On 2/11/20 4:19 PM, Igor Opaniuk wrote: From: Igor Opaniuk - add initial index for toradex boards reST documenta

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-11 Thread Rasmus Villemoes
On 11/02/2020 22.20, Rasmus Villemoes wrote: > On 11/02/2020 17.30, Wolfgang Denk wrote: >>> This forces some scripts to needlessly duplicate logic and hardcode >>> assumptions. For example, in an A/B scheme with three variables >>> >>> BOOT_ORDER # Either "A B" or "B A" depending on which slot wa

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Stephen Warren
On 2/11/20 11:27 AM, Tom Rini wrote: On Tue, Feb 11, 2020 at 11:20:36AM -0700, Simon Glass wrote: Hi Tom, On Sat, 8 Feb 2020 at 07:51, Simon Glass wrote: Hi Stephen, On Thu, 6 Feb 2020 at 15:38, Simon Glass wrote: Hi Stephen, On Thu, 6 Feb 2020 at 15:32, Stephen Warren wrote: On 2/6/

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 03:02:12PM -0700, Stephen Warren wrote: > On 2/11/20 11:27 AM, Tom Rini wrote: > > On Tue, Feb 11, 2020 at 11:20:36AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 8 Feb 2020 at 07:51, Simon Glass wrote: > > > > > > > > Hi Stephen, > > > > > > > > On Thu, 6

Re: [BUG] binman: Add a library to access binman entries

2020-02-11 Thread Simon Glass
Hi Frank, On Fri, 24 Jan 2020 at 11:15, Frank Wunderlich wrote: > > Hi, > > a bit more info about this... Sorry for the delay. Stephen hit this also. > > this line [1] (in my case) breaks the init-chain: > > return log_msg_ret("binman node", -EINVAL); > > the binman_init [2] is added to init_se

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Simon Glass
Hi Tom, On Tue, 11 Feb 2020 at 14:30, Tom Rini wrote: > > On Tue, Feb 11, 2020 at 03:26:10PM -0500, Tom Rini wrote: > > On Thu, Feb 06, 2020 at 02:55:49PM -0700, Simon Glass wrote: > > > > > Hi Tom, > > > > > > This cannot be pulled yet since we need to update gitlab's docker > > > image to inclu

Re: [PATCH 1/1] log: correct CONFIG_LOG_TEST prerequisites

2020-02-11 Thread Simon Glass
On Sat, 8 Feb 2020 at 15:17, Heinrich Schuchardt wrote: > > An error > > undefined reference to `do_log_test' > > occurs for CONFIG_CMD_LOG=y, CONFIG_LOG_TEST=y, CONGIG_UNIT_TEST=n > > Make CONFIG_UNIT_TEST a prerequisite. > > Signed-off-by: Heinrich Schuchardt > --- > common/Kconfig | 2

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Anatolij Gustschin
Hi Simon, On Tue, 11 Feb 2020 16:03:14 -0700 Simon Glass s...@google.com wrote: > Hi Tom, > > On Tue, 11 Feb 2020 at 14:30, Tom Rini wrote: > > > > On Tue, Feb 11, 2020 at 03:26:10PM -0500, Tom Rini wrote: > > > On Thu, Feb 06, 2020 at 02:55:49PM -0700, Simon Glass wrote: > > > > > > > Hi T

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Wed, Feb 12, 2020 at 12:10:41AM +0100, Anatolij Gustschin wrote: > Hi Simon, > > On Tue, 11 Feb 2020 16:03:14 -0700 > Simon Glass s...@google.com wrote: > > > Hi Tom, > > > > On Tue, 11 Feb 2020 at 14:30, Tom Rini wrote: > > > > > > On Tue, Feb 11, 2020 at 03:26:10PM -0500, Tom Rini wrote:

  1   2   >