Commit f6eff35b8c19 ("cmd: tlv_eeprom: handle -ENODEV error from
read_eeprom function") removed the needed 'return 0' after a successful
read. As a result, the usage message is shown when 'tlv_eeprom read' is
successfully called.
Let's fix it by adding the needed 'return 0'.
Signed-off-by: Martin
On 11.03.25 17:47, Adriano Cordova wrote:
Signed-off-by: Adriano Cordova
---
include/efi_driver.h| 4
lib/efi_driver/efi_uclass.c | 4
2 files changed, 8 insertions(+)
diff --git a/include/efi_driver.h b/include/efi_driver.h
index 63a95e4cf80..8f785f79459 100644
--- a/incl
There is a bug in the print_guid() unit test in test/common/print.c when
PARTITION_TYPE_GUID is not enabled but either CMD_EFIDEBUG or EFI are.
The first patch fixes the issue and the second one enables UNIT_TEST in
the qemu_arm64 defconfig so that the unit tests are run in CI (this
platform has
On 15/04/2025 at 15:29:09 +0530, Neha Malcom Francis wrote:
> Hi Miquel
>
> On 15/04/25 15:20, Miquel Raynal wrote:
Francesco, are you also testing on K3 platforms?
>>>
>>> Yes he would be, since the firmware print is K3 firmware.
>>>
Can one of you boot with the patch below applie
On 4/11/25 18:42, Tom Rini wrote:
On Fri, Apr 11, 2025 at 05:26:55PM +0200, Cédric Le Goater wrote:
On 4/11/25 17:01, Tom Rini wrote:
On Fri, Apr 11, 2025 at 09:23:59AM +0200, Cédric Le Goater wrote:
Hi,
On 4/11/25 01:14, Tom Rini wrote:
On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley
>> Francesco, are you also testing on K3 platforms?
>>
>
> Yes he would be, since the firmware print is K3 firmware.
>
>> Can one of you boot with the patch below applied? It should partially
>> revert the commit to the ancient behaviour, while adding more debug
>> traces (please enable the debug
Hello,
Thanks for the report.
>> >>> Neha bisected it down to 197376fbf300e92afa0a1583815d9c9eb52d613a commit
>> >>> which is this patch.
>> >>
>> >> And assuming it's the same failure I got reported this morning by one of
>> >> my coworkers, we just get:
>> >> U-Boot SPL 2025.04-01050-ga40fc5afa
On 4/15/25 01:44, Joel Stanley wrote:
On Tue, 15 Apr 2025 at 07:34, Tom Rini wrote:
Upstream developers have been unable to replicate this failure exactly.
Furthermore, with commit 8c98b57d72d5 ('Merge patch series "Static
initcalls"') we have now replaced the part of the U-Boot code which the
On 11.03.25 17:47, Adriano Cordova wrote:
Signed-off-by: Adriano Cordova
---
lib/efi_driver/efi_net_device.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/lib/efi_driver/efi_net_device.c b/lib/efi_driver/efi_net_device.c
index 3838cc47158..bc4edde19b0
On Sun, Apr 13, 2025 at 04:33:25PM +0200, Jonas Karlman wrote:
> Hi,
>
> On 2025-04-12 16:27, Dang Huynh wrote:
> > We need to prerelocate VOP2 memory so the driver can work. This
> > will only support U-Boot proper.
> >
> > Signed-off-by: Dang Huynh
> > ---
> > arch/arm/dts/rk356x-u-boot.dtsi
On 15.04.25 14:53, Jerome Forissier wrote:
The %pUs format specifier prints the system partition GUID as "System
Partition" if PARTITION_TYPE_GUID is disabled but either CMD_EFIDEBUG
or EFI are enabled. See list_guid[] in lib/uuid.c. Fix the print_guid()
unit test accordingly.
Signed-off-by: Jer
On 15.04.25 14:53, Jerome Forissier wrote:
Enable CONFIG_UNIT_TEST in configs/qemu_arm64_defconfig so that the unit
tests are run in CI.
Signed-off-by: Jerome Forissier
Reviewed-by: Heinrich Schuchardt
---
configs/qemu_arm64_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a
On Sun, Apr 13, 2025 at 05:26:03PM +0200, Jonas Karlman wrote:
> Hi,
>
> On 2025-04-12 16:27, Dang Huynh wrote:
> > Now that we have VOP2 support, let's enable it and support the
> > built in USB keyboard.
> >
> > Signed-off-by: Dang Huynh
> > ---
> > configs/pinetab2-rk3566_defconfig | 11
Hi Heinrich,
On 4/15/25 15:25, Heinrich Schuchardt wrote:
> On 15.04.25 14:53, Jerome Forissier wrote:
>> The %pUs format specifier prints the system partition GUID as "System
>> Partition" if PARTITION_TYPE_GUID is disabled but either CMD_EFIDEBUG
>> or EFI are enabled. See list_guid[] in lib/uui
From: Bruno Leite
rpi5 firmware sets uart_clk clock-frequency in
the firmware and patches it to the DT, copy it
over when loading a new DT.
Signed-off-by: Bruno Leite
---
board/raspberrypi/rpi/rpi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/ra
On 24/03/2025 19:48, Marek Vasut wrote:
> On 3/24/25 10:57 AM, Paul Barker wrote:
>> On 24/03/2025 01:08, Marek Vasut wrote:
>>> On 3/19/25 1:03 PM, Paul Barker wrote:
>>>
>>> [...]
>>>
static int ravb_probe(struct udevice *dev)
{
+ struct ravb_device_ops *device_ops =
+
On Tue, 15 Apr 2025 at 09:30, Bruno Leite
wrote:
> From: Bruno Leite
>
> rpi5 firmware sets uart_clk clock-frequency in
> the firmware and patches it to the DT, copy it
> over when loading a new DT.
>
> Signed-off-by: Bruno Leite
>
Reviewed-by: Peter Robinson
Tested-by: Peter Robinson
>
> -
Hi Tom,
On 4/11/25 22:29, Tom Rini wrote:
> On Mon, Mar 31, 2025 at 02:30:54PM +0200, Jerome Forissier wrote:
>
>> This series introduces threads and uses them for two things:
>> - Improve the performance of the USB bus scanning code (scan multiple
>> busses simultaneously),
>> - Implement backgr
On Tue, Apr 15, 2025 at 10:22:50AM +0300, Ilias Apalodimas wrote:
> Hi Tom
>
> Thanks for roping me in.
You were cc'd on the original, fwiw.
>
> On Tue, 15 Apr 2025 at 01:53, Tom Rini wrote:
> >
> > On Sun, Apr 06, 2025 at 07:07:04AM +1200, Simon Glass wrote:
> >
> > > At present it is impossi
On Tue, Apr 15, 2025 at 03:36:53PM +0200, Jerome Forissier wrote:
> Hi Tom,
>
> On 4/11/25 22:29, Tom Rini wrote:
> > On Mon, Mar 31, 2025 at 02:30:54PM +0200, Jerome Forissier wrote:
> >
> >> This series introduces threads and uses them for two things:
> >> - Improve the performance of the USB b
On Tue, Apr 15, 2025 at 9:28 AM Francesco Dolcini wrote:
>
> Hello Marex, Fabio, all
>
> On Sun, Mar 23, 2025 at 04:58:45PM +0100, Marek Vasut wrote:
> > Convert clock-osc-24m back to osc_24m and clock-osc-32k back to osc_32k.
> > These are the clock which match clock tables in Linux. This is now
Enable HBMC in the R5 SPL stage
Signed-off-by: Anurag Dutta
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
index c775432505b..e4f799dfb27 10064
The MUX_MMIO is enabled both in SPL as well as U-Boot proper. Hence,
add SPL_MUX_MMIO dependency from HBMC driver.
Signed-off-by: Anurag Dutta
---
drivers/mtd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 2b7f5e5ed7b..
This series introdues a couple of small fixes that involves
enabling hyperflash at R5 SPL stage and Kconfig changes that are
required for HBMC boot on j721e
Test logs :
https://gist.github.com/anuragdutta731/103e84e84f013093fa089803719d997d
Anurag Dutta (2):
mtd: Kconfig: Add SPL_MUX_MMIO depe
From: Tingting Meng
CONFIG_BLOBLIST_FIXED and CONFIG_BLOBLIST_ADDR options were
unintentionally removed during recent external updates to the defconfig.
This patch restores the missing entries to ensure proper board
functionality. No new features are introduced.
Fixes: d6a53f523afe ("spl: Add an
On 4/15/25 22:49, Jerome Forissier wrote:
The name defined for PARTITION_SYSTEM_GUID in list_guid[] depends on
configuration options. It is "system" if CONFIG_PARTITION_TYPE_GUID is
enabled or "System Partition" if CONFIG_CMD_EFIDEBUG or CONFIG_EFI are
enabled. In addition, the unit test in test/
On Tue, Apr 15, 2025 at 12:13 PM Fabio Estevam wrote:
>
> On Tue, Apr 15, 2025 at 1:55 PM Marek Vasut wrote:
>
> > Do you have af9cdd1ccd2d ("Revert "arm64: dts: imx8mn: Include 32kHz
> > oscillator clock in SPL DTs"") in place ? If so, try and revert it, does
> > it help ?
>
> It seems I have no
This adds the missing empty entry at the end of mtk_i2c_ids[].
Signed-off-by: Martin Schiller
---
drivers/i2c/mtk_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/mtk_i2c.c b/drivers/i2c/mtk_i2c.c
index 3450177741a..6edf3f44eca 100644
--- a/drivers/i2c/mtk_i2
This removes a duplicate entry in mt_i2c_regs_v1[].
Signed-off-by: Martin Schiller
---
drivers/i2c/mtk_i2c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/mtk_i2c.c b/drivers/i2c/mtk_i2c.c
index 6edf3f44eca..55381dbeced 100644
--- a/drivers/i2c/mtk_i2c.c
+++ b/drivers/i2c/mtk_i2
> -Original Message-
> From: Yuslaimi, Alif Zakuan
> Sent: Wednesday, April 16, 2025 2:12 PM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Simon Goldschmidt
> ; Chee, Tien Fong
> ; Meng, Tingting ;
> Tom Rini ; Maniyam, Dinesh
>
> Subject: [PATCH v1] configs: agilex5: Restore fixed bl
On 4/5/25 21:07, Simon Glass wrote:
At present it is impossible to change the qemu_arm64 defconfig to
obtain a devicetree from the U-Boot build.
This is necessary for FIT validation, for example, where the signature
node must be compiled into U-Boot.
This description looks wrong:
Signatures a
From: Tingting Meng
CONFIG_BLOBLIST_FIXED and CONFIG_BLOBLIST_ADDR options were
unintentionally removed during recent external updates to the defconfig.
This patch restores the missing entries to ensure proper board
functionality. No new features are introduced.
Fixes: d6a53f523afe ("spl: Add an
On 4/15/25 00:59, Tom Rini wrote:
On Sun, Apr 06, 2025 at 11:07:11PM -0700, Daniel Schultz wrote:
Labels are not allowed before declarations. Add a semicolon after the
label to introduce an empty statement. This will fix following error:
arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_r
Adding quirk to disable STIG mode since cadence controller has
issue for read/write using the STIG mode. STIG mode is enabled
by default since 2023.04 for small read/write(<8bytes).
Updated STIG mode reading from dev_get_driver_data by assigning
to platdata struct before read quirks variable.
The
> I think you can add the reference of the kernel patch
> https://lore.kernel.org/all/20241204063338.296959-1-
> niravkumar.l.rab...@intel.com/T/ you ported to this patch in commit
> message.
>
Hi Tien Fong,
Sure, will update this in V2.
Regards,
Boon Khai
Use only a single -machine parameter.
Describe that the same invocation of qemu-system- has to be
used for dumping the device-tree as will be used when executing U-Boot.
Signed-off-by: Heinrich Schuchardt
---
doc/develop/devicetree/dt_qemu.rst | 25 -
1 file changed, 16
Hi Heiko,
On 2025-04-14 22:00, Heiko Stuebner wrote:
> Currently the sdram code for arm64 expects CFG_SYS_SDRAM_BASE to be 0.
> The ram being in front and the device-area behind it.
>
> The upcoming RK3576 uses a different layout, with the device area
> in front the ram, which then also extends p
From: Bhavya Kapoor
Add clk and dev data for wakeup uart to enable wakeup
UART as console.
Reported-by: KEERTHY
Signed-off-by: Bhavya Kapoor
---
arch/arm/mach-k3/r5/j7200/clk-data.c | 16
arch/arm/mach-k3/r5/j7200/dev-data.c | 1 +
2 files changed, 17 insertions(+)
diff --g
On 2025-04-14 22:00, Heiko Stuebner wrote:
> From: Xuhui Lin
>
> Add support for rk3576 package header in mkimage tool.
>
> Signed-off-by: Heiko Stuebner
> ---
> tools/rkcommon.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/rkcommon.c b/tools/rkcommon.c
> index f158d156228..
On 2025-04-14 22:01, Heiko Stuebner wrote:
> From: Elaine Zhang
>
> Add clock driver support for Rockchip RK3576 SoC.
>
> Signed-off-by: Elaine Zhang
> [adapted to mainline u-boot]
> Signed-off-by: Heiko Stuebner
Reviewed-by: Jonas Karlman
Regards,
Jonas
> ---
> .../include/asm/arch-rockc
Hi Heiko,
On 2025-04-14 22:01, Heiko Stuebner wrote:
> From: Elaine Zhang
>
> The current DT bindings for the rk3576 clock use a different ID than the
> one that is supposed to be written to the hardware registers.
> Thus, we cannot use directly the id provided in the phandle, but rather
> use a
Hi again Raymond,
On Mon, 14 Apr 2025 at 14:41, Simon Glass wrote:
>
> Hi Raymond,
>
> On Mon, 14 Apr 2025 at 14:16, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Mon, 14 Apr 2025 at 16:06, Simon Glass wrote:
> > >
> > > (trimming cc)
> > >
> > > Hi Raymond,
> > >
> > > On Mon, 14 Apr 2025 at
On 2025-04-14 22:01, Heiko Stuebner wrote:
> Add ddr driver for rk3576 to get the ram capacity.
>
> Signed-off-by: Heiko Stuebner
Correct DRAM amount is reported on my boards.
Reviewed-by: Jonas Karlman
Regards,
Jonas
> ---
> drivers/ram/rockchip/Makefile | 1 +
> drivers/ram/rockchi
Thanks Jerome,
On Tue, 15 Apr 2025 at 15:54, Jerome Forissier
wrote:
>
> Enable CONFIG_UNIT_TEST in configs/qemu_arm64_defconfig so that the unit
> tests are run in CI.
>
> Signed-off-by: Jerome Forissier
> ---
>
> configs/qemu_arm64_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --
On Tue, 15 Apr 2025 at 17:12, Tom Rini wrote:
>
> On Tue, Apr 15, 2025 at 10:22:50AM +0300, Ilias Apalodimas wrote:
> > Hi Tom
> >
> > Thanks for roping me in.
>
> You were cc'd on the original, FWIW.
I completely missed that and only noticed it with your reply. Thanks!
>
> >
> > On Tue, 15 Apr
Functions called from EFI applications should not do console output.
Refactor the wget code to implement this requirement. The wget_http_info
struct is used to hold the boolean that signifies whether the output is
allowed or not.
Signed-off-by: Jerome Forissier
Reported-by: Heinrich Schuchardt
-
wget_do_request() currently does so little before calling the static
function wget_loop() that we may as well rename wget_loop() to
wget_do_request() and put everything in one function.
Signed-off-by: Jerome Forissier
---
Changes in v4:
- New patch
net/lwip/wget.c | 20 +---
1
Legacy NET wget invokes a store_block() function which performs buffer
validation (LMB, address wrapping). Do the same with NET_LWIP.
Signed-off-by: Jerome Forissier
Suggested-by: Sughosh Ganu
---
Changes in v4:
- The 'silent' boolean in stored in struct wget_http_info (same as NET)
Changes in
Legacy NET tftp invokes a store_block() function which performs buffer
validation (LMB, address wrapping). Do the same with NET_LWIP.
Signed-off-by: Jerome Forissier
Suggested-by: Sughosh Ganu
---
(no changes since v3)
Changes in v3:
- store_block(): add Sphinx-like documentation
net/lwip/tf
Two small patches fixing issues with tftp and wget when the network
stack is NET_LWIP and LMB is enabled. Plus one prerequisite patch
fixing a problem with wget that does printf()/puts()/putc() when
called from EFI which is not allowed (messes with the console output)
and a small refactoring in net
On Tue, Apr 15, 2025 at 09:43:12AM -0500, Adam Ford wrote:
> On Tue, Apr 15, 2025 at 9:28 AM Francesco Dolcini
> wrote:
> >
> > Hello Marex, Fabio, all
> >
> > On Sun, Mar 23, 2025 at 04:58:45PM +0100, Marek Vasut wrote:
> > > Convert clock-osc-24m back to osc_24m and clock-osc-32k back to osc_32
From: Bruno Leite
When loading the kernel with a DT that was not used to boot
the rpi (e.g. when using a FIT image), the uart-clk property
that should have been patched by the firmware will be passed
as is to the driver and thus cause the divisor to be set
incorrectly, hence the uart will not wo
On 15.04.25 15:51, Jerome Forissier wrote:
Hi Heinrich,
On 4/15/25 15:25, Heinrich Schuchardt wrote:
On 15.04.25 14:53, Jerome Forissier wrote:
The %pUs format specifier prints the system partition GUID as "System
Partition" if PARTITION_TYPE_GUID is disabled but either CMD_EFIDEBUG
or EFI are
Hello Marex, Fabio, all
On Sun, Mar 23, 2025 at 04:58:45PM +0100, Marek Vasut wrote:
> Convert clock-osc-24m back to osc_24m and clock-osc-32k back to osc_32k.
> These are the clock which match clock tables in Linux. This is now
> possible because the clock drivers now resolve clock names based on
The %pUs format specifier prints the system partition GUID as "System
Partition" if PARTITION_TYPE_GUID is disabled but either CMD_EFIDEBUG
or EFI are enabled. See list_guid[] in lib/uuid.c. Fix the print_guid()
unit test accordingly.
Signed-off-by: Jerome Forissier
---
test/common/print.c | 2
ROM will configure a firewall to only allow HSRAM to be touched by the
R5 core. Any outside entity like DMA or the A53s will not have access to
this region. This can be problematic when U-Boot, running on the A53,
loads firmware that runs out of this region.
To simplify things remove the firewall
Hi Heiko,
On 2025-04-14 22:01, Heiko Stuebner wrote:
> The ROC-RK3576-PC is a SBC made by Firefly, designed around the RK3576
> SoC. This adds the needed board infrastructure and config for it.
>
> Signed-off-by: Heiko Stuebner
> ---
> arch/arm/dts/rk3576-roc-pc-u-boot.dtsi | 11 ++
> arch
On 4/3/2025 1:09 PM, Miquel Raynal wrote:
> It is very surprising that such an uclass, specifically designed to
> handle resources that may be shared by different devices, is not keeping
> the count of the number of times a power domain has been
> enabled/disabled to avoid shutting it down unexpect
On Tue, 15 Apr 2025 at 07:34, Tom Rini wrote:
>
> Upstream developers have been unable to replicate this failure exactly.
> Furthermore, with commit 8c98b57d72d5 ('Merge patch series "Static
> initcalls"') we have now replaced the part of the U-Boot code which the
> platform was hanging in when I
As the name implies, it is built around the RK3576 SoC with 4x Cortex-A72
cores, four Cortex-A53 cores and Mali-G52 MC3 GPU.
Storage options are EMMC, SD-Card, a 2242 M.2 slot and the possibility to
use UFS 2.0 storage.
Video Output options are a HDMI port, a DSI connector as well as Display-
Por
On 4/15/25 5:03 PM, Francesco Dolcini wrote:
On Tue, Apr 15, 2025 at 09:43:12AM -0500, Adam Ford wrote:
On Tue, Apr 15, 2025 at 9:28 AM Francesco Dolcini wrote:
Hello Marex, Fabio, all
On Sun, Mar 23, 2025 at 04:58:45PM +0100, Marek Vasut wrote:
Convert clock-osc-24m back to osc_24m and clo
On 24/03/2025 23:05, Marek Vasut wrote:
> On 3/24/25 11:12 AM, Paul Barker wrote:
>> On 24/03/2025 01:11, Marek Vasut wrote:
>>> On 3/19/25 1:03 PM, Paul Barker wrote:
>>>
>>> [...]
>>>
+++ b/drivers/net/Kconfig
@@ -864,7 +864,7 @@ config RENESAS_RAVB
select PHY_ETHERNET_I
Add devicetree binding for the ROC-RK3576-PC SBC.
The board is based on the RK3576 SoC (4*Cortex-A72 + 4*Cortex-A53).
Acked-by: Rob Herring (Arm)
Signed-off-by: Heiko Stuebner
Link: https://lore.kernel.org/r/20250210205126.1173631-2-he...@sntech.de
[ upstream commit: 2be4a4171401761cb5fb02225d
Labels are not allowed before declarations. Move the carveout struct
at the beginning and only update 'end' at this point.
This will fix following error:
arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved':
arch/arm/mach-k3/common_fdt.c:156:2: error: a label can only be part of a
sta
On 2025-04-14 22:01, Heiko Stuebner wrote:
> Add support for RK3576 compatible.
> The RK3576 OTP uses the same read mechanism as the RK3588, just
> with different values for offset and size.
>
> Signed-off-by: Heiko Stuebner
I can read correct data from OTP on my boards.
Reviewed-by: Jonas Karl
On Wed, Apr 09, 2025 at 09:46:34AM +0200, Mattijs Korpershoek wrote:
> Recent Ubuntu versions (24.04+) disallow pip by default when
> installing packages. The recommended approach is to use a virtualenv
> instead.
> Because of this, "make pip" is failing on such versions.
>
> To prepare CI contai
On 2025-04-14 22:01, Heiko Stuebner wrote:
> Add support for RK3576 to the rockchip sdhci driver.
>
> It's pretty similar to its cousins found in the RK3568 and RK3588 and the
> specific hs400-tx-tap number was taken from the vendor-u-boot.
>
> Signed-off-by: Heiko Stuebner
> Reviewed-by: Jaehoo
On 2025-04-14 22:01, Heiko Stuebner wrote:
> The rk3576 uses a different base-compatible, as starting with this
> generation, the clock phase tuning is done via registers inside
> the mmc controller and not from inside the CRU.
>
> In U-Boot we do not tune at all, so no other code changes are
> ne
Using some form of sandbox with Python modules is a long standing best
practice with the language. There are a number of ways to have a Python
sandbox be created. At this point in time, it seems the Python community
is moving towards using the "venv" module provided with Python rather
than a separa
On 2025-04-14 22:01, Heiko Stuebner wrote:
> Add rk_gmac_ops and other special handling that is needed for GMAC to
> work on RK3576.
>
> Signed-off-by: Heiko Stuebner
Ethernet works on my boards, using normal dhcp cmd, and also wget + dns
using NET_LWIP=y.
Reviewed-by: Jonas Karlman
Regards,
Update my name and email address
Signed-off-by: Casey Connolly
---
.mailmap | 1 +
1 file changed, 1 insertion(+)
diff --git a/.mailmap b/.mailmap
index 85086602cd50..717daa9adc4a 100644
--- a/.mailmap
+++ b/.mailmap
@@ -34,8 +34,9 @@ Bhargava Sreekantappa Gayathri
Bin Meng
Boris Brezil
If the MII interface is used, the PHY is the clock master, thus don't
set the clock rate. On Zynq-7000, this will prevent the following
error:
zynq_gem ethernet@e000b000: failed to set tx clock rate 2500
Signed-off-by: Martin Kaistra
---
drivers/net/zynq_gem.c | 14 --
1 file c
The LCKFB TaishanPi is a single-board computer based on the RK3566 SoC.
Specification:
- 1/2 Gib RAM
- Optinal EMMC
- SD-Card
- HDMI / MIPI CSI / MIPI DSI
- USB 2.0 Host (Type-A)
- USB 2.0 Host / OTG (Type-C)
- No Ethernet
This patch adds U-Boot support for the LCKFB TaishanPi RK3566 board, inclu
This patch adds MMC_HS_52 to the timing data structure.
Previously, this bus mode tap settings were not populated and
were instead populated for MMC_HS which is a different bus mode
up to 26MHz. Since we intended these settings according to the
device data sheet[0] for MMC_HS_52 up to 52MHz, popul
On 11.03.25 17:47, Adriano Cordova wrote:
Add http and ip4_config2 only if they are not already provided
in the handle. The current use of pxe is only to store an ip
address if a dhcp ack is received, this address is used by grub.
Add pxe only if a dhcp ack is actually received.
Signed-off-by: A
On Tue, Apr 15, 2025 at 03:29:09PM +0530, Neha Malcom Francis wrote:
> On 15/04/25 15:20, Miquel Raynal wrote:
> >>> Francesco, are you also testing on K3 platforms?
> >>>
> >>
> >> Yes he would be, since the firmware print is K3 firmware.
> >>
> >>> Can one of you boot with the patch below applied
Hi Miquel
On 15/04/25 13:45, Miquel Raynal wrote:
> Hello,
>
> Thanks for the report.
>
>> Neha bisected it down to 197376fbf300e92afa0a1583815d9c9eb52d613a commit
>> which is this patch.
>
> And assuming it's the same failure I got reported this morning by one of
> my cowork
SPL_TEXT_BASE is used as the load address for the main domain SPL on k3
platforms.
Since the config value is the same for every board, this patch sets the
value 0x8008 as default for all 64-bit ARCH_K3, 0x43c0 as
default for the R5 cores and deletes the instances of SPL_TEXT_BASE in
indivi
Update SPI negative tests to prevent SF command from overwriting the
reserved memory area.
Signed-off-by: Love Kumar
---
test/py/tests/test_spi.py | 29 +
1 file changed, 29 insertions(+)
diff --git a/test/py/tests/test_spi.py b/test/py/tests/test_spi.py
index dd7675
On 13/04/2025 14:11, Marek Vasut wrote:
> Correctly handle RX errors in ravb_recv() by returning 0 instead
> of -EAGAIN on RX error.
>
> In case the RAVB driver detects an RX error in ravb_recv(), it must
> not return the -EAGAIN, but instead must return 0. Both error codes
> are handled in eth-uc
Hi Miquel
On 15/04/25 15:20, Miquel Raynal wrote:
>>> Francesco, are you also testing on K3 platforms?
>>>
>>
>> Yes he would be, since the firmware print is K3 firmware.
>>
>>> Can one of you boot with the patch below applied? It should partially
>>> revert the commit to the ancient behaviour, wh
The bootph-all property in u-boot enables driver initialization prior to
relocation, this is necessary to use the device as boot media.
sdhci0 is the phandle for eMMC on am62a, so this change allows us to use
eMMC as a boot media.
Signed-off-by: Anshul Dalal
---
arch/arm/dts/k3-am62a7-sk-u-boot
On 15-04-2025 08:12, Bernhard Messerklinger wrote:
From: Mike Looijmans
On 04-04-2025 11:56, Bernhard Messerklinger wrote:
At the moment a mixture of ifdef(CONFIG_IS_ENABLED) and
CONFIG_IS_ENABLED(SPI_FLASH_BAR) is used in the spi-nor framework.
This leads to misbehaviour in the SPL as there is
On Mon, 14 Apr 2025 at 16:55, Heinrich Schuchardt
wrote:
>
> initr_net() initalizes the network devices by calling eth_initalize().
> There is no good reason to disable this if no command line interface is
> present.
>
> Let initr_net() depend on CONFIG_NET || CONFIG_NET_LWIP.
>
> Signed-off-by: H
Hi Boon Khai,
> -Original Message-
> From: Ng, Boon Khai
> Sent: Wednesday, March 12, 2025 5:10 PM
> To: Jagan Teki ; Tom Rini
> ; Michal Simek ; Venkatesh
> Yadav Abbarapu ; Tejas Bhumkar
> ; Cédric Le Goater
> William Zhang ; U-boot Openlist b...@lists.denx.de>
> Cc: Hea, Kok Kiang ;
U-Boot allows to have multiple network interfaces and switching between
these. This functionality cannot be tested if QEMU only emulates a single
NIC.
Provide a QEMU configuration with multiple network interfaces.
Signed-off-by: Heinrich Schuchardt
---
bin/travis-ci/conf.qemu-riscv64_na | 2 +-
On Tue, 15 Apr 2025 at 12:12, Heinrich Schuchardt
wrote:
>
> U-Boot allows to have multiple network interfaces and switching between
> these. This functionality cannot be tested if QEMU only emulates a single
> NIC.
>
> Provide a QEMU configuration with multiple network interfaces.
>
> Signed-off-
The things that are done prior to executing a network command with
NET_LWIP are not consistent with what is done with NET. It impacts the
selection of the current device, and more precisely if the active device
is invalid NET would return an error while NET_LWIP would try to pick a
new device. This
** Note ** I am resending essentially to have Simon's R-b tag on all
commits in patchwork; no review requested. Sorry for the noise.
This series enables most of the driver model tests for network features
with NET_LWIP (test/dm/eth.c and test/dm/dsa.c).
- Patches 1-4 fix a few bugs (device selecti
Make the sandbox mock ethernet driver (drivers/net/sandbox.c) compatible
with NET_LWIP by not relying on any of the structures or functions
defined in net-legacy.h. This is done by providing local definitions of
the various protocol structures (Ethernet, ARP, IPv4, ICMP). Drop the
stub driver that
When the sandbox timer is available, use it. This allows skipping
time in the tests (sandbox_eth_skip_timeout()).
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
net/lwip/net-lwip.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/lwip/net-lwip.c
Make the do_ping() function in cmd/net.c a global one by getting rid of
the static qualifier, and move the prototype declaration from net-lwip.h
to net-common.h. This makes the function available to other parts of
U-Boot when CONFIG_NET=y, as was already the case when
CONFIG_NET_LWIP=y.
This is a
Implement net_start_again() when NET_LWIP=y in a very similar way to
NET. This will be used in a future commit to determine if a failed
ping needs to be tried again on a different interface.
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
include/net-common.
The tests in test/dm/eth.c and test/dm/dsa.c use interfaces that have
no static IP addresses configured in the board's default environment
file. That will be a problem when NET_LWIP=y because the lwIP stack
refuses to send ICMP packets through an interface that doesn't have an
IP ("no route to host
Use net_start_again() in do_ping() to determine if a failed ping should
be restarted on a different interface.
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
net/lwip/ping.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/ne
Convert the tests to use the do_ping() interface which is now
common to NET and NET_LWIP. This allows running most network test with
SANDBOX and NET_LWIP. A few things to note though:
1. The ARP and IPv6 tests are enabled for NET only
2. The net_retry test is modified to use eth0 (eth@10002000) a
Add sandbox64_lwip_defconfig based on sandbox64_defconfig with NET_LWIP
enabled.
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
configs/sandbox64_lwip_defconfig | 5 +
1 file changed, 5 insertions(+)
create mode 100644 configs/sandbox64_lwip_defconfig
Add sandbox64_lwip_defconfig to the list of tested boards.
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
.azure-pipelines.yml | 2 ++
.gitlab-ci.yml | 11 +++
2 files changed, 13 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipe
Now that the DSA tests in test/dm/dsa.c are compatible with NET_LWIP,
remove the dependency of DM_DSA on NET.
Signed-off-by: Jerome Forissier
Reviewed-by: Simon Glass
---
(no changes since v1)
drivers/net/Kconfig | 1 -
net/Makefile| 2 +-
2 files changed, 1 insertion(+), 2 deletions(
On Fri, 11 Apr 2025 18:14:39 +0200
Jernej Skrabec wrote:
Hi Jernej,
> H616 rank and size detection code is superior to the H6. Nevertheless,
> they are structurally the same. Split functions from H616 into new file
> and reuse them in H6 DRAM driver too. This should also fix some bugs for
> H6 t
1 - 100 of 137 matches
Mail list logo