I knowingly uploaded wrong cfe from different model, router wakes up and working in some way (tftp is working).
CFE> w
eg. w [hostip:]whole_image_file_name
*** command status = -2
CFE> w 192.168.1.111:mtdblock7
Loading 192.168.1.111:mtdblock7 ...
Finished loading 4194304 bytes
Illegal whole flash image
Finished flashing image.
*** command status = -1
This is whole flash image for my model but tftp refuses bigger files than 4 194 304 b. (got it from backup dev/mtdblock7) and ofcourse real size is (16 777 216 b)
CFE> w 192.168.1.111:cfe-evg2000.bin
Loading 192.168.1.111:cfe-evg2000.bin ...
Finished loading 131072 bytes
Illegal whole flash image
Finished flashing image.
*** command status = -1
1. Its possible to prepare "whole image" (which will contain only cfe) will accepted by cfe (and it overwrite itself)?
2.
CFE> sm
sm address_in_hex value_in_hex size_4_2_or_1*** command status = 0
CFE>
2. Maybe by this way ? but how ? i have backup copy orginal cfe from my router but how to load it. I can type that manually line by line in worst case (only 131 056 lines)
3. JTAG not real possible (pogopins)
4.
CFE> f -noheader 192.168.1.111:cfe-evg2000.bin flash1.boot
Invalid switch: -noheader
*** command status = -8
bcm63xx cfes made totally user friendly
5.
CFE> f 192.168.1.111:cfe-evg2000.bin
Loading 192.168.1.111:cfe-evg2000.bin ...
Finished loading 131072 bytes
Firmware tag version [0] is not compatible with the current Tag version [6].
*** command status = -1
6. or i need create openwrt image which cfe will acept and use mtd tool - but its hardest way for me
7.
CFE> sm 0xb8000688 39 50 56 47 4
sm address_in_hex value_in_hex size_4_2_or_1b8000688: 38 4d 56 57 8MVW
*** command status = 0
CFE>
whats doing wrong ? how to change that values?
(Last edited by broadcom on 14 Oct 2013, 11:06)