Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Sumit Garg
Hi Simon, On Tue, 5 Dec 2023 at 06:22, Simon Glass wrote: > > Hi Sumit, > > On Tue, 21 Nov 2023 at 23:21, Sumit Garg wrote: > > > > Hi Caleb, > > > > On Tue, 21 Nov 2023 at 22:39, Caleb Connolly > > wrote: > > > > > > Historically, Qualcomm boards in U-Boot have all had their own > > >

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Krzysztof Kozlowski
On 05/12/2023 08:13, Sumit Garg wrote: >>> @DT bindings maintainers, >>> >>> Given the ease of maintenance of DT bindings within Linux kernel >>> source tree, I don't have a specific objection there. But can we ease >>> DTS testing for firmware/bootloader projects by providing a versioned >>>

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Sumit Garg
On Mon, 4 Dec 2023 at 22:31, Rob Herring wrote: > > On Sun, Dec 3, 2023 at 11:33 PM Sumit Garg wrote: > > > > + Linux kernel DT bindings maintainers, EBBR ML > > > > On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: > > > > > > On Thu, Nov 30, 2023 at 01:02:25PM +0530, Sumit Garg wrote: > > > > On

Re: [PATCH 1/1] efi_loader: boot options should relate to the ESP

2023-12-04 Thread Masahisa Kojima
Hi Heinrich, On Tue, 5 Dec 2023 at 11:38, Heinrich Schuchardt wrote: > > * Only generate removable media entries for EFI system partitions. > * Only offer EFI system partitions for boot options in the eficonfig > command. > > Fixes: c416f1c0bcab ("bootmenu: add removable media entries") >

Re: [PATCH v2 15/18] fdt: Allow the devicetree to come from a bloblist

2023-12-04 Thread Ilias Apalodimas
Hi Simon, We did discuss this in OSFC but perhaps you forgot. The discussion was based on the mail here [0]. On Tue, 5 Dec 2023 at 02:52, Simon Glass wrote: > > Hi Raymond, > > On Mon, 4 Dec 2023 at 12:25, Raymond Mao wrote: > > > > Hi Simon, > > > > When `OF_BOARD` is defined, the FDT should

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-12-04 Thread Marek Vasut
On 12/4/23 13:10, Shantur Rathore wrote: On Mon, Dec 4, 2023 at 11:05 AM Marek Vasut wrote: On 12/4/23 11:59, Shantur Rathore wrote: Hi Marek, On Sun, Dec 3, 2023 at 10:37 PM Marek Vasut wrote: On 12/3/23 22:42, Shantur Rathore wrote: Hi Marek, On Sun, Dec 3, 2023 at 8:42 PM Marek

Re: [PATCH 0/2] docs: AM62x: Remove SW_PRNG Flag for OPTEE

2023-12-04 Thread Dhruva Gole
Hi Nishanth, On 05/12/23 01:00, Nishanth Menon wrote: On 15:59-20231201, Dhruva Gole wrote: The CFG_WITH_SOFTWARE_PRNG option was needed once when there were some issues with system crashes/ hangs after a suspend-resume cycle. However this seems to no longer be the case with newer firmwares,

Re: [PATCH v2] riscv: Add support for AMD/Xilinx MicroBlaze V

2023-12-04 Thread Padmarao.Begari
On Mon, 2023-11-06 at 12:56 +0100, Michal Simek wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > MicroBlaze V is new AMD/Xilinx soft-core 32bit RISC-V processor IP. > It is hardware compatible with classic MicroBlaze processor. > > The

Re: [PATCH 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-04 Thread Neha Malcom Francis
Hi Andrew On 04/12/23 20:36, Andrew Davis wrote: On 12/4/23 5:21 AM, Neha Malcom Francis wrote: Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by: Neha Malcom Francis ---   doc/board/ti/k3.rst | 7 +++   1 file

Re: [PATCH 2/2] arm: dts: k3-j7200-r5-common-proc-board: Set parent clock for clock ID 323

2023-12-04 Thread Kumar, Udit
On 12/2/2023 3:03 AM, Reid Tonking wrote: From: Apurva Nandan This virtual clock mux configuration enables the use of dynamic frequency scaling on A72 clock ID 202 by setting up the required register. IMO, dynamic frequency scaling should be supported without this patch. But this patch

Re: [PATCH 1/2] arm: mach-k3: j72xx: add new 'virtual' mux

2023-12-04 Thread Kumar, Udit
On 12/2/2023 3:03 AM, Reid Tonking wrote: From: Bryan Brattlof In order for the Cortex-A72s to operate at different frequencies other than the default 2GHz, add in a new 'virtual' mux (a mux that does not physically exist in the clock tree) that can be selected. CC: Vishal Mahaveer

Re: [PATCH 06/14] fastboot: Change fastboot_buf_addr to an address

2023-12-04 Thread Dmitrii Merkurev
Verified this change with AOSP u-boot fastboot flashing tests and it works as expected. Reviewed-by: Dmitrii Merkurev On Mon, Dec 4, 2023 at 12:32 AM Simon Glass wrote: > Given the name of this variable, it should be an address, not a > pointer. Update this, to make it easier to use with

Pull request efi-2024-01-rc5

2023-12-04 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 2f0282922b2c458eea7f85c500a948a587437b63: Prepare v2024.01-rc4 (2023-12-04 13:46:56 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2024-01-rc5 for you to fetch changes up to

[PATCH 1/1] efi_loader: boot options should relate to the ESP

2023-12-04 Thread Heinrich Schuchardt
* Only generate removable media entries for EFI system partitions. * Only offer EFI system partitions for boot options in the eficonfig command. Fixes: c416f1c0bcab ("bootmenu: add removable media entries") Fixes: 87d791423ac6 ("eficonfig: menu-driven addition of UEFI boot option")

[PATCH] sunxi: dts: arm64: update emac for Orange Pi Zero 3

2023-12-04 Thread Andre Przywara
From: Chukun Pan The current emac setting is not suitable for Orange Pi Zero 3, move it back to Orange Pi Zero 2 DT. Also update phy mode and delay values for emac on Orange Pi Zero 3. With these changes, Ethernet now looks stable. Fixes: 95c3b0635ea4 ("sunxi: dts: arm64: update devicetree

Re: [PATCH v2 17/18] qemu-arm: Get bloblist from boot arguments

2023-12-04 Thread Simon Glass
Hi Raymond, On Mon, 4 Dec 2023 at 13:06, Raymond Mao wrote: > > Hi Simon > > On Sat, 2 Dec 2023 at 16:16, Simon Glass wrote: >> >> Hi Raymond, >> >> On Mon, 27 Nov 2023 at 12:53, Raymond Mao wrote: >> > >> > Add platform custom function to get bloblist from boot arguments. >> >> This should be

Re: [PATCH v2 18/18] bloblist: Load the bloblist from the previous loader

2023-12-04 Thread Simon Glass
Hi Raymond, On Mon, 4 Dec 2023 at 13:21, Raymond Mao wrote: > > Hi Simon, > > On Sat, 2 Dec 2023 at 13:32, Simon Glass wrote: >> >> Hi Raymond, >> >> On Mon, 27 Nov 2023 at 12:53, Raymond Mao wrote: >> > >> > During bloblist initialization, when CONFIG_OF_BOARD is defined, >> > invoke the

Re: EFI memory allocation

2023-12-04 Thread Simon Glass
Hi Ilias, On Mon, 4 Dec 2023 at 05:05, Ilias Apalodimas wrote: > > Hi Simon > > On Sun, 3 Dec 2023 at 19:44, Simon Glass wrote: > > > > Hi Heinrich, Ilias, > > > > I had a bit of a look at how memory is allocated in EFI. > > > > I see that efi_memory_init() is called quite early in U-Boot. It >

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Simon Glass
Hi Sumit, On Tue, 21 Nov 2023 at 23:21, Sumit Garg wrote: > > Hi Caleb, > > On Tue, 21 Nov 2023 at 22:39, Caleb Connolly > wrote: > > > > Historically, Qualcomm boards in U-Boot have all had their own > > board/qualcomm/xyz directory, their own CONFIG_TARGET_XYZ option, their > > own hardcoded

Re: [PATCH v2 15/18] fdt: Allow the devicetree to come from a bloblist

2023-12-04 Thread Simon Glass
Hi Raymond, On Mon, 4 Dec 2023 at 12:25, Raymond Mao wrote: > > Hi Simon, > > When `OF_BOARD` is defined, the FDT should be from one of the board-specific > mechanisms: > 1. FDT from a bloblist via boot args > 2. FDT in memory > I don't think we need a new build option to distinguish these

Re: [PATCH v2 12/18] bloblist: Reduce bloblist header size

2023-12-04 Thread Simon Glass
Hi, On Mon, 4 Dec 2023 at 01:39, Ilias Apalodimas wrote: > > Ah I guess this fixes my concerns on patch #6 > > On Mon, 27 Nov 2023 at 21:53, Raymond Mao wrote: > > > > From: Simon Glass > > > > The v0.9 spec provides for a 16-byte header with fewer fields. Update > > the implementation to

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-04 Thread Simon Glass
Hi Angelo, On Tue, 5 Dec 2023 at 08:01, Angelo Dureghello wrote: > > Hi Simon, > > looks like i cannot apply this patch: > >    ~/dev-k/u-boot-coldfire  on   master *2  git am > Complete-decoupling-of-bootm-logic-from-commands.patch > Applying: bootm: netbds: Drop passing of arguments >

Re: [PATCH v4 0/4] bootflow: bootmeth_efi: Fix network efi boot.

2023-12-04 Thread Simon Glass
Hi Shantur, On Mon, 4 Dec 2023 at 05:38, Shantur Rathore wrote: > > Hi Simon, > > On Sun, Nov 19, 2023 at 4:56 PM Shantur Rathore wrote: > > > > > > Currently bootmeth_efi crashes while doing a network (dhcp) boot. > > This patch series fixes issues and both network and disk boot works. > > >

Re: [PATCH v4 4/5] lib: membuff: fix readline not returning line in case of overflow

2023-12-04 Thread Simon Glass
Hi Svyatoslav, On Thu, 23 Nov 2023 at 04:02, Svyatoslav Ryhel wrote: > > From: Ion Agorria > > If a line overflows readline's maxlen it won't advance the membuffer > and will return 0 as read amount which isn't even documented. > Fix by removing this behavior alltogether. spelling But then

[PATCH 3/4] mailbox: zynqmp: support mulitple mboxes via device-tree

2023-12-04 Thread Tanmay Shah
As of now only one mailbox agent is supported by mailbox driver. On zynqmp platform there are about 7 mailbox agents which can communicate over same IPI channel to U-Boot. This patch series introduces new "zynqmp_ipi_dest" driver which adds one to multi-channel mailbox support. Following format

[PATCH 4/4] dts: zynqmp: add missing destination mailbox compatible

2023-12-04 Thread Tanmay Shah
The commit in linux kernel 81186dc16101 ("dt-bindings: zynqmp: add destination mailbox compatible") make compatible string for child nodes mandatory that's why add it. Signed-off-by: Tanmay Shah --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/4] mailbox: add el3 support only for zynqmp platform

2023-12-04 Thread Tanmay Shah
If U-Boot is running in Exception Level 3 then use hardcode register values for mailbox message passing with PMU. This is only supported for zynqmp platform. Signed-off-by: Tanmay Shah --- drivers/mailbox/zynqmp-ipi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 0/4] mailbox: zynqmp: support multiple child nodes

2023-12-04 Thread Tanmay Shah
Current zynqmp_ipi driver is hardcoded to work with only PMU mailbox node. This patch series adds new driver "zynqmp_ipi_dest" to support multiple child node of current "zynqmp-ipi-mailbox" node. It also adds support of SMC calls to TF-A to configure IPI register address space. New driver uses

[PATCH 1/4] mailbox: zynqmp: support smc calls to TF-A

2023-12-04 Thread Tanmay Shah
Use SMC calls to TF-A to operate IPI for execution level below 3. For EL3 use hardcode IPI registers as TF-A isn't available in EL3. Hence, in EL3 remote and local IPI ids retrieved using xlnx,ipi-id property are unused. Signed-off-by: Tanmay Shah --- drivers/mailbox/zynqmp-ipi.c | 88

Re: [PATCH v1] mtd: rawnand: Meson NAND controller support

2023-12-04 Thread Michael Nazzareno Trimarchi
Hi Arseniy Il lun 4 dic 2023, 20:31 Arseniy Krasnov ha scritto: > cc: Miquel Raynal > > On 30.11.2023 14:21, Arseniy Krasnov wrote: > > Basic support for Amlogic Meson NAND controller on AXG. > > > > Signed-off-by: Arseniy Krasnov > > --- > We are going to review your patches. It will be

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread ff
> Le 4 déc. 2023 à 14:25, Sumit Garg a écrit : > > On Mon, 4 Dec 2023 at 16:30, Daniel Thompson > wrote: >> >>> On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: >>> + Linux kernel DT bindings maintainers, EBBR ML >>> >>> On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: On

Re: [PATCH v2 18/18] bloblist: Load the bloblist from the previous loader

2023-12-04 Thread Raymond Mao
Hi Simon, On Sat, 2 Dec 2023 at 13:32, Simon Glass wrote: > Hi Raymond, > > On Mon, 27 Nov 2023 at 12:53, Raymond Mao wrote: > > > > During bloblist initialization, when CONFIG_OF_BOARD is defined, > > invoke the platform custom function to load the bloblist via boot > > arguments from the

Re: [PATCH v2 17/18] qemu-arm: Get bloblist from boot arguments

2023-12-04 Thread Raymond Mao
Hi Simon On Sat, 2 Dec 2023 at 16:16, Simon Glass wrote: > Hi Raymond, > > On Mon, 27 Nov 2023 at 12:53, Raymond Mao wrote: > > > > Add platform custom function to get bloblist from boot arguments. > > This should be the same for all ARM platforms. The ultimate goal is > something like [1] >

Re: [PATCH v1] mtd: rawnand: Meson NAND controller support

2023-12-04 Thread Arseniy Krasnov
On 04.12.2023 22:53, Michael Nazzareno Trimarchi wrote: > Hi Arseniy > > Il lun 4 dic 2023, 20:31 Arseniy Krasnov ha > scritto: > >> cc: Miquel Raynal >> >> On 30.11.2023 14:21, Arseniy Krasnov wrote: >>> Basic support for Amlogic Meson NAND controller on AXG. >>> >>> Signed-off-by: Arseniy

Re: [PATCH v2 17/18] qemu-arm: Get bloblist from boot arguments

2023-12-04 Thread Raymond Mao
Hi Michal, I will remove "#if IS_ENABLED(CONFIG_OF_BOARD)" from below: >+#if IS_ENABLED(CONFIG_OF_BOARD) >+/* Boot parameters saved from lowlevel_init.S */ >+struct { >+ unsigned long arg0; >+ unsigned long arg1; >+ unsigned long arg2; >+ unsigned long arg3; >+} qemu_saved_args

Re: [PATCH v1] mtd: rawnand: macronix: OTP access for MX30LFxG18AC

2023-12-04 Thread Arseniy Krasnov
cc: Miquel Raynal On 30.11.2023 14:24, Arseniy Krasnov wrote: > Support for OTP area access on MX30LFxG18AC chip series. > > Signed-off-by: Arseniy Krasnov > --- > drivers/mtd/nand/raw/nand_macronix.c | 170 +++ > 1 file changed, 170 insertions(+) > > diff --git

Re: [PATCH v1] mtd: rawnand: Meson NAND controller support

2023-12-04 Thread Arseniy Krasnov
cc: Miquel Raynal On 30.11.2023 14:21, Arseniy Krasnov wrote: > Basic support for Amlogic Meson NAND controller on AXG. > > Signed-off-by: Arseniy Krasnov > --- > drivers/mtd/nand/raw/Kconfig |9 + > drivers/mtd/nand/raw/Makefile |1 + > drivers/mtd/nand/raw/meson_nand.c |

Re: [PATCH 0/2] docs: AM62x: Remove SW_PRNG Flag for OPTEE

2023-12-04 Thread Nishanth Menon
On 15:59-20231201, Dhruva Gole wrote: > The CFG_WITH_SOFTWARE_PRNG option was needed once when there were some > issues with system crashes/ hangs after a suspend-resume cycle. However > this seems to no longer be the case with newer firmwares, and this > config is not needed for basic boot

Re: [PATCH 1/2] doc: board: beagle: am62x_beagleplay: Delete SW_PRNG flag for OPTEE

2023-12-04 Thread Nishanth Menon
On 15:59-20231201, Dhruva Gole wrote: > Delete the flag CFG_WITH_SOFTWARE_PRNG as it's not necessary/ boot > requirement for this SoC > > Signed-off-by: Dhruva Gole > --- > doc/board/beagle/am62x_beagleplay.rst | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH v2 15/18] fdt: Allow the devicetree to come from a bloblist

2023-12-04 Thread Raymond Mao
Hi Simon, When `OF_BOARD` is defined, the FDT should be from one of the board-specific mechanisms: 1. FDT from a bloblist via boot args 2. FDT in memory I don't think we need a new build option to distinguish these two, since it can be done in runtime by checking whether the boot args follow the

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-04 Thread Angelo Dureghello
Hi Simon, looks like i cannot apply this patch:    ~/dev-k/u-boot-coldfire  on   master *2  git am Complete-decoupling-of-bootm-logic-from-commands.patch Applying: bootm: netbds: Drop passing of arguments Applying: bootm: plan: Drop passing of arguments Applying: bootm: qnxelf: Drop

Re: [PATCH v2 06/18] bloblist: Drop the flags value

2023-12-04 Thread Raymond Mao
Hi Ilias and Simon, I just realized that the latest FW Handoff spec introduced 'flags'. I will remove this patch from the series of next rev. Regards, Raymond On Mon, 4 Dec 2023 at 03:40, Ilias Apalodimas wrote: > I just noticed that's fixed in path #12 > > > On Mon, 4 Dec 2023 at 10:36, Ilias

Re: [PATCH v2 01/18] bloblist: Update the tag numbering

2023-12-04 Thread Raymond Mao
Hi Ilias, What is the difference between the new added XFERLIST_EVLOG and the existing BLOBLISTT_TPM2_TCG_LOG and BLOBLISTT_TCPA_LOG in U-Boot? Thanks and regards, Raymond On Mon, 4 Dec 2023 at 12:52, Ilias Apalodimas wrote: > On Mon, 4 Dec 2023 at 18:25, Raymond Mao wrote: > > > > Hi Ilias,

[ANN] U-Boot v2024.01-rc4 released

2023-12-04 Thread Tom Rini
Hey all, It's release day and here is -rc4. There's just a few fixes I know of outstanding at this point, and only one of them (NAND for AM335x platforms) I think isn't something that can be said to be provably correct, to try and borrow mathematical terms. In terms of a changelog, git log

Re: [PATCH 1/1] efi_loader: generated SMBIOS table below 4 GiB

2023-12-04 Thread Tom Rini
On Mon, 20 Nov 2023 23:25:58 +0100, Heinrich Schuchardt wrote: > We currently use an outdated format 32-bit format for SMBIOS tables. > So we must allocate SMBIOS tables below 4 GiB. > > As this is reflects what has been done the longest, applied to u-boot/master, thanks! And we shall revisit

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-04 Thread Simon Glass
Hi Laurent, On Sun, 3 Dec 2023 at 08:33, Laurent Pinchart wrote: > > Hi Simon, > > Thank you for the patch. > > On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > > Add a script which produces a Flat Image Tree (FIT), a single file > > containing the built kernel and associated

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-12-04 Thread Doug Anderson
Hi, On Sat, Dec 2, 2023 at 8:37 AM Simon Glass wrote: > > Hi Ahmad, > > On Thu, 30 Nov 2023 at 19:04, Ahmad Fatoum wrote: > > > > Hello Simon, > > > > On 30.11.23 21:30, Simon Glass wrote: > > > On Wed, 29 Nov 2023 at 12:54, Ahmad Fatoum > > > wrote: > > >> On 29.11.23 20:44, Simon Glass

Re: [PATCH v2 01/18] bloblist: Update the tag numbering

2023-12-04 Thread Ilias Apalodimas
On Mon, 4 Dec 2023 at 18:25, Raymond Mao wrote: > > Hi Ilias, > > BLOBLISTT_AREA_ARM is now holding the ones we already defined in the FW > Handoff spec for TF-A project only. > The TPM eventlog related ones are undefined in the spec yet, they stay in the > group BLOBLISTT_AREA_FIRMWARE. We

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Rob Herring
On Sun, Dec 3, 2023 at 11:33 PM Sumit Garg wrote: > > + Linux kernel DT bindings maintainers, EBBR ML > > On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: > > > > On Thu, Nov 30, 2023 at 01:02:25PM +0530, Sumit Garg wrote: > > > On Wed, 29 Nov 2023 at 22:06, Neil Armstrong > > > wrote: > > > > >

Re: [PATCH v2 05/18] bloblist: Access record hdr_size and tag via a function

2023-12-04 Thread Raymond Mao
Hi Ilias, This patch is for later grouping the tag and hdr_size in '0011-bloblist-Reduce-blob-header-size.patch'. I can update the commit message. Thanks and regards, Raymond On Mon, 4 Dec 2023 at 03:31, Ilias Apalodimas wrote: > On Mon, 27 Nov 2023 at 21:52, Raymond Mao wrote: > > > > From:

Re: [PATCH v2 01/18] bloblist: Update the tag numbering

2023-12-04 Thread Raymond Mao
Hi Ilias, BLOBLISTT_AREA_ARM is now holding the ones we already defined in the FW Handoff spec for TF-A project only. The TPM eventlog related ones are undefined in the spec yet, they stay in the group BLOBLISTT_AREA_FIRMWARE. > /* BLOBLISTT_AREA_FIRMWARE */ >- { BLOBLISTT_ACPI_GNVS, "ACPI

Re: [PATCH 0/2] serial: msm-geni: rework oversampling and fix clk API bug

2023-12-04 Thread Caleb Connolly
On Tue, 14 Nov 2023 12:51:10 +, Caleb Connolly wrote: > These patches improve GENI UART support during init by implementing the > parent property read directly rather than via a misc device, and fixing > the error path when the clock can't be found. > > In my testing, the first few lines of

Re: [PATCH 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-04 Thread Andrew Davis
On 12/4/23 5:21 AM, Neha Malcom Francis wrote: Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by: Neha Malcom Francis --- doc/board/ti/k3.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH v1 0/8] Convert Tegra pinctrl to DM

2023-12-04 Thread Svyatoslav Ryhel
пн, 4 груд. 2023 р. о 12:26 Thierry Reding пише: > > On Mon, Dec 04, 2023 at 10:20:46AM +0200, Svyatoslav Ryhel wrote: > > Create a DM supported wrapper arround existing Tegra pinmux logic. > > This implementation is backwards compatible with all existing board > > setups and early stages of

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Krzysztof Kozlowski
On 04/12/2023 15:38, ff wrote: > > >> Le 4 déc. 2023 à 12:00, Daniel Thompson a écrit >> : >> >> On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: >>> + Linux kernel DT bindings maintainers, EBBR ML >>> On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: On Thu, Nov 30, 2023 at

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread ff
> Le 4 déc. 2023 à 12:00, Daniel Thompson a écrit : > > On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: >> + Linux kernel DT bindings maintainers, EBBR ML >> >>> On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: >>> On Thu, Nov 30, 2023 at 01:02:25PM +0530, Sumit Garg wrote: On

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread ff
Hi Summit, Here are additional elements that you may want to consider. This topic should be thought of with « who provides what » question in mind. For quite a long time, one single entity was providing secure firmware, firmware, boot loader (I think of Grub when I use this overloaded term),

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-12-04 Thread Ba Gia Bao Phan
> > Sort-of...the refactoring to allow ACPI tables on ARM is completed, > but I don't think any U-Boot board uses this. Hello, could you tell me more details about this topic? Which platform ARM are ACPI tables enabled for? Le mer. 29 nov. 2023 à 20:28, Simon Glass a écrit : > +Heinrich

Re: [PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0

2023-12-04 Thread Alessandro Rubini
> But what about the bad block markers , do they get erased when you write > this U-Boot image into the NAND ? The image includes OOB data, because the rom-mandated map is different from normal standards. If OOB is zeroed, blocks appear as bad (correctly!). By memsetting to 0xff, before filling

[PATCH v1 6/8] board: asus: transformer: switch to DM pinmux

2023-12-04 Thread Svyatoslav Ryhel
Drop the pinmux setup in the board in favor of setting it up in the device tree. Device tree nodes match nodes used in the Linux device tree.  Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-p1801-t.dts | 982 + arch/arm/dts/tegra30-asus-tf201.dts

Re: [PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0

2023-12-04 Thread Alessandro Rubini
Hello. >>> pre-filling with 0xff creates a proper boot loader image, but no >>> bad-block marker is there when written to flash. > Isn't there some kobs-ng or whatever tool it was to properly initialize > the NAND on MXS ? I didn't know. I used what u-boot offers, which works for me without

[PATCH] mmc: mediatek: set b_max according CONFIG_SYS_MMC_MAX_BLK_COUNT

2023-12-04 Thread Julien Masson
The block count limit on MMC based devices should be set according to CONFIG_SYS_MMC_MAX_BLK_COUNT instead of hardcoding value. Signed-off-by: Julien Masson --- drivers/mmc/mtk-sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Krzysztof Kozlowski
On 04/12/2023 14:24, Sumit Garg wrote: > On Mon, 4 Dec 2023 at 16:30, Daniel Thompson > wrote: >> >> On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: >>> + Linux kernel DT bindings maintainers, EBBR ML >>> >>> On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: On Thu, Nov 30, 2023 at

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Sumit Garg
On Mon, 4 Dec 2023 at 16:30, Daniel Thompson wrote: > > On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: > > + Linux kernel DT bindings maintainers, EBBR ML > > > > On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: > > > On Thu, Nov 30, 2023 at 01:02:25PM +0530, Sumit Garg wrote: > > > >

Re: [PATCH 2/4] watchdog: Add StarFive Watchdog driver

2023-12-04 Thread Stefan Roese
On 11/6/23 00:13, Chanho Park wrote: Add to support StarFive watchdog driver. The driver is imported from linux kernel's drivers/watchdog/starfive-wdt.c without jh7100 support because there is no support of jh7100 SoC in u-boot yet. Howver, this patch has been kept the variant coding style

Re: [PATCH V3 3/3] configs: andes: add the fdt blob address for SPL copy to

2023-12-04 Thread Leo Liang
On Thu, Nov 16, 2023 at 09:01:36PM +0800, Randolph wrote: > Add the address where the FDT blob should be moved. > > Signed-off-by: Randolph > --- > configs/ae350_rv32_falcon_defconfig | 1 + > configs/ae350_rv32_falcon_xip_defconfig | 1 + > configs/ae350_rv64_falcon_defconfig | 1 + >

Re: [PATCH V3 2/3] spl: riscv: falcon: move fdt blob to specified address

2023-12-04 Thread Leo Liang
On Thu, Nov 16, 2023 at 09:01:35PM +0800, Randolph wrote: > In Falcon Boot mode, the fdt blob should be move to the RAM from > kernel BSS section. To avoid being cleared by BSS initialisation. > SPL_PAYLOAD_ARGS_ADDR is the address where SPL copies. > > Signed-off-by: Randolph > --- >

Re: [PATCH V3 1/3] doc: falcon: riscv: Falcon Mode boot on RISC-V

2023-12-04 Thread Leo Liang
On Thu, Nov 16, 2023 at 09:01:34PM +0800, Randolph wrote: > Add documentation to introduce the Falcon Mode on RISC-V. > In this mode, the boot sequence is SPL -> OpenSBI -> Linux kernel. > > Signed-off-by: Randolph > --- > doc/develop/falcon.rst | 171 + >

Re: [PATCH] starfive: visionfive2: add device tree overlay support

2023-12-04 Thread Leo Liang
On Mon, Nov 20, 2023 at 02:35:31AM +, John Clark wrote: > device tree overlay support requires fdtoverlay_addr_r to be set > > before > ~~ > Invalid fdtoverlay_addr_r for loading overlays > > after > ~ > Retrieving file: /boot/overlay/rtc-ds3231.dtbo > > Signed-off-by: John Clark >

Re: [PATCH v4 0/4] bootflow: bootmeth_efi: Fix network efi boot.

2023-12-04 Thread Shantur Rathore
Hi Simon, On Sun, Nov 19, 2023 at 4:56 PM Shantur Rathore wrote: > > > Currently bootmeth_efi crashes while doing a network (dhcp) boot. > This patch series fixes issues and both network and disk boot works. > How can I help to get this patch series merged in? Kind Regards Shantur

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-12-04 Thread Shantur Rathore
On Mon, Dec 4, 2023 at 11:05 AM Marek Vasut wrote: > > On 12/4/23 11:59, Shantur Rathore wrote: > > Hi Marek, > > > > On Sun, Dec 3, 2023 at 10:37 PM Marek Vasut wrote: > >> > >> On 12/3/23 22:42, Shantur Rathore wrote: > >>> Hi Marek, > >>> > >>> On Sun, Dec 3, 2023 at 8:42 PM Marek Vasut

[PATHv1 9/9] Makefile: add dtbs to clean

2023-12-04 Thread Maxim Uvarov
CI test checks that generated dtb has to be cleaned up. Signed-off-by: Maxim Uvarov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 08604ed3c7..8dd6990584 100644 --- a/Makefile +++ b/Makefile @@ -2165,7 +2165,8 @@ CLEAN_FILES +=

[PATHv1 8/9] omap3: rename mem_init

2023-12-04 Thread Maxim Uvarov
Rename mem_init to solve following compilation error with lwip integrated code: +arm-linux-gnueabi-ld.bfd: net/lwip/lwip-external/src/core/mem.o: in function `mem_init': +net/lwip/lwip-external/src/core/mem.c:162: multiple definition of `mem_init';

[PATHv1 7/9] bcm_ns3: fix overlap define with lwip

2023-12-04 Thread Maxim Uvarov
Rename declaration to not overlap with lwip. aarch64: + bcm_ns3 +In file included from net/lwip/lwip-external/src/include/lwip/etharp.h:53, + from net/lwip/lwip-external/src/core/init.c:55: +net/lwip/lwip-external/src/include/lwip/prot/ethernet.h:69: error:

[PATHv1 6/9] mach-socfpga: do not overlap defines with lwip

2023-12-04 Thread Maxim Uvarov
Fix compilation issue with overlapping lwip and march defines. Signed-off-by: Maxim Uvarov --- arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 -- arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 + 2 files changed, 9 insertions(+), 6 deletions(-) diff --git

[PATHv1 5/9] driver/net/rtl8139: remove debug print

2023-12-04 Thread Maxim Uvarov
debug print delays reset of the driver. Finally I see bunch of "rx error " errors in the screen. CI can not handle many prints. While network works fine there Reproduced with: make CROSS_COMPILE=sh2-linux- r2dplus_defconfig all qemu-system-sh4 -M r2d -nographic -serial null \ -serial

[PATHv1 4/9] sandbox: eth-raw-os: successful return code is 0

2023-12-04 Thread Maxim Uvarov
all network drivers return 0 on the successful transmission. Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- arch/sandbox/cpu/eth-raw-os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c index

[PATHv1 3/9] net/smc911x: fix return from smc911x_send

2023-12-04 Thread Maxim Uvarov
return value of smc911x_send is ignored, but on sucesseful send we need return 0 and or error -ETIMEOUT, not opposite. Signed-off-by: Maxim Uvarov Reviewed-by: Tom Rini --- drivers/net/smc911x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/smc911x.c

[PATHv1 2/9] net: sandbox: fix NULL pointer derefences

2023-12-04 Thread Maxim Uvarov
Add additional checks for NULL pointers. Signed-off-by: Maxim Uvarov --- drivers/net/sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c index 13022addb6..d91935e032 100644 --- a/drivers/net/sandbox.c +++ b/drivers/net/sandbox.c @@

[PATHv1 1/9] test_net: print out net list

2023-12-04 Thread Maxim Uvarov
Printing net list is useful in CI log files. Signed-off-by: Maxim Uvarov --- test/py/tests/test_net.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py index b2241ae6a4..cd5b791a6a 100644 --- a/test/py/tests/test_net.py +++

[PATHv1 0/9] net fixes prior lwip

2023-12-04 Thread Maxim Uvarov
Add small net fixes prior lwip patch. CI for this patch set: https://dev.azure.com/u-boot/u-boot/_build/results?buildId=7460=results Maxim Uvarov (9): test_net: print out net list net: sandbox: fix NULL pointer derefences net/smc911x: fix return from smc911x_send sandbox: eth-raw-os:

Re: EFI memory allocation

2023-12-04 Thread Ilias Apalodimas
Hi Simon On Sun, 3 Dec 2023 at 19:44, Simon Glass wrote: > > Hi Heinrich, Ilias, > > I had a bit of a look at how memory is allocated in EFI. > > I see that efi_memory_init() is called quite early in U-Boot. It > sometimes allocates memory for a bounce buffer, placing it somewhere > in memory.

Re: [PATCH] efi_loader: use event callback for initrd deregistration

2023-12-04 Thread Ilias Apalodimas
Thanks for cleaning this up! On Mon, 4 Dec 2023 at 06:31, Masahisa Kojima wrote: > > Currently efi_initrd_deregister() is called in bootefi.c > when the image started from bootefi command returns. > Since efi_guid_event_group_return_to_efibootmgr event is > implemented, so let's use this event

Re: [PATCH v2] riscv: Add support for AMD/Xilinx MicroBlaze V

2023-12-04 Thread Leo Liang
On Mon, Nov 06, 2023 at 12:56:47PM +0100, Michal Simek wrote: > MicroBlaze V is new AMD/Xilinx soft-core 32bit RISC-V processor IP. > It is hardware compatible with classic MicroBlaze processor. > > The patch contains initial wiring and configuration for initial HW design > with memory, cpu,

Re: [PATCH 4/4] configs: visionfive2: Enable watchdog driver

2023-12-04 Thread Leo Liang
On Mon, Nov 06, 2023 at 08:13:18AM +0900, Chanho Park wrote: > Enables StarFive Watchdog driver and WDT command. > > Signed-off-by: Chanho Park > --- > configs/starfive_visionfive2_defconfig | 5 + > 1 file changed, 5 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH 3/4] riscv: dts: jh7110: Add watchdog device tree node

2023-12-04 Thread Leo Liang
On Mon, Nov 06, 2023 at 08:13:17AM +0900, Chanho Park wrote: > Adds jh7110 watchdog device tree node. > > Signed-off-by: Chanho Park > --- > arch/riscv/dts/jh7110.dtsi | 10 ++ > 1 file changed, 10 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: [u-boot-gitdm PATCH 2/2] Add some more employers

2023-12-04 Thread Quentin Schulz
Hi Simon, On 12/3/23 05:46, Simon Glass wrote: This looks at the top unknowns: git log --pretty=%ae v2023.01.. |sed 's/.*@//' |sort |uniq -c | sort -nr | (while read count email; do if ! grep -q $email u-boot-config/domain-map; then echo "$count $email";

Re: [PATCH 2/4] watchdog: Add StarFive Watchdog driver

2023-12-04 Thread Leo Liang
On Mon, Nov 06, 2023 at 08:13:16AM +0900, Chanho Park wrote: > Add to support StarFive watchdog driver. The driver is imported from > linux kernel's drivers/watchdog/starfive-wdt.c without jh7100 support > because there is no support of jh7100 SoC in u-boot yet. > Howver, this patch has been kept

[PATCH 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-04 Thread Neha Malcom Francis
Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by: Neha Malcom Francis --- doc/board/ti/k3.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index

[PATCH 2/3] arm: dts: k3-*-binman: Move to using ti-dm entry type

2023-12-04 Thread Neha Malcom Francis
Move the DM entry in tispl.bin FIT image from default fetching an external blob entry to fetching using ti-dm entry type. This way, the DM entry will be populated by the TI_DM pathname if provided. Else it will resort to the ti-dm.bin file. Signed-off-by: Neha Malcom Francis ---

[PATCH 1/3] binman: etype: dm: Add entry type for TI DM

2023-12-04 Thread Neha Malcom Francis
K3 devices introduces the concept of centralized power, resource and security management to System Firmware. This is to overcome challenges by the traditional approach that implements system control functions on each of the processing units. The software interface for System Firmware is split

[PATCH 0/3] binman: Add support for TI_DM entry

2023-12-04 Thread Neha Malcom Francis
This series adds support for the TI_DM entry and moves all K3 platforms to using the same. With this feature introduced, if TI_DM argument is provided binman picks the pathname it provides; else, it defaults to picking up the ti-dm.bin file. This makes it flexible for users to build tispl.bin with

Re: [PATCH 1/4] clk: starfive: jh7110: Add watchdog clocks

2023-12-04 Thread Leo Liang
On Mon, Nov 06, 2023 at 08:13:15AM +0900, Chanho Park wrote: > Add JH7110_SYSCLK_WDT_APB and JH7110_SYSCLK_WDT_CORE clocks for JH7110 > watchdog device. > > Signed-off-by: Chanho Park > --- > drivers/clk/starfive/clk-jh7110.c | 9 + > 1 file changed, 9 insertions(+) Reviewed-by: Leo

Re: [PATCH] arm: vexpress64: juno: Allow boot from VirtIO

2023-12-04 Thread Andre Przywara
On Thu, 23 Nov 2023 18:22:58 + robert.cather...@foss.arm.com wrote: Hi Robert, > From: Robert Catherall > > The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO I find it odd that the Juno FVP *adds* something on top of the Juno hardware devices, as this kind of defeats the

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-12-04 Thread Marek Vasut
On 12/4/23 11:59, Shantur Rathore wrote: Hi Marek, On Sun, Dec 3, 2023 at 10:37 PM Marek Vasut wrote: On 12/3/23 22:42, Shantur Rathore wrote: Hi Marek, On Sun, Dec 3, 2023 at 8:42 PM Marek Vasut wrote: On 11/24/23 01:37, Shantur Rathore wrote: Hi Marek, Hi, sorry for the late

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-04 Thread Daniel Thompson
On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: > + Linux kernel DT bindings maintainers, EBBR ML > > On Thu, 30 Nov 2023 at 20:05, Tom Rini wrote: > > On Thu, Nov 30, 2023 at 01:02:25PM +0530, Sumit Garg wrote: > > > On Wed, 29 Nov 2023 at 22:06, Neil Armstrong > > > wrote: > > > >

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-12-04 Thread Shantur Rathore
Hi Marek, On Sun, Dec 3, 2023 at 10:37 PM Marek Vasut wrote: > > On 12/3/23 22:42, Shantur Rathore wrote: > > Hi Marek, > > > > On Sun, Dec 3, 2023 at 8:42 PM Marek Vasut wrote: > >> > >> On 11/24/23 01:37, Shantur Rathore wrote: > >>> Hi Marek, > >> > >> Hi, > >> > >> sorry for the late reply.

Re: [PATCH 01/18] bootm: netbds: Drop passing of arguments

2023-12-04 Thread Martin Husemann
On Mon, Dec 04, 2023 at 11:48:17AM +0100, Mark Kettenis wrote: > That said, I'm not sure to what extent the bootm command is used to > boot NetBSD these days. So this may not really matter. It is used on most 32bit ARM platforms. Martin

[PATCH 6/6] board: mediatek: add MT8365 EVK board support

2023-12-04 Thread Julien Masson
This adds support for the MT8365 EVK board with the following features enabled/tested: Boot, UART, Watchdog and MMC. Signed-off-by: Julien Masson --- arch/arm/dts/mt6357.dtsi | 282 + arch/arm/dts/mt8365-evk.dts| 418 +

[PATCH 5/6] dt-bindings: clock: add Mediatek MT8365 pinctrl bindings

2023-12-04 Thread Julien Masson
This adds the pinctrl bindings for Mediatek MT8365 SoC based on the dt-bindings in Linux tag v6.7-rc2. (commit 8b4c397d88d97d4fd9c3f3527aa66688b1a3387a) Signed-off-by: Julien Masson --- include/dt-bindings/pinctrl/mt8365-pinfunc.h | 858 +++ 1 file changed, 858 insertions(+)

  1   2   >