[U-Boot, v3, 1/1] misc: fs_loader: Add request_firmware_into_buf_via_script() for flexible firmware loading via U-Boot script

2025-07-29 Thread Lucien.Jheng
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

Re: [U-Boot, v2, 1/1] misc: fs_loader: Add request_firmware_into_buf_via_script() for flexible firmware loading via U-Boot script

2025-07-28 Thread Lucien.Jheng
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

[U-Boot, v2, 1/1] misc: fs_loader: Add request_firmware_into_buf_via_script() for flexible firmware loading via U-Boot script

2025-07-27 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] misc: fs_loader: Add request_firmware_into_buf_via_env API for environment-based firmware loading

2025-07-20 Thread Lucien.Jheng
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

[U-Boot, v3, 1/1]net: phy: Add the Airoha EN8811H PHY driver

2025-07-20 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] misc: fs_loader: Add request_firmware_into_buf_via_env API for environment-based firmware loading

2025-07-02 Thread Lucien.Jheng
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

Re: [U-Boot, v2, 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-06-30 Thread Lucien.Jheng
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" +  

Re: [U-Boot, v2, 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-06-29 Thread Lucien.Jheng
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

[U-Boot, v2, 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-06-15 Thread Lucien.Jheng
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

Re: Aw: [U-Boot, v1, 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-06-12 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-05-11 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] net: phy: air_en8811h: load the PHY firmware from filesystem on block device by default

2025-05-11 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] net: phy: air_en8811h: Configure the en8811h fw size as a fixed setting

2025-04-23 Thread 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

Re: [PATCH 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-04-21 Thread Lucien.Jheng
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.

Re: [U-Boot, v1, 1/1] net: phy: air_en8811h: load the PHY firmware from filesystem on block device instead

2025-04-19 Thread Lucien.Jheng
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

[U-Boot, v1, 1/1] net: phy: air_en8811h: load the PHY firmware from filesystem on block device instead

2025-04-19 Thread Lucien.Jheng
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

[PATCH 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-04-06 Thread Lucien.Jheng
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