Hello,
I've been trying to install OpenWrt on my Ubiquiti U6-Lite access point, but I'm encountering some issues. Despite following the installation instructions from the OpenWrt website, the device always boots back into the Ubiquiti firmware after reboot.
Here's what I've done so far:
-
I connected to the device in recovery mode from my Windows computer via SSH.
-
I downloaded the OpenWrt firmware directly to the device using curl.
-
I set the boot environment as follows:
fw_setenv devmode TRUE fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr); fdt rm /signature; bootubnt" fw_setenv bootcmd "run boot_openwrt"
-
I verified that the boot environment was set correctly using
fw_printenv
. The output was:appinitdone=true baudrate=115200 ble_mode=serial bootdelay=2 device_model=U6-LITE ethact=eth@1e100000 ethaddr=70:a7:41:c6:a7:84 fdtcontroladdr=8ffecf90 fw_version=9.9.9 macaddr=70:a7:41:c6:a7:84 netmask=255.255.255.0 serverip=192.168.1.19 stderr=uartlite0@1e000c00 stdin=uartlite0@1e000c00 stdout=uartlite0@1e000c00 ubntaddr=850000a0 is_ble_stp=true ipaddr=192.168.1.20 is_default=true devmode=TRUE boot_openwrt=fdt addr $(fdtcontroladdr); fdt rm /signature; bootubnt bootcmd=run boot_openwrt
-
I set the bootselect flag to boot from kernel0 using
dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock4
. -
I wrote the OpenWrt firmware to both kernel0 and kernel1 using
dd if=firmware.bin of=/dev/mtdblock6
anddd if=firmware.bin of=/dev/mtdblock7
. -
I rebooted the device.
After these steps, the device still boots into the Ubiquiti firmware. I've tried this process multiple times with the same result.
I would appreciate any help or suggestions. Thank you.