Re: [PATCH v3 01/12] clk: Always use the supplied struct clk

2020-02-11 Thread Rick Chen
Hi Lukasz > From: Lukasz Majewski [mailto:lu...@denx.de] > Sent: Friday, February 07, 2020 5:22 AM > To: Sean Anderson > Cc: U-Boot Mailing List; Rick Jian-Zhi Chen(陳建志); Lukas Auer > Subject: Re: [PATCH v3 01/12] clk: Always use the supplied struct clk > > Hi Sean, > > > CCF clocks should always

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

2020-02-11 Thread Stefan
Hi Mauro, Hi Daniel, On 11.02.20 19:05, Mauro Condarelli wrote: 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,

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Stephen Warren
On 2/11/20 3:06 PM, Tom Rini wrote: 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 Feb 2020 at

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

2020-02-11 Thread Lokesh Vutla
Hi Tom, On 11/02/20 8:31 PM, Tom Rini wrote: > 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

Re: dm, serial: problem with using ns16550 driver before relocation on mpc83xx

2020-02-11 Thread Heiko Schocher
Hello Mario, Simon, Am 10.02.2020 um 07:16 schrieb Mario Six: Hi Heiko, On Fri, Feb 7, 2020 at 6:53 AM Heiko Schocher wrote: Hi Simon, removed Dirk from cc and added Mario Six @Mario: Dirk is maintainer of the gazerbeam board:

Re: FYI: Please pull u-boot-dm

2020-02-11 Thread Tom Rini
On Tue, Feb 11, 2020 at 05:15:39PM -0700, Stephen Warren wrote: > On 2/11/20 3:06 PM, Tom Rini wrote: > > 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

[PATCH v4 06/20] mips: mtmips: make use of sysreset-resetctrl for mt7628 soc

2020-02-11 Thread Weijie Gao
This patch replaces sysreset-syscon with sysreset-resetctrl for mt7628 soc. Reviewed-by: Stefan Roese Reviewed-by: Daniel Schwierzeck Signed-off-by: Weijie Gao --- Changes since v3: none --- arch/mips/dts/mt7628a.dtsi | 10 +- arch/mips/mach-mtmips/Kconfig

[PATCH v4 01/20] mips: add support to restore exception vector base before booting linux

2020-02-11 Thread Weijie Gao
In U-Boot the exception vector base will be moved to top of memory, to be used to display register dump when exception occurs. But some old linux kernel does not honor the base set in CP0_EBASE. A modified exception vector base will cause kernel crash. This patch adds an option to enable reset

[PATCH v4 00/20] Refactor the architecture parts of mt7628

2020-02-11 Thread Weijie Gao
This patch series are divided into two parts: The main part is to rewrite the whole architecture code of mt7628: * Lock parts of the d-cache for initial stack so the rest of the code can be reimplemented in C. * Memory controller & DDR initialization have been fully written to support

[PATCH] arm: K3: j721e: Fix boot parameter table index memory address

2020-02-11 Thread Lokesh Vutla
From: Andreas Dannenberg The boot parameter table index memory address for J721E was configured to an incorrect value which prevented the use of this definition to determine which boot parameter table is active which is needed to be able to distinguish between primary and backup boot modes. Fix

[PATCH] armV7R: K3: am654: Activate early console functionality

2020-02-11 Thread Lokesh Vutla
From: Andreas Dannenberg Activate early console functionality on AM65x devices to allow for early diagnostic messages until the main console is ready to get activated. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 10 ++ 1 file

[PATCH v4 16/20] tools: binman: add etype file for u-boot-lzma-img

2020-02-11 Thread Weijie Gao
This patch adds etype u-boot-lzma-img for binman. README.entries is also updated. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao --- Changes since v3: add a test to make sure 100% code coverage --- tools/binman/README.entries | 15

[PATCH v4 15/20] Makefile: add support to generate LZMA compressed u-boot image

2020-02-11 Thread Weijie Gao
This patch adds support for generating LZMA compressed u-boot image. The compressed image can be used for SPL to reduce the size of the u-boot binary. Reviewed-by: Stefan Roese Reviewed-by: Daniel Schwierzeck Reviewed-by: Simon Glass Signed-off-by: Weijie Gao --- Changes since v3: none ---

[PATCH v4 17/20] spl: nor: add lzma decompression support for legacy image

2020-02-11 Thread Weijie Gao
This patch adds support for decompressing LZMA compressed u-boot payload in legacy uImage format. Using this patch together with u-boot-lzma.img is useful for NOR flashes as they can reduce the size and load time of u-boot payload. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao ---

[PATCH v4 20/20] mips: mtmips: add support for mt7628-rfb

2020-02-11 Thread Weijie Gao
This patch adds support for mt7628 reference board. SPL_DM and DT are not enabled for SPL to save about 17KiB for u-boot-spl.bin. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao --- Changes since v3: none --- arch/mips/dts/Makefile| 1 +

[PATCH v4 18/20] mips: mtmips: add SPL support

2020-02-11 Thread Weijie Gao
This patch adds SPL support for mtmips platform. The lowlevel architecture is split into SPL and the rest parts are built into a memory loadable u-boot image. Optional SPL_DM and OF_CONTROL are also supported. The increment of size is very small (< 10 KiB) if SPL_DM and OF_CONTROL are not enabled

[PATCH v4 19/20] mips: mtmips: enable SPL for all boards

2020-02-11 Thread Weijie Gao
This patch enables SPL for all mtmips boards. And also remove defconfig files which are intend to build ram bootable u-boot files. SPL_DM and OF_CONTROL are enabled for both boards. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao --- Changes since v3: none ---

[PATCH v4 07/20] configs: enable CONFIG_RESTORE_EXCEPTION_VECTOR_BASE for all mtmips boards

2020-02-11 Thread Weijie Gao
This patch enables CONFIG_RESTORE_EXCEPTION_VECTOR_BASE for all mtmips boards. Reviewed-by: Stefan Roese Reviewed-by: Daniel Schwierzeck Signed-off-by: Weijie Gao --- Changes since v3: none --- configs/gardena-smart-gateway-mt7688-ram_defconfig | 1 +

[PATCH v4 09/20] mips: add a option to support not reserving malloc space on initial stack

2020-02-11 Thread Weijie Gao
The initial stack on some platforms is too small to hold a large malloc space. This patch adds a option to allow these platforms not reserving the malloc space on initial stack. These platforms should set the malloc base after DRAM is usable. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao

[PATCH v4 14/20] lib: enable lzma decompression support for SPL build

2020-02-11 Thread Weijie Gao
This patch enables LZMA decompression support for SPL build Reviewed-by: Stefan Roese Reviewed-by: Tom Rini Signed-off-by: Weijie Gao --- Changes since v3: none --- lib/Kconfig | 5 + lib/Makefile | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index

[PATCH] Revert "gitlab: Disable SDL when building sandbox"

2020-02-11 Thread Simon Glass
This is not needed now that we have SDL2 in the docker image. It causes test failures for tests which need video to work. This reverts commit af800722eb718bec51c5943cfb69231acf15178f. Signed-off-by: Simon Glass --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

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

2020-02-11 Thread Ard Biesheuvel
On Wed, 12 Feb 2020 at 06:49, Chang, Abner (HPS SW/FW Technologist) wrote: > > > > > -Original Message- > > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > > Sent: Wednesday, February 12, 2020 2:26 AM > > To: Chang, Abner (HPS SW/FW Technologist) ; > > Atish Patra ; Ard Biesheuvel

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

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

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

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

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:

[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

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

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.

[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

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

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

[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

[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

[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

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

[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

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"

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

[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(>console_out); |

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

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

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 >

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

[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

[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

[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

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

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:

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

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

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

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

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

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:

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

[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

[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

[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

[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

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

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

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

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

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

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 >

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

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

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 >

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,

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

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

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

[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

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

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

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

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

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

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

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

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

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

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

  1   2   >