Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-27 Thread Jan Kiszka
On 27.06.21 20:18, Simon Glass wrote: > Hi Jan, > > On Sun, 27 Jun 2021 at 12:01, Jan Kiszka wrote: >> >> On 26.06.21 20:29, Simon Glass wrote: >>> Hi, >>> >>> On Fri, 11 Jun 2021 at 08:08, Tom Rini wrote: On Fri, Jun 11, 2021 at 07:14:21PM +0530, Lokesh Vutla wrote: > Hi Tom,

[PATCH 7/7] efi: Make EBBR optional

2021-06-27 Thread Simon Glass
Add a new Kconfig option for EBBR so that the naming is more explicit. Make EFI_LOADER depend on it. Avoid enabling the options (EBBR / EFI_LOADER) by default, to save space. Also add dependencies on driver model and OF_CONTROL, since boards which have not migrated to these should not be using

[PATCH 6/7] lib: Create a new Kconfig option for charset conversion

2021-06-27 Thread Simon Glass
Rather than looking at two KConfig options in the Makefile, create a new Kconfig option for compiling lib/charset.c Enable it for UFS also, which needs this support. Signed-off-by: Simon Glass --- lib/Kconfig | 8 lib/Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)

[PATCH 5/7] Allow efi_loader header to be included always

2021-06-27 Thread Simon Glass
It is bad practice to put function declarations behind an #ifdef since it makes it impossible to use IS_ENABLED() in the C code. This header provides two different versions of various functions. Collect them together in one place for clarity. Allow all the rest of the header to be included,

[PATCH 3/7] disk: Tidy up #ifdefs in part_efi

2021-06-27 Thread Simon Glass
This file does not correctly handle the various cases, sometimes producing warnings about partition_basic_data_guid being defined but not used. Fix it. Signed-off-by: Simon Glass --- disk/part_efi.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/disk/part_efi.c

[PATCH 2/7] Makefile: Drop include/asm directory as well as symlink

2021-06-27 Thread Simon Glass
At present when using 'make mrproper' on an out-of-tree build, a warning is shown about include/asm being a directory. With old versions of U-Boot it is a file, but more recently it has become a directory. Remove this directory first, since that covers both cases. Signed-off-by: Simon Glass ---

[PATCH 4/7] Use LIB_UUID with ACPIGEN and FS_BTRFS

2021-06-27 Thread Simon Glass
Since the ACPI-generation code makes use of UUIDs we typically need to enabled UUID support for it to build. Add a new Kconfig condition. Use it for BTRFS also. Signed-off-by: Simon Glass --- drivers/core/Kconfig | 1 + fs/btrfs/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 1/7] configs: Resync with savedefconfig

2021-06-27 Thread Simon Glass
Resync all defconfig files using moveconfig.py Signed-off-by: Simon Glass --- configs/am64x_evm_a53_defconfig | 31 +++ configs/am64x_evm_r5_defconfig | 6 ++ configs/draco_defconfig | 2 +- configs/etamin_defconfig| 2 +-

[PATCH 0/7] efi: Various tidy-ups and drop the default

2021-06-27 Thread Simon Glass
It has come to light that EFI_LOADER adds an extraordinary amount of code to U-Boot. For example, with nokia_rx51 the size delta is about 90KB. About 170 boards explicitly disable the option, but is is clear that many more could, thus saving image size and boot time. The current situation is

[PATCH v3 16/16] doc: Update documentation for cros-2021.04 release

2021-06-27 Thread Simon Glass
With the new 2021.04 we have a new version of Chromium OS boot, which supports sandbox, coral and coral-on-coreboot. Add documentation for this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Drop unnecessary patch 'Enable the cbsysinfo command'

[PATCH v3 15/16] dtoc: Check that a parent is not missing

2021-06-27 Thread Simon Glass
With of-platdata-inst we want to set up a reference to each devices' parent device, if there is one. If we find that the device has a parent (i.e. is not a root node) but it is not in the list of devices being written, then we cannot create the reference. Report an error in this case, since it

[PATCH v3 14/16] x86: cros: Check ROM exists before building vboot

2021-06-27 Thread Simon Glass
All the x86 devicetree files are built at once, whichever board is actually being built. If coreboot is the target build, CONFIG_ROM_SIZE is not defined and samus cannot build Chromium OS verified boot. Add this condition to avoid errors about CONFIG_ROM_SIZE being missing. Signed-off-by: Simon

[PATCH v3 13/16] x86: coreboot: Document the memory map

2021-06-27 Thread Simon Glass
Add information about memory usage when U-Boot is started from coreboot. This is useful when debugging. Also, since coreboot takes a chunk of memory in the middle of SDRAM for use by PCI devices, it can help avoid overwriting this with a loaded kernel by accident. Signed-off-by: Simon Glass

[PATCH v3 12/16] x86: coreboot: Use vendor in the Kconfig

2021-06-27 Thread Simon Glass
Use VENDOR_COREBOOT instead of TARGET_COREBOOT so we can have multiple coreboot boards, sharing options. Only SYS_CONFIG_NAME needs to be defined TARGET_COREBOOT. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/cpu/coreboot/Kconfig | 2 +-

[PATCH v3 10/16] x86: coral: Allow booting from coreboot

2021-06-27 Thread Simon Glass
Set up coral so that it can boot from coreboot, even though it is a bare-metal build. This helps with testing since the same image can be used in both cases. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add missing newline in the error path -

[PATCH v3 11/16] x86: Add function comments to cb_sysinfo.h

2021-06-27 Thread Simon Glass
Add a function comment for get_coreboot_info() and a declaration for cb_get_sysinfo(), since this may be called from elsewhere. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/include/asm/cb_sysinfo.h | 16 1 file changed, 16

[PATCH v3 07/16] x86: Update the MP constants to avoid conflicts

2021-06-27 Thread Simon Glass
These constants conflict with error codes returned by the MP implementation when something is wrong. In particular, mp_first_cpu() returns MP_SELECT_BSP when running without multiprocessing enabled. Since this is -2, it is interpreted as an error by callers, which expect a positive CPU number for

[PATCH v3 09/16] x86: coreboot: Show the BIOS date

2021-06-27 Thread Simon Glass
The BIOS version may not be present, e.g. on a Chrome OS build. Add the BIOS date as well, so we get some sort of indication of coreboot's vintage. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Reorder declaration and use bios_date for the

[PATCH v3 08/16] x86: Do cache set-up by default when booting from coreboot

2021-06-27 Thread Simon Glass
A recent change to disable cache setup when booting from coreboot assumed that this has been done by SPL. The result is that for the coreboot board, the cache is disabled (in start.S) and never re-enabled. If the cache was turned off, as it is on boards without SPL, we should turn it back on. Add

[PATCH v3 06/16] x86: Don't set up MTRRs if previously done

2021-06-27 Thread Simon Glass
When starting U-Boot from a previous-stage bootloader we presumably don't need to set up the variable MTRRs. In fact this could be harmful if the existing settings are not what U-Boot uses. Skip that step in this case. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since

[PATCH v3 03/16] x86: Allow coreboot serial driver to guess the UART

2021-06-27 Thread Simon Glass
At present this driver relies on coreboot to provide information about the console UART. However if coreboot is not compiled with the UART enabled, the information is left out. This configuration is quite common, e.g. with shipping x86-based Chrome OS Chromebooks. Add a way to determine the UART

[PATCH v3 05/16] tpm: cr50: Drop unnecessary coral headers

2021-06-27 Thread Simon Glass
These headers are not actually used. Drop them so that this driver can be used by other boards, e.g. coreboot. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) drivers/tpm/cr50_i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tpm/cr50_i2c.c

[PATCH v3 02/16] x86: pci: Allow binding of some devices before relocation

2021-06-27 Thread Simon Glass
At present only bridge devices are bound before relocation, to save space in pre-relocation memory. In some cases we do actually want to bind a device, e.g. because it provides the console UART. Add a devicetree binding to support this. Use the PCI_VENDEV() macro to encode the cell value. This is

[PATCH v3 04/16] spi: ich: Don't require the PCH

2021-06-27 Thread Simon Glass
When booting from coreboot we may not have a PCH driver available. The SPI driver can operate without the PCH but currently complains in this case. Update it to continue to work normally. The only missing feature is memory-mapping of SPI-flash contents, which is not essential. Signed-off-by:

[PATCH v3 01/16] pci: Use const for pci_find_device_id() etc.

2021-06-27 Thread Simon Glass
These functions don't modify the device-ID struct that is passed in, so mark the argument as const, so the data structure can be declared that way. This allows it to be placed in the rodata section. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1)

[PATCH v3 00/16] misc: Some more misc patches

2021-06-27 Thread Simon Glass
Various issues were discovered in getting Chromium OS verified boot running on top of coreboot, booting into U-Boot. Improvements include: - enable serial console if even coreboot doesn't - enable cache always - show the BIOS date since Chromium OS's coreboot doesn't have a version - update docs

Re: [PATCH v2 1/4] mkimage: add a flag to describe whether -A is specified

2021-06-27 Thread Simon Glass
Hi Tom, On Sun, 27 Jun 2021 at 17:43, Tom Rini wrote: > > On Mon, Jun 28, 2021 at 06:17:27AM +0800, Icenowy Zheng wrote: > > 在 2021-06-27星期日的 13:32 -0600,Simon Glass写道: > > > Hi Icenowy, > > > > > > On Sat, 26 Jun 2021 at 17:57, Icenowy Zheng wrote: > > > > > > > > 在 2021-06-26星期六的 12:31

Re: [PATCH v2 1/4] mkimage: add a flag to describe whether -A is specified

2021-06-27 Thread Simon Glass
Hi Icenowy, On Sun, 27 Jun 2021 at 16:17, Icenowy Zheng wrote: > > 在 2021-06-27星期日的 13:32 -0600,Simon Glass写道: > > Hi Icenowy, > > > > On Sat, 26 Jun 2021 at 17:57, Icenowy Zheng wrote: > > > > > > 在 2021-06-26星期六的 12:31 -0600,Simon Glass写道: > > > > Hi Icenowy, > > > > > > > > On Sat, 19 Jun

Re: [PATCH v2 1/4] mkimage: add a flag to describe whether -A is specified

2021-06-27 Thread Tom Rini
On Mon, Jun 28, 2021 at 06:17:27AM +0800, Icenowy Zheng wrote: > 在 2021-06-27星期日的 13:32 -0600,Simon Glass写道: > > Hi Icenowy, > > > > On Sat, 26 Jun 2021 at 17:57, Icenowy Zheng wrote: > > > > > > 在 2021-06-26星期六的 12:31 -0600,Simon Glass写道: > > > > Hi Icenowy, > > > > > > > > On Sat, 19 Jun

Re: [PATCH] phy: add nxp tja1103 phy driver

2021-06-27 Thread Ramon Fried
On Fri, Jun 18, 2021 at 9:58 PM Radu Pirea (NXP OSS) wrote: > > Add nxp tja1103 phy driver. > > Signed-off-by: Radu Pirea (NXP OSS) > --- > MAINTAINERS | 5 + > drivers/net/phy/Kconfig | 6 + > drivers/net/phy/Makefile | 1 + >

Re: [PATCH v2 1/4] mkimage: add a flag to describe whether -A is specified

2021-06-27 Thread Icenowy Zheng
在 2021-06-27星期日的 13:32 -0600,Simon Glass写道: > Hi Icenowy, > > On Sat, 26 Jun 2021 at 17:57, Icenowy Zheng wrote: > > > > 在 2021-06-26星期六的 12:31 -0600,Simon Glass写道: > > > Hi Icenowy, > > > > > > On Sat, 19 Jun 2021 at 03:19, Icenowy Zheng > > > wrote: > > > > > > > > The sunxi_egon type used

Re: [PATCH 03/17] drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck

2021-06-27 Thread Jaehoon Chung
On 6/26/21 11:55 PM, Sinthu Raja wrote: > From: Amarnath MB > > Buck regulator 1, 2 and 3 of TPS6594132 on j721e-eaik is in 3 Phase > confguration, in-order to support this, add configuring 3 Phase buck > in tps65941 while driver probing. > > Signed-off-by: Amarnath MB > Signed-off-by: Sinthu

Re: [PATCH 02/17] drivers: power: pmic: Add support for tps659412 PMIC

2021-06-27 Thread Jaehoon Chung
On 6/26/21 11:55 PM, Sinthu Raja wrote: > From: Amarnath MB > > Since TPS659412 and TPS659413 are both software compatible, > add a compatible string for the same inside tps65941.c. > > Signed-off-by: Amarnath MB > Signed-off-by: Sinthu Raja Acked-by: Jaehoon Chung Best Regards, Jaehoon

Re: [PATCH v2 1/5] power: pmic: tps65941: Add compatible for LP876441

2021-06-27 Thread Jaehoon Chung
On 6/24/21 6:14 AM, Gowtham Tammana wrote: > TI J7200 EVM has lp876441 pmic that is similar to tps65941. Add support > for same with existing driver with new compatible. > > Signed-off-by: Gowtham Tammana Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- >

Re: [PATCH] efi_loader: Do not enable by default on armv7

2021-06-27 Thread Tom Rini
On Sun, Jun 27, 2021 at 11:08:04PM +0200, Mark Kettenis wrote: > > From: Heinrich Schuchardt > > Date: Sun, 27 Jun 2021 23:03:58 +0200 > > > > On 6/27/21 9:44 PM, Tom Rini wrote: > > > We have had EFI loader support enabled by default on armv7 platforms for > > > a long time now. However, there

Re: [PATCH] efi_loader: Do not enable by default on armv7

2021-06-27 Thread Heinrich Schuchardt
On 6/27/21 11:03 PM, Heinrich Schuchardt wrote: On 6/27/21 9:44 PM, Tom Rini wrote: We have had EFI loader support enabled by default on armv7 platforms for a long time now.  However, there has been little uptake in the wider community to use EFI loader support as the step to start a generic OS

[PATCH v5 4/4] rockchip: rk3066: add sdram driver

2021-06-27 Thread Paweł Jarosz
Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - use common rockchip_sdram_size - moved sdram init from sdram_init.c Changes since v2: - none Changes since v3: - none Changes since v4: - updated to current

[PATCH v5 2/4] rockchip: rk3066: add clock driver for rk3066 soc

2021-06-27 Thread Paweł Jarosz
Add clock driver for rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved clk init to tpl Changes since v2: - none Changes since v3: - none Changes since v4: - updated to current codebase - fixed compilation errors

[PATCH v5 3/4] rockchip: rk3066: add rk3066 pinctrl driver

2021-06-27 Thread Paweł Jarosz
Add driver supporting pin multiplexing on rk3066 platform. Signed-off-by: Paweł Jarosz --- Changes since v1: - updated to shifted masks - added nand support Changes since v2: - none Changes since v3: - none Changes since v4: - updated driver to pinctrl full

[PATCH v5 1/4] rockchip: rk3066: add grf header file

2021-06-27 Thread Paweł Jarosz
grf is needed by various drivers for rk3066 soc. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks Changes since v2: - none Changes since v3: - none Changes since v4: - removed gpio iomux related constants

[PATCH v5 0/4] basic support for rk3066 platform.

2021-06-27 Thread Paweł Jarosz
This patch serie adds basic support for Rockchip RK3066 processor. For now it's clock, pinctrl and sdram driver. Paweł Jarosz (4): rockchip: rk3066: add grf header file rockchip: rk3066: add clock driver for rk3066 soc rockchip: rk3066: add rk3066 pinctrl driver rockchip: rk3066: add

Re: [PATCH] efi_loader: Do not enable by default on armv7

2021-06-27 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sun, 27 Jun 2021 23:03:58 +0200 > > On 6/27/21 9:44 PM, Tom Rini wrote: > > We have had EFI loader support enabled by default on armv7 platforms for > > a long time now. However, there has been little uptake in the wider > > community to use EFI loader

Re: [PATCH] efi_loader: Do not enable by default on armv7

2021-06-27 Thread Heinrich Schuchardt
On 6/27/21 9:44 PM, Tom Rini wrote: We have had EFI loader support enabled by default on armv7 platforms for a long time now. However, there has been little uptake in the wider community to use EFI loader support as the step to start a generic OS distribution, on this architecture family and

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-27 Thread Simon Glass
Hi Tom, On Sun, 27 Jun 2021 at 13:34, Tom Rini wrote: > > On Sun, Jun 27, 2021 at 12:18:09PM -0600, Simon Glass wrote: > > Hi Jan, > > > > On Sun, 27 Jun 2021 at 12:01, Jan Kiszka wrote: > > > > > > On 26.06.21 20:29, Simon Glass wrote: > > > > Hi, > > > > > > > > On Fri, 11 Jun 2021 at 08:08,

Re: [PATCH 1/3] net: ethtool: Add ethernet speed macros for higher speeds

2021-06-27 Thread Ramon Fried
On Sat, Jun 26, 2021 at 9:32 PM Simon Glass wrote: > > On Thu, 24 Jun 2021 at 00:43, Ashok Reddy Soma > wrote: > > > > Add speed macro's for higher ethernet speeds to be used in u-boot > > networking drivers. Added Macros for speeds 14G, 20G, 25G, 40G, 50G, > > 56G, 100G and 200G inline with

Re: [PATCH 2/2] net: xilinx: axi_emac: Add support for 10G/25G AXI ethernet

2021-06-27 Thread Ramon Fried
On Thu, Jun 24, 2021 at 9:35 AM Ashok Reddy Soma wrote: > > Add support for 10G/25G (XXV) high speed ethernet. This Makes use of > the exiting AXI DMA, similar to 1G. > > Signed-off-by: Alessandro Temil > Signed-off-by: Ashok Reddy Soma > --- > > drivers/net/xilinx_axi_emac.c | 162

Re: [PATCH 1/2] net: xilinx: axi_emac: Cleanup of of_to_plat()

2021-06-27 Thread Ramon Fried
On Thu, Jun 24, 2021 at 9:35 AM Ashok Reddy Soma wrote: > > There are lot of accesses to priv data in of_to_plat(), which is incorrect. > Create a platform data structure and use it in of_to_plat(), then copy all > platform data to priv data in probe. > > Signed-off-by: Ashok Reddy Soma > --- >

Re: [PATCH 2/3] net: xilinx: axi_mrmac: Add MRMAC driver

2021-06-27 Thread Ramon Fried
On Sat, Jun 26, 2021 at 9:32 PM Simon Glass wrote: > > Hi Ashok, > > On Thu, 24 Jun 2021 at 00:43, Ashok Reddy Soma > wrote: > > > > Add support for xilinx multirate(MRMAC) ethernet driver. > > This driver uses multichannel DMA(MCDMA) for data transfers of MRMAC. > > Added support for 4 ports of

Re: [PATCH] arm: dts: db410c: Add missing cd-gpios for SD card detection

2021-06-27 Thread Ramon Fried
On Sun, Jun 27, 2021 at 2:06 PM Stephan Gerhold wrote: > > It looks like SD card detection is broken at the moment for DB410c. > The eMMC is detected correctly, but the SD card is not. > > This is probably similar to the issue fixed in commit 850514740358 > ("mmc: msm_sdhci: Use mmc_of_parse for

[PATCH] efi_loader: Do not enable by default on armv7

2021-06-27 Thread Tom Rini
We have had EFI loader support enabled by default on armv7 platforms for a long time now. However, there has been little uptake in the wider community to use EFI loader support as the step to start a generic OS distribution, on this architecture family and the focus has been on armv8 instead.

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-27 Thread Tom Rini
On Sun, Jun 27, 2021 at 12:18:09PM -0600, Simon Glass wrote: > Hi Jan, > > On Sun, 27 Jun 2021 at 12:01, Jan Kiszka wrote: > > > > On 26.06.21 20:29, Simon Glass wrote: > > > Hi, > > > > > > On Fri, 11 Jun 2021 at 08:08, Tom Rini wrote: > > >> > > >> On Fri, Jun 11, 2021 at 07:14:21PM +0530,

Re: [PATCH] smbios: Fix SMBIOS tables

2021-06-27 Thread Simon Glass
Hi Ilias, On Sat, 26 Jun 2021 at 12:51, Ilias Apalodimas wrote: > > Hi Simon, > > > > --- > [...] > > > This depends on > > > https://lists.denx.de/pipermail/u-boot/2021-June/451761.html > > > lib/smbios.c | 10 ++ > > > 1 file changed, 10 insertions(+) > > > > It is strange that all

Re: [PATCH v2 1/4] mkimage: add a flag to describe whether -A is specified

2021-06-27 Thread Simon Glass
Hi Icenowy, On Sat, 26 Jun 2021 at 17:57, Icenowy Zheng wrote: > > 在 2021-06-26星期六的 12:31 -0600,Simon Glass写道: > > Hi Icenowy, > > > > On Sat, 19 Jun 2021 at 03:19, Icenowy Zheng wrote: > > > > > > The sunxi_egon type used to take no -A argument (because we assume > > > sunxi > > > targets are

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-27 Thread Simon Glass
Hi Pali, On Fri, 25 Jun 2021 at 10:58, Pali Rohár wrote: > > On Friday 25 June 2021 10:43:11 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 25 Jun 2021 at 10:16, Pali Rohár wrote: > > > > > > On Friday 25 June 2021 10:04:14 Simon Glass wrote: > > > > But I do wonder about the > > > > 100KB

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-27 Thread Simon Glass
Hi Jan, On Sun, 27 Jun 2021 at 12:01, Jan Kiszka wrote: > > On 26.06.21 20:29, Simon Glass wrote: > > Hi, > > > > On Fri, 11 Jun 2021 at 08:08, Tom Rini wrote: > >> > >> On Fri, Jun 11, 2021 at 07:14:21PM +0530, Lokesh Vutla wrote: > >>> Hi Tom, > >>> > >>> On 09/06/21 6:47 pm, Jan Kiszka

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-27 Thread Jan Kiszka
On 26.06.21 20:29, Simon Glass wrote: > Hi, > > On Fri, 11 Jun 2021 at 08:08, Tom Rini wrote: >> >> On Fri, Jun 11, 2021 at 07:14:21PM +0530, Lokesh Vutla wrote: >>> Hi Tom, >>> >>> On 09/06/21 6:47 pm, Jan Kiszka wrote: On 07.06.21 13:44, Jan Kiszka wrote: > On 07.06.21 13:40, Tom Rini

[PATCH] mx6sabresd: Make checkboard respect CONFIG_NXP_BOARD_REVISION

2021-06-27 Thread Cody Gray
The default implementation of checkboard() calls the nxp_board_rev_string() function to retrieve a character representing the revision number of the board. However, this attempt to retrieve the revision number may fail in certain situations or be otherwise undesirable. There is already a

[PATCH] imx: bootaux: respect ELF support configuration

2021-06-27 Thread Cody Gray
When ELF support is disabled in the configuration (CONFIG_CMD_ELF), the arch_auxiliary_core_up() function should not check whether the specified address contains a valid ELF image. Attempting to do so by calling the valid_elf_image() function results in a linker error, since the definition for

Re: [PATCH v3 3/3] Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests

2021-06-27 Thread Simon Glass
Hi Tom, On Sat, 26 Jun 2021 at 14:46, Tom Rini wrote: > > On Sat, Jun 26, 2021 at 12:29:56PM -0600, Simon Glass wrote: > > Hi Alper, > > > > On Mon, 21 Jun 2021 at 12:52, Alper Nebi Yasak > > wrote: > > > > > > The filesystem test setup needs to prepare disk images for its tests, > > > with

Re: [PATCH 2/2] test/py: Wait for guestmount worker to exit after running guestunmount

2021-06-27 Thread Alper Nebi Yasak
On 26/06/2021 21:29, Simon Glass wrote: > On Fri, 4 Jun 2021 at 13:05, Alper Nebi Yasak > wrote: >> >> Some filesystem tests are failing when their image is prepared with >> guestmount, but succeeding if loop mounts are used instead. The reason >> seems to be a race condition the guestmount(1)

Re: [PATCH] imx: bootaux: respect ELF support configuration

2021-06-27 Thread Max Krummenacher
Hi Cody Am Samstag, den 26.06.2021, 22:01 -0700 schrieb Cody Gray: > When ELF support is disabled in the configuration (CONFIG_CMD_ELF), > the arch_auxiliary_core_up() function should not check whether the > specified address contains a valid ELF image. Attempting to do so > by calling the

Re: [PATCH 1/2] test/py: Use loop mounts if guestmount fails in filesystem tests

2021-06-27 Thread Alper Nebi Yasak
On 26/06/2021 21:29, Simon Glass wrote: > On Fri, 4 Jun 2021 at 13:05, Alper Nebi Yasak > wrote: >> >> If guestmount isn't available on the system, filesystem test setup falls >> back to using loop mounts to prepare its disk images. If guestmount is >> available but fails to work, the tests are

Re: [PATCH] mx6sabresd: Make checkboard respect CONFIG_NXP_BOARD_REVISION

2021-06-27 Thread Fabio Estevam
Hi Cody, On Sun, Jun 27, 2021 at 2:15 AM Cody Gray wrote: > > The default implementation of checkboard() calls the > nxp_board_rev_string() function > to retrieve a character representing the revision number of the board. > However, this > attempt to retrieve the revision number may fail in

[PATCH] arm: dts: db410c: Add missing cd-gpios for SD card detection

2021-06-27 Thread Stephan Gerhold
It looks like SD card detection is broken at the moment for DB410c. The eMMC is detected correctly, but the SD card is not. This is probably similar to the issue fixed in commit 850514740358 ("mmc: msm_sdhci: Use mmc_of_parse for setting host_caps") for eMMC, except that the SD card does not have

Re: [PATCH v10 04/27] spi: spi-mem: add spi_mem_dtr_supports_op()

2021-06-27 Thread Pratyush Yadav
On 26/06/21 02:44PM, Jagan Teki wrote: > On Sat, Jun 26, 2021 at 12:47 AM Pratyush Yadav wrote: > > > > spi_mem_default_supports_op() rejects DTR ops by default to ensure that > > the controller drivers that haven't been updated with DTR support > > continue to reject them. It also makes sure