Re: [PATCH v3 2/3] configs: imx93-phyboard-segin: Add USB support

2024-03-26 Thread Yannic Moog
Hi Fabio, hi Marek, On Sun, 2024-03-24 at 15:00 -0300, Fabio Estevam wrote: > On Thu, Mar 21, 2024 at 4:17 PM Marek Vasut wrote: > > > $ git grep -i usb.*phytec configs > > configs/phycore_pcl063_defconfig:CONFIG_USB_GADGET_MANUFACTURER="Phytec" > >

[PATCH v1] board: amlogic: jethubj100: fix update docs

2024-03-26 Thread Viacheslav Bocharov
Fix linter errors Fixes: 2fc5e3c1668cffdb4b894986e98c1ee10f6e9955 Signed-off-by: Viacheslav Bocharov --- doc/board/amlogic/jethub-j100.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/amlogic/jethub-j100.rst b/doc/board/amlogic/jethub-j100.rst index

Re: [PATCH v3 2/6] usb: xhci: Set up endpoints for the first 2 interfaces

2024-03-26 Thread Janne Grunau
On Fri, Mar 22, 2024 at 09:17:08AM +0100, Heinrich Schuchardt wrote: > On 3/22/24 08:47, Janne Grunau via B4 Relay wrote: > > From: Janne Grunau > > > > The xhci driver currently only does the necessary initialization for > > endpoints found in the first interface descriptor. Apple USB keyboards

Re: [PATCH] ARM: dts: renesas: Switch to using upstream DT

2024-03-26 Thread Sumit Garg
On Mon, 25 Mar 2024 at 13:48, Marek Vasut wrote: > > Enable OF_UPSTREAM to use upstream DT and add renesas/ prefix to the > DEFAULT_DEVICE_TREE and OF_LIST. And thereby directly build DTB from > dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ > directory. > > The

[PATCH] binman: ti-secure: Enable debug extension for combined boot

2024-03-26 Thread Manorit Chawdhry
: +debugType = INTEGER:4 +coreDbgEn = INTEGER:0 +coreDbgSecEn = INTEGER:0 + {sysfw_inner_cert_ext_boot_block} {dm_data_ext_boot_block} --- base-commit: fb49d6c289d942ff7de309a5c5eaa37a7f4235db change-id: 20240326-b4-upstream-jtag-debug-unlock-6fc21e344cfb Best regards

Re: [PATCH] spl: riscv: opensbi: fix check of PAYLOAD_ARGS_ADDR

2024-03-26 Thread Leo Liang
On Fri, Mar 22, 2024 at 07:36:37PM +0800, Randolph wrote: > When Falcon Mode is enabled on RISC-V, use CONFIG_VAL > to check PAYLOAD_ARGS_ADDR, not CONFIG_IS_ENABLED. > > Signed-off-by: Randolph > --- > common/spl/spl_opensbi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Tested-by:

Re: mx6cuboxi: failes to detect model

2024-03-26 Thread Christian Gmeiner
Hi Fabio > > On Tue, Mar 26, 2024 at 12:17 PM Christian Gmeiner > wrote: > > > > I am seeing model detection problems with the current git master. > > > > U-Boot 2024.04-rc5 (Mar 26 2024 - 15:59:22 +0100) > > > > CPU: Freescale i.MX6Q rev1.3 996 MHz (running at 792 MHz) > > CPU: Extended

Re: mx6cuboxi: failes to detect model

2024-03-26 Thread Fabio Estevam
On Tue, Mar 26, 2024 at 1:11 PM Christian Gmeiner wrote: > It got better but the model is (still) wrong: > > U-Boot 2024.04-rc5-dirty (Mar 26 2024 - 17:03:41 +0100) > > CPU: Freescale i.MX6Q rev1.3 996 MHz (running at 792 MHz) > CPU: Extended Commercial temperature grade (-20C to 105C) at

[PATCH v10 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties

2024-03-26 Thread Simon Glass
Add three properties for controlling alignment of partitions, aka 'entries' in fixed-partition. For now there is no explicit mention of hierarchy, so a 'section' is just the 'fixed-partitions' node. These new properties are inputs to the Binman packaging process, but are also needed if the

[PATCH 2/2] rockchip: rk3588: Add Support for RAM Defines from ATAGs

2024-03-26 Thread Chris Morgan
From: Chris Morgan Add support for defining the usable RAM from ATAGs provided by the Rockchip binary TPL loader. This allows us to automatically account for necessary memory holes on RK3588 devices with 16GB of RAM or more, as well as ensure we can use the full amount of RAM available. In the

[PATCH 0/4] capsule: Generate capsules as part of sandbox build

2024-03-26 Thread Sughosh Ganu
As part of review of a patch series for generating capsules through a config file, I was asked to add support for generating capsules as part of the sandbox platform build. This would provide an illustrative example of generating capsules through binman. This patch series does that. Currently,

[PATCH 2/4] sandbox: capsule: binman: generate some capsules as part of build

2024-03-26 Thread Sughosh Ganu
Currently, all the capsules for the sandbox platform are generated at the time of running the capsule tests. To showcase generation of capsules through binman, generate all signed capsules needed for the sandbox platform as part of the build. This acts as an illustrative example for generating

[PATCH 1/4] sandbox: capsule: remove capsule related configs

2024-03-26 Thread Sughosh Ganu
The capsule update testing is carried out only on the sandbox and sandbox_flattree variants. Remove the capsule update related configs from the other sandbox variants. This ensures that the capsule files are generated only on variants which are used for the feature's testing. Signed-off-by:

[PATCH 4/4] capsule: Makefile: add the generated files to CLEAN_FILES list

2024-03-26 Thread Sughosh Ganu
A certain set of capsule files are now generated as part of the sandbox build. Add these files to the CLEAN_FILES list for deletion on invoking any of the cleanup targets. Signed-off-by: Sughosh Ganu --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile

[PATCH 3/4] capsule: add the generated capsules to gitignore

2024-03-26 Thread Sughosh Ganu
The sandbox platform build now generates a set of capsules. Put the related files generated into gitignore. Signed-off-by: Sughosh Ganu --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 3301481192..94dbeb053c 100644 --- a/.gitignore +++

[PATCH v10 2/2] dt-bindings: mtd: fixed-partition: Add binman compatibles

2024-03-26 Thread Simon Glass
Add two compatibles for binman entries, as a starting point for the schema. Note that, after discussion on v2, we decided to keep the existing meaning of label so as not to require changes to existing userspace software when moving to use binman nodes to specify the firmware layout. Note also

Re: [PATCH] ARM: stm32: Default dfu_alt_info for STM32MP13xx SPI NOR

2024-03-26 Thread Marek Vasut
On 3/19/24 11:22 AM, Patrice CHOTARD wrote: On 3/19/24 03:44, Marek Vasut wrote: Define dfu_alt_info with SPI NOR layout to make it easy to install or update bootloader in the SPI NOR using dfu-util. Use the following U-Boot commands to start DFU mode: " => sf probe && dfu 0 mtd " Use the

[PATCH 2/7] arm: ti: logicpd-torpedo: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The DM37 and OMAP35 Torpedo share a few files, but both of them can be migrated to OF_UPSTREAM with a small update to their respective u-boot.dtsi files to address changes made the aliases. Both defconfigs need to properly point to the upstream directory structure for the device trees. With those

[PATCH 3/7] arm: ti: logicpd-som-lv: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The DM37 and OMAP35 SOM-LV share a few files, but both of them can be migrated to OF_UPSTREAM with a small update to their respective u-boot.dtsi files to address changes made the aliases. Both defconfigs need to properly point to the upstream directory structure for the device trees. With those

[PATCH 4/7] arm64: imx: imx8mp-beacon: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The imx8mp-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d85a33055c..04ffa1f165 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1095,7

[PATCH 5/7] arm64: imx: imx8mm-beacon: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The imx8mm-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 04ffa1f165..443d651827 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1091,7

[PATCH 6/7] arm64: imx: imx8mn-beacon: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The imx8mn-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 443d651827..6ddd6e311e 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1091,7

[PATCH 7/7] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-03-26 Thread Adam Ford
The da850-evm can remove the U-Boot device trees if migrated to OF_UPSTREAM. This means pointing the device trees to the ti/davinci directory. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts deleted file mode 100644 index 378af9f344..00 ---

query on CONFIG_EXTRA_ENV_SETTINGS and boot different images

2024-03-26 Thread SIMON BABY
Hello , I am new to this email group. my requirement is below: 1) I will have two linux kernel images, imageA and imageB 2) image A and image B can be on the same medium (different partition) or different medium. 3) If there is any issue with imageA it should boot from imageB and vice versa.

[PATCH 1/2] rockchip: rk3588: Add support for ATAG parsing

2024-03-26 Thread Chris Morgan
From: Chris Morgan Add support for parsing the ATAGs created by the Rockchip binary RAM init. This ATAG parsing code was taken from the Rockchip BSP U-Boot source and tested only on parsing the RAM specific ATAGs for the RK3588. Signed-off-by: Chris Morgan ---

[PATCH 0/2] Use ATAGs for RK3588 For RAM Info

2024-03-26 Thread Chris Morgan
From: Chris Morgan Use the ATAG info provided by the Rockchip binary TPL to identify RAM banks. This is needed because there are specific addresses that should not be written to for all RK3588 based devices with >=16GB of RAM, writing to these addresses immediately results in a crash. Chris

Re: tcg2_platform_get_log failing to read address and size of memory-region via ofnode_get_addr_size

2024-03-26 Thread Tim Harvey
On Tue, Mar 26, 2024 at 2:24 AM Ilias Apalodimas wrote: > > Hi Tim, > > On Tue, 26 Mar 2024 at 03:15, Tim Harvey wrote: > > > > Greetings, > > > > I'm unable to understand why tcg2_platform_get_log is failing to read > > a memory region. > > > > For example the following diffs: > > I am not

[PATCH 1/7] arm: ti: am3517_evm: Migrate to OF_UPSTREAM

2024-03-26 Thread Adam Ford
With the feature of OF_UPSTREAM now available, the device trees for the SOM and baseboard can now deleted and the device tree locations need to point to the ti/omap directory. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm.dts b/arch/arm/dts/am3517-evm.dts deleted file mode

[PATCH] configs: imx8mp_beacon: Enable PCIe NVMe drives

2024-03-26 Thread Adam Ford
The baseboard supports and NVMe drives via the PCIe slot. This requires a few extra config options to be enabled. The NVMe can be enumerated with the following commands: u-boot=> pci enum PCIE-0: Link up (Gen1-x1, Bus0) u-boot=> nvme scan u-boot=> nvme info Device 0: Vendor: 0x15b7 Rev: 20120022

Re: [PATCH] am625x_evm_a53: Tweak boot command to set fdt

2024-03-26 Thread Andrew Davis
On 3/26/24 9:26 AM, Martyn Welch wrote: With the current config for tha SK-AM62, fdtfile isn't set in the U-Boot environment. When using bootflow to boot from a block device, where the extlinux.conf file specifies `fdtdir`, a fallback device tree is being constructed from the `soc` (`k3`) and

[PATCH v4 4/6] boot: fdt: Clean up env_get_bootm_mapsize()

2024-03-26 Thread Marek Vasut
Reduce tmp variable use and remove unnecessary type cast in env_get_bootm_mapsize(). This aligns the env variable parsing with env_get_bootm_low(). No functional change. Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Kuninori Morimoto Cc: Laurent Pinchart Cc: Simon Glass Cc: Tom

[PATCH v4 3/6] boot: fdt: Fix tmp type in env_get_bootm_size() and rename to low

2024-03-26 Thread Marek Vasut
Change type of 'tmp' variable from phys_size_t to phys_addr_t and rename it to 'low' to better describe what the variable represents, which is either the bootm_low address from environment or start of DRAM address. Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Kuninori Morimoto

[PATCH v4 5/6] boot: fdt: Drop lmb_alloc*() typecasts

2024-03-26 Thread Marek Vasut
The lmb_alloc_base() returns phys_addr_t , map_sysmem() accepts phys_addr_t as first parameter. Declare 'addr' as phys_addr_t and get rid of the casts. Reviewed-by: Laurent Pinchart Reported-by: Laurent Pinchart Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Kuninori Morimoto Cc:

[PATCH v4 1/6] boot: fdt: Change type of env_get_bootm_low() to phys_addr_t

2024-03-26 Thread Marek Vasut
Change type of ulong env_get_bootm_low() to phys_addr_t env_get_bootm_low(). The PPC/LS systems already treat env_get_bootm_low() result as phys_addr_t, while the function itself still returns ulong. This is potentially dangerous on 64bit systems, where ulong might not be large enough to hold the

[PATCH v4 2/6] boot: fdt: Clean up env_get_bootm_size()

2024-03-26 Thread Marek Vasut
Reduce tmp variable use and remove unnecessary type cast in env_get_bootm_size(). This aligns the env variable parsing with env_get_bootm_low(). No functional change. Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Kuninori Morimoto Cc: Laurent Pinchart Cc: Simon Glass Cc: Tom

Re: [PATCH 5/7] arm64: imx: imx8mm-beacon: Migrate to OF_UPSTREAM

2024-03-26 Thread Fabio Estevam
Hi Adam, On Tue, Mar 26, 2024 at 5:25 PM Adam Ford wrote: > > The imx8mm-beacon boards can migrate to OF_UPSTREAM which also > allows for the removal the device tree files. > > Signed-off-by: Adam Ford Please split the series by SoC family, thanks.

[RFC] Makefile.lib: find capsule ESL dtsi file when CONFIG_OF_UPSTREAM=y

2024-03-26 Thread Jonathan Humphreys
When CONFIG_OF_UPSTREAM is enabled, DTS files are in SOC subdirectories (vs the top level dts directory), but when CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, the dynamically created dtsi file containing the capsule ESL DT node is in the parent directory. This results in a build failure because

RE: [EXT] Re: [PATCH v3 2/3] imx: imx93_evk: add rtc pcf2131

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:14 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v3 2/3] imx:

Re: [PATCH v3 2/3] imx: imx93_evk: add rtc pcf2131

2024-03-26 Thread Fabio Estevam
On Tue, Mar 26, 2024 at 12:30 AM Joy Zou wrote: > + { > + #address-cells = <1>; > + #size-cells = <0>; > + clock-frequency = <40>; > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <_lpi2c3>; > + pinctrl-1 = <_lpi2c3>; > + status = "okay"; > +

[PATCH] arm: dts: kirkwood: Remove DTS files for Kirkwood boards

2024-03-26 Thread Tony Dinh
Remove DTS and DTSI files for Kirkwood boards that have upstream supports. This patch depends on "arm: dts: kirkwood: Enable upstream DT on Kirkwood boards" https://patchwork.ozlabs.org/project/uboot/patch/20240322021747.14873-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh ---

Re: [PATCH] configs: imx8mp_beacon: Enable PCIe NVMe drives

2024-03-26 Thread Sumit Garg
On Wed, 27 Mar 2024 at 02:55, Adam Ford wrote: > > The baseboard supports and NVMe drives via the PCIe slot. This > requires a few extra config options to be enabled. > > The NVMe can be enumerated with the following commands: > > u-boot=> pci enum > PCIE-0: Link up (Gen1-x1, Bus0) > u-boot=>

[PATCH v4 2/5] net: ti: icssg: Add Firmware config and classification APIs.

2024-03-26 Thread MD Danish Anwar
Add icssg_config.h / .c and icssg_classifier.c files. These are firmware configuration and classification related files. Add MII helper APIs and MACROs. These APIs and MACROs will be later used by ICSSG Ethernet driver. Also introduce icssg_prueth.h which has definition of prueth related

[PATCH v4 1/5] net: ti: icssg: Add Firmware Interface for ICSSG Ethernet driver.

2024-03-26 Thread MD Danish Anwar
Add firmware interface related headers and macros for ICSSG Ethernet driver. These macros will be later used by the ICSSG ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_switch_map.h | 209 ++ 1 file changed, 209 insertions(+) create mode

[PATCH v4 0/5] Introduce ICSSG Ethernet driver

2024-03-26 Thread MD Danish Anwar
Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI AM654 SR2.0. The ICSSG PRU Sub-system runs on EMAC firmware. This series Introduces support for ICSSG driver in uboot. This series has been tested on AM65x SR2.0, and the ICSSG interface is able to ping / dhcp and boot

RE: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Peng Fan
+Ye > Subject: [PATCH] arm: imx: fix signature_block_hdr struct fields order > > According to the documentation (for example AN13994), for AHAB-enabled > devices the format of the signature block is: > > +--+--+--+-+ > | Tag | Length -

[PATCH v4 6/6] boot: fdt: Move usable variable below updated comment

2024-03-26 Thread Marek Vasut
Move the variable below comment which explains what the variable means. Update the comment. No functional change. Reviewed-by: Laurent Pinchart Suggested-by: Laurent Pinchart Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Kuninori Morimoto Cc: Laurent Pinchart Cc: Simon Glass

Re: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Fabio Estevam
Hi Javier, On Tue, Mar 26, 2024 at 8:07 AM Javier Viguera wrote: > > According to the documentation (for example AN13994), for AHAB-enabled > devices the format of the signature block is: > > +--+--+--+-+ > | Tag | Length - msb |

Re: [PATCH v3 1/3] drivers: rtc: add pcf2131 rtc driver

2024-03-26 Thread Fabio Estevam
On Tue, Mar 26, 2024 at 12:30 AM Joy Zou wrote: > +bool is_pcf2131_type(struct udevice *dev) static bool > static int pcf2127_rtc_read(struct udevice *dev, uint offset, u8 *buffer, > uint len) > { > struct dm_i2c_chip *chip = dev_get_parent_plat(dev); > @@ -43,10 +75,64 @@ static

Re: [PATCH v3 3/3] configs: Enable RTC pcf2131 support

2024-03-26 Thread Fabio Estevam
On Tue, Mar 26, 2024 at 12:30 AM Joy Zou wrote: > > Enable CONFIG_RTC_PCF2127 configs to support pcf2131. Subject should be imx93_11x11_evk specific: imx93_11x11_evk: Add PCF2131 RTC support

[PATCH v5] cmd: mtd: OTP access support

2024-03-26 Thread Arseniy Krasnov
Add access to OTP region. It supports info, dump, write and lock operations. Usage example: 'mtd otpread nand0 u 0 1024' - dump 1024 bytes of user area starting from offset 0 of device 'nand0'. 'mtd otpwrite nand0 10 11223344' - write binary data 0x11, 0x22, 0x33, 0x44 to offset 10 to user

Re: [PATCH v6 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

2024-03-26 Thread Tom Rini
On Wed, Nov 22, 2023 at 03:27:45PM -0800, Sean Edmond wrote: > This patch introduces 3 improvements to align with RFC 951: > - retransmission backoff interval maximum is configurable > - initial retranmission backoff interval is configurable > - transaction ID is kept the same for each

Re: [PATCH] arm: dts: kirkwood: Enable upstream DT on Kirkwood boards

2024-03-26 Thread Sumit Garg
Hi Tony, On Fri, 22 Mar 2024 at 07:48, Tony Dinh wrote: > > Enable OF_UPSTREAM to use upstream DT and add marvell/ prefix to the > DEFAULT_DEVICE_TREE for Kirkwood boards. And so we can directly build > DTBs from dts/upstream/src/arm/marvell, and including *-u-boot.dtsi > files from

[PATCH] mmc: rockchip_sdhci: Revert 4 blocks PIO mode read limit for RK35xx

2024-03-26 Thread Jonas Karlman
The commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read in a single command") introduced a limit of number of blocks to read to fix a Data End Bit Error on RK3568 and RK3588. This had a side affect of significant slowing down reading FIT from eMMC. After the commit 6de9d7b2f13c

RE: [EXT] Re: [PATCH v3 1/3] drivers: rtc: add pcf2131 rtc driver

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:10 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v3 1/3] drivers: rtc:

RE: [EXT] Re: [PATCH v3 3/3] configs: Enable RTC pcf2131 support

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:12 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v3 3/3] configs:

Re: [PATCH v2 2/4] boot: fdt: Clean up env_get_bootm_size()

2024-03-26 Thread Marek Vasut
On 3/20/24 10:00 PM, Laurent Pinchart wrote: On Wed, Mar 20, 2024 at 09:52:34PM +0100, Marek Vasut wrote: On 3/18/24 5:18 PM, Laurent Pinchart wrote: @@ -142,7 +140,7 @@ phys_size_t env_get_bootm_size(void) s = env_get("bootm_low"); if (s) - tmp =

[PATCH v4 4/5] net: ti: icssg: Add ICSSG ethernet driver

2024-03-26 Thread MD Danish Anwar
This is the PRUSS Ethernet driver for TI AM654 Sr2.0 and laterSoCs with the ICSSG PRU Sub-system running EMAC firmware. ICSSG Subsystem supports two slices per instance. This driver caters to both slices / ports of the icssg subsystem. Since it is not possible for Ethernet driver to register more

[PATCH v4 5/5] net: ti: icssg: Add support sending FDB command to update rx_flow_id

2024-03-26 Thread MD Danish Anwar
ICSSG firmware supports FDB commands. Add support to send FDB commands from driver. Once rx_flow_id is obtained from dma, let firmware know that we are using this rx_flow_id by sending a FDB command. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_config.c | 68

[PATCH v4 3/5] net: ti: icssg: Add icssg queues APIs and macros

2024-03-26 Thread MD Danish Anwar
Add icssg_queue.c file. This file introduces macros and APIs related to ICSSG queues. These will be used by ICSSG Ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_prueth.h | 5 drivers/net/ti/icssg_queues.c | 51 +++ 2 files changed,

Re: [PATCH] usb: dwc2: Add in version 4xx compatibility

2024-03-26 Thread Greg Malysa
I'd be happy with that change. Does anyone have access to the associated designware databook (I do not)? We could also check to see if those four bits are all always allocated to the 2/3/4/x version number. I can submit v2 with that change instead once we know. On Tue, Mar 26, 2024 at 7:50 AM

Is it possible to skip building the tools?

2024-03-26 Thread Tomás Álvarez Vanoli
Hello, I am currently working with u-boot 2024.01 and run into problems with some of my Jenkins build agents because the Makefile attempts to build the host tools using the host toolchain (from the OS repo) which is outdated and fails. The tools are already provided in my own toolchain generated

[PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Javier Viguera
According to the documentation (for example AN13994), for AHAB-enabled devices the format of the signature block is: +--+--+--+-+ | Tag | Length - msb | Length - lsb | Version |

Re: mx6cuboxi: failes to detect model

2024-03-26 Thread Fabio Estevam
Hi Christian, On Tue, Mar 26, 2024 at 12:17 PM Christian Gmeiner wrote: > > I am seeing model detection problems with the current git master. > > U-Boot 2024.04-rc5 (Mar 26 2024 - 15:59:22 +0100) > > CPU: Freescale i.MX6Q rev1.3 996 MHz (running at 792 MHz) > CPU: Extended Commercial

Re: [PATCH] arm64: Fix map_range() not splitting mapped blocks

2024-03-26 Thread Marc Zyngier
On Tue, 19 Mar 2024 12:39:26 +, Pierre-Clément Tosi wrote: > > Hi Fabio, > > On Tue, Mar 19, 2024 at 09:13:12AM -0300, Fabio Estevam wrote: > > Hi Pierre, > > > > On Tue, Mar 19, 2024 at 8:39 AM Pierre-Clément Tosi > > wrote: > > > > > This means gd->arch.tlb_addr pointing to the live

[PATCH] tools: binman: ti_board_cfg: improve error message

2024-03-26 Thread Michael Walle
When there is a lint error the user gets the following cryptic message: binman: Node '/path/to/some/node': Yamllint error: 18: comments This isn't very helpful. Improve the message to tell the user that the number is actually a line number and also tell the user in which file they have to

Help to figure out where I'm stuck...

2024-03-26 Thread MegaDriver
Hi all, I've developed my own board for the Allwinner V3S SOC based on the Lichee Pi schematics with some custom modifications for my project. Now I'm getting stuck after U-Boot outputs the total RAM for the second time. I did some patching to the source code to output more information. I've

[PATCH v3 1/3] drivers: rtc: add pcf2131 rtc driver

2024-03-26 Thread Joy Zou
Adding support for pcf2131 RTC chip. The pcf2131 is similar to the pcf2127. The driver support rtc register read/write by using rtc cmd and rtc date set/get by using date cmd. The pcf2131 is special when write access to time registers. it requires setting the STOP and CPR bits. STOP bit needs to

[PATCH v3 0/3] Add pcf2131 rtc support

2024-03-26 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): drivers: rtc: add pcf2131 rtc driver imx: imx93_evk: add rtc pcf2131 configs: Enable RTC pcf2131 support arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 ++ arch/arm/dts/imx93-11x11-evk.dts

[PATCH 1/1] net: nfs: fix file handle length in NFSv3

2024-03-26 Thread Sébastien Szymanski
The NFS protocol uses file handles to refer to file or directory. In NFSv2 file handles have a fixed size of 32 bytes. In NFSv3 file handles have a variable length up to 64 bytes. This is also true for the MOUNT protocol. [1] When the NFSv3 server replies with a file handle length > 32 bytes,

[PATCH v3 2/3] imx: imx93_evk: add rtc pcf2131

2024-03-26 Thread Joy Zou
support rtc pcf2131 for imx93. Signed-off-by: Joy Zou --- Changes in v3: 1. remove arch/arm/dts/imx93.dtsi modification because this change have existed. Changes in v2: 1. use the flag bootph-pre-ram instead of uboot,dm-spl. --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8

Re: [PATCH v1] board: amlogic: jethubj100: fix update docs

2024-03-26 Thread Neil Armstrong
On 26/03/2024 09:19, Viacheslav Bocharov wrote: Fix linter errors Fixes: 2fc5e3c1668cffdb4b894986e98c1ee10f6e9955 Signed-off-by: Viacheslav Bocharov --- doc/board/amlogic/jethub-j100.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/amlogic/jethub-j100.rst

[PATCH v3 3/3] configs: Enable RTC pcf2131 support

2024-03-26 Thread Joy Zou
Enable CONFIG_RTC_PCF2127 configs to support pcf2131. Signed-off-by: Joy Zou --- Changes in v3: 1. Change CONFIG_RTC_PCF2131 into CONFIG_RTC_PCF2127 because the pcf2131 driver have been merged into the pcf2127. --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 00/12] arm: xea: Provide support for different XEA board HW versions

2024-03-26 Thread Fabio Estevam
Hi Lukasz, On Mon, Mar 25, 2024 at 5:48 AM Lukasz Majewski wrote: > The case here is that I'm modifying the *-u-boot.dts{i} files only. In The diff below shows that you are creating imx28-xea-1.dts and imx28-xea-2.dts for U-Boot consumption and renaming the upstream imx28-xea.dts to

Re: [PATCH v3 4/6] usb: Add environment based device ignorelist

2024-03-26 Thread Janne Grunau
On Fri, Mar 22, 2024 at 12:56:37PM +0100, Marek Vasut wrote: > On 3/22/24 8:47 AM, Janne Grunau via B4 Relay wrote: > > [...] > > > @@ -1099,6 +1142,20 @@ int usb_select_config(struct usb_device *dev) > > le16_to_cpus(>descriptor.idProduct); > > le16_to_cpus(>descriptor.bcdDevice); > >

Re: [PATCH 0/4] clk: exynos: Prepare clocks for eMMC enablement

2024-03-26 Thread Minkyu Kang
Hi, 2024년 3월 20일 (수) 03:44, Sam Protsenko 님이 작성: > Hi Lukasz, Sean, Tom, > > If there are no comments on this series, can you please apply it? > > Thanks! > > On Thu, Mar 7, 2024 at 8:18 PM Sam Protsenko > wrote: > > > > This short series features a couple of Exynos850 clock driver fixes and >

Re: [PATCH] rockchip: ringneck-px30: put STM32_RST line in input mode instead of output

2024-03-26 Thread Kever Yang
Hi Quentin, On 2024/3/22 17:38, Quentin Schulz wrote: Hi Kever, On 2/19/24 10:50, Quentin Schulz wrote: Hi Kever, On 2/18/24 02:14, Kever Yang wrote: Hi Quentin, On 2024/2/9 21:18, Quentin Schulz wrote: From: Quentin Schulz The STM32_RST line is routed to the ATtiny microcontroller

Re: tcg2_platform_get_log failing to read address and size of memory-region via ofnode_get_addr_size

2024-03-26 Thread Ilias Apalodimas
Hi Tim, On Tue, 26 Mar 2024 at 03:15, Tim Harvey wrote: > > Greetings, > > I'm unable to understand why tcg2_platform_get_log is failing to read > a memory region. > > For example the following diffs: I am not really sure what those nodes are supposed to do in sandbox. Pehaps Eddie remembers.

Re: [PATCH] binman: ti-secure: Enable debug extension for combined boot

2024-03-26 Thread Neha Malcom Francis
: 20240326-b4-upstream-jtag-debug-unlock-6fc21e344cfb Best regards, Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH] tools: binman: ti_board_cfg: improve error message

2024-03-26 Thread Neha Malcom Francis
Hi Michael, On 26/03/24 15:09, Michael Walle wrote: When there is a lint error the user gets the following cryptic message: binman: Node '/path/to/some/node': Yamllint error: 18: comments This isn't very helpful. Improve the message to tell the user that the number is actually a line

[PATCH v2 07/11] net: dwc_eth_qos: Use consistent logging prints

2024-03-26 Thread Marek Vasut
Use dev_*() only to print all the logs from this glue code, instead of mixing dev_*(), log_*(), pr_*() all in one code. Reviewed-by: Patrice Chotard Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc:

[PATCH v2 06/11] net: dwc_eth_qos: Move log_debug statements on top of case block

2024-03-26 Thread Marek Vasut
Move the log_debug() calls on top of the bit manipulation code. No functional change. Reviewed-by: Patrice Chotard Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: u-b...@dh-electronics.com Cc:

[PATCH v2 05/11] net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield

2024-03-26 Thread Marek Vasut
Use FIELD_PREP to configure content of ETH_SEL bitfield in SYSCFG_PMCSETR register. No functional change. Reviewed-by: Patrice Chotard Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc:

[PATCH v2 04/11] net: dwc_eth_qos: Scrub ifdeffery

2024-03-26 Thread Marek Vasut
Replace ifdef CONFIG_CLK with if (CONFIG_IS_ENABLED(CLK)) to improve code build coverage. Some of the functions printed debug("%s: OK\n", __func__); on exit with and without CLK enabled, some did not, make it consistent and print nothing if CLK is disabled. Reviewed-by: Patrice Chotard

[PATCH v2 08/11] net: dwc_eth_qos: Constify st, eth-* values parsed out of DT

2024-03-26 Thread Marek Vasut
Use const bool for the values parsed out of DT. Drop the duplicate assignment of false into those bool variables, assign them directly with the content parsed out of DT. Abbreviate the variable name too. Reviewed-by: Patrice Chotard Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc:

Re: [PATCH] imx8: Add a default reset_cpu() implementation

2024-03-26 Thread Hiago De Franco
On Tue, Mar 26, 2024 at 09:19:49AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Add a weak default reset_cpu() implementation just like > it is done on arch/arm/mach-imx/cpu.c. > > This allows the removal of the empty reset_cpu() in several > board files. > > Signed-off-by: Fabio

Re: [PATCH 00/12] arm: xea: Provide support for different XEA board HW versions

2024-03-26 Thread Lukasz Majewski
Hi Fabio, > Hi Lukasz, > > On Mon, Mar 25, 2024 at 5:48 AM Lukasz Majewski wrote: > > > The case here is that I'm modifying the *-u-boot.dts{i} files only. > > In > > The diff below shows that you are creating imx28-xea-1.dts and > imx28-xea-2.dts for U-Boot consumption and renaming the

[PATCH v2 09/11] net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform

2024-03-26 Thread Marek Vasut
From: Christophe Roullier Manage 2 ethernet instances, select which instance to configure with mask If mask is not present in DT, it is stm32mp15 platform. Signed-off-by: Christophe Roullier Signed-off-by: Marek Vasut # Rework the code --- Cc: Christophe Roullier Cc: Joe Hershberger Cc:

[PATCH v2 10/11] net: dwc_eth_qos: Add support of STM32MP13xx platform

2024-03-26 Thread Marek Vasut
From: Christophe Roullier Add compatible "st,stm32mp13-dwmac" to manage STM32MP13 boards. Reviewed-by: Patrice Chotard Signed-off-by: Christophe Roullier Signed-off-by: Marek Vasut # Rebase, reshuffle, squash code --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc:

[PATCH v2 11/11] net: dwc_eth_qos: Add support for st, ext-phyclk property

2024-03-26 Thread Marek Vasut
The "st,ext-phyclk" property is a unification of "st,eth-clk-sel" and "st,eth-ref-clk-sel" properties. All three properties define ETH CK clock direction, however: - "st,eth-clk-sel" selects clock direction for GMII/RGMII mode - "st,eth-ref-clk-sel" selects clock direction for RMII mode -

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-26 Thread Neha Malcom Francis
Hi Nishanth On 26/03/24 17:57, Nishanth Menon wrote: On 18:40-20240322, Neha Malcom Francis wrote: Clean up templatized boot binaries for all K3 boards. This includes modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the files that include it

Re: [PATCH] usb: dwc2: Add in version 4xx compatibility

2024-03-26 Thread Marek Vasut
On 3/26/24 3:32 AM, Greg Malysa wrote: From: Nathan Barrett-Morrison This adds the Synopsys device id for version 4xx of the designware IP block and extends the version check to include it to permit new hardware to run. It does not add any 4xx-specific features. Signed-off-by: Ian Roberts

Re: [PATCH v3 4/6] usb: Add environment based device ignorelist

2024-03-26 Thread Marek Vasut
On 3/26/24 9:40 AM, Janne Grunau wrote: On Fri, Mar 22, 2024 at 12:56:37PM +0100, Marek Vasut wrote: On 3/22/24 8:47 AM, Janne Grunau via B4 Relay wrote: [...] @@ -1099,6 +1142,20 @@ int usb_select_config(struct usb_device *dev) le16_to_cpus(>descriptor.idProduct);

[PATCH v2 01/11] net: dwc_eth_qos: Split STM32 glue into separate file

2024-03-26 Thread Marek Vasut
Move STM32 glue code into separate file to contain the STM32 specific code outside of the DWMAC core code. No functional change. Reviewed-by: Patrice Chotard Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried

[PATCH v2 02/11] net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config

2024-03-26 Thread Marek Vasut
The current glue code is specific to STM32MP15xx, the upcoming STM32MP13xx will introduce another entry specific to the STM32MP13xx. Rename the current entry to eqos_stm32mp15_config in preparation for STM32MP13xx addition. No functional change. Reviewed-by: Patrice Chotard Signed-off-by: Marek

[PATCH v2 03/11] net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code

2024-03-26 Thread Marek Vasut
Move board_interface_eth_init() into eqos_probe_syscfg_stm32() in STM32 driver glue code. The eqos_probe_syscfg_stm32() parses STM32 specific DT properties of this MAC and configures SYSCFG registers accordingly, there is nothing board specific happening in this function, move it into generic

[PATCH v2 00/11] net: dwc_eth_qos: Clean up STM32 glue code and add STM32MP13xx support

2024-03-26 Thread Marek Vasut
Split off STM32 glue code from the DWMAC driver into separate file, similar to what other SoCs already do, to avoid mixing the ST specifics with generic DWMAC core code. Clean the STM32 DWMAC board code which is currently duplicated in multiple board files, move it into the newly separated glue

[PATCH] imx8: Add a default reset_cpu() implementation

2024-03-26 Thread Fabio Estevam
From: Fabio Estevam Add a weak default reset_cpu() implementation just like it is done on arch/arm/mach-imx/cpu.c. This allows the removal of the empty reset_cpu() in several board files. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/imx8/cpu.c | 4

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-26 Thread Nishanth Menon
On 18:40-20240322, Neha Malcom Francis wrote: > Clean up templatized boot binaries for all K3 boards. This includes > modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and > UBOOT_BOARD_DESCRIPTION from the files that include it to further reuse > code. > > All k3--binman.dtsi

Re: U-boot fails for khadas-edge -v

2024-03-26 Thread Fabio Estevam
Hi Vivek, [Please don't top-post and do not post HTML] On Mon, Mar 25, 2024 at 1:37 PM Vivek Jaiswal wrote: > > Hello Fabio, > I tried using the this github repository. > https://github.com/u-boot/u-boot.git > > And the configuration used was following > > rockchip-rk3399-khadas-edge-v.conf > >

[GIT PULL] u-boot-riscv/master

2024-03-26 Thread Leo Liang
Hi Tom, The following changes since commit dde373bde392c38649c8c4420e0c98ef8d38d9dc: Prepare v2024.04-rc5 (2024-03-25 21:56:50 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch changes up to

  1   2   >