uf_via_script(&fw_buf, 0x4600,
"my_fw_script");
if (ret < 0)
return ret;
This approach allows board integrators and users to customize the firmware
loading process without modifying the source code,
simply by changing the script in the U-Boot environment.
Signed-off-by: L
Marek Vasut 於 2025/7/27 下午 10:46 寫道:
On 7/27/25 4:16 PM, Lucien.Jheng wrote:
This commit introduces a new API,
request_firmware_into_buf_via_script(),
to the fs_loader framework.
This function allows firmware to be loaded into memory
using a user-defined U-Boot script,
providing greater
amp;fw_buf, 0x24000,
"my_fw_script");
if (ret < 0)
return ret;
This approach allows board integrators and users to customize the firmware
loading process without modifying the source code,
simply by changing the script in the U-Boot environment.
Signed-off-by: Luc
scriptable firmware loading without hardcoded details.
Signed-off-by: Lucien.Jheng
---
Change log:
- Re-sending as previous version and add more maintainers to review.
drivers/misc/fs_loader.c | 59
include/fs_loader.h | 18
2 files ch
upstream AIROHA EN8811H driver code(air_en8811h.c),
I have modified the relevant process to align with the U-Boot boot sequence.
and have validated this on Banana Pi BPI-R3 Mini.
Signed-off-by: Lucien.Jheng
---
Change in PATCH v3:
air_en8811h.c:
* Add U-Boot environment variable(en8811h_fw_part
scriptable firmware loading without hardcoded details.
Signed-off-by: Lucien.Jheng
---
drivers/misc/fs_loader.c | 59
include/fs_loader.h | 18
2 files changed, 77 insertions(+)
diff --git a/drivers/misc/fs_loader.c b/drivers/mi
Marek Vasut 於 2025/6/30 上午 06:49 寫道:
On 6/29/25 6:10 PM, Lucien.Jheng wrote:
Hi,
I'm sorry for my abysmally slow response.
Thank you very much for your reply and sharing; I've learned a lot.
+config PHY_AIROHA_FW_IN_MMC
+ bool "Airoha firmware in MMC partition"
+
Marek Vasut 於 2025/6/29 下午 10:31 寫道:
On 6/15/25 3:12 PM, Lucien.Jheng wrote:
Add the driver for the Airoha EN8811H 2.5 Gigabit PHY. The PHY supports
100/1000/2500 Mbps with auto negotiation only.
The driver uses two firmware files, for which updated versions are
added to
linux-firmware
upstream AIROHA EN8811H driver code(air_en8811h.c),
I have modified the relevant process to align with the U-Boot boot sequence.
and have validated this on Banana Pi BPI-R3 Mini.
Signed-off-by: Lucien.Jheng
---
Change in PATCH v2:
air_en8811h.c:
* Fix: Indentation and coding style
* Fix: Invert
Frank Wunderlich 於 2025/6/12 下午 10:44 寫道:
Am 12. Juni 2025 16:36:41 MESZ schrieb Tom Rini:
On Thu, Jun 12, 2025 at 10:09:48AM +,fran...@public-files.de wrote:
Gesendet: Sonntag, 11. Mai 2025 um 07:14
Von: "Lucien.Jheng"
Betreff: [U-Boot, v1, 1/1] net: phy: Add the Airoha E
upstream AIROHA EN8811H driver code(air_en8811h.c),
I have modified the relevant process to align with the U-Boot boot sequence.
and have validated this on Banana Pi BPI-R3 Mini.
Signed-off-by: Lucien.Jheng
---
drivers/net/phy/Kconfig | 43 ++
drivers/net/phy/air_en8811h.c | 852
Locating the AIROHA FW within the filesystem at the designated partition
and path will trigger its automatic loading and writing to the PHY via MDIO.
If need board specific loading override,
please override the en8811h_read_fw function on board or architecture level.
Signed-off-by: Lucien.Jheng
Given that the EN8811H FW has a fixed size,
exposing it via Kconfig is unnecessary
Signed-off-by: Lucien.Jheng
---
drivers/net/phy/Kconfig | 10 --
drivers/net/phy/air_en8811h.c | 12 ++--
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/drivers/net/phy
Hi Marek
Marek Vasut 於 2025/4/21 上午 01:55 寫道:
If the firmware size is fixed, it shouldn't be exposed via Kconfig in
the first place. Linux doesn't do that either, why is it done here ?
I misunderstood this part when I was porting the driver. I'll modify it
in the next commit,
thank you.
Deal maintainers
Considering system-level factors, this commit will not be submitted at
this time.
Thank you.
Lucien.Jheng 於 2025/4/19 下午 05:43 寫道:
Locating the AIROHA FW within the filesystem at the designated partition
and path will trigger its automatic loading and writing to the PHY via
Locating the AIROHA FW within the filesystem at the designated partition
and path will trigger its automatic loading and writing to the PHY via MDIO.
Signed-off-by: Lucien.Jheng
---
drivers/net/phy/Kconfig | 39 --
drivers/net/phy/air_en8811h.c | 97
the relevant process to align with the U-Boot boot sequence.
and have validated this on Banana Pi BPI-R3 Mini.
The MD32 FW is currently stored in eMMC partition 1 on Banana Pi BPI-R3 Mini,
and it is loaded from there.
Signed-off-by: Lucien.Jheng
---
drivers/net/phy/Kconfig | 34
17 matches
Mail list logo