Hi,
Trying to move from OpenWRT to latest LEDE version on R8000 but for some reason, the firmware is corrupted on boot. Here is what I've tried.
- upload the lede firmware.
- device reboots.
- Everything is up and ready to be configured.
- login to Luci and reboot the device or do this manually.
- device does not come back.
IT has network at 192.168.1.1, but I cannot ssh to it and no Luci. Tried this many times and always the same results. In fact, very similar results on the latest nightly build of OpenWRT for the same router. The only firmware I can run is ChaosCalmer 15.05 which does not have the Wifi fix.
finally connected a serial console and I see that on boot, I get the following:
Device eth0: hwaddr XXXXXX, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Checking crc…Boot program checksum is invalid
Device eth0 has been deactivated.
Device eth0: hwaddr XXXXXX, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Start TFTP server
Reading ::
I have checked the checksum of the firmware I downloaded and it matches, the size of the file on disk and upload through tftp also match. I also noticed a bunch of errors during the initial firmware install:
[ 0.636426] Scanning device for bad blocks
[ 0.660662] Bad eraseblock 33 at 0x000000420000
[ 0.719532] Bad eraseblock 124 at 0x000000f80000
[ 0.904796] Bad eraseblock 424 at 0x000003500000
[ 0.950941] Bad eraseblock 490 at 0x000003d40000
[ 1.083974] Bad eraseblock 693 at 0x0000056a0000
[ 1.230327] Bad eraseblock 917 at 0x0000072a0000
[ 1.285354] Bad eraseblock 997 at 0x000007ca0000
[ 1.313702] random: nonblocking pool is initialized
[ 1.355490] mtd_read error while parsing (offset: 0xF80000): -74
[ 1.533110] mtd_read error while parsing (offset: 0x30A0000): -74
[ 1.545878] mtd_read error while parsing (offset: 0x3200000): -74
[ 1.552363] mtd_read error while parsing (offset: 0x3220000): -74
[ 1.558838] mtd_read error while parsing (offset: 0x3240000): -74
[ 1.565323] mtd_read error while parsing (offset: 0x3260000): -74
[ 1.571805] mtd_read error while parsing (offset: 0x3280000): -74
...
[ 6.303653] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 6.312154] PCI: bus1: Fast back to back transfers disabled
[ 6.317743] pci 0001:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 6.325954] pci 0001:02:00.0: unknown header type 12, ignoring device
[ 6.333107] pci 0001:02:03.0: [Firmware Bug]: reg 0x10: invalid BAR (can’t size)
[ 6.340555] pci 0001:02:03.0: [Firmware Bug]: reg 0x14: invalid BAR (can’t size)
[ 6.347979] pci 0001:02:03.0: [Firmware Bug]: reg 0x18: invalid BAR (can’t size)
[ 6.355415] pci 0001:02:03.0: [Firmware Bug]: reg 0x1c: invalid BAR (can’t size)
[ 6.362845] pci 0001:02:03.0: [Firmware Bug]: reg 0x20: invalid BAR (can’t size)
tried the 30-30-30 rest about a dozen times to no avail. is this really a firmware issue or do I have to somehow reset my router in another way to get past this?
Thanks.