I am following https://openwrt.org/toh/aruba/ap-303h
I have got the serial console working for Aruba AP-303H. I am powering AP-303H from POE Switch using E0 port (back side of AP)
- I assigned IP address 192.168.1.75 to Windows computer NIC.
- Downloaded openwrt firmware and renamed to ipq40xx.ari
- Downloaded tftpd64 and ran it by choosing source directory as where I kept pq40xx.ari file and chose server interface as 192.168.1.75
- Connected the serial console using putty
- Connected ethernet of PC to E0/PT port (under down side) of AP-303H
- Connected another ethernet cable from POE switch to AP-303H E0 port (back side of AP).
- AP started booting (serial console showed messages) immediately pressed enter to overide autoboot.
- Ran below commands,
$ setenv bootargs_openwrt "setenv bootargs console=ttyMSM0,9600n8"
$ setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1; ubi read 0x85000000 kernel; set fdt_high 0x87000000; bootm 0x85000000"
$ setenv ramboot_openwrt "run bootargs_openwrt; setenv ipaddr 192.168.1.105; setenv serverip 192.168.1.75; netget; set fdt_high 0x87000000; bootm"
$ setenv bootcmd "run nandboot_openwrt"
$ saveenv
$ run ramboot_openwrt
But I am stuck at Retry count exceeded; starting again Full log below.
What am I doing wrong?
I noticed that, ethernet jack of PC is not powered when connecting it to E0/PT port (under down side) of AP-303H.
Hit <Enter> to stop autoboot: 0
apboot> setenv bootargs_openwrt "setenv bootargs console=ttyMSM0,9600n8"
apboot> setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1; ubi read 0x85000000 kernel; set fdt_high 0x87000000; bootm 0x85000000"
apboot> setenv ramboot_openwrt "run bootargs_openwrt; setenv ipaddr 192.168.1.105; setenv serverip 192.168.1.75; netget; set fdt_high 0x87000000; bootm"
apboot> setenv bootcmd "run nandboot_openwrt"
apboot> saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...Writing to SPI flash...done
apboot> run ramboot_openwrt
eth0 up: 1 Gb/s full duplex
Using eth0 device
TFTP from server 192.168.1.75; our IP address is 192.168.1.105
Filename 'ipq40xx.ari'.
Load address: 0x84000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
eth0 up: 1 Gb/s full duplex
Using eth0 device
TFTP from server 192.168.1.75; our IP address is 192.168.1.105
Filename 'ipq40xx.ari'.
Load address: 0x84000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
eth0 up: 1 Gb/s full duplex
Using eth0 device
TFTP from server 192.168.1.75; our IP address is 192.168.1.105
Filename 'ipq40xx.ari'.
Load address: 0x84000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
eth0 up: 1 Gb/s full duplex
Using eth0 device
TFTP from server 192.168.1.75; our IP address is 192.168.1.105
Filename 'ipq40xx.ari'.
Load address: 0x84000000
Loading: T T
Abort
Wrong Image Format for bootm command
ERROR: can't get kernel image!