CFE compressors available for some neutered Linksys units

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13  Next
Author Message
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Wed Oct 28, 2009 17:46    Post subject: Reply with quote
beyondwind wrote:

I flashed in serial console with CFE128.bin from GS V7.2

flash -noheader 192.168.1.100:cfe128.bin flash1.boot

after reboot, flashed microplus in serial console.
flash -noheader 192.168.1.100:dd-wrt.v24-13000_NEWD_micro-plus_ssh.bin flash1.trx


Glad you got it running but that doesn't test the compressor. Just confirms that the compressed cfe runs.

_________________
[Moderator Deleted] Shocked
Sponsor
beyondwind
DD-WRT Novice


Joined: 27 Oct 2009
Posts: 19

PostPosted: Wed Oct 28, 2009 19:29    Post subject: Reply with quote
I just tried the compressor for GSv7 and it is a no go. any nvram setting need to be changed to enable TFTP loading?

Here are the serial console log for compressor:

Device eth0: hwaddr 00-1A-70-xx-xx-xx, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3732 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029029
Linux version 2.4.35 (root@tornado) (gcc version 3.4.4 (OpenWrt-2.0)) #149 Wed Aug 6 03:43:23 EDT 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 1 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
init pci
PCI: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
Number of erase regions: 2
Primary Vendor Command Set: 0003 (Intel/Sharp Standard)
Primary Algorithm Table at 0035
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum: 2.7 V
Vcc Maximum: 3.6 V
Vpp Minimum: b.4 V
Vpp Maximum: c.6 V
Typical byte/word write timeout: 32 µs
Maximum byte/word write timeout: 512 µs
Full buffer write not supported
Typical block erase timeout: 1024 ms
Maximum block erase timeout: 8192 ms
Chip erase not supported
Device size: 0x200000 bytes (2 MiB)
Flash Device Interface description: 0x0001
- x16-only asynchronous interface
Max. bytes in buffer write: 0x1
Number of Erase Block Regions: 2
Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
Erase Region #1: BlockSize 0x10000 bytes, 31 blocks
Feature/Command Support: 0066
- Chip Erase: unsupported
- Suspend Erase: supported
- Suspend Program: supported
- Legacy Lock/Unlock: unsupported
- Queued Erase: unsupported
- Instant block lock: supported
- Protection Bits: supported
- Page-mode read: unsupported
- Synchronous read: unsupported
Supported functions after Suspend: 01
- Program after Erase Suspend: supported
Block Status Register Mask: 0003
- Lock Bit Active: yes
- Valid Bit Active: yes
Vcc Logic Supply Optimum Program/Erase Voltage: 0.3 V
Vpp Programming Supply Optimum Program/Erase Voltage: 0.0 V
cfi_cmdset_0001: Erase suspend on write enabled
Using word write method
Flash device: 0x200000 at 0x1c000000
Physically mapped flash: cannot detect TRX header. must be VXWORKS bootloader
flashing bootloader at 0
Unlocking 0x00000000
Unlocking 0x00002000
Unlocking 0x00004000
Unlocking 0x00006000
Unlocking 0x00008000
Unlocking 0x0000A000
Unlocking 0x0000C000
Unlocking 0x0000E000
flashing bootloader at 10000
Unlocking 0x00010000
erasing at 20000
Unlocking 0x00020000
erasing at 30000
Unlocking 0x00030000
erasing at 40000
Unlocking 0x00040000
erasing at 50000
Unlocking 0x00050000
erasing at 60000
Unlocking 0x00060000
erasing at 70000
Unlocking 0x00070000
erasing at 80000
Unlocking 0x00080000
erasing at 90000
Unlocking 0x00090000
erasing at A0000
Unlocking 0x000A0000
erasing at B0000
Unlocking 0x000B0000
erasing at C0000
Unlocking 0x000C0000
erasing at D0000
Unlocking 0x000D0000
erasing at E0000
Unlocking 0x000E0000
erasing at F0000
Unlocking 0x000F0000
erasing at 100000
Unlocking 0x00100000
erasing at 110000
Unlocking 0x00110000
erasing at 120000
Unlocking 0x00120000
erasing at 130000
Unlocking 0x00130000
erasing at 140000
Unlocking 0x00140000
erasing at 150000
Unlocking 0x00150000
erasing at 160000
Unlocking 0x00160000
erasing at 170000
Unlocking 0x00170000
erasing at 180000
Unlocking 0x00180000
erasing at 190000
Unlocking 0x00190000
erasing at 1A0000
Unlocking 0x001A0000
erasing at 1B0000
Unlocking 0x001B0000
erasing at 1C0000
Unlocking 0x001C0000
erasing at 1D0000
Unlocking 0x001D0000
erasing at 1E0000
Unlocking 0x001E0000
erasing at 1F0000
Unlocking 0x001F0000
Decompressing..........done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Wed Aug 6 03:11:23 EDT 2008 (tornado@dd-wrt.com)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29029: 240MHz
Total memory: 8192 KBytes

Total memory used by CFE: 0x80700000 - 0x807977D0 (620496)
Initialized Data: 0x8072E860 - 0x80730FB0 (10064)
BSS Area: 0x80730FB0 - 0x807317D0 (2080)
Local Heap: 0x807317D0 - 0x807957D0 (409600)
Stack Area: 0x807957D0 - 0x807977D0 (8192)
Text (code) segment: 0x80700000 - 0x8072E860 (190560)
Boot area (physical): 0x006BF000 - 0x006FF000
Relocation Factor: I:00000000 - D:00000000

Committing NVRAM...done
úDecompressing..........doneease...done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Wed Aug 6 03:11:23 EDT 2008 (tornado@dd-wrt.com)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.5
CPU type 0x29029: 240MHz
Total memory: 16384 KBytes

Total memory used by CFE: 0x80700000 - 0x807977D0 (620496)
Initialized Data: 0x8072E860 - 0x80730FB0 (10064)
BSS Area: 0x80730FB0 - 0x807317D0 (2080)
Local Heap: 0x807317D0 - 0x807957D0 (409600)
Stack Area: 0x807957D0 - 0x807977D0 (8192)
Text (code) segment: 0x80700000 - 0x8072E860 (190560)
Boot area (physical): 0x00798000 - 0x007D8000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-1A-70-xx-xx-xx, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Invalid boot block on disk
Reading :: Failed.: Timeout occured
Reading :: Failed.: Timeout occured

CFE> nvram show
opo=12
il0macaddr=00:1A:70:xxC:xx:xx
boardrev=0x10
et0macaddr=00:1a:70:xx:xx:xx
watchdog=3000
boot_wait=on
et0mdcport=0
bxa2g=1
pmon_ver=CFE 4.151.10.5.DD20071112
vlan0ports=3 2 1 0 5*
sromrev=3
boardtype=0x048e
lan_netmask=255.255.255.0
wl0id=0x4318
ag0=2
wl0gpio0=2
xtalfreq=25000
wl0gpio1=3
wl0gpio2=11
wl0gpio3=11
wait_time=10
rssismc2g=2
pa0itssit=62
rxpo2g=0xfff8
rssisav2g=2
pa0maxpwr=72
custom_cfe=Redhawk
clkfreq=240
lan_ipaddr=192.168.1.1
vlan1hwname=et0
aa0=3
sdram_config=0x0032
vlan1ports=4 5
ccode=0
rssismf2g=0
boardflags=0x750
wandevs=et0
sdram_refresh=0
sdram_ncdl=0x30828
et0phyaddr=30
landevs=vlan0 wl0
pa0b0=0x141a
pa0b1=0xfb16
pa0b2=0xfeb0
sdram_init=0x000a
vlan0hwname=et0
tri2g=78
et1phyaddr=0x1f
boardnum=42
size: 752 bytes (32016 left)


Last edited by beyondwind on Wed Oct 28, 2009 19:32; edited 1 time in total
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Wed Oct 28, 2009 19:31    Post subject: Reply with quote
Ah I uploaded my through the GUI. Are you using the WRT54Gv8.x compressor?


Code:
CFE version 1.0.37 for BCM947XX


I think your using the wrong CFE compressor

_________________
The New Me
beyondwind
DD-WRT Novice


Joined: 27 Oct 2009
Posts: 19

PostPosted: Wed Oct 28, 2009 19:51    Post subject: Reply with quote
DHC_DarkShadow wrote:
Ah I uploaded my through the GUI. Are you using the WRT54Gv8.x compressor?


Code:
CFE version 1.0.37 for BCM947XX


I think your using the wrong CFE compressor


I used CFE_Updater-Gv8.X-comp.bin in GUI.
The CFE updated OK but it just won't automatically flash from tftp during the first boot. i can manually flash the micro plus kernel.

update:
just tried CFE-Updater-Gv8-GSv7-v3.bin through gui, also showing
Code:
CFE version 1.0.37 for BCM947XX
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Wed Oct 28, 2009 22:08    Post subject: Reply with quote
beyondwind wrote:
I used CFE_Updater-Gv8.X-comp.bin in GUI.
The CFE updated OK but it just won't automatically flash from tftp during the first boot. i can manually flash the micro plus kernel.

update:
just tried CFE-Updater-Gv8-GSv7-v3.bin through gui, also showing
Code:
CFE version 1.0.37 for BCM947XX


I just redid mine again, Initial TFTP of the compressor.bin I cannot get to got(same as 7.2),but it does update through the GUI and after waiting 3 min.s and the power cycle TFTPing the firmware on goes without a hitch both GS 7.0 and 7.2


What is the first four digits of the serial number on your v7.0?

_________________
The New Me
beyondwind
DD-WRT Novice


Joined: 27 Oct 2009
Posts: 19

PostPosted: Wed Oct 28, 2009 22:20    Post subject: Reply with quote
DHC_DarkShadow wrote:
beyondwind wrote:
I used CFE_Updater-Gv8.X-comp.bin in GUI.
The CFE updated OK but it just won't automatically flash from tftp during the first boot. i can manually flash the micro plus kernel.

update:
just tried CFE-Updater-Gv8-GSv7-v3.bin through gui, also showing
Code:
CFE version 1.0.37 for BCM947XX


I just redid mine again, Initial TFTP of the compressor.bin I cannot get to got(same as 7.2),but it does update through the GUI and after waiting 3 min.s and the power cycle TFTPing the firmware on goes without a hitch both GS 7.0 and 7.2


What is the first four digits of the serial number on your v7.0?



serial number: CGNB1g39xxxx

which compressor.bin are you using? from my serial console I see:

Device eth0: hwaddr 00-1A-70-xx-xx-xx, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
***normally TFTP attempts here *****
Invalid boot block on disk
Reading :: Failed.: Timeout occured

there are no TFTP attempts made by the CFE. I am wondering whether it is related to the nvram setting.
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Wed Oct 28, 2009 22:33    Post subject: Reply with quote
Ah, dunno if it has anything to do with it, mine is CGNC the second gen v7.0.


I am using CFE_Updater-Gv8.X-comp.bin from the original post page 1. The firmware I am TFTPing on is not SSH, don't think that makes a difference. I use the web GUI to upload the compressor bin then use TFTP to upload the firmware.

_________________
The New Me
voltaire
DD-WRT Novice


Joined: 27 Oct 2009
Posts: 2

PostPosted: Thu Oct 29, 2009 20:06    Post subject: Noob with a theory Reply with quote
Ok, so I compressed the CFE on a WRT54Gv8 and like 4 other posters to this thread and the "Going back from 128K" thread (3 of which who also had v8's) I had significant problems. The exact same problems they had: slowness, lockups, CPU load spiking eventually to 100% etc...

Due to my meticulous following of the procedures, 30/30/30 resets before and after, reading and re-reading of the peacock thread, and the fact that I'm not alone, I am convinced that there's another variable besides user error. But wait there's more - I've actually got a good noob WAG what that variable might be!!

During my due-diligence before touching this router (because it's my sister's) I ran across a thread that discussed hardware differences between WRT54Gv8.0's. I didn't bookmark the thread, but I remember the key fact. Most v8.0's have two Broadcomm chips, but some v8.0's have one Broadcomm and one EON chip. This router is one of the EON-having kind, I know because I cracked it open just to see.

So... That's my noob WAG - that the EON chip-bearing v8.0's have problems with this CFE compression in it's current form.

-Does anybody here who knows more than me (read: everyone) have any opinion on whether this WAG has any merit? Would having one Broadcomm and one EON chip in the router have anything to do with CFE compression complications?

-Do any of you other people who had problems with CFE-compression on a v8.0 have an EON chip? There's no screws, you just gotta pull the blue plastic away from the black plastic - it snaps apart and snaps right back together again.

-Has anyone with a v8.0 that has an EON chip successfully compressed the CFE without resulting complications?

Maybe we can save some others the aggravation if my WAG is true, and warn others burdened with EON chips away from doing the CFE-compression. I'm off to do a VXworksREVERT and be forever scarred with an incorrect MAC address, and cross my fingers that fixes it so I don't having any 'splaining to do to my sis.
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Thu Oct 29, 2009 22:32    Post subject: Reply with quote
Sorry mine has an EoN flash chip and I didn't experience any of the problem you are describing.
_________________
The New Me
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Fri Nov 06, 2009 3:43    Post subject: Reply with quote
barryware wrote:
I backed up the compressed cfe via http. The edited the sdram init, then plowed the compressed cfe back. Now it always has 16mb ram even after a hard reset.
I just Flashed my new GSv6 with that CFE, works great.


Red and T, PM me if you want me to do any testing for compressors for these units. I have in my possession a GSv5, GSv6, and a GSv7.

_________________
The New Me
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Sat Nov 14, 2009 19:31    Post subject: Reply with quote
DHC_DarkShadow wrote:
barryware wrote:
I backed up the compressed cfe via http. The edited the sdram init, then plowed the compressed cfe back. Now it always has 16mb ram even after a hard reset.
I just Flashed my new GSv6 with that CFE, works great.


Red and T, PM me if you want me to do any testing for compressors for these units. I have in my possession a GSv5, GSv6, and a GSv7.


Any easy way to compress it as of now? From what I can tell you took a CFE from another unit, edited it, and flashed it onto the GSv6. I know it's possible to change a cfe using telnet/ssh.
bail_w
DD-WRT User


Joined: 16 Dec 2008
Posts: 57

PostPosted: Tue Nov 24, 2009 6:41    Post subject: Reply with quote
i flashed my wrt54g v6 to the CFE compress but now i want to go back. Someone point at a direction?
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Nov 24, 2009 6:45    Post subject: Reply with quote
bail_w wrote:
i flashed my wrt54g v6 to the CFE compress but now i want to go back. Someone point at a direction?


Search for JTAG in the Wiki

_________________
The New Me
bail_w
DD-WRT User


Joined: 16 Dec 2008
Posts: 57

PostPosted: Tue Nov 24, 2009 7:11    Post subject: Reply with quote
ya, i just want to make sure if jtag is the only way to go back or not.

Thanks
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Tue Nov 24, 2009 12:39    Post subject: Reply with quote
bail_w wrote:
ya, i just want to make sure if jtag is the only way to go back or not.

Thanks


Yes...if the compressor is used...the only way to revert is JTAG.

redhawk

_________________
The only stupid question....is the unasked one.
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13  Next Display posts from previous:    Page 10 of 13
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum