#19728: Bad Data CRC with 15.05-rc1 on a WNR2000v1
------------------------------------+----------------------------------
Reporter: nabcore | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: WNR2000 15.05-rc1 AP81 |
------------------------------------+----------------------------------
Having flashed the current rc onto my WNR2000v1 (which is running 14.07),
I'm seeing this via serial:
{{{
U-Boot 1.1.4.15 (Jan 13 2011 - 13:00:15)
AP81 (ar7100) U-boot
sri
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 244k for U-Boot at: 81fc0000
Reserving 192k for malloc() at: 81f90000
Reserving 44 Bytes for Board Info at: 81f8ffd4
Reserving 36 Bytes for Global Data at: 81f8ffb0
Reserving 128k for boot params() at: 81f6ffb0
Stack Pointer at: 81f6ff98
Now running in RAM - U-Boot at: 81fc0000
id read 0x100000ff
flash size 4MB, sector count = 64
Flash: 4MB
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
Fetching MAC Address from 0x81fea700
: cfg1 0xf cfg2 0x7114
eth0: xx:xx:xx:xx:xx:xx
dup 1 speed 100
eth0 up
eth0
### main_loop entered: bootdelay=4
### main_loop: bootcmd="bootm 0xbf2a0000"
Hit any key to stop autoboot: 0
Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual
nmrp server is stopped or failed !
## Booting image at bf2a0000 ...
Image Name: MIPS OpenWrt Linux-3.18.11
Created: 2015-05-24 8:51:47 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1191641 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... Bad Data CRC
The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1...
}}}
The protocol used for this is was as follows:
1) Binaries were prepared using the image generator:
{{{
wget https://downloads.openwrt.org/chaos_calmer/15.05-rc1/ar71xx/generic
/OpenWrt-ImageBuilder-15.05-rc1-ar71xx-generic.Linux-x86_64.tar.bz2
tar xfvj OpenWrt-ImageBuilder-15.05-rc1-ar71xx-generic.Linux-
x86_64.tar.bz2
#Generate a leaner image
cd OpenWrt-ImageBuilder-15.05-rc1-ar71xx-generic.Linux-x86_64
make image PROFILE=AP81 PACKAGES=" -kmod-usb-core -kmod-usb2 -kmod-ppp
-kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe"
}}}
2) Flashed as follows:
{{{
#On router running 14.07
cd /tmp
wget http://localwebserver/openwrt/15.05-rc1/openwrt-15.05-rc1-ar71xx-
generic-ap81-rootfs-squashfs.bin
wget http://localwebserver/openwrt/15.05-rc1/openwrt-15.05-rc1-ar71xx-
generic-uImage-lzma.bin
mtd -e rootfs write openwrt-15.05-rc1-ar71xx-generic-ap81-rootfs-
squashfs.bin rootfs
mtd -e uImage write openwrt-15.05-rc1-ar71xx-generic-uImage-lzma.bin
uImage
}}}
Note, prior to this, a modified u-boot bootloader (fuhry's) and mtd
partitioning scheme was in use:
{{{
cd /tmp
snarf http://fuhry.com/b/wnr2000/u-boot.bin
snarf http://fuhry.com/b/wnr2000/ubootenv-stockpartitions.img
mtd -e mtd0 write u-boot.bin mtd0
mtd -e mtd1 write ubootenv-stockpartitions.img mtd1
}}}
This had worked fine with 14.07.
--
Ticket URL: <https://dev.openwrt.org/ticket/19728>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets