Hi!
I was trying to boot firmware to mikrotik device, unsucessfully.
It is working fine using same steps on different device (hAP lite) and was even working on same device, which I aquired last year. I am not sure what is going on. Can someone give me a hint?
Working netbooting advertises itself as OpenWrt. Here I see udhcp, so it is doing at least something. All LEDs are shut, except for red POE OUT.
There is no serial console to check what is going on(there is, but requires soldering headers and modyfing some part of boot partition, which is currently beyond my abilities)
I am not sure what is going on. I previously flashed succesfuly about 15 images without problems and even compiled my own with patch to support new memories Winbond 128JV...
Code to run dnsmasq:
#!/bin/bash
IFACE_WAN="enp4s0"
IMAGE_PATH=/home/filip/openwrt_loader/
dnsmasq -i $IFACE_WAN --dhcp-range=192.168.100.100,192.168.100.200 \
--dhcp-boot=openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin \
--enable-tftp --tftp-root=$IMAGE_PATH -d -u filip -p0 -K --log-dhcp --bootp-dynamic
dnsmasq log:
dnsmasq: started, version 2.79 DNS disabled
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dnsmasq-dhcp: DHCP, IP range 192.168.100.100 -- 192.168.100.200, lease time 1h
dnsmasq-tftp: TFTP root is /home/filip/openwrt_loader/
dnsmasq-dhcp: 3770257068 available DHCP range: 192.168.100.100 -- 192.168.100.200
dnsmasq-dhcp: 3770257068 vendor class: Mips_boot
dnsmasq-dhcp: 3770257068 DHCPDISCOVER(enp4s0) b8:69:f4:d1:46:69
dnsmasq-dhcp: 3770257068 tags: enp4s0
dnsmasq-dhcp: 3770257068 DHCPOFFER(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 3770257068 requested options: 1:netmask, 3:router
dnsmasq-dhcp: 3770257068 bootfile name: openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
dnsmasq-dhcp: 3770257068 next server: 192.168.100.10
dnsmasq-dhcp: 3770257068 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 3770257068 sent size: 4 option: 54 server-identifier 192.168.100.10
dnsmasq-dhcp: 3770257068 sent size: 4 option: 51 lease-time 1h
dnsmasq-dhcp: 3770257068 sent size: 4 option: 58 T1 30m
dnsmasq-dhcp: 3770257068 sent size: 4 option: 59 T2 52m30s
dnsmasq-dhcp: 3770257068 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 3770257068 sent size: 4 option: 28 broadcast 192.168.100.255
dnsmasq-dhcp: 3770257068 sent size: 4 option: 3 router 192.168.100.10
dnsmasq-dhcp: 3770257068 available DHCP range: 192.168.100.100 -- 192.168.100.200
dnsmasq-dhcp: 3770257068 vendor class: Mips_boot
dnsmasq-dhcp: 3770257068 DHCPREQUEST(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 3770257068 tags: enp4s0
dnsmasq-dhcp: 3770257068 DHCPACK(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 3770257068 requested options: 1:netmask, 3:router
dnsmasq-dhcp: 3770257068 bootfile name: openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
dnsmasq-dhcp: 3770257068 next server: 192.168.100.10
dnsmasq-dhcp: 3770257068 sent size: 1 option: 53 message-type 5
dnsmasq-dhcp: 3770257068 sent size: 4 option: 54 server-identifier 192.168.100.10
dnsmasq-dhcp: 3770257068 sent size: 4 option: 51 lease-time 1h
dnsmasq-dhcp: 3770257068 sent size: 4 option: 58 T1 30m
dnsmasq-dhcp: 3770257068 sent size: 4 option: 59 T2 52m30s
dnsmasq-dhcp: 3770257068 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 3770257068 sent size: 4 option: 28 broadcast 192.168.100.255
dnsmasq-dhcp: 3770257068 sent size: 4 option: 3 router 192.168.100.10
dnsmasq-tftp: sent /home/filip/openwrt_loader/openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin to 192.168.100.199
dnsmasq-dhcp: 3770257068 available DHCP range: 192.168.100.100 -- 192.168.100.200
dnsmasq-dhcp: 3770257068 vendor class: Mips_boot
dnsmasq-dhcp: 953315401 available DHCP range: 192.168.100.100 -- 192.168.100.200
dnsmasq-dhcp: 953315401 vendor class: udhcp 1.30.1
dnsmasq-dhcp: 953315401 DHCPDISCOVER(enp4s0) b8:69:f4:d1:46:69
dnsmasq-dhcp: 953315401 tags: enp4s0
dnsmasq-dhcp: 953315401 DHCPOFFER(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 953315401 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
dnsmasq-dhcp: 953315401 requested options: 15:domain-name, 28:broadcast, 42:ntp-server
dnsmasq-dhcp: 953315401 bootfile name: openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
dnsmasq-dhcp: 953315401 next server: 192.168.100.10
dnsmasq-dhcp: 953315401 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 953315401 sent size: 4 option: 54 server-identifier 192.168.100.10
dnsmasq-dhcp: 953315401 sent size: 4 option: 51 lease-time 1h
dnsmasq-dhcp: 953315401 sent size: 4 option: 58 T1 30m
dnsmasq-dhcp: 953315401 sent size: 4 option: 59 T2 52m30s
dnsmasq-dhcp: 953315401 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 953315401 sent size: 4 option: 28 broadcast 192.168.100.255
dnsmasq-dhcp: 953315401 sent size: 4 option: 3 router 192.168.100.10
dnsmasq-dhcp: 953315401 available DHCP range: 192.168.100.100 -- 192.168.100.200
dnsmasq-dhcp: 953315401 vendor class: udhcp 1.30.1
dnsmasq-dhcp: 953315401 DHCPREQUEST(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 953315401 tags: enp4s0
dnsmasq-dhcp: 953315401 DHCPACK(enp4s0) 192.168.100.199 b8:69:f4:d1:46:69
dnsmasq-dhcp: 953315401 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
dnsmasq-dhcp: 953315401 requested options: 15:domain-name, 28:broadcast, 42:ntp-server
dnsmasq-dhcp: 953315401 bootfile name: openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
dnsmasq-dhcp: 953315401 next server: 192.168.100.10
dnsmasq-dhcp: 953315401 sent size: 1 option: 53 message-type 5
dnsmasq-dhcp: 953315401 sent size: 4 option: 54 server-identifier 192.168.100.10
dnsmasq-dhcp: 953315401 sent size: 4 option: 51 lease-time 1h
dnsmasq-dhcp: 953315401 sent size: 4 option: 58 T1 30m
dnsmasq-dhcp: 953315401 sent size: 4 option: 59 T2 52m30s
dnsmasq-dhcp: 953315401 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 953315401 sent size: 4 option: 28 broadcast 192.168.100.255
dnsmasq-dhcp: 953315401 sent size: 4 option: 3 router 192.168.100.10
Thanks!