[PATCH] x86: qemu: Fix broken multi-core boot

2021-02-01 Thread Bin Meng
Unfortunately the multi-core boot for QEMU x86 has been broken since commit 77a5e2d3bc61 ("x86: mp_init: Set up the CPU numbers at the start"). In order to support QEMU x86 multi-core boot, the /cpus node must be bound before any actual fix up in qemu_cpu_fixup(). This adds the uclass_get() call

Re: [PATCH 4/4] fs: fat: remove trailing periods from long name

2021-02-01 Thread Heinrich Schuchardt
Am 2. Februar 2021 07:39:34 MEZ schrieb AKASHI Takahiro : >On Tue, Feb 02, 2021 at 07:05:53AM +0100, Heinrich Schuchardt wrote: >> Am 2. Februar 2021 00:54:58 MEZ schrieb AKASHI Takahiro >: >> >On Mon, Feb 01, 2021 at 01:34:59PM +0100, Heinrich Schuchardt wrote: >> >> On 01.02.21 09:18, AKASHI

[PATCH] mmc: mv_sdhci: parse device-tree entry

2021-02-01 Thread Baruch Siach
Call mmc_of_parse() so that generic DT properties like 'non-removable' are taken into account. This fixes boot on Clearfog with eMMC on SOM that requires the non-removable property. Reported-by: Thorsten Spille Signed-off-by: Baruch Siach --- drivers/mmc/mv_sdhci.c | 4 1 file changed, 4

Re: [PATCH 4/4] fs: fat: remove trailing periods from long name

2021-02-01 Thread AKASHI Takahiro
On Tue, Feb 02, 2021 at 07:05:53AM +0100, Heinrich Schuchardt wrote: > Am 2. Februar 2021 00:54:58 MEZ schrieb AKASHI Takahiro > : > >On Mon, Feb 01, 2021 at 01:34:59PM +0100, Heinrich Schuchardt wrote: > >> On 01.02.21 09:18, AKASHI Takahiro wrote: > >> > On Sun, Jan 31, 2021 at 12:09:53AM

RE: Subject: [PATCH v2 4/4] board/km: add support for seli8 design based on nxp ls102x

2021-02-01 Thread Priyanka Jain (OSS)
>-Original Message- >From: Aleksandar Gerasimovski powergrids.com> >Sent: Tuesday, January 19, 2021 4:11 PM >To: Priyanka Jain (OSS) ; u-boot@lists.denx.de >Cc: Valentin Longchamp ; Holger >Brunck ; Rainer Boschung >; Matteo Ghidoni > >Subject: Subject: [PATCH v2 4/4] board/km: add support

Re: [PATCH 4/4] fs: fat: remove trailing periods from long name

2021-02-01 Thread Heinrich Schuchardt
Am 2. Februar 2021 00:54:58 MEZ schrieb AKASHI Takahiro : >On Mon, Feb 01, 2021 at 01:34:59PM +0100, Heinrich Schuchardt wrote: >> On 01.02.21 09:18, AKASHI Takahiro wrote: >> > On Sun, Jan 31, 2021 at 12:09:53AM +0100, Heinrich Schuchardt >wrote: >> >> The FAT32 File System Specification [1]

RE: [v3 16/33] configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO

2021-02-01 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Thursday, January 28, 2021 3:10 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [v3 16/33] configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO > >From: Biwen Li > >Enable

Re: Intermittent failure with test_efi_selftest_text_input

2021-02-01 Thread Bin Meng
Hi Simon, On Sun, Jan 31, 2021 at 11:45 AM Simon Glass wrote: > > Hi Heinrich and Bin, > > On Sat, 12 Sept 2020 at 14:15, Simon Glass wrote: > > > > Hi Heinrich, > > > > On Sat, 12 Sep 2020 at 14:11, Heinrich Schuchardt > > wrote: > > > > > > Am 12. September 2020 18:40:17 MESZ schrieb Simon

Re: [PATCH] nvme: Fix cache alignment

2021-02-01 Thread Bin Meng
On Sun, Jan 31, 2021 at 1:53 AM Marek Vasut wrote: > > The various structures in the driver are already correcty padded and typo: correctly > cache aligned in memory, however the cache operations are called on > the structure sizes, which themselves might not be cache aligned. Add > the

Re: [PATCH] spi: imx: Implement set_speed

2021-02-01 Thread Bin Meng
On Thu, Jan 28, 2021 at 12:01 AM Marek Vasut wrote: > > The set_speed() callback should configure the bus speed, make it so. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki > Cc: Stefano Babic > --- > drivers/spi/mxc_spi.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff

[PATCH v2 3/3] mmc: mmc_spi: Document the 3 local functions

2021-02-01 Thread Bin Meng
From: Bin Meng mmc_spi_sendcmd(), mmc_spi_readdata() and mmc_spi_writedata() are currently undocumented. Add comment blocks to explain the arguments and the return value. Signed-off-by: Bin Meng Reviewed-by: Jaehoon Chung --- (no changes since v1) drivers/mmc/mmc_spi.c | 36

[PATCH v2 2/3] mmc: mmc_spi: Fix potential spec violation in receiving card response

2021-02-01 Thread Bin Meng
From: Bin Meng After command is sent and before card response shows up on the line, there is a variable number of clock cycles in between called Ncr. The spec [1] says the minimum is 1 byte and the maximum is 8 bytes. Current logic in mmc_spi_sendcmd() has a flaw that it could only work with

[PATCH v2 1/3] mmc: mmc_spi: Move argument check to the beginning of mmc_spi_sendcmd()

2021-02-01 Thread Bin Meng
From: Bin Meng The argument check should happen before any transfer on the SPI lines. Signed-off-by: Bin Meng Reviewed-by: Jaehoon Chung --- Changes in v2: - move the check before the debug output drivers/mmc/mmc_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 0/3] mmc: mmc_spi: Fix potential spec violation in receiving card response

2021-02-01 Thread Bin Meng
After command is sent and before card response shows up on the line, there is a variable number of clock cycles in between called Ncr. The spec [1] says the minimum is 1 byte and the maximum is 8 bytes. Current logic in mmc_spi_sendcmd() has a flaw that it could only work with certain SD cards

[PATCH v3] mmc: mmc_spi: Print verbose debug output when crc16 check fails

2021-02-01 Thread Bin Meng
Add some verbose debug output when crc16 check fails. Signed-off-by: Bin Meng Reviewed-by: Jaehoon Chung --- Changes in v3: - use expected/got instead of expect/get Changes in v2: - do the crc_ok assignment at the the same line where it's defined drivers/mmc/mmc_spi.c | 6 -- 1 file

Re: [PATCH 4/4] fs: fat: remove trailing periods from long name

2021-02-01 Thread AKASHI Takahiro
On Mon, Feb 01, 2021 at 01:34:59PM +0100, Heinrich Schuchardt wrote: > On 01.02.21 09:18, AKASHI Takahiro wrote: > > On Sun, Jan 31, 2021 at 12:09:53AM +0100, Heinrich Schuchardt wrote: > >> The FAT32 File System Specification [1] requires leading and trailing > >> spaces as well as trailing

Re: [PATCH v3 9/9] fastboot: Partition specification

2021-02-01 Thread Sean Anderson
On 2/1/21 5:30 PM, Heinrich Schuchardt wrote: On 01.02.21 17:43, Sean Anderson wrote: This documents the way U-Boot understands partitions specifications. This also updates the fastboot documentation for the changes in the previous commit. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass

Re: [PATCH v3 9/9] fastboot: Partition specification

2021-02-01 Thread Heinrich Schuchardt
On 01.02.21 17:43, Sean Anderson wrote: > This documents the way U-Boot understands partitions specifications. > This also updates the fastboot documentation for the changes in the > previous commit. > > Signed-off-by: Sean Anderson > Reviewed-by: Simon Glass > --- > > Changes in v3: > - Rebase

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-02-01 Thread Ramon Fried
On Sat, Jan 30, 2021 at 11:26 PM Ramon Fried wrote: > > On Sat, Jan 30, 2021 at 10:39 PM Suneel Garapati > wrote: > > > > Hello Ramon, > > > > With TFTP window size as default 1 and enabling TFTPPUT config option > > results in tftpboot command failure. > > > > Attached the pcap files for with

Re: [PATCH v5 01/20] mmc: sdhci: Add helper functions for UHS modes

2021-02-01 Thread Jaehoon Chung
Hi Aswath, On 1/29/21 11:47 PM, Aswath Govindraju wrote: > From: Faiz Abbas > > Add a set_voltage() function which handles the switch from 3.3V to 1.8V > for SD card UHS modes. > > Signed-off-by: Faiz Abbas > Signed-off-by: Aswath Govindraju > --- > drivers/mmc/sdhci.c | 73

Re: [PATCH 2/3] mmc: mmc_spi: Fix potential spec violation in receiving card response

2021-02-01 Thread Jaehoon Chung
On 2/1/21 1:20 PM, Bin Meng wrote: > From: Bin Meng > > After command is sent and before card response shows up on the line, > there is a variable number of clock cycles in between called Ncr. > The spec [1] says the minimum is 1 byte and the maximum is 8 bytes. > > Current logic in

Re: [PATCH 1/1] sandbox: host bind must close file descriptor

2021-02-01 Thread Simon Glass
Hi Heinrich, On Mon, 1 Feb 2021 at 14:08, Heinrich Schuchardt wrote: > > On 2/1/21 9:44 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 31 Jan 2021 at 03:39, Heinrich Schuchardt > > wrote: > >> > >> Each invocation of the 'host bind' command with a file name argument opens > >> a file

Re: [PATCH] tools: Remove #include

2021-02-01 Thread Tom Rini
On Wed, Jan 27, 2021 at 04:34:24PM +0100, Pali Rohár wrote: > Header file version.h includes also autogenerated file timestamp.h which > is recompiled on every time when SOURCE_DATE_EPOCH change. > > Tools do not use build time therefore they do not have to include > timestamp.h file. > > This

Re: [PATCH 1/1] sandbox: host bind must close file descriptor

2021-02-01 Thread Heinrich Schuchardt
On 2/1/21 9:44 PM, Simon Glass wrote: Hi Heinrich, On Sun, 31 Jan 2021 at 03:39, Heinrich Schuchardt wrote: Each invocation of the 'host bind' command with a file name argument opens a file descriptor. The next invocation of the 'host bind' command destroys the block device but the file

Re: [PATCH] env: increment redund flag on read fail

2021-02-01 Thread Tom Rini
On Thu, Dec 17, 2020 at 05:19:18PM -0600, Brandon Maier wrote: > If one of the reads fails when importing redundant environments (a > single read failure), the env_flags wouldn't get initialized in > env_import_redund(). If a user then calls saveenv, the new environment > will have the wrong

Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-01 Thread Marek Vasut
On 2/1/21 4:19 PM, Adam Ford wrote: On Mon, Jan 25, 2021 at 6:40 AM Marek Vasut wrote: On 1/25/21 12:22 AM, Adam Ford wrote: On Sun, Jan 24, 2021 at 11:10 AM Marek Vasut wrote: On 1/13/21 12:52 AM, Adam Ford wrote: Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas

Re: [PATCH v4 0/6] Add support for ECDSA image signing (with test)

2021-02-01 Thread Simon Glass
Hi Alex, On Thu, 28 Jan 2021 at 10:54, Alex G. wrote: > > On 1/28/21 10:40 AM, Patrick DELAUNAY wrote: > > Hi Alexandru, > Hi Patrick > > > I found in doc/uImage.FIT/signature.txt the description > > > > - key-name-hint: Name of key to use for signing. The keys will > > normally be in a

Re: [PATCH v2 1/1] sandbox: mark os_abort() as noreturn

2021-02-01 Thread Simon Glass
On Sun, 31 Jan 2021 at 17:24, Heinrich Schuchardt wrote: > > gcc -fanalyzer needs the information that a function does not return to > provide accurate information. > > os_abort() does not return. Mark it accordingly. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > use

Re: [PATCH 1/1] firmware: smci: possible NULL dereference

2021-02-01 Thread Simon Glass
On Sun, 31 Jan 2021 at 19:02, Heinrich Schuchardt wrote: > > sandbox_scmi_devices_ctx() may return NULL. We should not dereference this > value in sandbox_scmi_devices_remove(). > > The problem was indicated by 'gcc-11 -fanalyzer'. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH v1 1/7] command sf: help text format

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 09:29, Bernhard Kirchen wrote: > > properly indent the help text and use single quotes consistently to mark > variable parameters. > > Signed-off-by: Bernhard Kirchen > --- > > cmd/sf.c | 48 ++-- > 1 file changed, 22

Re: [PATCH v3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-01 Thread Simon Glass
Hi Kory, On Mon, 1 Feb 2021 at 08:31, Kory Maincent wrote: > > Add "zboot" command to the list of supported boot in the label_boot > function. > > Signed-off-by: Kory Maincent > --- > > Change since v1: > - Modify comment > > Change since v2: > - Update do_zboot to do_zboot_parent function to

Re: [PATCH v1 7/7] provide "sf protect check" command

2021-02-01 Thread Simon Glass
Hi Bernhard, On Thu, 28 Jan 2021 at 09:28, Bernhard Kirchen wrote: > > this change exposes checking the protection mechanism of SPI NOR flash > chips to the CLI. it expands what was already there to communicate not > only the protection state of a particular region, but also whether or > not the

Re: [PATCH v5 6/6] test/py: ecdsa: Add test for mkimage ECDSA signing

2021-02-01 Thread Simon Glass
Hi Alexandru, On Thu, 28 Jan 2021 at 08:52, Alexandru Gagniuc wrote: > > Add a test to make sure that the ECDSA signatures generated by > mkimage can be verified successfully. pyCryptodomex was chosen as the > crypto library because it integrates much better with python code. > Using openssl

Re: [PATCH v1] fix patman --limit-cc option

2021-02-01 Thread Simon Glass
Hi Bernhard, On Fri, 29 Jan 2021 at 07:10, Bernhard Kirchen wrote: > > patman's --limit-cc option parses its argument to an integer and uses > that to trim the list of CC recipients to a particular maximum. but that > only works if the cc variable is a list, which it is not. > > Signed-off-by:

Re: [PATCH 1/2] board: samsung: covert to driver model about power_key_pressed

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 15:11, Jaehoon Chung wrote: > > Convert to driver model about power_key_pressed. > > Signed-off-by: Jaehoon Chung > --- > board/samsung/common/misc.c | 27 ++- > 1 file changed, 14 insertions(+), 13 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v1 1/7] command sf: help text format

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 09:19, Bernhard Kirchen wrote: > > properly indent the help text and use single quotes consistently to mark > variable parameters. > > Signed-off-by: Bernhard Kirchen > --- > > cmd/sf.c | 48 ++-- > 1 file changed, 22

Re: [PATCH v1 2/7] sf protect: warn about failed (un)lock operation

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 09:19, Bernhard Kirchen wrote: > > it is not guaranteed that there is a human readable message when the > lock or unlock operation failed. make sure there is a message emitted > by the "sf protect" implementation if the subcommand failed. > > Signed-off-by: Bernhard Kirchen

Re: [ANN] U-Boot v2021.04-rc1 released

2021-02-01 Thread Simon Glass
Hi Tom, On Mon, 1 Feb 2021 at 09:06, Tom Rini wrote: > > Hey all, > > It's release day, and here's v2021.04-rc1. As is often the case, > there's a few PRs still I would have hoped to see by now come in but I > think will be coming in soon. And there's a few more changes in my own > queue that

Re: [PATCH v2 10/10] bdinfo: Change to use bdinfo_print_num_ll() where the number could be 64-bit

2021-02-01 Thread Simon Glass
On Sun, 31 Jan 2021 at 05:37, Bin Meng wrote: > > From: Bin Meng > > There are some calls to bdinfo_print_num_l() with parameters that > could be a 64-bit value on a 32-bit system. Change those calls to > use bdinfo_print_num_ll() instead. > > Signed-off-by: Bin Meng > --- > > (no changes since

Re: [PATCH v2 3/4] .gitlab-ci: install doc/sphinx/requirements.txt

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 11:36, Heinrich Schuchardt wrote: > > Install all requirements according to doc/sphinx/requirements.txt in the > virtual environment used for testing 'make htmldocs'. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > no change > --- > .azure-pipelines.yml | 6

Re: [PATCH 1/1] doc: dm: describe end of life of plat_auto

2021-02-01 Thread Simon Glass
On Sun, 31 Jan 2021 at 03:07, Heinrich Schuchardt wrote: > > Describe when plat_auto is freed. > > Fix a typo. > > Signed-off-by: Heinrich Schuchardt > --- > doc/driver-model/design.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v2 2/4] doc: fix doc/develop/logging.rst

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 11:36, Heinrich Schuchardt wrote: > > Sphinx 3 builds fail due to doc/develop/logging.rst producing duplicate > labels. > > Include logging.h only once in the API section and use cross-references for > the enums log_level_t and log_category_t. > > Signed-off-by: Heinrich

Re: [PATCH v2 1/2] stdio: Introduce stdio_valid()

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 06:12, Nicolas Saenz Julienne wrote: > > stdio_valid() will confirm that a struct stdio_dev pointer is indeed > valid. > > Signed-off-by: Nicolas Saenz Julienne > > --- > > Changes since v1: > - Properly document function > > common/stdio.c | 11 +++ >

Re: [PATCH 1/1] sandbox: host bind must close file descriptor

2021-02-01 Thread Simon Glass
Hi Heinrich, On Sun, 31 Jan 2021 at 03:39, Heinrich Schuchardt wrote: > > Each invocation of the 'host bind' command with a file name argument opens > a file descriptor. The next invocation of the 'host bind' command destroys > the block device but the file descriptor remains open. The same

Re: [PATCH 1/1] fs: fat: usage basename in file_fat_write_at, fat_mkdir

2021-02-01 Thread Simon Glass
On Sat, 30 Jan 2021 at 02:22, Heinrich Schuchardt wrote: > > This patch involves no functional change. It is just about code > readability. > > Both in file_fat_write_at() and fat_mkdir() the incoming file or directory > path are split into two parts: the parent directory and the base name. > >

Re: [PATCH] azure: Add -E back for the world build script

2021-02-01 Thread Simon Glass
On Sun, 31 Jan 2021 at 01:38, Bin Meng wrote: > > Commit dd5c954e917b ("travis/gitlab/azure: Use -W to avoid warnings check") > added -W to avoid warnings check, but it mistakenly dropped -E for > the world build script in the azure pipelines. > > This caused builds on the azure pipelines fail to

Re: [PATCH v2] test/py: fix runtest wrapper for pytest 6

2021-02-01 Thread Simon Glass
On Sat, 30 Jan 2021 at 20:12, Stephen Warren wrote: > > The implementation of pytest_runtest_protocol() must call > pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to > be necessary even in pytest 5.2.1 judging by the default version of > pytest_runtest_protocol(), but

Re: [PATCH v2 08/12] pinctrl: single: add register access functions

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 15:25, Dario Binacchi wrote: > > The configuration of pinmux registers was implemented with duplicate > code which can be removed by adding two functions for read/write access. > Access to 8-bit registers has also been added. > > Signed-off-by: Dario Binacchi > > --- > >

Re: [PATCH v2 11/12] pinctrl: single: add get_pin_muxing operation

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 15:25, Dario Binacchi wrote: > > It allows to display the muxing of a given pin. Inspired by more recent > versions of the Linux driver, in addition to the address and the value > of the configuration register I added the pin function retrieved from > the DT. In doing so,

Re: [PATCH 2/2] power: pmic: remove pmic_max8997/8 files

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 15:11, Jaehoon Chung wrote: > > Remove pmic_max8997/8 files about no-DM. > There are already existed max8997/8 as driver-model. > > Signed-off-by: Jaehoon Chung > --- > drivers/power/pmic/Makefile | 2 - > drivers/power/pmic/pmic_max8997.c | 107

Re: [PATCH v2 07/12] pinctrl: single: change function mask default value

2021-02-01 Thread Simon Glass
On Thu, 28 Jan 2021 at 15:25, Dario Binacchi wrote: > > The patch is inspired by more recent versions of the Linux driver. > Replacing the default value 0x of the function mask with 0 is > certainly more conservative in case the "pinctrl-single,function-mask" > DT property is missing. > >

Re: [PATCH v1 7/7] provide "sf protect check" command

2021-02-01 Thread Simon Glass
Hi, On Thu, 28 Jan 2021 at 09:19, Bernhard Kirchen wrote: > > this change exposes checking the protection mechanism of SPI NOR flash > chips to the CLI. it expands what was already there to communicate not > only the protection state of a particular region, but also whether or > not the hardware

Re: [PATCH] version: Move version_string[] from version.h to version_string.h

2021-02-01 Thread Simon Glass
On Wed, 27 Jan 2021 at 08:57, Pali Rohár wrote: > > More C files do not use compile time timestamp macros and do not have to be > recompiled every time when SOURCE_DATE_EPOCH changes. > > This patch moves version_string[] from version.h to version_string.h and > updates other C files which only

Re: [PATCH] tools: Remove #include

2021-02-01 Thread Simon Glass
On Wed, 27 Jan 2021 at 08:34, Pali Rohár wrote: > > Header file version.h includes also autogenerated file timestamp.h which > is recompiled on every time when SOURCE_DATE_EPOCH change. > > Tools do not use build time therefore they do not have to include > timestamp.h file. > > This change

Re: [PATCH] arm: Remove #include from armv8/fwcall.c

2021-02-01 Thread Simon Glass
On Wed, 27 Jan 2021 at 08:29, Pali Rohár wrote: > > No version information is used in armv8/fwcall.c therefore do not include > version.h header file. This change prevents recompiling fwcall.o when > SOURCE_DATE_EPOCH changes. > > Signed-off-by: Pali Rohár > --- > arch/arm/cpu/armv8/fwcall.c |

Re: [PATCH 1/1] doc: update Kernel documentation build system

2021-02-01 Thread Simon Glass
Hi Heinrich, On Tue, 26 Jan 2021 at 09:02, Tom Rini wrote: > > On Tue, Jan 26, 2021 at 04:28:24PM +0100, Heinrich Schuchardt wrote: > > On 25.01.21 02:56, Simon Glass wrote: > > > Hi, > > > > > > On Sun, 24 Jan 2021 at 18:37, Tom Rini wrote: > > >> > > >> On Mon, Jan 25, 2021 at 01:41:18AM

Re: [PATCH v2 4/4] doc: update Kernel documentation build system

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 11:36, Heinrich Schuchardt wrote: > > Update the documentation build system according to Linux v5.11-rc1. > > Deactive the automarkup.py extension module which on Gitlab CI is > incompatible with Unicode. > > With this patch we can build the HTML documentation using either

Re: [PATCH v2 1/4] doc: board: fix Microchip MPFS Icicle Kit doc

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 11:36, Heinrich Schuchardt wrote: > > Two sibling headings (here eMMC) cannot have the same title. > > Warning, treated as error: > doc/board/microchip/mpfs_icicle.rst:423:duplicate label > board/microchip/mpfs_icicle:emmc, other instance in >

Re: [PATCH v5 4/4] configs: khadas-vim3(l): enable Function button support

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 02:51, Marek Szyprowski wrote: > > Add options required to check the 'Function' button state. > > Signed-off-by: Marek Szyprowski > --- > configs/khadas-vim3_defconfig | 2 ++ > configs/khadas-vim3l_defconfig | 2 ++ > 2 files changed, 4 insertions(+) > Reviewed-by:

Re: [PATCH v5 2/4] button: add a simple Analog to Digital Converter device based button driver

2021-02-01 Thread Simon Glass
Hi, On Tue, 26 Jan 2021 at 06:03, Heinrich Schuchardt wrote: > > On 26.01.21 12:25, Marek Szyprowski wrote: > > Hi Heinrich, > > > > On 26.01.2021 12:10, Heinrich Schuchardt wrote: > >> On 1/26/21 10:50 AM, Marek Szyprowski wrote: > >>> Add a simple Analog to Digital Converter device based

Re: [PATCH 10/11] pinctrl: single: add get_pin_muxing operation

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 04:28, Dario Binacchi wrote: > > Hi Simon, > > > Il 24/01/2021 03:03 Simon Glass ha scritto: > > > > > > Hi Dario, > > > > On Sat, 23 Jan 2021 at 11:27, Dario Binacchi wrote: > > > > > > It allows to display the muxing of a given pin. Inspired by more recent > > >

Re: [PATCH v5 3/4] adc: meson-saradc: add support for getting reference voltage value

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 02:51, Marek Szyprowski wrote: > > Add support for getting the 'vref-supply' regulator and register it as > ADC's reference voltage regulator, so clients can translate sampled ADC > values to the voltage. > > Signed-off-by: Marek Szyprowski > --- >

Re: [PATCH v5 1/4] dt-bindings: input: adc-keys bindings documentation

2021-02-01 Thread Simon Glass
On Tue, 26 Jan 2021 at 02:51, Marek Szyprowski wrote: > > Dump adc-keys bindings documentation from Linux kernel source tree from > commit 698dc0cf9447 ("dt-bindings: input: adc-keys: clarify > description"). > > Signed-off-by: Marek Szyprowski > --- >

Re: [PATCH 1/1] .gitlab-ci: install doc/sphinx/requirements.txt

2021-02-01 Thread Simon Glass
On Mon, 25 Jan 2021 at 14:53, Heinrich Schuchardt wrote: > > Install all requirements according to doc/sphinx/requirements.txt in the > virtual environment used for testing 'make htmldocs'. > > Signed-off-by: Heinrich Schuchardt > --- > .azure-pipelines.yml | 6 +- > .gitlab-ci.yml |

Re: [PATCH v2 2/2] console: Don't start/stop console if stdio device invalid

2021-02-01 Thread Simon Glass
Hi Nicolas, On Thu, 28 Jan 2021 at 06:12, Nicolas Saenz Julienne wrote: > > Don't start/stop an stdio device that might have been already freed. > > Signed-off-by: Nicolas Saenz Julienne > Fixes: 70c2525c0d3c ("IOMUX: Stop dropped consoles") > > --- > Changes since v1: > - Add comment stating

[PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-02-01 Thread Marek Vasut
The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim. The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE is enabled, the u-boot.bin does not contain control DT for U-Boot, and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx does not contain the DT,

[scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-02-01 Thread Tom Rini
- Forwarded message from scan-ad...@coverity.com - Date: Mon, 01 Feb 2021 16:18:03 + (UTC) From: scan-ad...@coverity.com To: tom.r...@gmail.com Subject: New Defects reported by Coverity Scan for Das U-Boot Hi, Please find the latest report on new defect(s) introduced to Das U-Boot

Re: [PATCH v4 9/9] mtd: spi-nor-tiny: Add fixups for Cypress s25hl-t/s25hs-t

2021-02-01 Thread Pratyush Yadav
On 28/01/21 01:37PM, tkuw584...@gmail.com wrote: > From: Takahiro Kuwano > > Fixes mode clocks for SPINOR_OP_READ_FAST_4B and volatile QE bit in tiny. > The volatile QE bit function, spansion_quad_enable_volatile() supports > dual/quad die package parts, by taking 'die_size' parameter that is

Re: [PATCH] env: Fix warning when forcing environment without ENV_ACCESS_IGNORE_FORCE

2021-02-01 Thread Tom Rini
On Fri, Jan 29, 2021 at 12:03:52AM +0100, Marek Vasut wrote: > On 1/28/21 8:26 PM, Tom Rini wrote: > > On Thu, Jan 28, 2021 at 08:07:54PM +0100, Marek Vasut wrote: > > > On 1/11/21 11:27 AM, Martin Fuzzey wrote: > > > > Since commit 0f036bf4b87e ("env: Warn on force access if > > > >

Re: [PATCH v2 2/2] console: Don't start/stop console if stdio device invalid

2021-02-01 Thread Tom Rini
On Fri, Jan 29, 2021 at 09:50:50AM +0100, Matthias Brugger wrote: > > > On 28/01/2021 16:52, Andy Shevchenko wrote: > > On Thu, Jan 28, 2021 at 02:12:40PM +0100, Nicolas Saenz Julienne wrote: > >> Don't start/stop an stdio device that might have been already freed. > >> > >> Signed-off-by:

Re: [PATCH v4 8/9] mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t

2021-02-01 Thread Pratyush Yadav
On 28/01/21 01:37PM, tkuw584...@gmail.com wrote: > From: Takahiro Kuwano > > Add nor->setup() and fixup hooks to overwrite: > - volatile QE bit > - the ->ready() hook for dual/quad die package parts > - overlaid erase > - spi_nor_flash_parameter > - mtd_info > > Signed-off-by:

Re: [PATCH v4 6/9] mtd: spi-nor-core: Add overlaid sector erase feature

2021-02-01 Thread Pratyush Yadav
Hi Takahiro, On 28/01/21 01:36PM, tkuw584...@gmail.com wrote: > From: Takahiro Kuwano > > Some of Spansion/Cypress chips have overlaid 4KB sectors at top and/or > bottom, depending on the device configuration, while U-Boot supports > uniform sector layout only. This patch adds an erase hook

Re: [PATCH 10/14] spi: dw: Add DUAL/QUAD/OCTAL caps

2021-02-01 Thread Sean Anderson
On 1/31/21 7:34 PM, Sean Anderson wrote: These capabilities correspond to SSIC_SPI_MODE of 1, 2, or 3, respectively. This doesn't do much yet, but it does add support for detection and for disallowing unsupported modes. Unfortunately, we cannot discriminate between these modes (only that

Re: [PATCH v2 1/8] spl: Drop duplicate 'Jumping to U-Boot' message

2021-02-01 Thread Pratyush Yadav
On 23/01/21 10:36AM, Simon Glass wrote: > This is printed twice but we only need one message, since there is very > little processing in between them. Drop the first one. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > common/spl/spl.c | 1 - > 1 file changed, 1 deletion(-)

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 1:36 PM Marek Vasut wrote: > I don't think WB uses OF_SEPARATE with fitImages, so maybe there its not > applicable at all ? Wandboard does use OF_SEPARATE and FIT. I have just tested flashing u-boot-with-spl.imx into a SD card and booting a wandboard. It does behave the

[PATCH v2] sunxi: spl: Fix H616 clock initialization

2021-02-01 Thread Jernej Skrabec
It turns out that there is a magic bit in PRCM region which seemingly makes PLLs work if it's enabled. Sadly, there is no documentation what it does exactly, so we'll just mimick BSP boot0 behaviour and enable it before any clock is set up. Fixes: b18bd53d6cde ("sunxi: introduce support for H616

Re: [PATCH] MAINTAINERS: Add maintainer to network subsystem

2021-02-01 Thread Joe Hershberger
On Fri, Jan 29, 2021 at 10:18 AM Ramon Fried wrote: > > Add myself as co maintainer to network subsystem > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 6d8c467410..dfc8cb7a45 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@

Re: [PATCH v2 26/40] test: Use a local variable for test state

2021-02-01 Thread Alex G.
Hi Simon, On 1/30/21 9:32 PM, Simon Glass wrote: [snip] +static struct unit_test_state *cur_test_state; + +struct unit_test_state *test_get_state(void) +{ + return cur_test_state; +} + +void test_set_state(struct unit_test_state *uts) +{ + cur_test_state = uts; +} + /** *

Re: [PATCH v2 1/9] mmc: sandbox: Add support for writing

2021-02-01 Thread Sean Anderson
On 2/1/21 2:59 AM, Lukasz Majewski wrote: Hi Sean, This adds support writing to the sandbox mmc backed by an in-memory buffer. The unit test has been updated to test reading, writing, and erasing. I'm not sure what MMCs erase to; I picked 0, but if it's 0xFF then that can be easily changed.

[PATCH v3 9/9] fastboot: Partition specification

2021-02-01 Thread Sean Anderson
This documents the way U-Boot understands partitions specifications. This also updates the fastboot documentation for the changes in the previous commit. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v3: - Rebase onto dfu/master Changes in v2: - Move partition

[PATCH v3 8/9] fastboot: Allow u-boot-style partitions

2021-02-01 Thread Sean Anderson
This adds support for partitions of the form "dev.hwpart:part" and "dev#partname". This allows one to flash to eMMC boot partitions without having to use CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT. It also allows one to flash to an entire device without needing CONFIG_FASTBOOT_MMC_USER_NAME. Lastly, one

[PATCH v3 7/9] fastboot: Move part_get_info_by_name_or_alias after raw_part_get_info_by_name

2021-02-01 Thread Sean Anderson
This makes the next commit more readable by doing the move now. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- (no changes since v1) drivers/fastboot/fb_mmc.c | 44 +++ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git

[PATCH v3 6/9] fastboot: Remove mmcpart argument from raw_part_get_info_by_name

2021-02-01 Thread Sean Anderson
The only thing mmcpart was used for was to pass to blk_dselect_hwpart. This calls blk_dselect_hwpart directly from raw_part_get_info_by_name. The error handling is dropped, but it is reintroduced in the next commit (albeit less specificly). Signed-off-by: Sean Anderson Reviewed-by: Simon Glass

[PATCH v3 5/9] part: Support string block devices in part_get_info_by_dev_and_name

2021-02-01 Thread Sean Anderson
This adds support for things like "#partname" and "0.1#partname". The block device parsing is done like in blk_get_device_part_str. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - Update Documentation disk/part.c | 41

[PATCH v3 4/9] part: Support getting whole disk from part_get_info_by_dev_and_name_or_num

2021-02-01 Thread Sean Anderson
This adds an option to part_get_info_by_dev_and_name_or_num to allow callers to specify whether whole-disk partitions are fine. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- (no changes since v1) cmd/ab_select.c | 3 ++- disk/part.c | 5 +++-- include/part.h | 6 +- 3

[PATCH v3 3/9] part: Give several functions more useful return values

2021-02-01 Thread Sean Anderson
Several functions in disk/part.c just return -1 on error. This makes them return different errnos for different failures. This helps callers differentiate between failures, even if they cannot read stdout. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- (no changes since v1)

[PATCH v3 2/9] test: dm: Add test for fastboot mmc partition naming

2021-02-01 Thread Sean Anderson
This test verifies the mapping between fastboot partitions and partitions as understood by U-Boot. It also tests the creation of GPT partitions, though that is not the primary goal. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- (no changes since v1) configs/sandbox64_defconfig |

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 5:29 PM, Fabio Estevam wrote: Hi Marek, On Mon, Feb 1, 2021 at 12:01 PM Marek Vasut wrote: I posted a patch, you are on CC, thanks. Can you please add this u-boot-with-spl.imx into the NXP test matrix ? I am not aware of any NXP boot farm tests being done in U-Boot. Maybe Peng

[PATCH v3 1/9] mmc: sandbox: Add support for writing

2021-02-01 Thread Sean Anderson
This adds support writing to the sandbox mmc backed by an in-memory buffer. The unit test has been updated to test reading, writing, and erasing. I'm not sure what MMCs erase to; I picked 0, but if it's 0xFF then that can be easily changed. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass

[PATCH v3 0/9] fastboot: Add better support for specifying partitions

2021-02-01 Thread Sean Anderson
This series adds support for flashing eMMC boot partitions, and for flashing whole partitions. Specifically, it does this by using the existing U-Boot naming scheme to specify partitions, and not by adding new KConfig options. I have added tests for partition naming, but not for the whole flash

Re: [PATCH 05/14] spi: spi-mem: Add debug message for spi-mem ops

2021-02-01 Thread Pratyush Yadav
On 01/02/21 10:33AM, Sean Anderson wrote: > On 2/1/21 7:18 AM, Pratyush Yadav wrote: > > On 31/01/21 07:34PM, Sean Anderson wrote: > > > This prints some basic metadata about the SPI memory op. This information > > > may be used to debug SPI drivers (e.g. determining the expected SPI mode). > > >

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
Hi Marek, On Mon, Feb 1, 2021 at 12:01 PM Marek Vasut wrote: > I posted a patch, you are on CC, thanks. > > Can you please add this u-boot-with-spl.imx into the NXP test matrix ? I am not aware of any NXP boot farm tests being done in U-Boot. Maybe Peng can comment. I know Heiko tests

Re: [PATCH 04/11] dm: Remove uses of device_bind_offset()

2021-02-01 Thread Eugen.Hristev
On 01.02.2021 14:02, Simon Glass wrote: > Hi Eugen, > > On Mon, 1 Feb 2021 at 01:13, wrote: >> >> On 31.01.2021 17:37, Simon Glass wrote: >>> Hi Eugen, >>> >>> On Sun, 31 Jan 2021 at 02:18, wrote: On 10.12.2020 02:26, Simon Glass wrote: > This function is not needed since the

Re: Please pull u-boot-x86

2021-02-01 Thread Tom Rini
On Mon, Feb 01, 2021 at 05:37:17PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following x86 changes for v2021.04: > > - Fix CMD_ACPI dependency in Kconfig > - Correct overflow in __udelay() in TSC timer driver > - Add a devicetree node for eMMC for Coral > - Minor improvements on

[ANN] U-Boot v2021.04-rc1 released

2021-02-01 Thread Tom Rini
Hey all, It's release day, and here's v2021.04-rc1. As is often the case, there's a few PRs still I would have hoped to see by now come in but I think will be coming in soon. And there's a few more changes in my own queue that I think I can / should pick up still and I'll try and get to this

Re: Pull request: u-boot-sunxi/master for v2021.04 (part 3)

2021-02-01 Thread Tom Rini
On Mon, Feb 01, 2021 at 12:25:47AM +, Andre Przywara wrote: > Hi Tom, > > please pull the master branch from u-boot-sunxi, containing some late > sunxi patches for the 2021.04 merge window: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 0/4] fastboot: mmc: Add CONFIG_FASTBOOT_MMC_USER_SUPPORT

2021-02-01 Thread Sean Anderson
Looks like I didn't CC people properly... On 1/27/21 11:36 AM, Sean Anderson wrote: Hi Patrick, I believe that the first two patches in this series can be replicated with [1]. For example, if you currently use FASTBOOT_MMC_BOOT_SUPPORT with FASTBOOT_MMC_BOOT1_NAME set to "mmc0boot1", leading

Re: [PATCH 05/14] spi: spi-mem: Add debug message for spi-mem ops

2021-02-01 Thread Sean Anderson
On 2/1/21 7:18 AM, Pratyush Yadav wrote: On 31/01/21 07:34PM, Sean Anderson wrote: This prints some basic metadata about the SPI memory op. This information may be used to debug SPI drivers (e.g. determining the expected SPI mode). It is also helpful for verifying that the data on the wire

[PATCH v3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-01 Thread Kory Maincent
Add "zboot" command to the list of supported boot in the label_boot function. Signed-off-by: Kory Maincent --- Change since v1: - Modify comment Change since v2: - Update do_zboot to do_zboot_parent function to follow the patch: 5588e776b0 cmd/pxe_utils.c | 4 include/command.h |

Re: [PATCH 00/13] Nokia RX-51: Fix USB TTY console and enable it

2021-02-01 Thread Pali Rohár
Hello! On Sunday 17 January 2021 16:07:30 Lokesh Vutla wrote: > Hi Lukasz, > > On 29/11/20 10:16 pm, Pali Rohár wrote: > > This patch series fix usbtty code (serial console via USB peripheral > > mode), fix underlying musb peripheral code, fix compilation of > > CONFIG_USB_DEVICE (used by

  1   2   >