Hi there,
I have been using OpenWRT on my WRT160NL for about a week or more now and it worked very well.
I had already done some upgrades with sysupgrade to clean tweak my image a bit, and every time, it worked perfectly,
untill now....
I was flashing a new image with IPv6 support, because I want to use a tunnel, when it said "Error writing to flash".
It rebooted and never came up again.
So I opened it up, connected my FTDI breakout, and tftp'ed (using upgrade code.bin) the image, but still no luck.
I have tried several new-build images, but I keep getting this erro:
## Booting image at bf04003c ...
Image Name: MIPS OpenWrt Linux-2.6.30.5
Created: 2009-09-08 9:53:12 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1234738 Bytes = 1.2 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... Bad Data CRC
I even tried to install the stock linksys firmware, but even that didn't work, it fails with:
## Booting image at bf04003c ...
Bad Header Checksum
Does anyone know how to fix this?
Thanks in advance!
(below is the complete bootlog)
U-Boot 1.1.5 (Apr 6 2009 - 13:54:11)
DRAM: ar7100_ddr_initial_config(237) enter!
ar7100_ddr_initial_config(269) exit!
U-Boot 1.1.5 (Apr 6 2009 - 13:54:11)
AP81 (ar7100) U-boot
sri
32 MB
WRT160NL u-boot version: 1.0.0
Top of RAM usable for U-Boot at: 82000000
Reserving 277k for U-Boot at: 81fb8000
Reserving 192k for malloc() at: 81f88000
Reserving 44 Bytes for Board Info at: 81f87fd4
Reserving 36 Bytes for Global Data at: 81f87fb0
Reserving 128k for boot params() at: 81f67fb0
Stack Pointer at: 81f67f98
Now running in RAM - U-Boot at: 81fb8000
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
ag7100 get ethaddr for device eth0
Fetching MAC Address from 0x81feaf20
--------***** Get the RTL8306SD Manufactory ID=34dc *****-------
Reg6: speed=0 nway=1 duplex=1
Reg5: speed=0 nway=0 duplex=0
Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 a5=0
Reg1: a1=7fd9 a2=2890 a3=115c a4=2890
Reg1: a1=7fd9 a2=2890 a3=115c a4=2890
Reg1: a1=7fd9 a2=2890 a3=115c a4=2890
Reg1: a1=7fd9 a2=2890 a3=115c a4=2890
eth0: 00:23:69:b5:b3:c9
eth0 up
eth0
### main_loop entered: bootdelay=1
Hit any key to stop autoboot: 0
## Booting image at bf04003c ...
Image Name: MIPS OpenWrt Linux-2.6.30.5
Created: 2009-09-08 9:53:12 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1234738 Bytes = 1.2 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... Bad Data CRC
check link duplex:Full/speed:100
dup 1 speed 100
Tftpd start listening on port[69]!
Load address: 0x80060000
this is the output while flashing the image:
ar7100> upgrade code.bin
check link duplex:Full/speed:100
Tftpd start listening on port[69]!
Load address: 0x80060000
Receiving firmware [code.bin] from [192.168.1.2]
Write File : CODE.BIN
#
Current Code Pattern:NL16 , Upgrade Code Pattern:NL16
Code Pattern is correct!
################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################################
done
Bytes transferred = 2837548 (2b4c2c hex)
load addr= 0x80060000
boot file= CODE.BIN
NetBootFileXferSize= 002b4c2c
Erase linux kernel block !!
From bf040000 To bf7dffff
Erase Flash from 0xbf040000 to 0xbf7dffff in Bank # 1
First 0x4 last 0x7d sector size 0x10000 125
Erased 122 sectors
Programming.........
Copy to Flash... write addr: bf040000
done
ar7100> boot
## Booting image at bf04003c ...
Image Name: MIPS OpenWrt Linux-2.6.30.5
Created: 2009-09-08 9:53:12 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1234738 Bytes = 1.2 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... Bad Data CRC