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.

Is WEP or WPA encryption not working in Ad-Hoc mode?  The wireless config looks ok but iwconfig shows "Encryption key:off" and I can access the Wlan without password.
Is someone else using the Ad-Hoc mode with encryption?
Regards
Thomas


/etc/config/wireless
config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'macaddr' '00:23:80:5b:31:48'
        option 'hwmode' '11g'
        option 'disabled' '0'
        option 'channel' '5'
        option 'txpower' '2'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'ssid' 'p'
        option 'network' 'lan'
        option 'mode' 'adhoc'
        option 'bssid' '00:11:22:33:44:55'
        option 'encryption' 'wep'
        option 'key' '12345'
 
iwconfig
wlan0     IEEE 802.11bg  ESSID:"p" 
          Mode:Ad-Hoc  Frequency:2.432 GHz  Cell: 00:11:22:33:44:55   
          Tx-Power=2 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

Kamikaze (r19530) openwrt-AGPF-S0-jffs2-128k-agv2+w-cfe.bin

domadm wrote:

Hi
Has anyone ran OpenWrt on Linksys WAG325N or WAG320N ?

Yes on a WAG320N, but only once. as soon as the JFFS2 partition was created, it overwrote some 'magic' at 0xbe500000 (flash base is 0xbe000000), and now the bootloader refuses to load the kernel, or give me a prompt:

search magic... ...be500000
no magic got,start fail!
WARNING !!  -- LINUX CODE WAS DESTROIED!!
WARNING !!  -- LINUX CODE WAS DESTROIED!!
...

Recovery mode (hold reset while powering on) is broken, it says:

button pushed,come to download.
FLASH_BASE:0xbe000000
download 797 ,-7:cfe_open failed
fd:1download 802:fd=1
Download mode ... press any key to stop

and the device doesn't respond to a ping.

And there's no JTAG header (although that isn't going to stop me looking for signals).

That "seach magic" is plain evil.

Hi all.
I have a ZTE831BII with rta1025w board id. OpenWrt loads ok but after restart cfe reports: "Image information not found"
The same case as megalomania's. Disabling the firsboot script in compilling solves the cfe's report but configuration not saves.
Seems like in creating  filesystem the kernel is overriten /broken/ and after reboot device doesn't start. The same problem with jffs2 images.
I tried with cfe from huawei hg520 but couldn't load openwrt.
I tried with another flash chip/now its amic 29lv320 not mx29lv320/ -same.
The original firmware from dynalink works ok and saves changes in configuraton. I have serial and jtag connected to device and can
fully support in solving this problem.
There is an issue with enabling switch too.
By default wireless is down but working great as enabled.
I'll post dmesg tommorow and bootlog from dynalink,s firmware.
My idea is from this moddem to make a lan router if can enable switch to configure.
Will be great if getting help in this.
Regards.

P.S. something else:

bcm963xx_flash: Partition 0 is CFE offset 0 and length 0
bcm963xx_flash: Partition 1 is kernel offset 10100 and length 0
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 0
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 0
bcm963xx_flash: Partition 4 is linux offset 10000 and length 0


Somebody knows why shows me length 0?

(Last edited by lz1pgn on 18 Feb 2010, 13:06)

tipok wrote:

Hi, all!

I have DLink DSL-2650U (bcm6358). After little patching Makefile to add 96358VW2 targer, router successfuly flashed by openwrt-96358VW2-squashfs-dsl2650u-cfe.bin.

Index: target/linux/brcm63xx/image/Makefile
===================================================================
--- target/linux/brcm63xx/image/Makefile    (revision 19253)
+++ target/linux/brcm63xx/image/Makefile    (working copy)
@@ -163,6 +163,8 @@
     $(call Image/Build/CFE,$(1),F@ST2404,6348,bc310,OpenWRT-$(REVISION),bc310)
     # Inventel Livebox
     $(call Image/Build/RedBoot,livebox)
+    # D-Link DSL-2650U
+    $(call Image/Build/CFE,$(1),96358VW2,6358,bc310,,dsl2650u)
     # D-Link DSL-2740B
     $(call Image/Build/CFE,$(1),96358GW,6358,bc310,,dsl2740b)
     # Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0

Here is startup log:

CFE version 1.0.37-10.1 for BCM96358 (32bit,SP,BE)                         
Build Date: Tue Apr 24 15:57:24 CST 2007 (gavin@FD5)
Copyright (C) 2000-2006 Broadcom Corporation.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MB, id 0x2200, size 8192KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)

Total memory used by CFE:  0x80401000 - 0x80527C50 (1207376)
Initialized Data:          0x8041D580 - 0x8041F480 (7936)
BSS Area:                  0x8041F480 - 0x80425C50 (26576)
Local Heap:                0x80425C50 - 0x80525C50 (1048576)
Stack Area:                0x80525C50 - 0x80527C50 (8192)
Text (code) segment:       0x80401000 - 0x8041D57C (116092)
Boot area (physical):      0x00528000 - 0x00568000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.2  
Gateway IP address                :   
Run from flash/host (f/h)         : f  
Default host run file name        :   
Default host flash file name      : openwrt-96358VW2-squashfs-dsl2650u-cfe.bin  
Boot delay (0-9 seconds)          : 1  
Board Id (0-8)                    : 96358VW2  
Number of MAC Addresses (1-32)    : 12  
Base MAC Address                  : 00:22:b0:xx:xx:xx  
PSI Size (1-64) KBytes            : 24  
Main Thread Number [0|1]          : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xbe010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.30.10 (tipok@mythbox) (gcc version 4.3.3 (GCC) ) #2 Thu Jan 21 16:01:38 EET 2010
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.1
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 console=ttyS0,115200
Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
NR_IRQS:128
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: 29512k/32768k available (2073k kernel code, 3256k reserved, 428k data, 132k init, 0k highmem)
Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)
Mount-cache hash table entries: 512
net_namespace: 532 bytes
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
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
audit: initializing netlink socket (disabled)
type=2000 audit(0.306:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.
msgmni has been set to 57
alg: No test for stdrng (krng)
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]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x02000000 at 0x1e000000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
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 bc310.
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 700000
bcm963xx_flash: Partition 3 is nvram offset 7f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 7e0000
bcm963xx_flash: Spare partition is 260000 offset and length 590000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x0000000f0000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-oy
0x0000000f0000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=260000, len=590000 
0x000000260000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "nvram"
0x000000010000-0x0000007f0000 : "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>
leds-gpio: probe of leds-gpio.0 failed with error -16
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 on device 31:2.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
- preinit -
Press CTRL-C for failsafe
switching to jffs2
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: port 1(eth1) entering forwarding state
Generic kernel compatibility enabled based on linux-next next-20100113
cfg80211: Calling CRDA to update world regulatory domain
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found a 5325! It's a 5350.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 8
NET: Registered protocol family 20
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 1
bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd: USB Universal Host Controller Interface driver

This device also have 1 additional USB and 5th ethernet port (it goes into broadcom chip) on pcb, but connectors are not soldered.

Sweet.. 2 usb ports, 1 hidden, and 5th ethernet port.. tempting smile

By the way, is the switch working?
Can you please tell me briefly the location and pin-out of the serial port (GND/TX/RX) ?

Thanks

(Last edited by geekgirl on 19 Feb 2010, 08:26)

I just bought a westell 7501 router. Will this work?

specs:
Wireless chip BCM4318EKFBG
Switch BCM5325EKQMG
CPU BCM6359SKFBG
DDR memory EM6AA160TS-5G
Flash UEB219PC and UEB150QA

usb port has no control panel software to control it.
But it is powered. I stuck a usb drive in the usb port, and it lights up.

i flashed a wag54gs with new cfe locating at http://downloads.openwrt.org/people/flo … fe6348.bin.

Resetting board...

CFE version 1.0.37-102.1 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun 12 14:54:43 PDT 2008 (root@dhcp-10-12-160-156)
Copyright (C) 2000-2008 Broadcom Corporation.

Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
CPU type 0x29107: 240MHz, Bus: 133MHz, Ref: 26MHz
Total memory: 33554432 bytes (32MB)
Boot Address 0xbfc00000



** Flash image not found. **

Board IP address                  : 192.168.1.1:ffffff00
Host IP address                   : 192.168.1.100
Gateway IP address                :
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-7)                    : 96348GW-10
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:13:10:d9:eb:fe
PSI Size (1-64) KBytes            : 24

web info: Waiting for connection on socket 0.


image had been erased except cfe.

but under cfe, i can't connect to outside world by ethernet. so i can't upload image.

does anyone has a working cfe for me to use via jtag.

what i want is a cfe for 6348 , under that my mod 32m ram can be recognized and ethernet works

Vrai, I've got a standard wag54gs cfe if that would help? I guess you've got that though.

link626 wrote:

I just bought a westell 7501 router. Will this work?

specs:
Wireless chip BCM4318EKFBG
Switch BCM5325EKQMG
CPU BCM6359SKFBG
DDR memory EM6AA160TS-5G
Flash UEB219PC and UEB150QA

usb port has no control panel software to control it.
But it is powered. I stuck a usb drive in the usb port, and it lights up.

from: http://www.dd-wrt.com/phpBB2/viewtopic. … 3a0ce8c335

the CPU is BCM6359 not is BCM6358.
Not sure the BCM6359 is same as BCM6358 , or not.
I got one document says BCM6359 is lite BCM6358 version.

Not to wear this out, but I can't find the place where I saw the difference explained. It was an "incremental" difference-like 16MB ram instead of 32MB or a revision of CPU speed (lower of course) to save $.50 in cost.

the information got from Jtag.
because the jtag app not BCM6359 in database, then shows BCM6358 instead of real BCM6359.

8M flash and 32M RAM with an USB port. (150Mhz CPU ? is not a nice one Sad).
But the bootloader does not provide "stop" and "tftp".
we have to figure out how to rebuild a bootlorder to get dd-wrt to it.

I built a serial console get it;

WESTELL - MAIN Bootloader
Reboot command 800000
Device 0 -- FLASH start addr BE000000 Flash end addr BE3FFFFF
Device 1 -- FLASH start addr BE400000 Flash end addr BE7FFFFF
Flash start BE000000 end BE7FFFFF size 00800000
....
Using 150.000 MHz high precision timer.
...
Memory: 29228k/32384k available (2085k kernel code, 3136k reserved, 402k data, 84k init, 0k highmem
...
usbcore: registered new driver usbfs
usbcore: registered new driver hub
...
physmap flash device: 0x800000 at 0xbe000000
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "bootloader"
0x00387ffc-0x007ffffc : "rootfs"
0x002be4c0-0x00387f58 : "kernel"
0x00020000-0x00110000 : "ffs"

Still no information for BCM6359.
it is either 150Mhz or 300Mhz

guess u will have to wait and see..

BCM6359 is not listed on https://dev.openwrt.org/wiki/brcm63xx , so I would say it's probably still unsupported

Geekgirl:

the 6358 and 6349 are the same chip with a different label and marketing purpose.

If there is a build that works on the 6358 it would work on the 6359.

marc.

Beezer wrote:

Vrai, I've got a standard wag54gs cfe if that would help? I guess you've got that though.

standard cfe of wag54gs can't recognized 32m ram, only 16m is reported.

obsy wrote:

For USR9108: openwrt-96348GW-A-squashfs-bc300-cfe.bin via web or cfe works fine!

I've got a USR9108 and tried to flash said firmware.

First off, the web interface didn't allow the firmware (it told me it was incompatible). So I tried the tftp approach and while the firmware was uploaded, I now seem to have a semi-bricked router.

When resetting it with the RESET button, doing a ping -t -w 2 192.168.1.1 will have a proper ping response for like 3 seconds, after which it'll produce 'Request timed out' again. Unfortunately, this window seems too short for me to upload another firmware to re-flash the device.

I tried using the Firmware Upgrade Utility 3.6.1 from DrayTek, which should send the firmware the second the device comes online. However, the router either fails to see a firmware being uploaded or the transfer is taking too long, as it just continues startup (during which the devices is rendered un-pingable and unresponsive).

The power LED stays on (doesn't flash) and the Internet LED is turned on as well. As there's no Internet connection available, I can assume it's OpenWrt DMZ LED indicating OpenWrt has started.

However, I'm Stuck now. I've got no clue what state the router is in as I can't connect to it by IP (aside from that 2 second interval apparently).
Would anyone be able to help me out? I'm thinking having something like a mini-firmware that will TFTP over quickly could work, which when booted would only put the router into TFTP mode to receive another firmware.

@bouvrie
You should connect to your router serial console to see what's not working during boot...
Here you can find the pinout: http://blog.dvl.pl/article/2009/09/14/u … l-console/
You'll need a level shifter (from 3.3V to 12V) or you won't be able to hook it at your PC serial connector.
If your PC has no serial ports, or you can't find LV-TTL to standard RS232 voltage shifter, you can build yourself one using different kinds of USB nokia cable. The latest howto i found about nokia-cables hacking is: http://jethomson.wordpress.com/2010/02/ … -for-3usd/

Good luck!

AraKs wrote:

@bouvrie
You should connect to your router serial console to see what's not working during boot...

Got that in place now. Here's the log:

CFE version 1.0.37-1.5 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun  9 16:22:27 CDT 2005 (root@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE:  0x80401000 - 0x80524F90 (1195920)
Initialized Data:          0x8041C3B0 - 0x8041E720 (9072)
BSS Area:                  0x8041E720 - 0x80422F90 (18544)
Local Heap:                0x80422F90 - 0x80522F90 (1048576)
Stack Area:                0x80522F90 - 0x80524F90 (8192)
Text (code) segment:       0x80401000 - 0x8041C3A4 (111524)
Boot area (physical):      0x00525000 - 0x00565000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
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)          : 9
Board Id Name                     : 96348GW-B
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 11
Base MAC Address                  : 00:14:c1:0e:76:31
Ethernet PHY Type                 : External Switch Using Reverse MII
Memory size in MB                 : 16
Country code                      : FR

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.30.10 (buildbot@henry) (gcc version 4.3.3 (GCC) ) #1 Thu Feb 25 05:38:22 UTC 2010
Detected Broadcom 0x6348 CPU revision a2
CPU frequency is 256000000 Hz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: 1.0.37-1.5
board_bcm963xx: unknown bcm963xx board: 96348GW-B
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
[b][color=tomato]Kernel panic - not syncing: unable to detect bcm963xx board[/color][/b]

I'm looking into getting another firmware in place, possibly using the flashimage command.
I installed a TFTP server (WinAgents TFTP Server) and I served the bin that should put the router back to the original firmware:

CFE> flashimage

     eg. flashimage [hostip:]compressed_image_file_name

*** command status = -2
CFE> flashimage 192.168.1.39:USR9108A-07-19-06.bin
Loading 192.168.1.39:USR9108A-07-19-06.bin ...
Finished loading 3156361 bytes
......................................................................

Finished flashing image.
Resetting board...

CFE version 1.0.37-1.5 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun  9 16:22:27 CDT 2005 (root@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE:  0x80401000 - 0x80524F90 (1195920)
Initialized Data:          0x8041C3B0 - 0x8041E720 (9072)
BSS Area:                  0x8041E720 - 0x80422F90 (18544)
Local Heap:                0x80422F90 - 0x80522F90 (1048576)
Stack Area:                0x80522F90 - 0x80524F90 (8192)
Text (code) segment:       0x80401000 - 0x8041C3A4 (111524)
Boot area (physical):      0x00525000 - 0x00565000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
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)          : 9
Board Id Name                     : 96348GW-B
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 11
Base MAC Address                  : 00:14:c1:0e:76:31
Ethernet PHY Type                 : External Switch Using Reverse MII
Memory size in MB                 : 16
Country code                      : FR

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x801be018
Decompression OK!
Entry at 0x801be018
Closing network.
Starting program at 0x801be018
Linux version 2.6.8.1 (root@lh-2zq89lb018bo) (gcc version 3.4.2) #1 Wed Jul 19 09:45:49 CDT 2006
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
Total Flash size: 4096K with 71 sectors
96348GW-B prom init
CPU revision is: 00029107
mpi: No Card is in the PCMCIA slot
Determined physical RAM map:
 memory: 00fa0000 @ 00000000 (usable)
On node 0 totalpages: 4000
  DMA zone: 4000 pages, LIFO batch:1
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=31:0 ro noinitrd
brcm mips: enabling icache and dcache...
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB 2-way, linesize 16 bytes.
PID hash table entries: 64 (order 6: 512 bytes)
Using 128.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 13856k/16000k available (1489k kernel code, 2124k reserved, 227k data, 76k init, 0k highmem)
Calibrating delay loop... 255.59 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
Can't analyze prologue code at 80182c84
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
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 20, pci mem c0000b00
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
brcmboard: brcm_board_init entry
SES: Button GPIO 0x23 is enabled
SES: Button Interrupt 0x3 is enabled
SES: LED GPIO 0x23 is enabled
bcm963xx_serial driver v2.0
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
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
init started:  BusyBox v1.00 (2006.07.19-15:00+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5


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


Loading drivers and kernel modules...

atmapi: module license 'Proprietary' taints kernel.
blaadd: blaa_detect entry
adsl: adsl_init entry
Broadcom BCMPROCFS v1.0 initialized
Broadcom BCM6348A2 Ethernet Network Device v0.3 Jul 19 2006 09:41:11
Config Ethernet Switch Through SPI Slave Select 0
eth0: MAC Address: 00:14:C1:0E:76:31
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 3.131.35.0.cpe0.0
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
BcmAdsl_Initialize=0xC005D228, g_pFnNotifyCallback=0xC0073C74
pSdramPHY=0xA0FFFFF8, 0x87600880 0x805E8A90
eth0 Link UP.
AdslCoreHwReset: AdslOemDataAddr = 0xA0FFB114
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
SharedMemAlloc: ptr=0xA0FFFC38 size=936

==>   Bcm963xx Software Version: 0951_071906-3.04L.01.A2pB021c.d17m   <==

device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
Setting SSID "USR9108"
wlctl: Not Found
SIOCGIFFLAGS: No such device
Setting country code using abbreviation: "FR"
wlctl: wl0 current channel 11
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 wl0.1 entered promiscuous mode
RSA public decrypt : error:0407006A:lib(4):func(112):reason(106)
CGI: License key is invalid
Scratch pad is not initialized.
No scratch pad found.  Initialize scratch pad...

And that one just hangs there. But at least now I'm getting somewhere. :)

Now I need to figure out which firmware bin should be compatible with the USR9108. Apparently the one I used (openwrt-96348GW-A-squashfs-bc300-cfe.bin) wasn't.

I guess it's my Board Id Name                     : 96348GW-B that's causing this?

*edit*

I found this page. Although the openwrt-96348GW-A-squashfs-bc300-cfe.bin I got is from here, which as far as I can tell is a very recent (28 feb 2010) trunk binary?

(Last edited by bouvrie on 28 Feb 2010, 19:10)

@bouvrie

You could try to patch the Makefile (target/linux/brcm63xx/image/Makefile) to add your board (96348GW-B) as a target, build your openwrt-96348GW-B-squashfs-bc300-cfe.bin and flash with it should be able to detect your board

See previous posts for example on how this is done. You could also adapt from the pre-existing 96348GW-A target

@bouvrie

Board named 96348GW-A are already supported. Maybe you own a particular revision of that model.

Try to add these lines:

        # USR9108
        $(call Image/Build/CFE,$(1),96348GW-B,6348,bc300,,bc300)

before the end of the function "define Image/Build" in your target/linux/brcm63xx/image/Makefile then:
make clean
make world

Flash the resulting image and let us know. If you succeed, we can patch the file and "officially" support USR9108.

Too bad I'm a Windows user. tongue

I checked out the SVN from the repository at svn://svn.openwrt.org/openwrt/trunk/ , modified the makefile and tried to make it using GnuWin32. To do so I needed to subst the SVN checkout dir to a new drive, so the makefile's unset variables (like TOPDIR, etc) would resolve to that drive's root.
I then got the following result:

W:\target\linux\brcm63xx\image>"C:\Program Files\GnuWin32\bin\make.exe" clean

/target/linux//Makefile:13: warning: overriding commands for target `prereq'
/include/prereq.mk:12: warning: ignoring old commands for target `prereq'
makefile:191: warning: overriding commands for target `compile'
/target/linux//Makefile:13: warning: ignoring old commands for target `compile'
makefile:191: warning: overriding commands for target `install'
/target/linux//Makefile:13: warning: ignoring old commands for target `install'
makefile:191: warning: overriding commands for target `clean'
/target/linux//Makefile:13: warning: ignoring old commands for target `clean'
process_begin: CreateProcess(NULL, which bash, ...) failed.
The syntax of the command is incorrect.
The system cannot find the path specified.
'{' is not recognized as an internal or external command,
operable program or batch file.
make: *** [clean] Error 1

So much for the Windows approach, right? Or would something like Cygwin help?

(Last edited by bouvrie on 2 Mar 2010, 22:58)

bouvrie wrote:

Too bad I'm a Windows user. tongue

Very very bad!
I think you'll never be able to compile OpenWrt under Windows. If you have enough space on your hdd, repartition and install Ubuntu on dual boot.
Or, install a virtualization software (see virtualbox) and run Ubuntu ontop of Windows...

I would like to know if watchdog support is finished for bcm63xx platform.

I would also like to know if there is some bcm63xx based router that can work on an extended temperature range , e.g.: -20c +60c.

Thanks in advance for any help!


Mario

hello... is my first post, so forgive me, i will try to learn more, the things here.... smile

i have a siemens sl2-141, which have


system type             : RTA1025W_16
processor               : 0
cpu model               : BCM6348 V0.7
BogoMIPS                : 239.20
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : no
VCED exceptions         : not available
VCEI exceptions         : not available


and


MemTotal:        14000 kB
MemFree:           416 kB
Buffers:           620 kB
Cached:           6048 kB
SwapCached:          0 kB
Active:           5416 kB
Inactive:         3068 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        14000 kB
LowFree:           416 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:           4080 kB
Slab:             1616 kB
Committed_AS:     5724 kB
PageTables:        340 kB
VmallocTotal:  1048560 kB
VmallocUsed:      1504 kB
VmallocChunk:  1046848 kB


Linux version 2.6.8.1 ( Compiled by michaelc) (gcc version 3.4.2) #1 Fri Nov 30 09:55:48 CST 2007

----

so what i must to do....? im trying to flash with openwrt-RTA1025W_16-jffs2-128k-btrta-cfe.bin, openwrt-RTA1025W_16-jffs2-64k-btrta-cfe.bin, openwrt-RTA1025W_16-squashfs-btrta-cfe.bin and others for BCM6348 but i cannot have success yet....

i have this message from web interface: Update Firmware

Image uploading failed. The selected file contains wrong digital signature.

(from rta files this....)

what i must to do....?

Hi guys, is it possible nowdays to make one of the LAN ports on the BCM6348 devices (In my case Netgear DG834GT) into a WAN port? (I asked this long ago but see now there has been some real development)
Reason I want to do so is because my friend that owns this router first had ADSL2+ but has now upgraded to a 100/100 fibre connection, he is currently using a Linksys WRT54GL however that is limited to ca 50mbps throughput in either direction
So he is just hoping to be able to get some more speed out of the DG834GT if it where possible to use it smile

Per Hansson wrote:

Hi guys, is it possible nowdays to make one of the LAN ports on the BCM6348 devices (In my case Netgear DG834GT) into a WAN port? (I asked this long ago but see now there has been some real development)
Reason I want to do so is because my friend that owns this router first had ADSL2+ but has now upgraded to a 100/100 fibre connection, he is currently using a Linksys WRT54GL however that is limited to ca 50mbps throughput in either direction
So he is just hoping to be able to get some more speed out of the DG834GT if it where possible to use it smile

use VLAN, check WIKI for details.

Hi all.
Can someone help with information why openwrt can not create correct
filesystem on dynalink rta1025_16. It loads and overwrites the firmware-after restart device is in cfe mode and waiting firmware to load.Serial console says: Image information not found.
Thanks in advance.

(Last edited by swert on 7 Apr 2010, 22:39)

Can someone create a binary firmware for the SpeedTouch 580 that has BCM6345 ..please.........?

Well, I'm compiling it on Linux now (CentOS). Here's my log: it seems I've bumped into dependency hell.

bouvrie@pc [~/wrt/openwrt]# make clean
svn: This client is too old to work with working copy '.'; please get a newer Subversion client
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... failed.
Checking 'working-g++'... failed.
Checking 'ncurses'... failed.
Checking 'zlib'... failed.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.

Build dependency: Please install the GNU C Compiler (gcc).
Build dependency: Please install the GNU C++ Compiler (g++).
Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)
Build dependency: Please install zlib. (Missing libz.so or zlib.h)

Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-build] Error 1

I do have the following installed:

bouvrie@pc [~/wrt/openwrt]# rpm -q gcc
gcc-4.1.2-44.el5
bouvrie@pc [~/wrt/openwrt]# rpm -q gcc-c++
gcc-c++-4.1.2-44.el5
bouvrie@pc [~/wrt/openwrt]# rpm -q ncurses
ncurses-5.5-24.20060715
bouvrie@pc [~/wrt/openwrt]# rpm -q zlib
zlib-1.2.3-3
bouvrie@pc [~/wrt/openwrt]#

Any help on this? Yum installing packages tells me I've got the latest versions already...

(Last edited by bouvrie on 25 Apr 2010, 01:23)