Re: [PATCH 1/1] usb: request only 8 bytes for USB_SPEED_FULL bMaxPacketSize0 discovery

2022-08-29 Thread Mark Kettenis
> From: Janne Grunau > Date: Mon, 29 Aug 2022 08:31:27 +0200 > > Fixes probing of various keyboards with DWC3 as integrated into Apple > silicon SoCs. The problem appears to be requesting more data than the > devices's bMaxPacketSize0 of 8. Older Logitech unifying receivers > (bcdDevice 12.03 or

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-29 Thread Rasmus Villemoes
On 28/08/2022 23.46, Vagrant Cascadian wrote: > On 2022-08-28, Vagrant Cascadian wrote: >> On 2022-08-28, Rasmus Villemoes wrote: >>> On 26/08/2022 22.59, Tom Rini wrote: On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: > From: Vagrant Cascadian > > The KBUILD_CF

Re: [RFC PATCH 2/8] watchdog: Integrate watchdog triggering into the cyclic framework

2022-08-29 Thread Rasmus Villemoes
On 29/08/2022 08.23, Stefan Roese wrote: > This patch integrates the watchdog triggering into the recently added > cyclic infrastructure. Each watchdog device that shall be triggered > registers it's own cyclic function. This way, multiple watchdog devices > are still supported, each via a cyclic f

Re: Question about uboot initialisation

2022-08-29 Thread momo aubin
Hi Simon, I got what is the 'dm tree' which is a driver model. This command could be done only in uboot stage. but i got the situation in which the initialisation of u-boot has not finished yet as showing in the following picture. [image: image.png] .i would like to know what is wrong in the init

Re: [RFC PATCH 5/8] watchdog: Get rid of ASSEMBLY hacks

2022-08-29 Thread Rasmus Villemoes
On 29/08/2022 08.23, Stefan Roese wrote: > Only one occurance of WATCHDOG_RESET is left in one assembler file. > This patch changes this occurance to a direct call to watchdog_reset Well... > and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as it's not > needed any more to clean this me

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-29 Thread Rasmus Villemoes
On 29/08/2022 09.15, Rasmus Villemoes wrote: > I'm inclined to say that is a bug in gcc. I'll open a bug and see what > they say. And it turns out this is already reported, with the same suggested resolution as I was thinking of, namely extending the ASM_MAP definition: https://gcc.gnu.org/bugzi

Re: [PATCH 2/3] examples: hello_world: Drop inclusion of common header

2022-08-29 Thread Wolfgang Denk
Dear Paul, In message <20220505153242.1598807-3-paul.bar...@sancloud.com> you wrote: > The "common.h" header is not covered by the licensing exception for > standalone applications. Let's drop inclusion of this header from the > hello_world example to prove that a standalone app can be built witho

Re: [RFC PATCH 2/8] watchdog: Integrate watchdog triggering into the cyclic framework

2022-08-29 Thread Stefan Roese
On 29.08.22 09:38, Rasmus Villemoes wrote: On 29/08/2022 08.23, Stefan Roese wrote: This patch integrates the watchdog triggering into the recently added cyclic infrastructure. Each watchdog device that shall be triggered registers it's own cyclic function. This way, multiple watchdog devices ar

Re: [PATCH 4/4] arm: dts: chameleonv3: Add 270-2 variant

2022-08-29 Thread Paweł Anikiel
On Sat, Aug 27, 2022 at 2:22 AM Simon Glass wrote: > > Hi Paweł, > > On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote: > > > > Add devicetree for chameleonv3 with the 270-2I2-D11E variant of the > > Mercury+ AA1 module > > > > Signed-off-by: Paweł Anikiel > > --- > > arch/arm/dts/Makefile

Re: [RFC PATCH 5/8] watchdog: Get rid of ASSEMBLY hacks

2022-08-29 Thread Stefan Roese
On 29.08.22 09:50, Rasmus Villemoes wrote: On 29/08/2022 08.23, Stefan Roese wrote: Only one occurance of WATCHDOG_RESET is left in one assembler file. This patch changes this occurance to a direct call to watchdog_reset Well... and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as i

[PATCH v2] tools: mkimage: fix build with recent LibreSSL

2022-08-29 Thread Mark Kettenis
LibreSSL 3.5.0 and later (also shipped as part of OpenBSD 7.1 and and later) have an opaque RSA object and do provide the RSA_get0_* functions that OpenSSL provides. Fixes: 2ecc354b8e46 ("tools: mkimage: fix build with LibreSSL") Signed-off-by: Mark Kettenis --- ChangeLog: v2: - Tweak version c

Re: [PATCH] tools: mkimage: fix build with recent LibreSSL

2022-08-29 Thread Mark Kettenis
> Date: Mon, 29 Aug 2022 00:37:55 +1000 > From: Jonathan Gray > > On Sat, Aug 27, 2022 at 07:23:44PM +0200, Mark Kettenis wrote: > > Recent versions of LibreSSL, such as those shipped as part of > > OpenBSD 7.1 and later have an opaque RSA object and do provide the > > RSA_get0_* functions that O

Looking for BDI2000 firmware for PowerPC 6xx/7xx/74xx.

2022-08-29 Thread Steven J. Hill
Like the subject line says. I am desperately trying to locate BDI2000 firmware for PowerPC 6xx/7xx/74xx with filenames that are of the form: b20copgd.1xx b20copfw.1xx If anyone has firmware files they are willing to share, please please let me know. Thanks. -Steve OpenPGP_signature

Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-08-29 Thread Felix Yan
On 8/28/22 19:49, Xiang W wrote: Please try my patch and let me know the test results diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 880a12cc28..cfde4007f5 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -46

[PATCH 0/1]

2022-08-29 Thread Alexander Sowarka
I was trying to read files from a Samsung MZ-VLB1T0B NVME device, that was formatted with an ext4 filesystem. But I observed some memory corruptions for the loaded file in u-boot. Closer investigation revealed that the u-boot nvme driver can't handle large IO-operations that are not aligned with th

[PATCH 1/1] nvme: Fix multipage prp-list

2022-08-29 Thread Alexander Sowarka
The nvme driver falsely assumed that the last entry on a page of the prp-list always points to the next page of the prp-list. This potentially can lead to the illegal creation of pages on the prp-list with only a single entry. This change now ensures that splitting the prp-list into multiple pages,

Re: [RFC PATCH] clk: fix clk_get_rate() always return ulong

2022-08-29 Thread Julien Masson
On Mon 29 Aug 2022 at 10:38, Simon Glass wrote: > Hi, > > On Fri, 26 Aug 2022 at 08:00, Sean Anderson wrote: >> >> On 8/26/22 6:31 AM, Julien Masson wrote: >>> According to clk_ops struct definition, the callback `get_rate()` >>> return current clock rate value as ulong. >>> `clk_get_rate()`

[RFC PATCH v2] clk: fix clk_get_rate() always return ulong

2022-08-29 Thread Julien Masson
According to clk_ops struct definition, the callback `get_rate()` return current clock rate value as ulong. `clk_get_rate()` should handle the clock rate returned as ulong also. Otherwise we may have invalid/truncated clock rate value returned by `clk_get_rate()`. `log_ret` has also been removed

Re: mvebu - switch to orion-timer

2022-08-29 Thread Stefan Roese
Hi Michael, Pali, Tony & all, On 24.08.22 09:35, Michael Walle wrote: Hi, On 24.08.22 00:33, Pali Rohár wrote: Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards

Re: [PATCH v2] tools: mkimage: fix build with recent LibreSSL

2022-08-29 Thread Jonathan Gray
On Mon, Aug 29, 2022 at 01:34:01PM +0200, Mark Kettenis wrote: > LibreSSL 3.5.0 and later (also shipped as part of OpenBSD 7.1 and > and later) have an opaque RSA object and do provide the > RSA_get0_* functions that OpenSSL provides. > > Fixes: 2ecc354b8e46 ("tools: mkimage: fix build with LibreS

Re: mvebu - switch to orion-timer

2022-08-29 Thread Pali Rohár
On Monday 29 August 2022 14:07:29 Stefan Roese wrote: > Hi Michael, Pali, Tony & all, > > On 24.08.22 09:35, Michael Walle wrote: > > Hi, > > > > > On 24.08.22 00:33, Pali Rohár wrote: > > > > Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which > > > > Michael wrote, I think th

Re: [PATCH 1/5] brppt1: Remove unused board variants

2022-08-29 Thread Wolfgang Wallner
From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:54 Subject: [PATCH 1/5] brppt1: Remove unused board variants   > The SPI and NAND board variants never went into production. > Drop those board variants. > > Signed-off-by: Bernhard Messerklinger > > --- > >  arch/arm/dts/Makefile

Re: [PATCH 2/5] brppt1: Fix SPL boot stage

2022-08-29 Thread Wolfgang Wallner
From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:54 Subject: [PATCH 2/5] brppt1: Fix SPL boot stage   > Commit 6337d53fdf45 ("arm: dts: sync am33xx with Linux 5.9-rc7") syncs > the am335x device tree with the latest linux kernel am335x device tree. > That causes problems with device

Re: [PATCH 3/5] brppt1: Cleanup device tree

2022-08-29 Thread Wolfgang Wallner
From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:54 Subject: [PATCH 3/5] brppt1: Cleanup device tree   > * Remove unnecessary device tree nodes which are not needed in >   U-Boot directly. > * Move all U-Boot specific device tree properties to u-boot dtsi. > > Signed-off-by: Bernha

Re: [PATCH 4/5] include: configs: brppt1: Fix commit 0ea4fc4dcf90

2022-08-29 Thread Wolfgang Wallner
From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:54 Subject: [PATCH 4/5] include: configs: brppt1: Fix commit 0ea4fc4dcf90   > Commit 0ea4fc4dcf90 ("board/BuR: invalidate ${dtbaddr} before cfgscr") > destroys the boot targets b_t30lgcy#0 and b_t30lgcy#1. The reason behind > this is,

Re: [PATCH 5/5] brppt1: Update environment to support new boot concept

2022-08-29 Thread Wolfgang Wallner
From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:54 Subject: [PATCH 5/5] brppt1: Update environment to support new boot concept   > * Drop legacy /boot/PPTImage.md5 check > * Update device tree naming > * Update t30args#0 root cmd line property to support latest kernel >   versions

[PATCH] arm: mvebu: turris_mox: Add support for distroboot $fdt_addr

2022-08-29 Thread Pali Rohár
$fdt_addr is mandatory for systems which provides DTB in HW (e.g. ROM) and wishes to pass that DTB to Linux. Turris Mox contains DTB binary in SPI NOR memory at "dtb" partition which starts at offset 0x7f and is 0x1 bytes long. Armada 3700 CPU does not allow mapping SPI NOR memory into ph

[PATCH 1/4] Makefile: Add a Python-based CONFIG checker

2022-08-29 Thread Simon Glass
The existing shell script is a bit ugly. It was picked up by Chromium OS and then rewritten in Python, adding unit tests. Bring this new version into U-Boot. Signed-off-by: Simon Glass --- scripts/kconfig_check.py | 338 ++ scripts/test_kconfig_check.py | 18

[PATCH 3/4] CI: Add kconfig checker tests to gitlab/azure

2022-08-29 Thread Simon Glass
Run this script along with the others. Signed-off-by: Simon Glass --- .azure-pipelines.yml | 1 + .gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 0fa92479b4c..7bb70ea9eba 100644 --- a/.azure-pipelines.yml +++ b/.azure-

[PATCH 2/4] Makefile: Switch over to the Python-based CONFIG checker

2022-08-29 Thread Simon Glass
Drop the old shell scripts and use the Python script instead. Signed-off-by: Simon Glass --- Makefile | 4 +-- scripts/build-whitelist.sh | 45 --- scripts/check-config.sh| 63 -- 3 files changed, 2 insertions(+)

[PATCH 4/4] pylibfdt: fix with Python 3.10

2022-08-29 Thread Simon Glass
From: Ross Burton Since Python 2.5 the argument parsing functions when parsing expressions such as s# (string plus length) expect the length to be an int or a ssize_t, depending on whether PY_SSIZE_T_CLEAN is defined or not. Python 3.8 deprecated the use of int, and with Python 3.10 this symbol

Re: [PATCH 01/15] scsi: Tidy up comments for struct scsi_cmd

2022-08-29 Thread Heinrich Schuchardt
On 8/27/22 17:14, Simon Glass wrote: These comments are bit of a mess. Tidy them up to match the correct coding style. Signed-off-by: Simon Glass It would be preferable to use Sphinx style comments as you already did in include/asm-generic/global_data.h. Best regards Heinrich --- inclu

Re: [PATCH 03/15] scsi: Move cmd_phase enum to the header

2022-08-29 Thread Heinrich Schuchardt
On 8/27/22 17:15, Simon Glass wrote: This can be used by common files, so move it to the SCSI header and rename it. Signed-off-by: Simon Glass --- drivers/usb/emul/sandbox_flash.c | 24 +--- include/scsi.h | 6 ++ 2 files changed, 15 insertions(+)

Re: [PATCH 11/15] sandbox: scsi: Move structs to header file

2022-08-29 Thread Heinrich Schuchardt
On 8/27/22 17:15, Simon Glass wrote: Move these to the SCSI header file so we can access them from multiple emulators. Signed-off-by: Simon Glass --- drivers/usb/emul/sandbox_flash.c | 26 -- include/scsi.h | 26 ++ 2 files

Re: [PATCH v2] xyz-modem: Allow to configure initial timeout for loadx and loady

2022-08-29 Thread Heinrich Schuchardt
On 8/27/22 13:48, Pali Rohár wrote: Now when loadx and loady commands could be aborted / cancelled by CTRL+C, allow to configure timeout for initial x/y-modem packet via env variable $loadxy_timeout and by default use value from new compile-time config option CONFIG_CMD_LOADXY_TIMEOUT. Value is i

Re: [PATCH] disk: part: remove dependency to ubifs for spl

2022-08-29 Thread Heinrich Schuchardt
On 8/8/22 16:45, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier The spl doesn't support ubifs and thereby doesn't provide the ubifs_is_mounted function. Remove the dependency to ubifs for the spl. Signed-off-by: Stefan Herbrechtsmeier --- disk/part.c | 2 +- 1 file changed, 1

[PATCH] doc: cmd: loady: Document new configuration

2022-08-29 Thread Pali Rohár
Signed-off-by: Pali Rohár --- doc/usage/cmd/loady.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst index 2819cc72aef4..718af6e128d5 100644 --- a/doc/usage/cmd/loady.rst +++ b/doc/usage/cmd/loady.rst @@ -61,6 +61,13 @@ Configuration

Re: [PATCH] doc: cmd: loady: Document new configuration

2022-08-29 Thread Heinrich Schuchardt
On 8/29/22 17:36, Pali Rohár wrote: Signed-off-by: Pali Rohár --- doc/usage/cmd/loady.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst index 2819cc72aef4..718af6e128d5 100644 --- a/doc/usage/cmd/loady.rst +++ b/doc/usage/cmd/load

Re: [PATCH] disk: part: remove dependency to ubifs for spl

2022-08-29 Thread Stefan Herbrechtsmeier
Hi Heinrich, Am 29.08.2022 um 17:01 schrieb Heinrich Schuchardt: On 8/8/22 16:45, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier The spl doesn't support ubifs and thereby doesn't provide the ubifs_is_mounted function. Remove the dependency to ubifs for the spl. Signed-off-by: Ste

[PATCH 0/1] Add 4 optional build options for riscv arch

2022-08-29 Thread Pan Li
Pan Li (1): The riscv spec has breaking change from 2.2 to 20191213. Both ZICSR and ZIFENCEI are separated extension since 20191213. Gcc bump up the riscv spec to 20191213 since 12.x. So add below 4 build option for compatibility:: arch/riscv/Kconfig | 28 ++

[PATCH 1/1] The riscv spec has breaking change from 2.2 to 20191213. Both ZICSR and ZIFENCEI are separated extension since 20191213. Gcc bump up the riscv spec to 20191213 since 12.x. So add below 4 b

2022-08-29 Thread Pan Li
CONFIG_RISCV_ISA_F for single float point, default no. CONFIG_RISCV_ISA_D for double float point, default no. CONFIG_RISCV_ISA_ZICSR for control and status register, default no. CONFIG_RISCV_ISA_ZIFENCEI for instruction-fetch fence, default no. Example when build with gcc 12.x as below. make

Re: [PATCH] doc: cmd: loady: Document new configuration

2022-08-29 Thread Pali Rohár
On Monday 29 August 2022 17:43:43 Heinrich Schuchardt wrote: > On 8/29/22 17:36, Pali Rohár wrote: > > Signed-off-by: Pali Rohár > > --- > > doc/usage/cmd/loady.rst | 7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst > > index

[PATCH 1/3] doc: sending_patches.rst: Incorporate the old "Patches" wiki content

2022-08-29 Thread Tom Rini
Import as-is much of the old "Patches" wiki page to the current sending_patches.rst file. This means we need to move patman to being included in the higher level ToC and add a reference for "Custodians" in the process document. A very minimal amount of content changing and rewording is done here as

[PATCH 2/3] doc: process, sending_patches: Update and correct the old "Patches" content

2022-08-29 Thread Tom Rini
- Use gender-neutral language to refer to the user, consistently. - Reference the checkpatch document. - Move the section on commit message tags to the process document and reference this in sending_patches.rst. - Reword the custodian workflow process section to refer to this new section, i

[PATCH 3/3] github: Update PR template for new "Patches" content

2022-08-29 Thread Tom Rini
The old "Patches" wiki page is not available anymore. Now that the content has been integrated with the submitting_patches document, reference that instead. Signed-off-by: Tom Rini --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pu

[PATCH v2 1/4] microblaze: drop CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE

2022-08-29 Thread Ovidiu Panait
These macros are not used anymore in microblaze code since commit f113d7d303467 ("Convert CONFIG_SPL_STACK to Kconfig"), so remove them. Fixes: f113d7d303467 ("Convert CONFIG_SPL_STACK to Kconfig") Signed-off-by: Ovidiu Panait --- Changes in v2: Improved commit message, added "Fixes" tag. incl

[PATCH v2 2/4] cpu: microblaze: add error handling in microblaze_cpu_get_desc()

2022-08-29 Thread Ovidiu Panait
Check snprintf() return value for errors. Make microblaze_cpu_get_desc() directly return snprintf() error code if ret < 0. Otherwise, if the return value is greater than or equal to size, the resulting string is truncated, so return -ENOSPC. Fixes: 816226d27e ("cpu: add CPU driver for microblaze"

[PATCH v2 3/4] cmd: bdinfo: introduce bdinfo_print_size() helper

2022-08-29 Thread Ovidiu Panait
Add bdinfo_print_size() helper to display size variables (such as cache sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB", "xxx MiB", "xxx GiB", etc as needed; Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Changes in v2: Added "Reviewed-by" tag from Simon. cmd

[PATCH v2 4/4] microblaze: add arch_print_bdinfo() implementation

2022-08-29 Thread Ovidiu Panait
Allow bdinfo command to print icache/dcache information: U-Boot-mONStR> bdinfo boot_params = 0x DRAM bank = 0x -> start= 0x0400 -> size = 0x0400 flashstart = 0x flashsize = 0x flashoffset = 0x baudrate= 9600 bps relocaddr = 0x07f760

[PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup

2022-08-29 Thread Philippe Schenker
From: Philippe Schenker With this call the following attributes get set to the device-tree and are then accessible from linux in /proc/device-tree/ serial-number: The serial number that is stored in config-block toradex,board-rev: The version of the module (e.g. V1.1A) toradex,product-id: The SK

[PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup

2022-08-29 Thread Philippe Schenker
From: Philippe Schenker With this call the following attributes get set to the device-tree and are then accessible from linux in /proc/device-tree/ serial-number: The serial number that is stored in config-block toradex,board-rev: The version of the module (e.g. V1.1A) toradex,product-id: The SK

Re: mvebu - switch to orion-timer

2022-08-29 Thread Tony Dinh
Hi Stefan, On Mon, Aug 29, 2022 at 5:50 AM Pali Rohár wrote: > > On Monday 29 August 2022 14:07:29 Stefan Roese wrote: > > Hi Michael, Pali, Tony & all, > > > > On 24.08.22 09:35, Michael Walle wrote: > > > Hi, > > > > > > > On 24.08.22 00:33, Pali Rohár wrote: > > > > > Hello Stefan! Now when U-

Re: Looking for BDI2000 firmware for PowerPC 6xx/7xx/74xx.

2022-08-29 Thread Steven J. Hill
Just wanted to give a great big "Thank You!" to all of you who have shared your BDI firmware files. -Steve OpenPGP_signature Description: OpenPGP digital signature

Re: [PATCH 2/3] efi: ECPT add EBBRv2.0 conformance profile

2022-08-29 Thread Heinrich Schuchardt
On 1/2/22 00:56, Heinrich Schuchardt wrote: On 12/31/21 15:36, Jose Marinho wrote: Hi Heinrich, -Original Message- From: Heinrich Schuchardt Sent: 23 December 2021 18:32 To: Jose Marinho ; u-boot@lists.denx.de Cc: ilias.apalodi...@linaro.org; sughosh.g...@linaro.org; takahiro.aka...

Re: [PATCH 4/4] arm: dts: chameleonv3: Add 270-2 variant

2022-08-29 Thread Simon Glass
Hi Paweł, On Mon, 29 Aug 2022 at 02:23, Paweł Anikiel wrote: > > On Sat, Aug 27, 2022 at 2:22 AM Simon Glass wrote: > > > > Hi Paweł, > > > > On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote: > > > > > > Add devicetree for chameleonv3 with the 270-2I2-D11E variant of the > > > Mercury+ AA1 mod

Re: [PATCH] disk: part: remove dependency to ubifs for spl

2022-08-29 Thread Simon Glass
Hi Stefan, On Mon, 29 Aug 2022 at 09:53, Stefan Herbrechtsmeier wrote: > > Hi Heinrich, > > Am 29.08.2022 um 17:01 schrieb Heinrich Schuchardt: > > On 8/8/22 16:45, Stefan Herbrechtsmeier wrote: > >> From: Stefan Herbrechtsmeier > >> > >> The spl doesn't support ubifs and thereby doesn't provide

Re: [PATCH 1/3] doc: sending_patches.rst: Incorporate the old "Patches" wiki content

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 10:59, Tom Rini wrote: > > Import as-is much of the old "Patches" wiki page to the current > sending_patches.rst file. This means we need to move patman to being > included in the higher level ToC and add a reference for "Custodians" in > the process document. A very minimal

Re: Question about uboot initialisation

2022-08-29 Thread Simon Glass
Hi Aubin, On Mon, 29 Aug 2022 at 01:40, momo aubin wrote: > > Hi Simon, > I got what is the 'dm tree' which is a driver model. This command could be > done only in uboot stage. but i got the situation in which the initialisation > of u-boot has not finished yet as showing in the following pictu

Re: [PATCH] bootm: Fix upper bound of FDT overlap checks

2022-08-29 Thread Simon Glass
On Sat, 27 Aug 2022 at 06:48, Pali Rohár wrote: > > FTD blob can be put immediately after the OS image. > So use strict inequality for start address check. > > Fixes: fbde7589ce30 ("common: bootm: add checks to verify if ramdisk / > fdtimage overlaps OS image") > Signed-off-by: Pali Rohár > ---

Re: [PATCH v2] pci: Do not enable PCIe GEN3 link retrain workaround by default

2022-08-29 Thread Simon Glass
On Sat, 27 Aug 2022 at 06:30, Pali Rohár wrote: > > PCIe GEN3 link retrain workaround, specially designed for system with PCIe > ASMedia ASM2824 Switch and other Endpoint devices, unconditionally increase > size of all SPL binaries with PCIe support, even those which do not require > it. > > More

Re: [PATCH 3/3] github: Update PR template for new "Patches" content

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 11:00, Tom Rini wrote: > > The old "Patches" wiki page is not available anymore. Now that the > content has been integrated with the submitting_patches document, > reference that instead. > > Signed-off-by: Tom Rini > --- > .github/pull_request_template.md | 2 +- > 1 file

Re: [RFC PATCH v2] clk: fix clk_get_rate() always return ulong

2022-08-29 Thread Simon Glass
Hi Julien, On Mon, 29 Aug 2022 at 06:06, Julien Masson wrote: > > According to clk_ops struct definition, the callback `get_rate()` > return current clock rate value as ulong. > `clk_get_rate()` should handle the clock rate returned as ulong also. > > Otherwise we may have invalid/truncated clock

Re: [PATCH] arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE

2022-08-29 Thread Simon Glass
Hi Pali, On Sat, 27 Aug 2022 at 06:01, Pali Rohár wrote: > This patch is missing a motivation. Please always add a commit message. > Signed-off-by: Pali Rohár > --- > board/Marvell/mvebu_armada-37xx/board.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/Marvell/mvebu_armada-

Re: [PATCH v4 2/2] image-fit: don't set compression if it can't be read

2022-08-29 Thread Simon Glass
On Fri, 26 Aug 2022 at 21:18, Daniel Golle wrote: > > fit_image_get_comp() should not set value -1 in case it can't read > the compression node. Instead, leave the value untouched in that case > as it can be absent and a default value previously defined by the > caller of fit_image_get_comp() shou

Re: [PATCH v4 1/2] bootm: fix typo imape_comp -> image_comp

2022-08-29 Thread Simon Glass
On Fri, 26 Aug 2022 at 21:15, Daniel Golle wrote: > > Chage variable name 'imape_comp' to the supposedly intended name Change > 'image_comp'. > > Signed-off-by: Daniel Golle > --- > v4: add missing name replacement > > boot/bootm.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH v2 0/9] Add DM support for atmel NAND driver

2022-08-29 Thread Simon Glass
Hi, On Mon, 29 Aug 2022 at 00:41, Michael Nazzareno Trimarchi wrote: > > Hi > > On Mon, Aug 29, 2022 at 8:19 AM Balamanikandan Gunasundar > wrote: > > > > Change include: > > > > - Adapt GPIO descriptor apis for U-Boot. Use > > gpio_request_by_name_nodev, dm_gpio_get_value etc. > > - Use U_BOO

Re: [PATCH 3/4] arm: dts: chameleonv3: Override chameleonv3 bitstream names

2022-08-29 Thread Simon Glass
On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote: > > Set the bitstream name per Chameleon variant. This allows the same > boot filesystem with all bitstream variants to be used on different > boards. > > Signed-off-by: Paweł Anikiel > --- > arch/arm/dts/socfpga_arria10_chameleonv3_270_3-u-boot

Re: [RFC PATCH 1/8] cmd/cyclic: Use div64 macros for division and remainder

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote: > > Use the do_div etc for divisions to fix the compile breakage seen on > edison: > > cmd/cyclic.c:70: undefined reference to `__udivmoddi4' > > and for e.g. MIPS netgear_cg3100d_ram: > > cmd/cyclic.c:(.text.do_cyclic_list+0x180): undefined refere

Re: [RFC PATCH 3/8] cyclic: Introduce schedule() function

2022-08-29 Thread Simon Glass
Hi Stefan, On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote: > > This patch introduces a schedule() function, which shall be used instead > of the old WATCHDOG_RESET. Follow-up patches will make sure, that this > new function is used. > > Signed-off-by: Stefan Roese > --- > common/cyclic.c | 1

Re: [RFC PATCH 4/8] cyclic: Use schedule() instead of WATCHDOG_RESET()

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote: > > Globally replace all occurances of WATCHDOG_RESET() with schedule(), > which handles the HW_WATCHDOG functionality and the cyclic > infrastructure. > > Signed-off-by: Stefan Roese > --- > arch/arm/mach-at91/phy.c | 2 +-

Re: [RFC PATCH 6/8] watchdog: Remove WATCHDOG_RESET macro

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote: > > Now that we've globally replaced all WATCHDOG_RESET occurances, let's > remove the ugly macro itself in the header. > > Signed-off-by: Stefan Roese > --- > include/watchdog.h | 36 > 1 file changed, 36 del

Re: [RFC PATCH 7/8] watchdog: Further cleanup

2022-08-29 Thread Simon Glass
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote: > > Remove some now unused macros and #ifdef's. > > Signed-off-by: Stefan Roese > --- > include/watchdog.h | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v4 1/2] bootm: fix typo imape_comp -> image_comp

2022-08-29 Thread Daniel Golle
On Mon, Aug 29, 2022 at 08:30:14PM -0600, Simon Glass wrote: > On Fri, 26 Aug 2022 at 21:15, Daniel Golle wrote: > > > > Chage variable name 'imape_comp' to the supposedly intended name > > Change Can you fix that on-the-fly while comitting or should I repost with that typo in the patch descript

Re: [PATCH 1/2] dt-bindings: clock: sifive: sync FU740 PRCI clock binding header

2022-08-29 Thread Leo Liang
Hi Icenowy, On Thu, Aug 25, 2022 at 04:11:18PM +0800, Icenowy Zheng wrote: > This commit sychornizes the header file for FU740 PRCI clocks with the > one from Linux 5.19. > > The constant values are the same, but all constant names are changed > (most are just prefixed with FU740_). > > Signed-of

Re: [PATCH] drivers: mmc: Reset watchdog when accessing mmc device

2022-08-29 Thread qianfan
在 2022/7/26 16:31, Jaehoon Chung 写道: On 7/13/22 16:32, qianfangui...@163.com wrote: From: qianfan Zhao watchdog will reset when 'mmc read' or 'ext4load' a large file from mmc device. Reset watchdog when accessing mmc device. I don't know why this patch is need. Hi: maybe your's board doe

Re: [PATCH 1/1] cmd/sbi: format KVM version

2022-08-29 Thread Leo Liang
On Sun, Aug 14, 2022 at 09:57:14PM +0200, Heinrich Schuchardt wrote: > Format the KVM implementation number in a human readable form. > > With the patch output of the sbi command for Linux 5.19.1 looks like: > > => sbi > SBI 0.3 > KVM 5.19.1 > Machine: > Vendor ID 0 >

Re: [PATCH 2/2] riscv: dts: sifive: Synchornize FU740 and Unmatched DT

2022-08-29 Thread Leo Liang
On Thu, Aug 25, 2022 at 04:11:19PM +0800, Icenowy Zheng wrote: > These DT files are synchornized from Linux 5.19. > > Signed-off-by: Icenowy Zheng > --- > arch/riscv/dts/fu740-c000.dtsi | 67 + > arch/riscv/dts/hifive-unmatched-a00.dts | 95 +++-- > 2

Looking for very old Katana 752i boot code.

2022-08-29 Thread Steven J. Hill
Recently got a hold of a Katana 752i board. I was able to dump the boot memory and it shows up as: PPCBoot 1.2.0 (May 30 2006 - 12:54:57)1.5s In the Katana 752i user manual however, it shows console output as: PPCBoot 1.2.0 (Oct 31 2007 - 12:52:52)1.7s CPU: 750GX v1.2 @ 900 MHz B