Re: [PATCH v5 3/3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 11:42 PM Kory Maincent wrote: > > Add "zboot" command to the list of supported boot in the label_boot > function. > > Signed-off-by: Kory Maincent > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Change since v1: > - Modify comment. > > Change since v2: > -

Re: [PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 11:42 PM Kory Maincent wrote: > > Replace all the macro ifdef by IS_ENABLED. > All of these configs are set in the defconfig files and not in the > include board headers files. > > Signed-off-by: Kory Maincent > --- > > Change since v4: > - Use 'if (IS_ENABLED(CONFIG...))'

Re: [PATCH v5 1/3] command.h: Clean-up patch, remove extern from the header

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 11:42 PM Kory Maincent wrote: > > Remove the extern of the header because they are useless. > > Signed-off-by: Kory Maincent > Reviewed-by: Bin Meng > --- > include/command.h | 56 +++ > 1 file changed, 28 insertions(+), 28 dele

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

2021-02-02 Thread Aswath Govindraju
On 03/02/21 11:36 am, Aswath Govindraju wrote: > Hi Jaehoon, > > On 02/02/21 3:40 am, Jaehoon Chung wrote: >> 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 mod

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Stefan Roese
On 02.02.21 18:09, Harry Waschkeit wrote: On 02.02.21 15:54, Stefan Roese wrote: On 02.02.21 15:43, Harry Waschkeit wrote:  On 02.02.21 10:30, Stefan Roese wrote: On 02.02.21 09:21, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_sa

Re: [PATCH] tools: Remove #include

2021-02-02 Thread Pali Rohár
On Monday 01 February 2021 16:20:18 Tom Rini wrote: > 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 there

Re: [PATCH u-boot-marvell] mmc: mv_sdhci: call mmc_of_parse()

2021-02-02 Thread Jaehoon Chung
On 2/3/21 2:37 AM, Marek Behún wrote: > This is needed to parse more capabilities such as `non-removable`. > > Commit da18c62b6e6a ("mmc: sdhci: Implement SDHCI card detect") caused > a regression on Turris Omnia, because mv_sdhci driver did not fill out > host_caps from device-tree. > > Signed-o

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

2021-02-02 Thread Heinrich Schuchardt
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 holds true for the 'unbind blk' command. Close the file descriptor when unbinding th

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

2021-02-02 Thread Suneel Garapati
On Tue, Feb 2, 2021 at 11:46 AM Ramon Fried wrote: > > On Tue, Feb 2, 2021 at 6:02 PM Suneel Garapati wrote: > > > > On Mon, Feb 1, 2021 at 2:27 PM Ramon Fried wrote: > > > > > > On Sat, Jan 30, 2021 at 11:26 PM Ramon Fried wrote: > > > > > > > > On Sat, Jan 30, 2021 at 10:39 PM Suneel Garapati

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Marek Vasut
On 2/2/21 5:23 PM, Andre Przywara wrote: [...] drivers/nvme/nvme.c | 50 + 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index 5d6331ad34..758415a53b 100644 --- a/drivers/nvme/nvme.c +++ b/

[PATCH 1/1] efi_selftest: use GUID to find ESP in dtbdump

2021-02-02 Thread Heinrich Schuchardt
If dtbdump.efi is loaded from memory when calling LoadImage the loaded image protocol will not indicate the partition from where it was loaded. In this case use the EFI system partition for the 'load' and 'save' commands. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/dtbdump.c | 85 +++

[PATCH 1/1] efi_loader: install UEFI System Partition GUID

2021-02-02 Thread Heinrich Schuchardt
On the handle for the UEFI System Partition we must install the System Partition GUID (with a NULL interface). Let the efidebug command display the GUID. Signed-off-by: Heinrich Schuchardt --- cmd/efidebug.c| 5 + lib/efi_loader/efi_disk.c | 15 +++ 2 files changed,

[PATCH 1/1] efi_loader: only check size if EFI_DT_APPLY_FIXUPS

2021-02-02 Thread Heinrich Schuchardt
In the implementation of the EFI_DT_FIXUP_PROTOCOL: * Only check the buffer size when EFI_DT_APPLY_FIXUPS is set. * In this case the field totalsize of the device-tree may not exceed the buffer size. * Install device-tree only if EFI_DT_INSTALL_TABLE is set. Signed-off-by: Heinrich Schuchardt

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

2021-02-02 Thread Ramon Fried
On Tue, Feb 2, 2021 at 6:02 PM Suneel Garapati wrote: > > On Mon, Feb 1, 2021 at 2:27 PM Ramon Fried wrote: > > > > 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 TF

Re: [PATCH u-boot-marvell] mmc: mv_sdhci: call mmc_of_parse()

2021-02-02 Thread Marek Behún
> Hi Marek, > I posted a similar patch earlier today: > > Fixes: da18c62b6e6a ("mmc: sdhci: Implement SDHCI card detect") > My patch is missing this tag, though. > baruch OK, lets leave it on Stefan to decide which one to apply. Marek

Re: [PATCH u-boot-marvell] mmc: mv_sdhci: call mmc_of_parse()

2021-02-02 Thread Baruch Siach
Hi Marek, On Tue, Feb 02 2021, Marek Behún wrote: > This is needed to parse more capabilities such as `non-removable`. > > Commit da18c62b6e6a ("mmc: sdhci: Implement SDHCI card detect") caused > a regression on Turris Omnia, because mv_sdhci driver did not fill out > host_caps from device-tree.

[PATCH u-boot-marvell] mmc: mv_sdhci: call mmc_of_parse()

2021-02-02 Thread Marek Behún
This is needed to parse more capabilities such as `non-removable`. Commit da18c62b6e6a ("mmc: sdhci: Implement SDHCI card detect") caused a regression on Turris Omnia, because mv_sdhci driver did not fill out host_caps from device-tree. Signed-off-by: Marek Behún Fixes: da18c62b6e6a ("mmc: sdhci

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Andre Heider
On 02/02/2021 17:32, Stefan Roese wrote: On 02.02.21 17:13, Andre Heider wrote: On 02/02/2021 16:09, Stefan Roese wrote: Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: H

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Harry Waschkeit
On 02.02.21 15:54, Stefan Roese wrote: On 02.02.21 15:43, Harry Waschkeit wrote:  On 02.02.21 10:30, Stefan Roese wrote: On 02.02.21 09:21, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, pl

ext4 metadata checksums

2021-02-02 Thread Fredrik Hallenberg
Hi, I have done some work on improving ext4 write support. In particular adding metadata checksums. It seems to work ok but as there are so many special cases it would be good if some more people could help with testing. If someone is interested the fork is here: https://github.com/megahallon/u-bo

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Stefan Roese
On 02.02.21 17:13, Andre Heider wrote: On 02/02/2021 16:09, Stefan Roese wrote: Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: Hello Stefan and Andre! Could you please l

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Andre Przywara
On Tue, 2 Feb 2021 11:55:50 +0800 Bin Meng wrote: Hi, had a look at the code, those are my findings: > 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

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Andre Heider
On 02/02/2021 16:09, Stefan Roese wrote: Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: Hello Stefan and Andre! Could you please look at this patch series and tell me wha

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Marek Vasut
On 2/2/21 10:12 AM, Bin Meng wrote: [...] cache aligned in memory, however the cache operations are called on the structure sizes, which themselves might not be cache aligned. Add the necessary rounding to fix this, which permits the nvme to work on arm64. +ARM guys Which ARM64 SoC did you tes

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Marek Vasut
On 2/2/21 2:04 PM, Andre Przywara wrote: Hi, [...] 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 necessary ro

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

2021-02-02 Thread Suneel Garapati
On Mon, Feb 1, 2021 at 2:27 PM Ramon Fried wrote: > > 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

[PATCH] xilinx: Show silicon version in SPL

2021-02-02 Thread Michal Simek
Both Zynq and ZynqMP can show silicon versions in SPL boot flow. It is useful to be aware. The patch is also fixing possition of these bits on ZynqMP. Signed-off-by: Michal Simek --- arch/arm/mach-zynqmp/include/mach/hardware.h | 4 ++-- board/xilinx/zynq/board.c| 3 +++ boa

[PATCH v5 3/3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-02 Thread Kory Maincent
Add "zboot" command to the list of supported boot in the label_boot function. Signed-off-by: Kory Maincent Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Change since v1: - Modify comment. Change since v2: - Update do_zboot to do_zboot_parent function to follow the patch: 5588e776b0

[PATCH v5 1/3] command.h: Clean-up patch, remove extern from the header

2021-02-02 Thread Kory Maincent
Remove the extern of the header because they are useless. Signed-off-by: Kory Maincent Reviewed-by: Bin Meng --- include/command.h | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/include/command.h b/include/command.h index e2

[PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Kory Maincent
Replace all the macro ifdef by IS_ENABLED. All of these configs are set in the defconfig files and not in the include board headers files. Signed-off-by: Kory Maincent --- Change since v4: - Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible cmd/pxe_utils.c | 52 +++

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

2021-02-02 Thread Marek Vasut
On 2/2/21 2:01 PM, Adam Ford wrote: On Tue, Feb 2, 2021 at 4:11 AM Biju Das wrote: Hi Marek and Adam, Subject: Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1 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

[PATCH v4 9/9] fastboot: Partition specification

2021-02-02 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 v4: - Expand documentation, making it more man-page-like Changes in v2:

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

2021-02-02 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 can

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

2021-02-02 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 a/drivers/fastb

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

2021-02-02 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 v4 5/9] part: Support string block devices in part_get_info_by_dev_and_name

2021-02-02 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 v4 4/9] part: Support getting whole disk from part_get_info_by_dev_and_name_or_num

2021-02-02 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 fil

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

2021-02-02 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) disk/pa

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

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

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

2021-02-02 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 v4 0/9] fastboot: Add better support for specifying partitions

2021-02-02 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 pr

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Pali Rohár
On Tuesday 02 February 2021 16:09:03 Stefan Roese wrote: > Hi Pali, > Hi Andre, > > On 12.01.21 10:24, Pali Rohár wrote: > > Hello! > > > > On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: > > > Hi Pali, > > > > > > On 11/01/2021 11:51, Pali Rohár wrote: > > > > Hello Stefan and Andre! >

Re: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

2021-02-02 Thread Stefan Roese
Hi Pali, Hi Andre, On 12.01.21 10:24, Pali Rohár wrote: Hello! On Tuesday 12 January 2021 09:18:44 Andre Heider wrote: Hi Pali, On 11/01/2021 11:51, Pali Rohár wrote: Hello Stefan and Andre! Could you please look at this patch series and tell me what do you think about it? If it is fine or

Re: [PATCH] arm: mvebu: Espressobin: Set the maximum slave SPI speed to 40MHz

2021-02-02 Thread Stefan Roese
On 27.01.21 17:12, Pali Rohár wrote: From: Konstantin Porotchkin While the SPI controller speed is defined by DTS, the maximum slave speed (connected devices) is limited by the pre-defined configuration value CONFIG_SF_DEFAULT_SPEED to 1MHz This patch increases this maximum SPI slave device spe

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

2021-02-02 Thread Stefan Roese
On 27.01.21 16:56, 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 needs version_string[]

Re: [PATCH] cmd: mvebu/bubt: Fix default options in help

2021-02-02 Thread Stefan Roese
On 27.01.21 11:56, Pali Rohár wrote: Default options depends on compile time defines. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c in

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Stefan Roese
On 02.02.21 15:43, Harry Waschkeit wrote:  On 02.02.21 10:30, Stefan Roese wrote: On 02.02.21 09:21, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Harry Waschkeit
 On 02.02.21 10:30, Stefan Roese wrote: On 02.02.21 09:21, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config

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

2021-02-02 Thread Tom Rini
On Sun, Jan 31, 2021 at 04:38:35PM +0800, 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 pipelin

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

2021-02-02 Thread Tom Rini
On Sat, Jan 30, 2021 at 08:12:18PM -0700, 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(),

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

2021-02-02 Thread Tom Rini
On Fri, Jan 29, 2021 at 06:18:22PM +0200, Ramon Fried wrote: > Add myself as co maintainer to network subsystem > Acked-by: Tom Rini > Acked-by: Marek Vasut > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] disk: part_dos: update partition table entries after write

2021-02-02 Thread Tom Rini
On Thu, Jan 28, 2021 at 09:10:07AM +0100, Gary Bisson wrote: > Fixes issues when switching from GPT to MBR partition tables. > > Signed-off-by: Gary Bisson > Acked-by: Marek Szyprowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] common: Kconfig.boot: Add FIT_PRINT config option

2021-02-02 Thread Tom Rini
On Wed, Jan 27, 2021 at 02:01:48PM -0800, Ravik Hasija wrote: > Config allows to disable printing contents of fitImage to optimize boottime. > > Signed-off-by: Ravik Hasija > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] cmd: load, emit error message for invalid block device

2021-02-02 Thread Tom Rini
On Wed, Jan 27, 2021 at 09:26:43PM +0100, Heinrich Schuchardt wrote: > The load command should not silently return to the console prompt if an > invalid block device is specified and no file is loaded. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master,

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

2021-02-02 Thread Tom Rini
On Wed, Jan 27, 2021 at 04:29:13PM +0100, 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 > Reviewed-by: Simon Glass

Re: [PATCH] tools/fit_check_sign.c: Update usage function.

2021-02-02 Thread Tom Rini
On Sun, Jan 17, 2021 at 03:52:16PM +, Ilies CHERGUI wrote: > Add "-c" option to set the configuration name when > checking the FIT image signature. > > Signed-off-by: Ilies CHERGUI Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Heiko Schocher
Hello Fabio, Am 02.02.21 um 15:12 schrieb Fabio Estevam: > Hi Heiko, > > On Tue, Feb 2, 2021 at 11:08 AM Heiko Schocher wrote: > >> I use currently SPL and u-boot.img ... seems I have to switch >> to above image ... currently I have a lot of load on my desk, >> so may this takes some time ... s

Documentation page shows "The Linux Kernel"

2021-02-02 Thread Bin Meng
Hi Heinrich, https://u-boot.readthedocs.io/en/latest/ top left corner shows "The Linux Kernel" while previously it was U-Boot This was introduced by commit: commit 98f01cf7a22ec81774a26a9e1bf11c7c3cdce424 Author: Heinrich Schuchardt Date: Thu Dec 31 23:16:46 2020 +0100 doc: update Kerne

Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Fabio Estevam
Hi Heiko, On Tue, Feb 2, 2021 at 11:08 AM Heiko Schocher wrote: > I use currently SPL and u-boot.img ... seems I have to switch > to above image ... currently I have a lot of load on my desk, > so may this takes some time ... sorry Sure, no problem. The idea is to keep testing SPL and u-boot.i

Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Heiko Schocher
Hello Fabio, Am 01.02.21 um 18:40 schrieb 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-w

[PATCH V2 3/6] arm: dts: r8a774e1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2H dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774e1.dtsi | 1374 +++- 1 file changed, 1347 insertions(+), 27 deletions(-) V2: No Change diff --git a/arch/arm/dts/r8a774e1.dtsi b/arch/arm/dts/r

[PATCH V2 6/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2H Dev Kit

2021-02-02 Thread Adam Ford
The Beacon EmbeddedWorks kit is based on the R8A774E1 SoC also known as the RZ/G2H. The kit consists of a SOM + Baseboard and supports microSD, eMMC, Ethernet, a couple celular radios, two CAN interfaces, Bluetooth and WiFi. It shares much of the same design as the RZ/G2M and RZ/G2N dev kits. Si

[PATCH V2 4/6] arm: dts: r8a774b1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2N dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774b1.dtsi | 76 +- 1 file changed, 74 insertions(+), 2 deletions(-) V2: No Change diff --git a/arch/arm/dts/r8a774b1.dtsi b/arch/arm/dts/r8a7

[PATCH V2 5/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2N Dev Kit

2021-02-02 Thread Adam Ford
The Beacon EmbeddedWorks kit is based on the R8A774B1 SoC also known as the RZ/G2N. The kit consists of a SOM + Baseboard and supports microSD, eMMC, Ethernet, a couple celular radios, two CAN interfaces, Bluetooth and WiFi. It shares much of the same design as the RZ/G2M dev kit. Signed-off-by:

[PATCH V2 2/6] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/beacon-renesom-baseboard.dtsi | 359 - arch/arm/dts/beacon-renesom-som.dtsi | 57 +++- arch/arm/dts/r8a774a1-beacon-rzg2m-k

Re: [QUESTION] Kernel 5.10 image might be too big to be loaded by U-Boot on RPi 4B

2021-02-02 Thread Tom Rini
On Tue, Feb 02, 2021 at 09:28:20AM +0100, Matthias Brugger wrote: > On Thu, Jan 28, 2021 at 04:54:03PM +0800, Jian-Hong Pan wrote: > > Load u-Boot environment ... from mmc 0:2 > > 622 bytes read in 24 ms (24.4 KiB/s) > > Load device tree ... > > 25693 bytes read in 30 ms (835.9 KiB/s) > > fdt_addr_

[PATCH V2 1/6] dt-bindings: Sync versaclock.h with upcoming 5.12-rc1

2021-02-02 Thread Adam Ford
The versaclock doesn't have a driver yet, but there are a bunch of device tree updates for the Beacon RZ/G2 boards that won't compile without these. A driver is coming, so sync the bindings for now Signed-off-by: Adam Ford --- include/dt-bindings/clk/versaclock.h | 13 + 1 file chan

Re: [PATCH v4 3/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Bin Meng
Hi Kory, On Tue, Feb 2, 2021 at 7:56 PM Kory Maincent wrote: > > Replace all the macro ifdef by IS_ENABLED. > All of these configs are set in the defconfig files and not in the > include board headers files. > > Signed-off-by: Kory Maincent > --- > cmd/pxe_utils.c | 12 ++-- > 1 file ch

Re: [PATCH v4 2/3] command.h: Clean-up patch, remove extern from the header

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 7:56 PM Kory Maincent wrote: > > Remove the extern of the header because they are useless. > > Signed-off-by: Kory Maincent > --- > include/command.h | 56 +++ > 1 file changed, 28 insertions(+), 28 deletions(-) > Reviewed-by: B

Re: [PATCH v4 1/3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 7:56 PM Kory Maincent wrote: > > Add "zboot" command to the list of supported boot in the label_boot > function. > > Signed-off-by: Kory Maincent > Reviewed-by: Simon Glass > --- > > Change since v1: > - Modify comment. > > Change since v2: > - Update do_zboot to do_zboo

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Andre Przywara
On Tue, 2 Feb 2021 11:55:50 +0800 Bin Meng wrote: Hi, > 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 struc

[PATCH 0/5] lmb: Add config for the number of memory and reserved regions

2021-02-02 Thread Patrick Delaunay
Hi, I propose a update of the lmb library to allow the configuration with Kconfig of the number of memory and reserved regions in lmb libary: - CONFIG_LMB_RESERVED_REGIONS - CONFIG_LMB_MEMORY_REGIONS By default, I keep the default value of 8 regions. This serie avoids issue on stm32mp15 platfo

[PATCH 1/5] lmb: move CONFIG_LMB in Kconfig

2021-02-02 Thread Patrick Delaunay
Migrate CONFIG_LMB in Kconfig. Signed-off-by: Patrick Delaunay --- arch/arc/include/asm/config.h| 2 -- arch/arm/include/asm/config.h| 1 - arch/m68k/include/asm/config.h | 1 - arch/microblaze/include/asm/config.h | 2 -- arch/mips/include/asm/config.h | 1 - arch/n

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

2021-02-02 Thread Christoph Niedermaier
From: Marek Vasut Sent: Monday, February 1, 2021 9:07 PM > 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 cont

IPv6 Support

2021-02-02 Thread Raymond Yeung
Does uboot currently support IPv6? If so, how mature/stable is it? Thanks, Raymond

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

2021-02-02 Thread Adam Ford
On Tue, Feb 2, 2021 at 4:11 AM Biju Das wrote: > > Hi Marek and Adam, > > > Subject: Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux > > 5.12-rc1 > > > > 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,

[PATCH 4/5] lmb: Add 2 config to define the max number of regions

2021-02-02 Thread Patrick Delaunay
Add 2 configs CONFIG_LMB_MEMORY_REGIONS and CONFIG_LMB_RESERVED_REGIONS to change independently the max number of the regions in lmb library. Increase CONFIG_LMB_RESERVED_REGIONS is useful to avoid lmb errors in bootm when the number of reserved regions (not adjacent) is reached: + 1 region for re

[PATCH 2/5] lmb: remove lmb_region.size

2021-02-02 Thread Patrick Delaunay
Remove the unused field size of struct lmb_region as it is initialized to 0 and never used after in lmb library. See Linux kernel commit 4734b594c6ca ("memblock: Remove memblock_type.size and add memblock.memory_size instead") Signed-off-by: Patrick Delaunay --- include/lmb.h | 1 - lib/lmb.c

[PATCH 3/5] lmb: Move lmb property arrays in struct lmb

2021-02-02 Thread Patrick Delaunay
Move lmb property arrays to struct lmb and manage the array size in a the new element 'max' of struct lmb_region. This modification allows to update its size independently in the next patch. see Linux kernel commit bf23c51f1f49 ("memblock: Move memblock arrays to static storage in memblock.c and m

[PATCH 5/5] configs: stm32mp15: increase the number of reserved memory region in lmb

2021-02-02 Thread Patrick Delaunay
For the latest kernel device tree the max number of reserved regions in lmb library is reached: 8 with 5 reserved regions in device tree. When a new region is added, the lmb allocation for the device tree relocation failed and boot with ramdisk failed. This patch avoid this issue by increasing th

[PATCH] clk: at91: compat: partially revert "dm: Remove uses of device_bind_offset()"

2021-02-02 Thread Eugen Hristev
Revert changes in at91 compat.c that cause u-boot to fail booting on sama5d4_xplained and sama5d2_xplained Log below: No serial driver found Could not initialize timer (err -19) Could not initialize timer (err -19) Could not initialize timer (err -19) Could not initialize timer (err -19) Cou

[PATCH] xilinx: common: Fix CONFIG_XILINX_OF_BOARD_DTB_ADDR handling for ZynqMP

2021-02-02 Thread Michal Simek
Fix bug introduced by commit listed below. It is for cases where Versal or ZynqMP don't have DDR mapped. Later SPL was also excluded by commit a672b9871b57 ("xilinx: common: Do not touch CONFIG_XILINX_OF_BOARD_DTB_ADDR in SPL"). Fixes: 506009fc1022 ("xilinx: common: Change macro handling in board

[PATCH v4 1/3] sysboot: add zboot support to boot x86 Linux kernel image

2021-02-02 Thread Kory Maincent
Add "zboot" command to the list of supported boot in the label_boot function. Signed-off-by: Kory Maincent Reviewed-by: Simon Glass --- Change since v1: - Modify comment. Change since v2: - Update do_zboot to do_zboot_parent function to follow the patch: 5588e776b0 Change since v3: - Fo

[PATCH v4 3/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Kory Maincent
Replace all the macro ifdef by IS_ENABLED. All of these configs are set in the defconfig files and not in the include board headers files. Signed-off-by: Kory Maincent --- cmd/pxe_utils.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/pxe_utils.c b/cmd/pxe_u

[PATCH v4 2/3] command.h: Clean-up patch, remove extern from the header

2021-02-02 Thread Kory Maincent
Remove the extern of the header because they are useless. Signed-off-by: Kory Maincent --- include/command.h | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/include/command.h b/include/command.h index 45d59f92d2..747f8f8095 10

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

2021-02-02 Thread Biju Das
Hi Marek and Adam, > Subject: Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux > 5.12-rc1 > > 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 Vas

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

2021-02-02 Thread Bin Meng
HI Köry, On Tue, Feb 2, 2021 at 5:35 PM Köry Maincent wrote: > > Hi Simon, > > Thanks for the review. > > On Mon, 1 Feb 2021 13:44:46 -0700 > Simon Glass wrote: > > > Hi Kory, > > > > On Mon, 1 Feb 2021 at 08:31, Kory Maincent > > wrote: > > > > > > Add "zboot" command to the list of supported

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

2021-02-02 Thread Köry Maincent
Hi Simon, Thanks for the review. On Mon, 1 Feb 2021 13:44:46 -0700 Simon Glass wrote: > 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 > > --- > > >

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Stefan Roese
On 02.02.21 09:21, Harry Waschkeit wrote: Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config option CONFIG_ENV_OFFSET_REDUND. Addition

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 5:04 PM Marek Vasut wrote: > > On 2/2/21 9:54 AM, Bin Meng wrote: > [...] > cache aligned in memory, however the cache operations are called on > the structure sizes, which themselves might not be cache aligned. Add > the necessary rounding to fix this, which

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

2021-02-02 Thread Aleksandar Gerasimovski
-Original Message- From: Priyanka Jain (OSS) Sent: Dienstag, 2. Februar 2021 07:33 To: Aleksandar Gerasimovski ; Priyanka Jain (OSS) ; u-boot@lists.denx.de Cc: Valentin Longchamp ; Holger Brunck ; Rainer Boschung ; Matteo Ghidoni Subject: RE: Subject: [PATCH v2 4/4] board/km: add s

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Marek Vasut
On 2/2/21 9:54 AM, Bin Meng wrote: [...] cache aligned in memory, however the cache operations are called on the structure sizes, which themselves might not be cache aligned. Add the necessary rounding to fix this, which permits the nvme to work on arm64. +ARM guys Which ARM64 SoC did you test

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

2021-02-02 Thread Jaehoon Chung
On 2/2/21 3:43 PM, Baruch Siach wrote: > 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

Re: [PATCH] nvme: Fix cache alignment

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 4:05 PM Marek Vasut wrote: > > On 2/2/21 4:55 AM, Bin Meng wrote: > > Hi, > > >> 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

Re: [QUESTION] Kernel 5.10 image might be too big to be loaded by U-Boot on RPi 4B

2021-02-02 Thread Matthias Brugger
On Thu, Jan 28, 2021 at 04:54:03PM +0800, Jian-Hong Pan wrote: > Load u-Boot environment ... from mmc 0:2 > 622 bytes read in 24 ms (24.4 KiB/s) > Load device tree ... > 25693 bytes read in 30 ms (835.9 KiB/s) > fdt_addr_r @ 0x0260 , size= 645d > Load kernel and unzip it ... > 13013555 bytes r

[PATCH v3 1/1] env: sf: single function env_sf_save()

2021-02-02 Thread Harry Waschkeit
Instead of implementing redundant environments in two very similar functions env_sf_save(), handle redundancy in one function, placing the few differences in appropriate pre-compiler sections depending on config option CONFIG_ENV_OFFSET_REDUND. Additionally, several checkpatch complaints were add

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

2021-02-02 Thread Biwen Li (OSS)
> -Original Message- > From: Priyanka Jain (OSS) > Sent: 2021年2月2日 14:03 > To: Biwen Li (OSS) > Cc: Jiafei Pan ; u-boot@lists.denx.de; Xiaobo Xie > ; Biwen Li > Subject: RE: [v3 16/33] configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO > > >-Original Message- > >From: U-Boot On

[v4 32/33] configs: lx2160ardb: enable CMD_GPIO

2021-02-02 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board lx2160ardb Signed-off-by: Biwen Li --- configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160ardb_tfa_defconfig | 1 + configs/lx2160ardb_tfa_stmm_defconfig| 1 + 3 files changed, 3 insertions(+) diff --git a/configs/lx2

[v4 33/33] configs: lx2160aqds: enable CMD_GPIO

2021-02-02 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board lx2160aqds Signed-off-by: Biwen Li --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160aqds_tfa_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig b/configs/lx2160a

[v4 31/33] configs: ls1088ardb: enable DM_GPIO and CMD_GPIO

2021-02-02 Thread Biwen Li
From: Biwen Li Enable DM_GPIO and CMD_GPIO for board ls1088ardb Signed-off-by: Biwen Li --- configs/ls1088ardb_qspi_SECURE_BOOT_defconfig| 2 ++ configs/ls1088ardb_qspi_defconfig| 2 ++ configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 ++ configs/ls1088ardb_

  1   2   >