OpenWrt Forum Archive

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

The content of this topic has been archived between 8 Feb 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

cshore wrote:
gianfranco74 wrote:

@Araks
I can actually tag the image correctly with bc300, while if I use bc310 CFE httpd refuses it.
Anyway, I've seen the post in the dev mailling list, so let's wait :-)

Ciao.

CFE can have different requirements than web interface flashing, which are incompatible with each other, especially for Pirelli stuff where they made changes from the Broadcom source

I meant the mini-httpd accessible when stopping the boot at CFE. Strangly, with last build I did (I believe was r 17408), I had to use bc310.... Something changed?

cshore wrote:

Just so you know I've waited for reply on this, but no one else seems to have a comment, so as I get time I'll probably work on it anyway.  I expect a patch will be accepted, but I had hoped for more interaction with the devs (of which I will hopefully be one soon), before going ahead with it.

Actually, I didn't know if was needed to respond and how to do it. Sorry for misunderstanding and incapacity :-)

cshore wrote:

I believe the patch was accepted awhile ago, but if you could open a ticket for the CRC problem that would be helpful

I will.
Just one more thing: I've sent a patch in order to support Alice Gate W2+ but no answer/feedback. What should I do?

Thank you. Ciao.

(Last edited by gianfranco74 on 4 Sep 2009, 11:03)

cshore wrote:
harry1985 wrote:

Hi, is there anybody use the vlan on 6358 board?
I meet some issues for the vlan.
I can just ssh from my host to the board, but fail to do scp.
While on the board, I can scp files to my host.
I've heard that this is a bug for 5325 switch. Is there any solution for this?

vlan is currently buggy.  I've just pinged Maxime on this, so I'll let you know what he says.

Thanks cshore. My email liukang1985@gmail.com.
Just send me a mail if you need me to do some test.

Hi all,

I have a bcm6358 based router and try to run Owrt on it.
The device info are (from http://192.168.1.1/):

Board ID:      96358VW2
Software Version:     3.10L.02.A2pB022g.d20h
Bootloader (CFE) Version:     1.0.37-10.3
Wireless Driver Version:     4.150.10.5.cpe2.0

and dmesg:

[root@AntoPC001 urjtag-0.10]# telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
Login: admin
Password:
Login incorrect. Try again.
Login: admin
Password:
> sh


BusyBox v1.00 (2009.07.23-06:50+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# dmesg
Linux version 2.6.8.1 (root@localhost.localdomain) (gcc version 3.4.2) #1 Thu Jul 23 14:43:34 CST 2009
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
96358VW2 prom init
CPU revision is: 0002a010
Determined physical RAM map:
memory: 01fa0000 @ 00000000 (usable)
On node 0 totalpages: 8096
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 4000 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
brcm mips: enabling icache and dcache...
Primary instruction cache 32kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB 2-way, linesize 16 bytes.
PID hash table entries: 128 (order 7: 1024 bytes)
Using 150.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29516k/32384k available (1757k kernel code, 2824k reserved, 486k data, 76k init, 0k highmem)
Calibrating delay loop... 299.00 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
Total Flash size: 16384K with 128 sectors
File system address: 0xbe7e0100
Can't analyze prologue code at 801c5c74
SCSI subsystem initialized
usbcore: registered new driver hub
Initializing Cryptographic API
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Using noop io scheduler
bcm963xx_mtd driver v1.0
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
ehci_hcd 0000:00:0a.0: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:0a.0 to 64
ehci_hcd 0000:00:0a.0: irq 18, pci mem c0000300
ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
PCI: cache line size of 32 is not supported by device 0000:00:0a.0
ehci_hcd 0000:00:0a.0: USB f.f enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
ohci_hcd 0000:00:09.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:09.0 to 64
ohci_hcd 0000:00:09.0: irq 13, pci mem c0001400
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry
SES: Button Interrupt 0x3 is enabled
XXXXXXX: wifiBtn_mapIntr Enter
XXXXXX: WIFI: Button Interrupt 0x0 is enabled
SES: LED GPIO 0x8018 is enabled
Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xfffe0100 (irq = 10) is a BCM63XX
ttyS1 at MMIO 0xfffe0120 (irq = 11) is a BCM63XX
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 76k freed
Algorithmics/MIPS FPU Emulator v1.5
atmapi: module license 'Proprietary' taints kernel.
adsl: adsl_init entry
blaadd: blaa_detect entry
fuse init (API version 7.8)
fuse distribution version: 2.7.3
BCMPROCFS v1.0 initialized
BCM6358A1 Ethernet Network Device v0.3 Jul 23 2009 14:41:34
Config Ethernet Switch Through MDIO Pseudo PHY Interface
switch type = BCM5325E.
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered
eth0: MAC Address: 00:1F:A3:7F:F0:4B
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
wl: srom not detected, using main memory mapped srom info (wombo board)
wl0: wlc_attach: use mac addr from the system pool by id: 0x776c0000
wl0: MAC Address: 00:1F:A3:7F:F0:4C
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5.cpe2.0
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
eth0 Link UP.
BcmAdsl_Initialize=0xC005D3D8, g_pFnNotifyCallback=0xC00762B4
AnnexCParam=0x7FFF7EA8 AnnexAParam=0x00000980 adsl2=0x00000000
pSdramPHY=0xA1FFFFF8, 0xFF00FF0 0xFF00FF0
AdslCoreHwReset: AdslOemDataAddr = 0xA1FFD3D4
AnnexCParam=0x7FFF7EA8 AnnexAParam=0x00000980 adsl2=0x00000000
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
ATM proc init !!!
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
____________0x0______
device wl0 entered promiscuous mode
br0: port 2(wl0) entering learning state
br0: topology change detected, propagating
br0: port 2(wl0) entering forwarding state
device nas_0_8_35 entered promiscuous mode
br0: port 3(nas_0_8_35) entering learning state
br0: topology change detected, propagating
br0: port 3(nas_0_8_35) entering forwarding state
device eth0 left promiscuous mode
br0: port 1(eth0) entering disabled state
device wl0 left promiscuous mode
br0: port 2(wl0) entering disabled state
device nas_0_8_35 left promiscuous mode
br0: port 3(nas_0_8_35) entering disabled state
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
device wl0 entered promiscuous mode
br0: port 2(wl0) entering learning state
br0: topology change detected, propagating
br0: port 2(wl0) entering forwarding state
device nas_0_8_35 entered promiscuous mode
br0: port 3(nas_0_8_35) entering learning state
br0: topology change detected, propagating
br0: port 3(nas_0_8_35) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
br0: port 1(eth0) entering disabled state
eth0 Link UP.
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 002f8000 00008000 "Physically mapped flash"
#
#
#
# sysinfo
Number of processes: 25
12:12am  up 12 min,
load average: 1 min:0.00, 5 min:0.00, 15 min:0.00
              total         used         free       shared      buffers
  Mem:        29636        15224        14412            0         1664
Swap:            0            0            0
Total:        29636        15224        14412
#
#
#
# cat /proc/cpuinfo
system type             : 96358VW2
processor               : 0
cpu model               : BCM6358 V1.0
BogoMIPS                : 299.00
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
unaligned access                : 19375
VCED exceptions         : not available
VCEI exceptions         : not available
#

I work with Owrt svn r 17505.
I add the following patch:

Index: target/linux/brcm63xx/image/Makefile
===================================================================
--- target/linux/brcm63xx/image/Makefile        (revision 17505)
+++ target/linux/brcm63xx/image/Makefile        (working copy)
@@ -45,6 +45,14 @@
                -v 8 -m IMAGE -k 0x20000 -n $(4) -t $(5)
 endef
 
+define Image/Build/RG100A
+       # Generate the tagged image
+       $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
+               -o $(BIN_DIR)/openwrt-$(6)-$(1)-$(7)-cfe.bin \
+               -b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR) \
+               -k 0x20000 -n $(4) -t $(5)
+endef
+
 define Image/Build/RedBoot
        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(1)-vmlinux.elf
        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
@@ -172,6 +180,9 @@
        # Pirelli A226G
        $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,bccfe,,bccfe)
        $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,ag306,DWV_96358,a226g)
+       # RG100A,DB120 etc.
+       $(call Image/Build/RG100A,$(1),96358VW2,6358,0x20000,bc310,rg100a,bc310)
+       $(call Image/Build/RG100A,$(1),96358VW2,6358,0x20000,bc300,db120,bc300)
 endef
 
 $(eval $(call BuildImage))

I stop CFE autostart and write openwrt-rg100a-squashfs-bc310-cfe.bin with browser.

CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)                             
Build Date: Thu Dec 18 17:13:09 HKT 2008 (root@lijian)                         
Copyright (C) 2000-2006 Broadcom Corporation.                                   
                                                                               
Boot Address 0xbe000000                                                         
                                                                               
Initializing Arena.                                                             
Initializing Devices.                                                           
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB               
Flash Layout: Boot[127,0xbefe0000] Kern[1,0xbe020000]                           
              AuxFS[125,0xbefa0000] Misc[125,0xbefa0000] PSI[127,0xbefe0000]   
Flash RootFS Partition Length: 16252928                                         
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz                               
CPU running TP0                                                                 
Total memory: 33554432 bytes (32MB)                                             
                                                                               
Total memory used by CFE:  0x80401000 - 0x805289D0 (1210832)                   
Initialized Data:          0x8041E110 - 0x804201D0 (8384)                       
BSS Area:                  0x804201D0 - 0x804269D0 (26624)                     
Local Heap:                0x804269D0 - 0x805269D0 (1048576)                   
Stack Area:                0x805269D0 - 0x805289D0 (8192)                       
Text (code) segment:       0x80401000 - 0x8041E110 (119056)                     
Boot area (physical):      0x00529000 - 0x00569000                             
Relocation Factor:         I:00000000 - D:00000000                             
                                                                               
Board IP address                  : 192.168.1.1:ffffff00                       
Host IP address                   : 192.168.1.100                               
Gateway IP address                : 192.168.1.100                               
Run from flash/host (f/h)         : f                                           
Default host run file name        : vmlinux                                     
Default host flash file name      : bcm963xx_fs_kernel                         
Boot delay (0-9 seconds)          : 1                                           
Board Id (0-8)                    : 96358VW2                                   
Number of MAC Addresses (1-32)    : 11                                         
Base MAC Address                  : 00:1f:a3:7f:f0:14                           
PSI Size (1-64) KBytes            : 24                                         
Flash Block Size (1-128) in KBytes: 0                                           
Auxillary File System Size Percent: 0                                           
Main Thread Number [0|1]          : 0                                           
                                                                               
udp_send finished                                                               
No answer .auto boot ...                                                       
*** Press any key to stop auto run (1 seconds) ***                             
Auto run second count down: 1                                                   
web info: Waiting for connection on socket 0.                                   
web info: Waiting for connection on socket 1.                                   
web info: Waiting for connection on socket 0.                                   
web info: Waiting for connection on socket 1.                                   
web info: Upload 2359300 bytes, Broadcom image format.                         
CFE>                                                                           
Flashing root file system and kernel at 0xbe7e0000: ...................         
                                                                               
.                                                                               
*** Image flash done *** !                                                     
                                                                               
Resetting board...                                                             
                                                                               
CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)                             
Build Date: Thu Dec 18 17:13:09 HKT 2008 (root@lijian)                         
Copyright (C) 2000-2006 Broadcom Corporation.                                   
                                                                               
Boot Address 0xbe000000                                                         
                                                                               
Initializing Arena.                                                             
Initializing Devices.                                                           
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB               
Flash Layout: Boot[127,0xbefe0000] Kern[1,0xbe020000]                           
              AuxFS[125,0xbefa0000] Misc[125,0xbefa0000] PSI[127,0xbefe0000]   
Flash RootFS Partition Length: 16252928                                         
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz                               
CPU running TP0                                                                 
Total memory: 33554432 bytes (32MB)                                             
                                                                               
Total memory used by CFE:  0x80401000 - 0x805289D0 (1210832)                   
Initialized Data:          0x8041E110 - 0x804201D0 (8384)                       
BSS Area:                  0x804201D0 - 0x804269D0 (26624)                     
Local Heap:                0x804269D0 - 0x805269D0 (1048576)                   
Stack Area:                0x805269D0 - 0x805289D0 (8192)                       
Text (code) segment:       0x80401000 - 0x8041E110 (119056)                     
Boot area (physical):      0x00529000 - 0x00569000                             
Relocation Factor:         I:00000000 - D:00000000                             
                                                                               
Board IP address                  : 192.168.1.1:ffffff00                       
Host IP address                   : 192.168.1.100                               
Gateway IP address                : 192.168.1.100                               
Run from flash/host (f/h)         : f                                           
Default host run file name        : vmlinux                                     
Default host flash file name      : bcm963xx_fs_kernel                         
Boot delay (0-9 seconds)          : 1                                           
Boot image (0=latest, 1=previous) : 0                                           
Board Id (0-8)                    : 96358VW2                                   
Number of MAC Addresses (1-32)    : 11                                         
Base MAC Address                  : 00:1f:a3:7f:f0:14                           
PSI Size (1-64) KBytes            : 24                                         
Flash Block Size (1-128) in KBytes: 0                                           
Auxillary File System Size Percent: 0                                           
Main Thread Number [0|1]          : 0                                           
                                                                               
udp_send finished                                                               
No answer .auto boot ...                                                       
*** Press any key to stop auto run (1 seconds) ***                             
Auto run second count down: 0                                                   
Booting from latest image (0xbe7e0000) ...                                     
Code Address: 0x80010000, Entry Address: 0x80010000                             
Decompression OK!                                                               
Entry at 0x80010000                                                             
Closing network.                                                               
Starting program at 0x80010000                                                 
Linux version 2.6.27.30 (antonello@AntoPC001) (gcc version 4.1.2) #15 Mon Sep 14
12:42:13 CEST 2009                                                             
Detected Broadcom 0x6358 CPU revision a1                                       
CPU frequency is 300000000 Hz                                                   
32MB of RAM installed                                                           
registering 40 GPIOs                                                           
board_bcm963xx: CFE version: 1.0.37-10.3                                       
board_bcm963xx: invalid nvram checksum                                         
console [early0] enabled                                                       
CPU revision is: 0002a010 (Broadcom BCM6358)                                   
Kernel panic - not syncing: unable to detect bcm963xx board

Next, I add the followinf patch:

--- arch/mips/bcm63xx/boards/board_bcm963xx.c   2009-09-14 12:53:14.000000000 +0200
+++ arch/mips/bcm63xx/boards/board_bcm963xx.c.orig      2009-09-14 12:37:49.000000000 +0200
@@ -639,12 +639,9 @@
                val += *p;
        if (val) {
                printk(KERN_ERR PFX "invalid nvram checksum\n");
-               printk(KERN_ERR PFX "STUB: force board to type 96358VW2!!!!!\n");
-               //return;
+               return;
        }
 
-       strcpy(nvram.name, "96358VW2");
-
        /* find board by name */
        for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
                if (strncmp(nvram.name, bcm963xx_boards[i]->name,

Now owrt provides support up to console.


*** Image flash done *** !                                                     
                                                                               
Resetting board...                                                             
                                                                               
CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)                             
Build Date: Thu Dec 18 17:13:09 HKT 2008 (root@lijian)                         
Copyright (C) 2000-2006 Broadcom Corporation.                                   
                                                                               
Boot Address 0xbe000000                                                         
                                                                               
Initializing Arena.                                                             
Initializing Devices.                                                           
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB               
Flash Layout: Boot[127,0xbefe0000] Kern[1,0xbe020000]                           
              AuxFS[125,0xbefa0000] Misc[125,0xbefa0000] PSI[127,0xbefe0000]   
Flash RootFS Partition Length: 16252928                                         
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz                               
CPU running TP0                                                                 
Total memory: 33554432 bytes (32MB)                                             
                                                                               
Total memory used by CFE:  0x80401000 - 0x805289D0 (1210832)                   
Initialized Data:          0x8041E110 - 0x804201D0 (8384)                       
BSS Area:                  0x804201D0 - 0x804269D0 (26624)                     
Local Heap:                0x804269D0 - 0x805269D0 (1048576)                   
Stack Area:                0x805269D0 - 0x805289D0 (8192)                       
Text (code) segment:       0x80401000 - 0x8041E110 (119056)                     
Boot area (physical):      0x00529000 - 0x00569000                             
Relocation Factor:         I:00000000 - D:00000000                             
                                                                               
Board IP address                  : 192.168.1.1:ffffff00                       
Host IP address                   : 192.168.1.100                               
Gateway IP address                : 192.168.1.100                               
Run from flash/host (f/h)         : f                                           
Default host run file name        : vmlinux                                     
Default host flash file name      : bcm963xx_fs_kernel                         
Boot delay (0-9 seconds)          : 1                                           
Boot image (0=latest, 1=previous) : 0                                           
Board Id (0-8)                    : 96358VW2                                   
Number of MAC Addresses (1-32)    : 11                                         
Base MAC Address                  : 00:1f:a3:7f:f0:14                           
PSI Size (1-64) KBytes            : 24                                         
Flash Block Size (1-128) in KBytes: 0                                           
Auxillary File System Size Percent: 0                                           
Main Thread Number [0|1]          : 0                                           
                                                                               
udp_send finished                                                               
No answer .auto boot ...                                                       
*** Press any key to stop auto run (1 seconds) ***                             
Auto run second count down: 0                                                   
Booting from latest image (0xbe7e0000) ...                                     
Code Address: 0x80010000, Entry Address: 0x80010000                             
Decompression OK!                                                               
Entry at 0x80010000                                                             
Closing network.                                                               
Starting program at 0x80010000                                                 
Linux version 2.6.27.30 (antonello@AntoPC001) (gcc version 4.1.2) #16 Mon Sep 14
12:55:44 CEST 2009                                                             
Detected Broadcom 0x6358 CPU revision a1                                       
CPU frequency is 300000000 Hz                                                   
32MB of RAM installed                                                           
registering 40 GPIOs                                                           
board_bcm963xx: CFE version: 1.0.37-10.3                                       
board_bcm963xx: invalid nvram checksum                                         
board_bcm963xx: STUB: force board to type 96358VW2!!!!!                         
console [early0] enabled                                                       
CPU revision is: 0002a010 (Broadcom BCM6358)                                   
board_bcm963xx: board name: 96358VW2                                           
Determined physical RAM map:                                                   
memory: 02000000 @ 00000000 (usable)                                           
Initrd not found or empty - disabling initrd                                   
Zone PFN ranges:                                                               
  Normal   0x00000000 -> 0x00002000                                             
Movable zone start PFN for each node                                           
early_node_map[1] active PFN ranges                                             
    0: 0x00000000 -> 0x00002000                                                 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128       
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd cons
ole=ttyS0,115200                                                               
Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.                 
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes         
PID hash table entries: 128 (order: 7, 512 bytes)                               
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
Memory: 29956k/32768k available (1851k kernel code, 2812k reserved, 330k data, 1
28k init, 0k highmem)                                                           
Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)                         
Mount-cache hash table entries: 512                                             
net_namespace: 592 bytes                                                       
NET: Registered protocol family 16                                             
board_bcm963xx: not enough mac address                                         
board_bcm963xx: not enough mac address                                         
board_bcm963xx: not enough mac address                                         
registering PCI controller with io_map_base unset                               
bus: 00 index 0 io port: [8000000, 800ffff]                                     
bus: 00 index 1 mmio: [30000000, 37ffffff]                                     
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)                               
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)                                 
ssb: Unsupported SPROM revision 0 detected. Will extract v1                     
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0                 
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP established hash table entries: 1024 (order: 1, 8192 bytes)                 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                       
TCP: Hash tables configured (established 1024 bind 1024)                       
TCP reno registered                                                             
NET: Registered protocol family 1                                               
detected lzma initramfs                                                         
initramfs: LZMA lc=1,lp=2,pb=2,origSize=512                                     
audit: initializing netlink socket (disabled)                                   
type=2000 audit(0.385:1): initialized                                           
squashfs: version 3.0 (2006/03/15) Phillip Lougher                             
Registering mini_fo version $Id$                                               
JFFS2 version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.                 
msgmni has been set to 58                                                       
io scheduler noop registered                                                   
io scheduler deadline registered (default)                                     
gpiodev: gpio device registered with major 254                                 
gpiodev: gpio platform device registered with access mask FFFFFFFF             
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart           
console handover: boot [early0] -> real [ttyS0]                                 
bcm963xx_flash: 0x02000000 at 0x1e000000                                       
Number of erase regions: 1                                                     
Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)                         
Primary Algorithm Table at 0040                                                 
Alternative Vendor Command Set: 0000 (None)                                     
No Alternate Algorithm Table                                                   
Vcc Minimum:  2.7 V                                                             
Vcc Maximum:  3.6 V                                                             
No Vpp line                                                                     
Typical byte/word write timeout: 64 ?µs                                         
Maximum byte/word write timeout: 512 ?µs                                       
Typical full buffer write timeout: 64 ?µs                                       
Maximum full buffer write timeout: 2048 ?µs                                     
Typical block erase timeout: 512 ms                                             
Maximum block erase timeout: 4096 ms                                           
Typical chip erase timeout: 524288 ms                                           
Maximum chip erase timeout: 2097152 ms                                         
Device size: 0x1000000 bytes (16 MiB)                                           
Flash Device Interface description: 0x0002                                     
  - supports x8 and x16 via BYTE# with asynchronous interface                   
Max. bytes in buffer write: 0x40                                               
Number of Erase Block Regions: 1                                               
  Erase Region #0: BlockSize 0x20000 bytes, 128 blocks                         
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank                             
Amd/Fujitsu Extended Query Table at 0x0040                                     
bcm963xx: CFI does not contain boot bank location. Assuming top.               
number of CFI chips: 1                                                         
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.       
bcm963xx_flash: Read Signature value of CFE1CFE1                               
bcm963xx_flash: CFE bootloader detected                                         
bcm963xx_flash: CFE boot tag found with version 6, board type 96358VW2, and tagi
d bc300.                                                                       
bcm963xx_flash: Partition 0 is CFE offset 2000081c17de8 and length c0060100800cc
37c                                                                             
bcm963xx_flash: Partition 1 is kernel offset bff0081c17de8 and length c006010080
0cc37c                                                                         
bcm963xx_flash: Partition 2 is rootfs offset f0000081c17de8 and length c00601008
00cc37c                                                                         
bcm963xx_flash: Partition 3 is nvram offset 2000081c17de8 and length c0060100800
cc37c                                                                           
bcm963xx_flash: Partition 4 is linux offset fc000081c17de8 and length c006010080
0cc37c                                                                         
bcm963xx_flash: Spare partition is 260000 offset and length d80000             
Creating 5 MTD partitions on "bcm963xx":                                       
0x00000000-0x00020000 : "CFE"                                                   
0x00020100-0x000e0000 : "kernel"                                               
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-o
nly                                                                             
0x000e0000-0x00fe0000 : "rootfs"                                               
mtd: partition "rootfs" set to be root filesystem                               
mtd: partition "rootfs_data" created automatically, ofs=260000, len=D80000     
0x00260000-0x00fe0000 : "rootfs_data"                                           
0x00fe0000-0x01000000 : "nvram"                                                 
0x00020000-0x00fe0000 : "linux"                                                 
bcm63xx_wdt started, timer margin: 30 sec                                       
Registered led device: adsl                                                     
Registered led device: ppp-fail                                                 
Registered led device: power                                                   
Registered led device: stop                                                     
Registered led device: <NULL>                                                   
TCP westwood registered                                                         
NET: Registered protocol family 17                                             
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>                   
All bugs added by David S. Miller <davem@redhat.com>                           
VFS: Mounted root (squashfs filesystem) readonly.                               
Freeing unused kernel memory: 128k freed                                       
Please be patient, while OpenWrt loads ...                                     
- preinit -                                                                     
Press CTRL-C for failsafe                                                       
jffs2 not ready yet; using ramdisk                                             
mini_fo: using base directory: /                                               
mini_fo: using storage directory: /tmp/root                                     
- init -                                                                       
                                                                               
Please press Enter to activate this console. cfg80211: Calling CRDA to update wo
rld regulatory domain                                                           
roboswitch: Probing device eth0: No such device                                 
roboswitch: Probing device eth1: No such device                                 
roboswitch: Probing device eth2: No such device                                 
roboswitch: Probing device eth3: No such device                                 
b43-phy0: Broadcom 4318 WLAN found (core revision 9)                           
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]                 
PPP generic driver version 2.4.2                                               
ip_tables: (C) 2000-2006 Netfilter Core Team                                   
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)                             
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0                 
jffs2_build_filesystem(): unlocking the mtd device... done.                     
jffs2_build_filesystem(): erasing all blocks after the end marker... done.     
mini_fo: using base directory: /                                               
mini_fo: using storage directory: /jffs                                         
                                                                               
                                                                               
                                                                               
BusyBox v1.13.4 (2009-09-03 13:25:00 CEST) built-in shell (ash)                 
Enter 'help' for a list of built-in commands.                                   
                                                                               
  _______                     ________        __                               
|       |.-----.-----.-----.|  |  |  |.----.|  |_                             
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|                             
|_______||   __|_____|__|__||________||__|  |____|                             
          |__| W I R E L E S S   F R E E D O M                                 
KAMIKAZE (bleeding edge, r17505) -------------------                           
  * 10 oz Vodka       Shake well with ice and strain                           
  * 10 oz Triple sec  mixture into 10 shot glasses.                             
  * 10 oz lime juice  Salute!                                                   
---------------------------------------------------                           
                                                               
root@OpenWrt:/# cat /proc/mtd                                                   
dev:    size   erasesize  name                                                 
mtd0: 00020000 00020000 "CFE"                                                   
mtd1: 000bff00 00020000 "kernel"                                               
mtd2: 00f00000 00020000 "rootfs"                                               
mtd3: 00d80000 00020000 "rootfs_data"                                           
mtd4: 00020000 00020000 "nvram"                                                 
mtd5: 00fc0000 00020000 "linux"                                                 
root@OpenWrt:/# hexdump -C /dev/mtd0 | grep cfe-v                               
00000570  63 66 65 2d 76 01 00 25  0a 03 00 00 00 00 00 00  |cfe-v..%........| 
root@OpenWrt:/# hexdump -C /dev/mtd0 | grep 00000580                           
00000580  0f 1e 2d 3c 00 00 00 00  00 00 00 00 00 00 00 00  |..-<............| 
root@OpenWrt:/# hexdump -C /dev/mtd0 | grep CFE1                               
000004e0  43 46 45 31 43 46 45 31  00 00 00 00 00 00 00 00  |CFE1CFE1........| 
00000500  10 00 02 ba 00 00 00 00  43 46 45 31 43 46 45 31  |........CFE1CFE1| 
root@OpenWrt:/#                                                                 
root@OpenWrt:/#                                                                 
root@OpenWrt:/# hexdump -C /dev/mtd4 | grep 00000580                           
00000580  00 00 00 04 65 3d 31 39  32 2e 31 36 38 2e 31 2e  |....e=192.168.1.| 
root@OpenWrt:/#

You can see from the hexdump that the problem is in extracting nvram data.
The onboard flash is uniform 16Mbytes with 0x20000 sector size, and nvram
seems to be on the last sector.
I then removed the previous change and included the following:

--- arch/mips/bcm63xx/boards/board_bcm963xx.c   2009-09-14 13:13:38.000000000 +0200
+++ arch/mips/bcm63xx/boards/board_bcm963xx.c.orig      2009-09-14 12:37:49.000000000 +0200
@@ -626,7 +626,7 @@
        printk(KERN_INFO PFX "CFE version: %s\n", cfe_version);
 
        /* extract nvram data */
-       memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET + (0x20000*127), sizeof(nvram));
+       memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
 
        /* check checksum before using data */
        if (nvram.version <= 4)

The console output:

Starting program at 0x80010000
Linux version 2.6.27.30 (antonello@AntoPC001) (gcc version 4.1.2) #17 Mon Sep 14 13:16:00 CEST 2009
Detected Broadcom 0x6358 CPU revision a1
CPU frequency is 300000000 Hz
32MB of RAM installed
registering 40 GPIOs
board_bcm963xx: CFE version: 1.0.37-10.3
console [early0] enabled
CPU revision is: 0002a010 (Broadcom BCM6358)
board_bcm963xx: board name: 96358VW2
.......................
........................
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x02000000 at 0x1e000000
Number of erase regions: 1
Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
Primary Algorithm Table at 0040
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum:  2.7 V
Vcc Maximum:  3.6 V
No Vpp line
Typical byte/word write timeout: 64 µs
Maximum byte/word write timeout: 512 µs
Typical full buffer write timeout: 64 µs
Maximum full buffer write timeout: 2048 µs
Typical block erase timeout: 512 ms
Maximum block erase timeout: 4096 ms
Typical chip erase timeout: 524288 ms
Maximum chip erase timeout: 2097152 ms
Device size: 0x1000000 bytes (16 MiB)
Flash Device Interface description: 0x0002
  - supports x8 and x16 via BYTE# with asynchronous interface
Max. bytes in buffer write: 0x40
Number of Erase Block Regions: 1
  Erase Region #0: BlockSize 0x20000 bytes, 128 blocks
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6, board type 96358VW2, and tagid bc300.
bcm963xx_flash: Partition 0 is CFE offset 2000081c17de8 and length c0066100800cc37c
bcm963xx_flash: Partition 1 is kernel offset bff0081c17de8 and length c0066100800cc37c
bcm963xx_flash: Partition 2 is rootfs offset f0000081c17de8 and length c0066100800cc37c
bcm963xx_flash: Partition 3 is nvram offset 2000081c17de8 and length c0066100800cc37c
bcm963xx_flash: Partition 4 is linux offset fc000081c17de8 and length c0066100800cc37c
bcm963xx_flash: Spare partition is 260000 offset and length d80000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00020000 : "CFE"
0x00020100-0x000e0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000e0000-0x00fe0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=260000, len=D80000
0x00260000-0x00fe0000 : "rootfs_data"
0x00fe0000-0x01000000 : "nvram"
0x00020000-0x00fe0000 : "linux"
bcm63xx_wdt started, timer margin: 30 sec
Registered led device: adsl
Registered led device: ppp-fail
Registered led device: power
Registered led device: stop
Registered led device: <NULL>
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed
Please be patient, while OpenWrt loads ...
- preinit -
Press CTRL-C for failsafe
switching to jffs2
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580000: 0x3600 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580004: 0x4272 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580008: 0x6463 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0058000c: 0x2043 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580010: 0x706f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580014: 0x7469 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580018: 0x7665 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0058001c: 0x2032 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580028: 0x3538 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0058002c: 0x3936 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x005899ac
You cannot use older JFFS2 filesystems with newer kernels
Old JFFS2 bitmask found at 0x0058a07c
You cannot use older JFFS2 filesystems with newer kernels
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0000: 0x5e51 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0004: 0xd8e7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0008: 0xee4f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a000c: 0xf5a1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0010: 0xe9cc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0014: 0xded3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0018: 0x66e2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a001c: 0x2675 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0020: 0x077a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0024: 0x5c54 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0000: 0x97a7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0004: 0x6c97 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0008: 0xb3e1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c000c: 0xfcef instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0010: 0xd8ab instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0014: 0xd51d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0018: 0x50ec instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c001c: 0x4561 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0020: 0x4eb3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0024: 0x2547 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x005c5ed8
You cannot use older JFFS2 filesystems with newer kernels
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0000: 0x4a2a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0004: 0x7af9 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0008: 0x8987 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e000c: 0x6389 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0010: 0x61b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0014: 0x590f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0018: 0xd218 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e001c: 0xb38b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0020: 0x8b2d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005e0024: 0xb078 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x005f0be8
You cannot use older JFFS2 filesystems with newer kernels
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600000: 0xf41c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600004: 0xfb98 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600008: 0x437e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060000c: 0x2ba2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600010: 0xfbfc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600014: 0xa60b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600018: 0x913c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060001c: 0x9d39 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600020: 0x1870 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00600024: 0xb901 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620000: 0xf886 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620004: 0x690a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620008: 0x7891 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0062000c: 0x4041 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620010: 0xedd1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620014: 0xff02 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620018: 0x5016 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0062001c: 0x7816 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620020: 0xf41c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620024: 0x86ab instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640000: 0x7371 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640008: 0x0008 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064000c: 0x02b7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640010: 0x0907 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640014: 0x7000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640018: 0x7808 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064001c: 0x0003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640020: 0x82bf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640024: 0x4001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00640028: 0xae26 instead
Further such events for this erase block will not be printed
Empty flash at 0x00640070 ends at 0x00640074
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660000: 0x8197 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660004: 0x7030 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660008: 0x6f6e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066000c: 0xb7bb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660010: 0x98fd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660014: 0xe886 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660018: 0xb5a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066001c: 0x3f01 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660020: 0x4225 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660024: 0xd6bf instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680000: 0xde64 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680004: 0xd6e3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680008: 0xed7e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0068000c: 0x71d1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680010: 0x658a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680014: 0xbb70 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680018: 0xdbad instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0068001c: 0x1e46 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680020: 0x3117 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00680024: 0x8ad4 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0000: 0x343b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0004: 0x9d3c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0008: 0x79c7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a000c: 0x4f0a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0010: 0x9d3b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0014: 0xe8bb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0018: 0xdc03 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a001c: 0x2349 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0020: 0x9939 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0024: 0xf6d4 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0000: 0x6151 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0004: 0x957e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0008: 0x60de instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c000c: 0xee1d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0010: 0x52a7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0014: 0x44e8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0018: 0x7c93 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c001c: 0x7656 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0020: 0x9581 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0024: 0x5c32 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0000: 0xc93d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0004: 0x8bf6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0008: 0x4161 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e000c: 0x11d5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0010: 0x79d4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0014: 0x7d29 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0018: 0x1b88 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e001c: 0x91ae instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0020: 0xd228 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0024: 0xbc59 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700000: 0x1ace instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700004: 0xacfe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700008: 0x6fd9 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0070000c: 0x727d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700010: 0xab20 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700014: 0x6084 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700018: 0x9071 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0070001c: 0x0d60 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700020: 0xd032 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00700024: 0xc73d instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720000: 0x5ece instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720004: 0xc42e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720008: 0x4f1e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0072000c: 0xc947 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720010: 0x3fe7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720014: 0xd2a2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720018: 0x6bbc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0072001c: 0x9362 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720020: 0x301f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00720024: 0xb129 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x007277fc
You cannot use older JFFS2 filesystems with newer kernels
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740000: 0x3816 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740004: 0xeef7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740008: 0xd697 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0074000c: 0xe0d8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740010: 0x9832 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740014: 0x8f1a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740018: 0x1d7a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0074001c: 0xe995 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740020: 0x9f32 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740024: 0x484c instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x007509cc
You cannot use older JFFS2 filesystems with newer kernels
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760000: 0x4c0e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760004: 0x117a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760008: 0xbda8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0076000c: 0xa22a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760010: 0x5768 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760014: 0x9aa9 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760018: 0xf9fb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0076001c: 0x3970 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760020: 0x69a8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00760024: 0xcdef instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780000: 0xd30a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780004: 0x5a89 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780008: 0x3010 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0078000c: 0xbbe6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780010: 0xb3ba instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780014: 0x4f00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780018: 0xfdea instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0078001c: 0xbbd3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780020: 0x41e3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00780024: 0x5a0a instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0000: 0xcf5d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0004: 0xa3a6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0008: 0x8f88 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a000c: 0xa570 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0010: 0x34e1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0014: 0x6d6c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0018: 0x5a4e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a001c: 0x81d1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0020: 0x03b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a0024: 0x9d7b instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): End of filesystem marker found at 0x7c0000
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -

Please press Enter to activate this console. bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
eth1: link forced UP - 100/full - flow control off/off
device eth1 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth1) entering forwarding state
cfg80211: Calling CRDA to update world regulatory domain
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found!
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)



BusyBox v1.13.4 (2009-09-03 13:25:00 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
KAMIKAZE (bleeding edge, r17505) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
---------------------------------------------------
root@OpenWrt:/# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.848 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.455 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=0.439 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=0.542 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=0.442 ms
64 bytes from 192.168.1.1: seq=5 ttl=64 time=0.458 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 0.439/0.530/0.848 ms
root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=15044k)
tmpfs on /dev type tmpfs (rw,size=512k)
devpts on /dev/pts type devpts (rw,mode=600)
/dev/mtdblock3 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)
root@OpenWrt:/#

I can provide binary dump of CFE partition is useful.
Any advice is much appreciated.

@atonello:

I'm not following what the problem is with the version that gets you to the console.  Is it not doing something you expect?  Why are you doing hexdumps?  Are you looking for the board version or something like that?  As far as I can see from the boot log it's working as expected: you boot to a console jus tfine.

Does the network not work, or are you expecting a web interface (you get that by adding LuCI)?

@harry1985

Maxime has said he's not likely to work on it until the brcm63xx stuff gets into the mainstream kernel.  He doesn't see the bug so it's hard for him to test and debug and he's busy.  Unless Florian can convince to do more with this, I don't see that vlan will work for a while.

@cshore

main problem in on flash device (S29GL128P10T).
The original firmware (Linux version 2.6.8.1) says that:

............
Total Flash size: 16384K with 128 sectors
File system address: 0xbe7e0100
.............

but from linux console:

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 002f8000 00008000 "Physically mapped flash"
#

Q.1 - Why the block size is 0x8000 instead of 0x20000 ?
The OWRT firmware show several jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found a .... .
Q.2 - How can I fix the problem?

Also, I unsoldered the flash and dump the entire content and it's organization seems to be the one indicated by the CFE:

CFE version 1.0.37-10.3 for BCM96358 (32bit,SP,BE)
Build Date: Thu Dec 18 17:13:09 HKT 2008 (root@lijian)
Copyright (C) 2000-2006 Broadcom Corporation.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
Flash Layout: Boot[127,0xbefe0000] Kern[1,0xbe020000]
              AuxFS[125,0xbefa0000] Misc[125,0xbefa0000] PSI[127,0xbefe0000]

Q.3 - How can I rebuild the binary original firmware?
Q.4 - Is the tag bc310 that I used to build owrt image correct ?

Note: with actual owrt image LAN and Wireless work fine.

Also, with urjtag_0.10 I can not detect the flash!

[root@AntoPC001 jtag]# jtag

UrJTAG 0.10 #1502
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors

UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.

WARNING: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.

jtag> cable jlink
J-Link initial read failed, don't worry (result=-110)
Vref = 3.37 TCK=1 TDI=0 TDO=1 TMS=0 TRES=1 TRST=1
J-Link JTAG Interface ready
jtag> detect
IR length: 5
Chain length: 1
Device Id: 00000110001101011000000101111111 (0x000000000635817F)
  Manufacturer: Broadcom
  Part(0):         BCM6358
  Stepping:     V1
  Filename:     /usr/local/share/urjtag/broadcom/bcm6358/bcm6358
ImpCode=00000000100000011000100100000100
EJTAG version: <= 2.0
EJTAG Implementation flags: R4k MIPS16 DMA MIPS32
Clear memory protection bit in DCR
Clear Watchdog
Potential flash base address: [0x1e], [0x1e]
Processor successfully switched in debug mode.
jtag> print
No. Manufacturer              Part                 Stepping Instruction          Register                       
------------------------------------------------------------------------------------------------------------------
   0 Broadcom                  BCM6358              V1       EJTAG_CONTROL        EJCONTROL                       

Active bus:
*0: EJTAG compatible bus driver via DMA (JTAG part No. 0)
        start: 0x00000000, length: 0x1E000000, data width: 32 bit, (USEG : User addresses)
        start: 0x1E000000, length: 0x02000000, data width: 16 bit, (FLASH : Addresses in flash (boot=0x1FC000000))
        start: 0x20000000, length: 0x60000000, data width: 32 bit, (USEG : User addresses)
        start: 0x80000000, length: 0x20000000, data width: 32 bit, (KSEG0: Kernel Unmapped Cached)
        start: 0xA0000000, length: 0x20000000, data width: 32 bit, (KSEG1: Kernel Unmapped Uncached)
        start: 0xC0000000, length: 0x20000000, data width: 32 bit, (SSEG : Supervisor Mapped)
        start: 0xE0000000, length: 0x20000000, data width: 32 bit, (KSEG3: Kernel Mapped)
jtag> detectflash 0x1E000000
dev ID=001e   man ID=001e
amd_detect: mid 1e, did 1e
Flash not found!
jtag>

hi all, has anyone had any success with the Belkin F5D7633-4?

If so could you please send/port details of the JTAG pin outs, and which 96348GW-10 image I should use?

many thanks

I have compiled the last trunk
I have checked also the kmod-usb-video.
The compile was completed successfully but the package kmod-usb-video is not present

Can someone confirm it?

PS if i compile it with make V=99

i can see...

WARNING: kmod-usb-video is not available in the kernel config

Can someone help me to fix it?

(Last edited by ramponis on 17 Sep 2009, 14:07)

cshore wrote:

@harry1985

Maxime has said he's not likely to work on it until the brcm63xx stuff gets into the mainstream kernel.  He doesn't see the bug so it's hard for him to test and debug and he's busy.  Unless Florian can convince to do more with this, I don't see that vlan will work for a while.

sure, right now I just use it as a download server. With a mod of 64MB ram, it is much powerful then my old WD Mybook world edition. At least I can use a more recent kernel.
But it seems something wrong with the rtorrent.
I'm wondering if I can use Debian instead of openwrt on this one.

My board 96358VW2 works fine with trunk 17683.
I test eth and wifi.

I solved problem with flash device by erase flash
before write new image.

How can I contribute to the DSL work ?
How can I contribute with other test ?

Hello all,

I have an 96348GW-10 board (Netgear DG-834GT).
I would like to use the SPI port.

The modules are loaded fine:
root@OpenWrt:/# lsmod | grep spi
bcm63xx_spi             2592  0
spidev                  4592  0
spi_bitbang             3360  1 bcm63xx_spi
mmc_spi                 7552  0
mmc_core               35680  2 mmc_spi,mmc_block
crc7                     736  1 mmc_spi
crc_itu_t                992  1 mmc_spi

The dmesg said:
bcm63xx-spi bcm63xx-spi.0:  at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2

I managed to create the filedescriptor with mknod /dev/spidev1.1 c 153 0

But the spidev_test fails with the following:
can't open device: No such device or address

Martinmiklos:

Don't let the SPI_DEV test failure convince you that the SPI is not working. The SPI_DEV tests are buggy.

There is support, but incomplete, for the SPI, but I think you have to test a different way with your hardware or application.

marc.

Well, the test program what I used is simple like a rock:
http://www.mjmwired.net/kernel/Document … dev_test.c

It opens the devfile write some data to it, put some useful output to the stdout and exits.

This fails at the file opening. According to the error string (No such device or address)
something is returning with EXNIO (see linux/errno-base.h), what is - IMHO - not the test program's failture.

Currently I have no hardware (slave devices), I'm only trying to change the CS line, because I there is
a place for an unpopulated SO8 on the board which looks like an SPI flash space from the pins state.

It would be greatful  if I could use the hardware SPI port to attach SD card, or any SPI slave devices (thermometer, etc.)

Well, I have succeded to build the SPI drivers with debug support.

Now the dmesg is talking much more:
At init:

bcm63xx-spi bcm63xx-spi.0:  at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2
bcm63xx-spi bcm63xx-spi.0: registered master spi0

At opening:

spidev: nothing for minor 0

I have tried all minor number [0...10] but it didn't helped.

How can I find out which minor number should I use? Or not this causes my problem?

Martonmiklos:

I know it works on my board:

          bcm63xx-spi bcm63xx-spi.0:  at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2

I'm not using the SPI quite yet, but I will soon to control a DSP and some SLICs for a voice application.

marc.

i bought a router based on * and would like to know if it is possible to change default os to improve wifi g range capabilities, adding support for shares over samba (ntfs supporting), automatic backing up (possibly a similar function as  Drbl http://drbl.sourceforge.net/ ), lan or wifi printing&scanning capabilities through usb (1 or 2: i don't know which is on my router), dlna server. please be patient i am really a newbee

*cat /proc/cpuinfo
system type             : 96358VW2
processor               : 0http://drbl.sourceforge.net/
cpu model               : BCM6358 V1.0
BogoMIPS                : 299.00
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
unaligned access                : 223442
VCED exceptions         : not available
VCEI exceptions         : not availabl

(Last edited by xstiano on 7 Oct 2009, 11:03)

Hi

I've compiled my own image for the D-Link DSL-2740B and downloaded a daily snapshot, but neither seem to want to work.

I've tried to upload the firmware using the CPE web interface but the router just hangs after it reboots. So either I'm uploading it incorrectly, or the images I'm using don't work. I don't have a JTAG to see what's going on.

Does anybody have instructions on how to upload the 2740 firmware without JTAG? Also can anybody point me to a working firmware image?

Thanks in advance, Paul

evanspa1 wrote:

Hi

I've compiled my own image for the D-Link DSL-2740B and downloaded a daily snapshot, but neither seem to want to work.

I've tried to upload the firmware using the CPE web interface but the router just hangs after it reboots. So either I'm uploading it incorrectly, or the images I'm using don't work. I don't have a JTAG to see what's going on.

Does anybody have instructions on how to upload the 2740 firmware without JTAG? Also can anybody point me to a working firmware image?

Thanks in advance, Paul

I don't know about your specific model of router, but you should try with the serial interface. The JTAG is needed only for very serious damage. In the case of the alice gate voip 2 plus too, there are or there were some problems flashing by the web interface but it worked and it work perfectly using tftp and the serial console. The flashimage command and the web interface often perform different control on the downloaded image.

Just try with a serial adapter. If you don't have one it'is not a good idea to play with the firmware of your router.

(Last edited by fw_crocodile on 13 Oct 2009, 11:01)

martonmiklos wrote:

Well, I have succeded to build the SPI drivers with debug support.

Now the dmesg is talking much more:
At init:

bcm63xx-spi bcm63xx-spi.0:  at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2
bcm63xx-spi bcm63xx-spi.0: registered master spi0

At opening:

spidev: nothing for minor 0

I have tried all minor number [0...10] but it didn't helped.

How can I find out which minor number should I use? Or not this causes my problem?

Same problems here, using a 6348GW-11 board (Comtrend CT-5361). I tried to compile kernel 2.6.28.10 but it hangs at boot...

after all the process: make menuconfig,etc. I don't get a F@ST2404 image (only 6348GW-11 -alike)
¿How do I build it?
thx
EDIT: created a ticket

(Last edited by DeerHunter on 22 Oct 2009, 11:58)

hello all, I have a siemens cl-110 router which is based on the 6338, I really don't know which is the loader or were to find more info on the router, does anyone know if there is a firmware in the snapshots I can try to load? I tryed from the web interface the openwrt-6338W-squashfs-bc300-cfe.bin  and openwrt-brcm63xx-squashfs.trx Images but it says that they are not on a legal format? Is there a difference if I try from tftp or should I use a serial console? On the board there is a 4 pin connector that looks like a serial interface (ground at pin 3 and 3V at 1, 2 and 4)
I would apprecial every info, thanks in advance

hi, all

my box's model is 6358VW2 with openwrt R18042,  the wifi fails to work. when demsg,  part of the wifi info is :
cfg80211: Calling CRDA to update world regulatory domain
mac80211: Unknown symbol round_jiffies_up
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found!
b43: Unknown symbol ieee80211_free_hw
b43: Unknown symbol ieee80211_alloc_hw
b43: Unknown symbol ieee80211_register_hw
b43: Unknown symbol __ieee80211_get_radio_led_name
b43: Unknown symbol ieee80211_generic_frame_duration
b43: Unknown symbol ieee80211_wake_queue
b43: Unknown symbol ieee80211_get_tkip_key
b43: Unknown symbol __ieee80211_get_tx_led_name
b43: Unknown symbol __ieee80211_get_rx_led_name
b43: Unknown symbol ieee80211_queue_delayed_work
b43: Unknown symbol ieee80211_ctstoself_get
b43: Unknown symbol ieee80211_rx
b43: Unknown symbol ieee80211_wake_queues
b43: Unknown symbol ieee80211_tx_status
b43: Unknown symbol ieee80211_stop_queue
b43: Unknown symbol __ieee80211_get_assoc_led_name
b43: Unknown symbol ieee80211_unregister_hw
b43: Unknown symbol ieee80211_rts_get
b43: Unknown symbol ieee80211_beacon_get
b43: Unknown symbol ieee80211_queue_work
eth0: link DOWN
PPP generic driver version 2.4.2


======================
round_jiffies_up should be come from  kernel symbol table of GPL,  maybe mac80211 is not GPL based?

what's wrong?

thanks in advance!

(Last edited by luoluo on 28 Oct 2009, 08:50)

luoluo wrote:

hi, all

my box's model is 6358VW2 with openwrt R18042,  the wifi fails to work. when demsg,  part of the wifi info is :
cfg80211: Calling CRDA to update world regulatory domain
mac80211: Unknown symbol round_jiffies_up
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found!
b43: Unknown symbol ieee80211_free_hw
b43: Unknown symbol ieee80211_alloc_hw
b43: Unknown symbol ieee80211_register_hw
b43: Unknown symbol __ieee80211_get_radio_led_name
b43: Unknown symbol ieee80211_generic_frame_duration
b43: Unknown symbol ieee80211_wake_queue
b43: Unknown symbol ieee80211_get_tkip_key
b43: Unknown symbol __ieee80211_get_tx_led_name
b43: Unknown symbol __ieee80211_get_rx_led_name
b43: Unknown symbol ieee80211_queue_delayed_work
b43: Unknown symbol ieee80211_ctstoself_get
b43: Unknown symbol ieee80211_rx
b43: Unknown symbol ieee80211_wake_queues
b43: Unknown symbol ieee80211_tx_status
b43: Unknown symbol ieee80211_stop_queue
b43: Unknown symbol __ieee80211_get_assoc_led_name
b43: Unknown symbol ieee80211_unregister_hw
b43: Unknown symbol ieee80211_rts_get
b43: Unknown symbol ieee80211_beacon_get
b43: Unknown symbol ieee80211_queue_work
eth0: link DOWN
PPP generic driver version 2.4.2


======================
round_jiffies_up should be come from  kernel symbol table of GPL,  maybe mac80211 is not GPL based?

what's wrong?

thanks in advance!

This above problem was solved by updating to r18193

Thanks anyway

@giannis

You should use the serial port (with a level shifter of course), and post the boot logs.  Please email me as I don't check the forums very often.

hi,

I met a problem that maybe about wifi?

My router model is BRCM6358,  using the version r18193 of openwrt trunk.

The wifi configuration is blow:
config 'wifi-device' 'wifi0'
        option 'type' 'mac80211'
        option 'channel' '5'
        option 'macaddr' '00:1e:40:c8:27:b9'
        option 'hwmode' '11g'
        option 'disabled' '0'

config 'wifi-iface'
        option 'device' 'wifi0'
        option 'network' 'lan'
        option 'mode' 'ap'
        option 'ssid' 'OpenWrt'
        option 'key' '123456'
        option 'encryption' 'wep'
 
At the start, everything seems fine. but about 5 or 10 minutes later, the network seems to disconnect from INTERNET, and printing the info below repeatedly:

-----------------------------------------------------------------------------------------------------------------------------------
BUG: scheduling while atomic: swapper/0/0x00000100
Modules linked in: usb_storage usblp ohci_hcd nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_IMQ imq xt_string xt_layer7 xt_quota xt_pkttype ipt_MASQUERADE iptable_nat nf_nat xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 ehci_hcd sd_mod pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables ppp_async ppp_generic slhc vfat fat ntfs b43 nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 usbcore ts_fsm ts_bm ts_kmp switch_adm switch_robo switch_core scsi_mod nls_base mac80211 cfg80211 crc_ccitt arc4 aes_generic deflate ecb cbc
Cpu 0
$ 0   : 00000000 10008401 00000000 80010660
$ 4   : 80272008 81c23948 10008400 ffff00fe
$ 8   : 00000000 00008400 00000000 81c24000
$12   : 3b9aca00 00000000 81c25d30 00480000
$16   : 802b0000 802aa714 802b0bec 00000000
$20   : 80420000 8041ff98 be020100 80010000
$24   : 00000000 2ab19050                 
$28   : 80272000 80273f88 80010000 8001dfd4
Hi    : 00000048
Lo    : 01181200
epc   : 80010680 0x80010680
    Not tainted
ra    : 8001dfd4 0x8001dfd4
Status: 10008403    KERNEL EXL IE
Cause : 00808000
PrId  : 0002a010 (Broadcom BCM6358)
bad: scheduling from the idle thread!
Call Trace:[<80018dc8>] 0x80018dc8
[<80018dc8>] 0x80018dc8
[<80029d18>] 0x80029d18
[<800289ac>] 0x800289ac
[<80018f6c>] 0x80018f6c
[<80028a94>] 0x80028a94
[<80019454>] 0x80019454
[<8001a004>] 0x8001a004
[<80c8193c>] 0x80c8193c
[<800525b8>] 0x800525b8
[<80c01498>] 0x80c01498
[<80c017b4>] 0x80c017b4
[<80c01aa8>] 0x80c01aa8
[<80c01964>] 0x80c01964
[<800392d0>] 0x800392d0
[<800343dc>] 0x800343dc
[<80034544>] 0x80034544
[<8001cbf0>] 0x8001cbf0
[<80034544>] 0x80034544
[<80010444>] 0x80010444
[<8001cb7c>] 0x8001cb7c
[<80010444>] 0x80010444
[<80010660>] 0x80010660
[<8001dfd4>] 0x8001dfd4
[<80010680>] 0x80010680
[<8028ea54>] 0x8028ea54
[<8028e370>] 0x8028e370

-----------------------------------

While I don't use wifi or I don't use WEP,  it work well.

What's the problem? Any hints would be thankful greatly!

====
EDIT: sorry, this problem has been reported as ticket #5996.


Best Regards

luoluo

(Last edited by luoluo on 1 Nov 2009, 13:02)