[PATCH 2/3] designware: Use the remove() method with related drivers
Several drivers make use of the designware Ethernet driver but do not
implement the remove() method. Add this so that DMA is stopped when the
OS is booted to avoid memory corruption,
By
Simon Glass <sjg@...>
·
#2660
·
|
[PATCH v2 2/4] net: designware: Mark drivers as having active DMA
Network devices which use this driver have DMA running while receiving
packages. Add the required flag to driver model so that they will be
removed before starting the OS.
Signed-off-by: Simon Glass
By
Simon Glass <sjg@...>
·
#2659
·
|
Re: [PATCH 2/3] designware: Use the remove() method with related drivers
Hi Simon,
By
Jonas Karlman <jonas@...>
·
#2658
·
|
Re: [PATCH 2/3] designware: Use the remove() method with related drivers
Hi Simon,
The designware Ethernet driver core should not need the remove() ops as
the eth_ops.stop() ops already should stop DMA. And the eth-uclass
pre_remove() ops already call the eth_ops.stop()
By
Jonas Karlman <jonas@...>
·
#2657
·
|
Re: [PATCH 2/3] designware: Use the remove() method with related drivers
Hi Jonas,
By
Simon Glass <sjg@...>
·
#2656
·
|
Re: [GIT PULL] Please pull u-boot-amlogic-20250404 into master
Merged into u-boot/master, thanks!
--
Tom
By
Tom Rini <trini@...>
·
#2655
·
|
[PATCH v2 1/4] designware: Use the remove() method with related drivers
Several drivers make use of the designware Ethernet driver but do not
implement the remove() method. Add this to keep things tidy.
Note that the Ethernet uclass calls each driver's stop() method
By
Simon Glass <sjg@...>
·
#2654
·
|
[PATCH v2 0/4] dm: net: Assorted patches related to networking and DMA
This series collects together a few patches related to U-Boot leaving
DMA running when booting.
Changes in v2:
- Use the designware_eth_remove() method directly
- Add gmac_rockchip too
- Reword the
By
Simon Glass <sjg@...>
·
#2653
·
|
Re: [PATCH 2/3] designware: Use the remove() method with related drivers
Hi Jonas,
That's interesting. I wrote that code about 9 years ago so perhaps can
be forgiven for forgetting.
Very few drivers set the DM_FLAG_ACTIVE_DMA flag, certainly not the
designware ones. So
By
Simon Glass <sjg@...>
·
#2652
·
|
Re: [PATCH v2 2/4] net: designware: Mark drivers as having active DMA
On 07/04/2025 03:35, Simon Glass wrote:
> Network devices which use this driver have DMA running while receiving
> packages. Add the required flag to driver model so that they will be
> removed before
By
Neil Armstrong
·
#2651
·
|
Re: [PATCH v2 1/4] designware: Use the remove() method with related drivers
On 07/04/2025 03:35, Simon Glass wrote:
> Several drivers make use of the designware Ethernet driver but do not
> implement the remove() method. Add this to keep things tidy.
> Note that the Ethernet
By
Neil Armstrong
·
#2650
·
|
[GIT PULL] Please pull u-boot-amlogic-20250404 into master
Hi Tom,
Here's a last minute fix for the libre-computer boards fixing the capsule update feature.
Thanks,
Neil
The following changes since commit 82b69fc4224432d5aefa7ca750d950374cbc7fb2:
Merge
By
Neil Armstrong
·
#2649
·
|
Re: [PATCH] configs: meson64: move DFU step at the end to give the board a chance to boot something on storage
Acked-by: Ferass El Hafidi <funderscore@...>
Thanks!
By
Ferass El Hafidi
·
#2648
·
|
[PATCH] configs: meson64: move DFU step at the end to give the board a chance to boot something on storage
The DFU was set to run at the beginning, but we may want to
boot something over USB, MMC or Ethernet even if booted over
USB, so move the DFU as the final fallback.
This keeps the current Amlogic
By
Neil Armstrong
·
#2647
·
|
Re: [PATCH v1 00/11] Amlogic: ADNL and Optimus protocols support
Out of curiosity, don't GXL and GXBB also support Optimus? Or is it
completely different?
Awesome :)
Regards.
By
Ferass El Hafidi
·
#2646
·
|
[PATCH v1 07/11] arm: meson: a1: add A1_SYSCTRL_SEC_STICKY_REG2
This register is used by ADNL protocol, to check boot source
of current U-boot instance.
Signed-off-by: Arseniy Krasnov <avkrasnov@...>
---
arch/arm/include/asm/arch-meson/a1.h | 6
By
Arseniy Krasnov <avkrasnov@...>
·
#2645
·
|
[PATCH v1 06/11] arch: arm: meson: bootloader write support
BootROM of Amlogic SoCs that use ADNL/Optimus protocols needs
special layout of "bootloader" partition. So let's implement
functions that support bootloader writing on such SoCs. This is
prerequisite
By
Arseniy Krasnov <avkrasnov@...>
·
#2644
·
|
[PATCH v1 03/11] usb: gadget: fastboot: make part of USB fastboot code shared
This is preparation for fastboot-based flashing protocols (such as Amlogic
ADNL). When device enters ADNL mode, it becomes "fastboot" device from
USB point of view, so to avoid copy-paste of USB part
By
Arseniy Krasnov <avkrasnov@...>
·
#2643
·
|
[PATCH v1 02/11] arch: arm: meson: use 'meson_sm_call()' in 'meson_sm_pwrdm_set()'
Use more generic function in 'meson_sm_pwrdm_set()'.
Signed-off-by: Arseniy Krasnov <avkrasnov@...>
---
arch/arm/mach-meson/sm.c | 8 +-------
1 file changed, 1 insertion(+), 7
By
Arseniy Krasnov <avkrasnov@...>
·
#2642
·
|
[PATCH v1 01/11] arch: arm: meson: sm: add commands to reboot device in different modes
From: Vladimir Mitrofanov <vvmitrofanov@...>
There are several commands to reboot device in specific mode
(cold, normal, etc.), these commands helps to enter flashing mode
and set boot
By
Arseniy Krasnov <avkrasnov@...>
·
#2641
·
|