BR200-WP tftp not sending flash.bin

I have BR200-WP
[https://openwrt.org/toh/hwdata/aerohive/aerohive_br200-wp](https://br200-wp techdata page)
followed this guide
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=95d5a99537a587103976120de0b0ba4d27e07d62
pc/tftp static ip address set to 192.168.1.11 netmask 255.255.255.0
router ip set to 192.168.1.3
setenv serverip 192.168.1.11
setenv ippaddr 192.168.1.3
tftpboot 0x2004000 flash1.bin (https://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/openwrt-24.10.0-mpc85xx-p1010-aerohive_br200-wp-initramfs-kernel.bin)

whatever i do it doesnt start sending the file
here is the tftp error

Connection received from 192.168.1.3 on port 1348 [11/04 21:36:01.818]
Read request for file </flash1.bin>. Mode octet [11/04 21:36:01.818]
OACK: <timeout=5,> [11/04 21:36:01.819]
Using local port 65479 [11/04 21:36:01.819]
Connection received from 192.168.1.3 on port 2962 [11/04 21:36:18.797]
Read request for file <flash1.bin>. Mode octet [11/04 21:36:18.798]
OACK: <timeout=5,> [11/04 21:36:18.798]
Using local port 65486 [11/04 21:36:18.798]
TIMEOUT waiting for Ack block #0  [11/04 21:36:26.822]
Connection received from 192.168.1.3 on port 1915 [11/04 21:39:22.119]
Read request for file </flash1.bin>. Mode octet [11/04 21:39:22.119]
OACK: <timeout=5,> [11/04 21:39:22.119]
Using local port 58238 [11/04 21:39:22.119]
TIMEOUT waiting for Ack block #0  [11/04 21:39:47.123]

printenv output

bootcmd=setenv bootargs root=/dev/ram console=ttyS0,9600 ramdisk_size=700000 cache-sram-size=0x10000; cp.l 0xEC040000 0x2000000 0x500000; bootm 0xEE840000 0x2000000 0xEC000000;
bootdelay=3
baudrate=9600
loads_echo=1
loadaddr=1004000
netdev=eth0
uboot=u-boot.bin
loadaddr=1000000
consoledev=ttyS0
ramdiskaddr=2000000
ramdiskfile=rootfs.ext2.gz.uboot
usb_phy_type=ulpi
vscfw_addr=ef000000
othbootargs=ramdisk_size=700000 cache-sram-size=0x10000
ethact=eth0
netretry=no
ipaddr=192.168.1.3
serverip=192.168.1.11

Environment size: 509/131068 bytes

dump_hw_info

Ethernet MAC address:       <ff:44:rr:ee:22:11>
Number of MAC addresses:        64
Country Code:                   0
Serial Number:                  xcxcasdasdasd
Hardware Version:               1
Hardware Revision:              02
Product Name:                   BR200-WP
Hardware ID:                    00
Manufacture Date:               20150515
Antenna ID:                     0000
Aerohive hardware Key:          xxxxxxxxxxxxxx

version

Aerohive Boot Loader v1.0.2.28, Build time Thu Sep 04 10:40:00 2014

firewall is disabled
and i also execute this command in windows cmd to Disable media sensing:
netsh interface ipv4 set global dhcpmediasense=disabled

tried
tftpboot 192.168.1.11:/flash1.bin
tftpboot 192.168.1.11:flash1.bin
tftpboot 0x2004000 flash1.bin
tftpboot 0x2004000 /flash1.bin

none works, all give the same error

any ideas where did i go wrong or what setting i have to set would be greatly appreciated, Thanks

Guide says nothing about changing uboots own IP.

copy paste the exact command and set dhcp server in tftpd

Retry count exceeded; starting again
=> dhcp; setenv serverip 192.168.1.3;
Check for phy link status
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
=> printenv
bootcmd=setenv bootargs root=/dev/ram console=ttyS0,9600 ramdisk_size=700000 cache-sram-size=0x10000; cp.l 0xEC040000 0x2000000 0x500000; bootm 0xEE840000 0x2000000 0xEC000000;
bootdelay=3
baudrate=9600
loads_echo=1
loadaddr=1004000
netdev=eth0
uboot=u-boot.bin
loadaddr=1000000
consoledev=ttyS0
ramdiskaddr=2000000
ramdiskfile=rootfs.ext2.gz.uboot
usb_phy_type=ulpi
vscfw_addr=ef000000
othbootargs=ramdisk_size=700000 cache-sram-size=0x10000
ethact=eth0
netretry=no
serverip=192.168.1.3

Environment size: 489/131068 bytes
=> tftpboot 0x2004000 flash1.bin
Check for phy link status
Speed: 1000, full duplex
*** ERROR: `ipaddr' not set
=>

fekry11,

There is no 'Device page' of your device: BR200-WP (yet), only a HW page.
You do have a TTL serial connection to the device? It looks like you have.

Typo in first 'setenv ippaddr 192.168.1.3' double 'p', later it is set correct.
But the last 'printenv' is missing value ipaddr? and serverip is set as client (192.168.1.3)?

Did you do a 'saveenv' after changing uboot settings?

DG.

1 Like

i might have typed it wrong here on the forum, but on the serial console i typed it ipaddr
and as seen in tftpd log there is a connection request but the problem is that the router is not sending ack block

i also just tried your tip to saveenv after setting ipaddr and serverip, but didnt work also.

I also tried pumpkin tftp didnt work, will try on ubuntu now hopefully it works.
thanks

You can run wireshark/tcpdump to see requests.

fekry11,

Sometimes the tftp goes better when using a dumb switch between tftp server and router. Although I've never needed that.

DG.