openwrt/package/firmware
Marco von Rosenberg cd1b70f6f9
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
ipq40xx: add support for Huawei AP4050DN
Hardware
========
SoC: Qualcomm IPQ4018
ETH: Qualcomm QCA8075 (2 x RJ-45)
WDG: OnSemi SCT706
RAM: Micron MT41K128M16JT-125 (256MB)
NOR: Infineon S25FL512S (64MB)

Installation
============

1. Create a ramboot-able image with the command

   { dd if=/dev/zero bs=32 count=1 2>/dev/null; \
     cat openwrt-ipq40xx-generic-huawei_ap4050dn-initramfs-uImage.itb; \
   } > ramboot.bin`

2. Start a TFTP server in the folder with the ramboot.bin.

3. Plug in a USB-RJ45 serial adapter to the CONSOLE port of the device
   and start a serial console session with
   9600 baud, no parity, 1 stop bit.

4. Plug in either 12V power or PoE to the device.

5. On the prompt `Press f or F  to stop Auto-Boot in 3 seconds`,
   press `f` to enter the Huawei U-Boot command line

6. Enter a new password for the u-boot command line

7. In the command line, run these commands to ramboot OpenWrt:

      setenv serverip <IPv4 address of TFTP server>
      setenv ipaddr <IPv4 address for this AP>
      setenv rambootfile ramboot.bin
      run ramboot

8. In OpenWrt, set up the network and then `scp` the files
   `u-boot-huawei_ap4050dn/uImage` and
   `openwrt-ipq40xx-generic-huawei_ap4050dn-squashfs-sysupgrade.bin`
   into `/tmp/`

9. To backup the original firmware, run the following:

      cat /dev/mtd12 /dev/mtd13 > huawei_ap4050dn_fw_backup.bin.bin

10. Run the following commands to flash u-boot and OpenWrt to the device:

      mtd erase uboot
      mtd write /tmp/uImage uboot
      sysupgrade -n /tmp/openwrt-ipq40xx-generic-huawei_ap4050dn-squashfs-sysupgrade.bin

11. The device should now boot OpenWrt! (sometimes the boot process takes a bit
    longer due to the watchdog resetting the device before the watchdog driver runs)

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
2026-03-07 18:52:31 +01:00
..
ath10k-ct-firmware ath10k-ct-firmware: update wave2 chip firmware to latest beta version 2025-08-24 00:21:26 +02:00
ath11k-firmware qualcommax: ipq50xx: split firmware variants and refactor QCN6122 support 2025-11-28 10:27:53 +01:00
broadcom-sprom treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
cypress-firmware cypress-firmware: fix version for APK 2024-10-29 00:07:51 +01:00
cypress-nvram cypress-nvram: consolidate NVRAM packages 2022-11-16 20:14:13 +01:00
intel-microcode intel-microcode: update to 2025111 2025-11-15 19:28:03 +01:00
ipq-wifi ipq40xx: add support for Huawei AP4050DN 2026-03-07 18:52:31 +01:00
ixp4xx-microcode firmware: Resurrect the ixp4xx microcode package 2023-10-25 11:28:15 +02:00
lantiq lantiq: remove intel.com from URL 2026-01-02 18:07:02 +01:00
layerscape qoriq: add support for NXP T4240RDB board 2026-01-09 18:45:02 +02:00
linux-firmware firmware: Add support for Airoha EN7581/AN7583 NPU variant firmware 2026-03-04 13:34:43 +01:00
murata-firmware murata-firmware: add new package 2024-11-23 15:53:21 +01:00
murata-nvram murata-nvram: add symlink for STM32MP157C-DK2 2025-04-19 18:41:16 +02:00
omnia-mcu-firmware packages: drop DEVICE specific dependency for omnia 2024-11-05 09:59:49 +01:00
prism54-firmware prism54-firmware: set DL_DIR to package specific subdirectory 2022-09-22 16:48:37 -04:00
wireless-regdb wireless-regdb: update to version 2026.02.04 2026-02-24 20:24:25 +01:00