Persistent Issue Installing OpenWRT 24.10 on UniFi U6+ — Boots to TFTP Mode

Hi everyone,
I’m struggling to install OpenWRT 24.10 on my UniFi U6+ and could use some help. Here’s what I’ve tried so far:

  1. Initial attempts with stock UniFi firmware:
    • Tried stock firmware v6.6.78 → AP failed to boot properly.
    • Rolled back to v6.6.55 (as suggested in some guides) → same issue.
  2. OpenWRT installation:
    • Downloaded the correct sysupgrade.bin for U6+
ssh ubnt@192.168.1.20                                         [10:19:14]
                ubnt@192.168.1.20's password: 
                
                
                BusyBox v1.25.1 () built-in shell (ash)
                
                
                  ___ ___      .__________.__
                 |   |   |____ |__\_  ____/__|
                 |   |   /    \|  ||  __) |  |   (c) 2010-2023
                 |   |  |   |  \  ||  \   |  |   Ubiquiti Inc.
                 |______|___|  /__||__/   |__|
                            |_/                  https://www.ui.com
                
                      Welcome to UniFi U6+!
                
                ********************************* NOTICE **********************************
                * By logging in to, accessing, or using any Ubiquiti product, you are     *
                * signifying that you have read our Terms of Service (ToS) and End User   *
                * License Agreement (EULA), understand their terms, and agree to be       *
                * fully bound to them. The use of SSH (Secure Shell) can potentially      *
                * harm Ubiquiti devices and result in lost access to them and their data. *
                * By proceeding, you acknowledge that the use of SSH to modify device(s)  *
                * outside of their normal operational scope, or in any manner             *
                * inconsistent with the ToS or EULA, will permanently and irrevocably     *
                * void any applicable warranty.                                           *
                ***************************************************************************
                
                U6-Plus-BZ.6.6.55# echo 5edfacbf > /proc/ubnthal/.uf
                U6-Plus-BZ.6.6.55# grep PARTNAME /sys/block/mmcblk0/mmcblk0p6/uevent
                PARTNAME=kernel0
                U6-Plus-BZ.6.6.55# grep PARTNAME /sys/block/mmcblk0/mmcblk0p7/uevent
                PARTNAME=kernel1
                U6-Plus-BZ.6.6.55# grep PARTNAME /sys/block/mmcblk0/mmcblk0p8/uevent
                PARTNAME=bs
                U6-Plus-BZ.6.6.55# fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr); fdt rm /
                signature; bootubnt"
                U6-Plus-BZ.6.6.55# fw_setenv bootcmd_real "run boot_openwrt"
                U6-Plus-BZ.6.6.55# fw_printenv
                baudrate=115200
                bootargs=ubootver= ramoops.mem_address=0x42fe0000 ramoops.mem_size=1048576 ramoops.ecc=1 ramoops.record_size=262144 console=ttyS0,115200n1 mem=262112K ubntbootid=0
                bootcmd=bootubnt
                bootdelay=2
                ethaddr=1c:6a:1b:3a:95:2d
                fdtaddr=46b8d8ac
                fdtcontroladdr=4ffc0590
                ipaddr=192.168.1.20
                loadaddr=0x46000000
                netmask=255.255.255.0
                serverip=192.168.1.2
                stderr=serial@11002000
                stdin=serial@11002000
                stdout=serial@11002000
                ubntaddr=440000b0
                is_default=true
                boot_openwrt=fdt addr $(fdtcontroladdr); fdt rm /signature; bootubnt
                bootcmd_real=run boot_openwrt
                U6-Plus-BZ.6.6.55# tar xf /tmp/openwrt.bin sysupgrade-ubnt_unifi-6-plus/kernel -
                O | dd of=/dev/mmcblk0p6
                8102+1 records in
                8102+1 records out
                U6-Plus-BZ.6.6.55# tar xf /tmp/openwrt.bin sysupgrade-ubnt_unifi-6-plus/root -O | dd of=/dev/mmcblk0p7
                11022+0 records in
                11022+0 records out
                U6-Plus-BZ.6.6.55# echo -ne "\x00\x00\x00\x00\x2b\xe8\x4d\xa3" > /dev/mmcblk0p8
                U6-Plus-BZ.6.6.55# reboot
  • Problem: After reboot, it falls back to TFTP mode instead of booting OpenWRT.
  1. Additional attempts:
    • Repeated the entire process 3 times → same result.
    • Verified file hashes (no corruption).

Any guidance would be greatly appreciated!

Don't own the device, but try setting bootcmd as below.
Don't forget to saveenv if you make the change through serial.

thanks for the advice I will try; no I use ssh to change settings I have to save anyway or is there a specific command?

Then no, just use fw_printenv afterwards to verify it's been set.

Btw, my command syntax was probably wrong, fixed it, I think :slight_smile: