676 (edited by jmlmoreno 2011-12-29 13:54:28)

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

With the help of DaniTool've gotten to work properly OpenWrt on a Netgear DG834G v4.

However, I have not had luck with the wifi interface.

When booting the system displays the following message:

[0.212000] ssb: WARNING: Using fallback SPROM failed (err -2)
[0.220000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
[0.224000] ssb: Unsupported SPROM review 0 detected. Will extract v1
[0.256000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0

PS: The mac address indicated on the wireless interface is not correct, I have only 00:00:00:00:00. If I put a valid MAC address, I get the following error message:

Radio0 PHY device for wifi not fount

Ratul011 wrote:

I can ensure you this post is not perfect for lerning more . If you want I"ll add more efective information for your post. I am sure It"ll be good fore visitors .

Ratul011, thank for you help me.

Attachment dmesg:

[    0.000000] Linux version 2.6.39.4 (josep@josep) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Wed Dec 28 20:03:53 CET 2011
[    0.000000] Detected Broadcom 0x6348 CPU revision b0
[    0.000000] CPU frequency is 240 MHz
[    0.000000] 16MB of RAM installed
[    0.000000] registering 37 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbfc00000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-6.8
[    0.000000] No bcm_tag found!
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00029107 (Broadcom BMIPS3300)
[    0.000000] board_bcm963xx: board name: 96348W3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00001000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00001000
[    0.000000] On node 0 totalpages: 4096
[    0.000000] free_area_init_node: node 0, pgdat 80277380, node_mem_map 802cb000
[    0.000000]   Normal zone: 32 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 4064 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Memory: 13324k/16384k available (2101k kernel code, 3060k reserved, 360k data, 172k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 239.10 BogoMIPS (lpj=478208)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 512
[    0.056000] NET: Registered protocol family 16
[    0.072000] board_bcm963xx: not enough mac address
[    0.080000] registering PCI controller with io_map_base unset
[    0.096000] bio: create slab <bio-0> at 0
[    0.108000] pci 0000:00:01.0: [14e4:4318] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00001fff]
[    0.124000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
[    0.128000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff])
[    0.132000] Switching to clocksource MIPS
[    0.148000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.156000] PCI: Setting latency timer of device 0000:00:01.0 to 64
[    0.176000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
[    0.176000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
[    0.176000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
[    0.176000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
[    0.212000] ssb: WARNING: Using fallback SPROM failed (err -2)
[    0.220000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
[    0.224000] ssb: Unsupported SPROM revision 0 detected. Will extract v1
[    0.256000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.264000] NET: Registered protocol family 2
[    0.272000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.280000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.288000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.292000] TCP: Hash tables configured (established 512 bind 512)
[    0.300000] TCP reno registered
[    0.304000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.308000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.316000] NET: Registered protocol family 1
[    0.320000] PCI: CLS 0 bytes, default 32
[    0.324000] audit: initializing netlink socket (disabled)
[    0.332000] type=2000 audit(0.332:1): initialized
[    0.336000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.344000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.356000] msgmni has been set to 26
[    0.360000] io scheduler noop registered
[    0.364000] io scheduler deadline registered (default)
[    0.372000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
[    0.380000] console [ttyS0] enabled, bootconsole disabled
[    0.400000] bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
[    0.404000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
[    0.416000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.420000]   Amd/Fujitsu Extended Query version 1.3.
[    0.424000] number of CFI chips: 1
[    0.428000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.436000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.444000] bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW-10
[    0.452000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
[    0.456000] bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
[    0.464000] bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 300000
[    0.472000] bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
[    0.480000] bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
[    0.488000] bcm963xx_flash: Spare partition is 340000 offset and length b0000
[    0.496000] Creating 5 MTD partitions on "bcm963xx":
[    0.500000] 0x000000000000-0x000000010000 : "CFE"
[    0.512000] 0x000000010100-0x0000000f0000 : "kernel"
[    0.516000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.536000] 0x0000000f0000-0x0000003f0000 : "rootfs"
[    0.544000] mtd: partition "rootfs" set to be root filesystem
[    0.552000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C0000
[    0.560000] 0x000000330000-0x0000003f0000 : "rootfs_data"
[    0.572000] 0x0000003f0000-0x000000400000 : "nvram"
[    0.584000] 0x000000010000-0x0000003f0000 : "linux"
[    0.604000] bcm63xx_enet MII bus: probed
[    0.612000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
[    0.624000] Registered led device: adsl-fail
[    0.624000] Registered led device: ppp
[    0.624000] Registered led device: ppp-fail
[    0.624000] Registered led device: power
[    0.628000] Registered led device: stop
[    0.628000] TCP westwood registered
[    0.632000] NET: Registered protocol family 17
[    0.636000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.644000] All bugs added by David S. Miller <davem@redhat.com>
[    0.668000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.680000] Freeing unused kernel memory: 172k freed
[    4.572000] eth1: link forced UP - 100/full - flow control off/off
[    4.900000] roboswitch: Probing device eth0:
[    4.904000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
[    4.916000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
[    4.928000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    4.936000] roboswitch: Probing device eth1: found a 5325! It's a 5350.
[   13.568000] Compat-wireless backport release: compat-wireless-2011-11-29
[   13.572000] Backport based on wireless-testing.git master-2011-12-01
[   13.880000] cfg80211: Calling CRDA to update world regulatory domain
[   14.788000] cfg80211: World regulatory domain updated:
[   14.796000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.804000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.812000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.820000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.828000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.836000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.356000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
[   16.432000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.436000] Broadcom 43xx driver loaded [ Features: PNL ]
[   16.496000] Button Hotplug driver version 0.4.1
[   16.852000] PPP generic driver version 2.4.2
[   17.300000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.724000] NET: Registered protocol family 24
[   18.044000] nf_conntrack version 0.5.0 (210 buckets, 840 max)
[   22.096000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
[   23.524000] eth1: link forced UP - 100/full - flow control off/off
[   24.120000] device eth1 entered promiscuous mode
[   24.304000] br-lan: port 1(eth1) entering forwarding state
[   24.312000] br-lan: port 1(eth1) entering forwarding state
[   45.988000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   46.004000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   46.008000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   52.592000] JFFS2 notice: (1034) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

Attachment logread:

Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.000000] Memory: 13324k/16384k available (2101k kernel code, 3060k reserved, 360k data, 172k init, 0k highmem)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.000000] NR_IRQS:128
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.000000] Calibrating delay loop... 239.10 BogoMIPS (lpj=478208)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.032000] pid_max: default: 32768 minimum: 301
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.036000] Mount-cache hash table entries: 512
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.056000] NET: Registered protocol family 16
Jan  1 00:00:20 OpenWrt kern.err kernel: [    0.072000] board_bcm963xx: not enough mac address
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.080000] registering PCI controller with io_map_base unset
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.096000] bio: create slab <bio-0> at 0
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.108000] pci 0000:00:01.0: [14e4:4318] type 0 class 0x000280
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00001fff]
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.124000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.128000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff])
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.132000] Switching to clocksource MIPS
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.148000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.156000] PCI: Setting latency timer of device 0000:00:01.0 to 64
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.176000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.176000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.176000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.176000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.212000] ssb: WARNING: Using fallback SPROM failed (err -2)
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.220000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.224000] ssb: Unsupported SPROM revision 0 detected. Will extract v1
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.256000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.264000] NET: Registered protocol family 2
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.272000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.280000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.288000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.292000] TCP: Hash tables configured (established 512 bind 512)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.300000] TCP reno registered
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.304000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.308000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.316000] NET: Registered protocol family 1
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.320000] PCI: CLS 0 bytes, default 32
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.324000] audit: initializing netlink socket (disabled)
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.332000] type=2000 audit(0.332:1): initialized
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.336000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.344000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.356000] msgmni has been set to 26
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.360000] io scheduler noop registered
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.364000] io scheduler deadline registered (default)
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.372000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.380000] console [ttyS0] enabled, bootconsole disabled
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.400000] bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.404000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.416000] Amd/Fujitsu Extended Query Table at 0x0040
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.420000]   Amd/Fujitsu Extended Query version 1.3.
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.424000] number of CFI chips: 1
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.428000] bcm963xx_flash: Read Signature value of CFE1CFE1
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.436000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.444000] bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW-10
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.452000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.456000] bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.464000] bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 300000
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.472000] bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.480000] bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.488000] bcm963xx_flash: Spare partition is 340000 offset and length b0000
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.496000] Creating 5 MTD partitions on "bcm963xx":
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.500000] 0x000000000000-0x000000010000 : "CFE"
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.512000] 0x000000010100-0x0000000f0000 : "kernel"
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    0.516000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.536000] 0x0000000f0000-0x0000003f0000 : "rootfs"
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.544000] mtd: partition "rootfs" set to be root filesystem
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.552000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C0000
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.560000] 0x000000330000-0x0000003f0000 : "rootfs_data"
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.572000] 0x0000003f0000-0x000000400000 : "nvram"
Jan  1 00:00:20 OpenWrt kern.notice kernel: [    0.584000] 0x000000010000-0x0000003f0000 : "linux"
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.604000] bcm63xx_enet MII bus: probed
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.612000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.624000] Registered led device: adsl-fail
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.624000] Registered led device: ppp
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.624000] Registered led device: ppp-fail
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.624000] Registered led device: power
Jan  1 00:00:20 OpenWrt kern.debug kernel: [    0.628000] Registered led device: stop
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.628000] TCP westwood registered
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.632000] NET: Registered protocol family 17
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.636000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.644000] All bugs added by David S. Miller <davem@redhat.com>
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.668000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Jan  1 00:00:20 OpenWrt kern.info kernel: [    0.680000] Freeing unused kernel memory: 172k freed
Jan  1 00:00:20 OpenWrt kern.info kernel: [    4.572000] eth1: link forced UP - 100/full - flow control off/off
Jan  1 00:00:20 OpenWrt kern.info kernel: [    4.900000] roboswitch: Probing device eth0:
Jan  1 00:00:20 OpenWrt kern.err kernel: [    4.904000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
Jan  1 00:00:20 OpenWrt kern.err kernel: [    4.916000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
Jan  1 00:00:20 OpenWrt kern.warn kernel: [    4.928000] No Robo switch in managed mode found, phy_id = 0xffffffff
Jan  1 00:00:20 OpenWrt kern.info kernel: [    4.936000] roboswitch: Probing device eth1: found a 5325! It's a 5350.
Jan  1 00:00:20 OpenWrt kern.info kernel: [   13.568000] Compat-wireless backport release: compat-wireless-2011-11-29
Jan  1 00:00:20 OpenWrt kern.info kernel: [   13.572000] Backport based on wireless-testing.git master-2011-12-01
Jan  1 00:00:20 OpenWrt kern.info kernel: [   13.880000] cfg80211: Calling CRDA to update world regulatory domain
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.788000] cfg80211: World regulatory domain updated:
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.796000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.804000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.812000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.820000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.828000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   14.836000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:20 OpenWrt kern.info kernel: [   16.356000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Jan  1 00:00:20 OpenWrt kern.debug kernel: [   16.432000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan  1 00:00:20 OpenWrt kern.info kernel: [   16.436000] Broadcom 43xx driver loaded [ Features: PNL ]
Jan  1 00:00:20 OpenWrt kern.info kernel: [   16.496000] Button Hotplug driver version 0.4.1
Jan  1 00:00:20 OpenWrt kern.info kernel: [   16.852000] PPP generic driver version 2.4.2
Jan  1 00:00:20 OpenWrt kern.info kernel: [   17.300000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 00:00:20 OpenWrt kern.info kernel: [   17.724000] NET: Registered protocol family 24
Jan  1 00:00:20 OpenWrt kern.info kernel: [   18.044000] nf_conntrack version 0.5.0 (210 buckets, 840 max)
Jan  1 00:00:22 OpenWrt kern.info kernel: [   22.096000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
Jan  1 00:00:22 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Jan  1 00:00:23 OpenWrt kern.info kernel: [   23.524000] eth1: link forced UP - 100/full - flow control off/off
Jan  1 00:00:24 OpenWrt kern.info kernel: [   24.120000] device eth1 entered promiscuous mode
Jan  1 00:00:24 OpenWrt kern.info kernel: [   24.304000] br-lan: port 1(eth1) entering forwarding state
Jan  1 00:00:24 OpenWrt kern.info kernel: [   24.312000] br-lan: port 1(eth1) entering forwarding state
Jan  1 00:00:26 OpenWrt user.info sysinit: 'radio0' is disabled
Jan  1 00:00:27 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan  1 00:00:27 OpenWrt user.info sysinit: 'radio0' is disabled
Jan  1 00:00:31 OpenWrt user.info sysinit: Loading defaults
Jan  1 00:00:31 OpenWrt user.info sysinit: Loading synflood protection
Jan  1 00:00:32 OpenWrt user.info sysinit: Adding custom chains
Jan  1 00:00:33 OpenWrt user.info sysinit: Loading zones
Jan  1 00:00:36 OpenWrt user.info sysinit: Loading forwardings
Jan  1 00:00:36 OpenWrt user.info sysinit: Loading redirects
Jan  1 00:00:36 OpenWrt user.info sysinit: Loading rules
Jan  1 00:00:36 OpenWrt user.info sysinit: Loading includes
Jan  1 00:00:36 OpenWrt user.info sysinit: Optimizing conntrack
Jan  1 00:00:37 OpenWrt user.info sysinit: Loading interfaces
Jan  1 00:00:37 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jan  1 00:00:40 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 00:00:40 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[1015]: started, version 2.59 cachesize 150
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[1015]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[1015]: using local addresses only for domain lan
Jan  1 00:00:44 OpenWrt daemon.warn dnsmasq[1015]: no servers found in /tmp/resolv.conf.auto, will retry
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[1015]: read /etc/hosts - 1 addresses
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq-dhcp[1015]: read /etc/ethers - 0 addresses
Jan  1 00:00:45 OpenWrt kern.warn kernel: [   45.988000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Jan  1 00:00:46 OpenWrt kern.warn kernel: [   46.004000] jffs2_build_filesystem(): unlocking the mtd device... done.
Jan  1 00:00:52 OpenWrt kern.warn kernel: [   46.008000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
Jan  1 00:00:52 OpenWrt kern.notice kernel: [   52.592000] JFFS2 notice: (1034) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Jan  1 00:00:53 OpenWrt user.info sysinit: copying files ... done
Jan  1 00:01:00 OpenWrt authpriv.info dropbear[1091]: Running in background
Jan  1 00:01:01 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPDISCOVER(br-lan) 1c:75:08:23:b6:3b
Jan  1 00:01:01 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPOFFER(br-lan) 192.168.1.175 1c:75:08:23:b6:3b
Jan  1 00:01:01 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPREQUEST(br-lan) 192.168.1.175 1c:75:08:23:b6:3b
Jan  1 00:01:01 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPACK(br-lan) 192.168.1.175 1c:75:08:23:b6:3b Josep-Portatil
Jan  1 00:01:04 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPINFORM(br-lan) 192.168.1.175 1c:75:08:23:b6:3b
Jan  1 00:01:04 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPACK(br-lan) 192.168.1.175 1c:75:08:23:b6:3b Josep-Portatil
Jan  1 00:03:40 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPREQUEST(br-lan) 192.168.1.175 1c:75:08:23:b6:3b
Jan  1 00:03:40 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPACK(br-lan) 192.168.1.175 1c:75:08:23:b6:3b Josep-Portatil
Jan  1 00:04:13 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPINFORM(br-lan) 192.168.1.175 1c:75:08:23:b6:3b
Jan  1 00:04:13 OpenWrt daemon.info dnsmasq-dhcp[1015]: DHCPACK(br-lan) 192.168.1.175 1c:75:08:23:b6:3b Josep-Portatil
Jan  1 00:04:49 OpenWrt auth.info passwd: Password for root changed by root

Please, Can anyone help me to get the wifi interface it works?.

How I can fix the following errors?:


[    4.900000] roboswitch: Probing device eth0:
[    4.904000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
[    4.916000] roboswitch: [/media/OpenWrt/openwrt/src/trunk/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
[    4.928000] No Robo switch in managed mode found, phy_id = 0xffffffff

ssb: WARNING: Using fallback SPROM failed (err -2)
[    0.220000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
[    0.224000] ssb: Unsupported SPROM revision 0 detected. Will extract v1
[    0.256000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0

The contents of the file  /sys/devices/pci0000:00/0000:00:01:0/ssb_sprom only has 0s.

As I can post to the wiki steps to put openwrt on the DG834G v4?

Thanks!!!

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

The wifi still is not working on those Netgears ? Seems like same problems I was having as well.

678 (edited by jmlmoreno 2012-01-03 19:46:09)

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

Thank bulanula., It seems the problem is to get the MAC address of the wifi card.

Anyone else had this problem?

The changes I made are:
board_bcm963xx.c

static struct board_info __initdata board_96348W3 = {
    .name                 = "96348W3",
    .expected_cpu_id        = 0x6348,

    .has_uart0             = 1,
    .has_enet0            = 1,
    .has_enet1             = 1,
    .has_pci            = 1,

    .enet0 = {
        .has_phy        = 1,
        .use_internal_phy    = 1,
    },

    .enet1 = {
        .force_speed_100    = 1,
        .force_duplex_full    = 1,
    },

    .has_ohci0             = 1,
    .has_pccard             = 1,
    .has_ehci0             = 1,

    .has_dsp             = 1,
    .dsp = {
        .gpio_rst         = 6,
        .gpio_int         = 34,
        .cs             = 2,
        .ext_irq         = 2,
    },

    .leds = {
        {
            .name         = "adsl-fail",
            .gpio        = 2,
            .active_low    = 1,
        },
        {
            .name         = "ppp",
            .gpio        = 3,
            .active_low    = 1,
        },
        {
            .name         = "ppp-fail",
            .gpio         = 4,
            .active_low    = 1,
        },
        {
            .name         = "power",
            .gpio         = 0,
            .active_low    = 1,
            .default_trigger = "default-on",
        },
        {
            .name         = "stop",
            .gpio         = 1,
            .active_low    = 1,
        },
    },
};

#ifdef CONFIG_BCM63XX_CPU_6348
    &board_96348r,
    &board_96348gw,
    &board_gw6000,
    &board_gw6200,
    &board_96348gw_10,
    &board_96348gw_11,
    &board_FAST2404,
    &board_DV201AMR,
    &board_96348gw_a,
    &board_rta1025w_16,
    &board_96348_D4PW,
    &board_spw500v,
    &board_96348sv,
    &board_V2500V_BB,
    &board_V2110,
    &board_ct536_ct5621,
    &board_96348W3,  // => Add line

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

You can try to add this option to the /etc/config/wireless

option phy      phy0

and putting also a valid mac address, or commenting the existing mac address. But I suspect it neither won't work.

680 (edited by jmlmoreno 2012-01-09 11:36:11)

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

Thanks to the invaluable help of danitool I got my NetGear DG834G v4 to work properly. These are the steps I have taken:

1) Configuration of LEDs:

GPIO 0 => Led green power            0= on led green "Power"    1= off led green "Power"
GPIO 1 => Led red power                    0= on led red "Power",            1= off led red "Power"
GPIO 2 => Led DSL                        0= on led "DSL",              1= off led "DSL"
GPIO 3 => Led Internet                    0= on led "Internet",            1= off led "Internet"
GPIO 4 =>  0 reset  router

2) In file: openwrt/src/trunk/build_dir/linux-brcm63xx/linux-2.6.39.4/arch/mips/bcm63xx/boards/board_bcm963xx.c

Add the following lines:

/* NetGear DG834G v4 */
static struct board_info __initdata board_96348W3 = {
    .name                 = "96348W3",
    .expected_cpu_id        = 0x6348,

    .has_uart0             = 1,
    .has_enet0             = 0,
    .has_enet1            = 1,
    .has_pci            = 1,

    .enet1 = {
        .force_speed_100    = 1,
        .force_duplex_full    = 1,
    },

    .has_ohci0             = 1, // usb 1.1
    .has_pccard             = 0, // pcard o pcmcia
    .has_ehci0             = 0, // usb 2.0

    .leds = {
        {
            .name        = "power:green",
            .gpio        = 0,
            .active_low    = 1,
            .default_trigger = "default-on",
        },
        {
            .name        = "power:red",
            .gpio        = 1,
            .active_low    = 1,
        },
        {
            .name        = "adsl",
            .gpio        = 2,
            .active_low    = 1,
        },
        {
            .name        = "Internet(ppp)",
            .gpio        = 3,
            .active_low    = 1,
        },
    },
    .buttons = {
            {
            .desc        = "reset",
            .gpio        = 6,
            .active_low    = 1,
            .type        = EV_KEY,
            .code        = KEY_RESTART,
            .threshold    = 3,
            },
    },
};

.......

#ifdef CONFIG_BCM63XX_CPU_6348
    &board_96348r,
    &board_96348gw,
    &board_gw6000,
    &board_gw6200,
    &board_96348gw_10,
    &board_96348gw_11,
    &board_FAST2404,
    &board_DV201AMR,
    &board_96348gw_a,
    &board_rta1025w_16,
    &board_96348_D4PW,
    &board_spw500v,
    &board_96348sv,
    &board_V2500V_BB,
    &board_V2110,
    &board_ct536_ct5621,
    &board_96348W3, //  <= Add this line
#endif

3) Custom network file:

In openwrt/src/trunk/target/linux/brcm63xx/base-files/etc/defconfig/96348W3    <= I created a directory with the board id

4) Create a file 'network' with the following contents:

# Copyright (C) 2006 OpenWrt.org

config interface loopback
    option ifname    lo
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0

config interface lan
    option ifname    eth0
    option type     bridge
    option proto    static
    option ipaddr    192.168.1.1
    option netmask    255.255.255.0

WiFi and Ethernet network card worked fine.

More details in: http://wiki.openwrt.org/toh/netgear/dg834.v4

Thank you all.

681 (edited by bulanula 2012-01-09 11:05:30)

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

Good to know. On the DG834GT I think you have to install the ath9k package or something for the wireless to work.

It has a separate Atheros wifi mini pci card inside not the integrated BCM chip etc.

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

All the details on how to install OpenWrt on a Netgear DG834G v4 on the following page: http://wiki.openwrt.org/toh/netgear/dg834.v4

PD: PD: Update on progress

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

Well good to see that your PCB is rusty as mine on the DG834GT is.

Also the DG834G has the wireless chip integrated not a separate card etc. like my DG834GT

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

jmlmoreno wrote:

Thanks to the invaluable help of danitool I got my NetGear DG834G v4 to work properly. These are the steps I have taken:

1) Configuration of LEDs:

GPIO 0 => Led green power            0= on led green "Power"    1= off led green "Power"
GPIO 1 => Led red power                    0= on led red "Power",            1= off led red "Power"
GPIO 2 => Led DSL                        0= on led "DSL",              1= off led "DSL"
GPIO 3 => Led Internet                    0= on led "Internet",            1= off led "Internet"
GPIO 4 =>  0 reset  router

2) In file: openwrt/src/trunk/build_dir/linux-brcm63xx/linux-2.6.39.4/arch/mips/bcm63xx/boards/board_bcm963xx.c

Add the following lines:

/* NetGear DG834G v4 */
static struct board_info __initdata board_96348W3 = {
    .name                 = "96348W3",
    .expected_cpu_id        = 0x6348,

    .has_uart0             = 1,
    .has_enet0             = 0,
    .has_enet1            = 1,
    .has_pci            = 1,

    .enet1 = {
        .force_speed_100    = 1,
        .force_duplex_full    = 1,
    },

    .has_ohci0             = 1, // usb 1.1
    .has_pccard             = 0, // pcard o pcmcia
    .has_ehci0             = 0, // usb 2.0

    .leds = {
        {
            .name        = "power:green",
            .gpio        = 0,
            .active_low    = 1,
            .default_trigger = "default-on",
        },
        {
            .name        = "power:red",
            .gpio        = 1,
            .active_low    = 1,
        },
        {
            .name        = "adsl",
            .gpio        = 2,
            .active_low    = 1,
        },
        {
            .name        = "Internet(ppp)",
            .gpio        = 3,
            .active_low    = 1,
        },
    },
    .buttons = {
            {
            .desc        = "reset",
            .gpio        = 6,
            .active_low    = 1,
            .type        = EV_KEY,
            .code        = KEY_RESTART,
            .threshold    = 3,
            },
    },
};

.......

#ifdef CONFIG_BCM63XX_CPU_6348
    &board_96348r,
    &board_96348gw,
    &board_gw6000,
    &board_gw6200,
    &board_96348gw_10,
    &board_96348gw_11,
    &board_FAST2404,
    &board_DV201AMR,
    &board_96348gw_a,
    &board_rta1025w_16,
    &board_96348_D4PW,
    &board_spw500v,
    &board_96348sv,
    &board_V2500V_BB,
    &board_V2110,
    &board_ct536_ct5621,
    &board_96348W3, //  <= Add this line
#endif

3) Custom network file:

In openwrt/src/trunk/target/linux/brcm63xx/base-files/etc/defconfig/96348W3    <= I created a directory with the board id

4) Create a file 'network' with the following contents:

# Copyright (C) 2006 OpenWrt.org

config interface loopback
    option ifname    lo
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0

config interface lan
    option ifname    eth0
    option type     bridge
    option proto    static
    option ipaddr    192.168.1.1
    option netmask    255.255.255.0

WiFi and Ethernet network card worked fine.

More details in: http://wiki.openwrt.org/toh/netgear/dg834.v4

Thank you all.

Is, also ADSL connection working?

Can you please upload firmware .bin file?

Thanks in advance.

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

aleixsr wrote:

Is, also ADSL connection working?

Can you please upload firmware .bin file?

Thanks in advance.

bcm63xx routers haven't their adsl working in openwrt, there aren't drivers for the adsl and probably never will.

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

If you want ADSL working and customizable firmware for DG834GT I suggest you try DGTeam firmware.

I don't need ADSL so I am using OpenWRT on mine.

687

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

AFAIK DGTeam is still blatently violating the GPL and asking for money to download their binaries. Steve-o set up a sourceforge page without source code; not exactly confidence-inspiring. I'd love to be proven wrong...

Lua DDT remote debugger - soon for OpenWrt
www.inhance.com/developer

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

petah wrote:

AFAIK DGTeam is still blatently violating the GPL and asking for money to download their binaries. Steve-o set up a sourceforge page without source code; not exactly confidence-inspiring. I'd love to be proven wrong...

Really ? LOL. Last time I looked anyone could download the source code and the binary FW. Maybe they have changed since then to the dark side ...

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

Hi all,
on the router DG834GT with firmware openwrt trunk 29824, the reset button on the back is not trapped when pressed ;to do a reset of the configuration, how can I enable it?
Is there a guide?

Bye
MisteroX

690 (edited by misteroX 2012-02-16 12:23:02)

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

misteroX wrote:

Hi all,
on the router DG834GT with firmware openwrt trunk 29824, the reset button on the back is not trapped when pressed ;to do a reset of the configuration, how can I enable it?
Is there a guide?

Bye
MisteroX

Hi all,
I solved in this way :

As for the DG834G.v4 add in file trunk/build_dir/linux-brcm63xx/linux-2.6.39.4/arch/mips/bcm63xx/boards/board_bcm963xx.c  (only section in red)

static struct board_info __initdata board_96348gw_10 = {
        .name                           = "96348GW-10",
        .expected_cpu_id                = 0x6348,

        .has_uart0                      = 1,
        .has_enet0                      = 1,
        .has_enet1                      = 1,
        .has_pci                        = 1,

        .enet0 = {
                .has_phy                = 1,
                .use_internal_phy       = 1,
        },
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },

        .has_ohci0                      = 1,
        .has_pccard                     = 1,
        .has_ehci0                      = 1,

        .has_dsp                        = 1,
        .dsp = {
                .gpio_rst               = 6,
                .gpio_int               = 34,
                .cs                     = 2,
                .ext_irq                = 2,
        },

        .leds = {
                {
                        .name           = "adsl-fail",
                        .gpio           = 2,
                        .active_low     = 1,
                },
                {
                        .name           = "ppp",
                        .gpio           = 3,
                        .active_low     = 1,
                },
                {
                        .name           = "ppp-fail",
                        .gpio           = 4,
                        .active_low     = 1,
                },
                {
                        .name           = "power",
                        .gpio           = 0,
                        .active_low     = 1,
                        .default_trigger = "default-on",
                },
                {
                        .name           = "stop",
                        .gpio           = 1,
                        .active_low     = 1,
                },
        },


        .buttons = {
                {
                        .desc           = "reset",
                        .gpio           = 6,
                        .active_low     = 1,
                        .type           = EV_KEY,
                        .code           = KEY_RESTART,
                        .threshold      = 3,
                },
        },

};

and from wiki : http://wiki.openwrt.org/doc/howto/hardware.button

add in file /etc/config/system :

config 'button'
        option 'button' 'reset'
        option 'action' 'released'
        option 'handler' 'firstboot && reboot'
        option 'min' '5'
        option 'max' '30'

create folder  :

mkdir -p /etc/hotplug.d/button

create file /etc/hotplug.d/button/buttons

#!/bin/sh

logger $BUTTON
logger $ACTION

create file /etc/hotplug.d/button/00-button

. /etc/functions.sh
do_button () {
        local button
        local action
        local handler
        local min
        local max

        config_get button $1 button
        config_get action $1 action
        config_get handler $1 handler
        config_get min $1 min
        config_get max $1 max

        [ "$ACTION" = "$action" -a "$BUTTON" = "$button" -a -n "$handler" ] && {
                [ -z "$min" -o -z "$max" ] && eval $handler
                [ -n "$min" -a -n "$max" ] && {
                        [ $min -le $SEEN -a $max -ge $SEEN ] && eval $handler
                }
        }
}

config_load system
config_foreach do_button button

Now, reset button works and reset configuration to default.

By
MisteroX

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

danitool wrote:

bcm63xx routers haven't their adsl working in openwrt, there aren't drivers for the adsl and probably never will.

Are you sure? I'm a linux-noob, also a OpenWrt--noob, but i'm interested to use OpenWRT on a Speedport W500V which also uses BCM63xx-chipset. Because of this i already read some threads and found answers that dsl-modem of Speedport W500V is working:

https://forum.openwrt.org/viewtopic.php?pid=86996#p86996

Maybe i didn't understand it correctly or this is only for the W500V and not for all BCM63xx-routers?!

692 (edited by bulanula 2012-02-09 23:49:45)

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

misteroX wrote:

Hi all,
on the router DG834GT with firmware openwrt trunk 29824, the reset button on the back is not trapped when pressed ;to do a reset of the configuration, how can I enable it?
Is there a guide?

Bye
MisteroX

Yeah. Noticed that too. Thanks for the fix !

Can we somehow modify the firmware so future images work out of the box on the DG834GT ?

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

@bulanula

Hi,
for DG834GT I opened a ticket number 10854.
I am waiting for resolution of ticket.

Bye
MisteroX

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

Hello, Could someone please post a working CFE for Thomson TG585v7. Its driving me nuts that I cant find it and the original one is locked up so you can't load Openwrt. I did try several ones for BCM6338 without success. Maybe I am just using the jtag wrong. I have a DLC5 jtag cable and currently using TJTAG v3.0.1 since urjtag doesn't have a driver patch for this particular flash chip. Thank you guys in advance.

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

I think I figured out a problem. My original cfe is byte swapped and the replacements are not byte swapped. I guess I will need to learn how to fix it my self unless you guys can point me to a tutorial.

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

I think there are several ways for flashing the bootloader and/or byte swap. This is one I've succesfully tested:
http://wiki.openwrt.org/toh/inventel/dv4210#debrick

BTW UrJtag in the latest trunk works with the bcm6348 chipsets.

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

I already got urjtag working with bcm6338, but its missing the flash patch for my spansion flash chip. So its incompatible except for reading. It wont allow me to write. tjtag seems to work fine since I can backup my flash and write my flash without incident. The only problem I have is I can not find a CFE files that will boot on this router. Or I need help with Tjtag to write the CFE if I am making a mistake.

This is my current command for Tjtag
./rtjtag64 -flash:cfe /bypass /fc:85 /silent
Am I missing something?

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

Well if you flash your CFE and then making a backup both files are identical then you are flashing correctly. I'm not sure about swapping with Tjtag since I've never used it.

Probably the CFE isn't compatible with your router. For being compatible at least RAM and flash should be the same size if you use a CFE from another bcm6338 router. And of course a CFE from a bcm6348 router won't be compatible with yours.

699 (edited by ps2chiper 2012-02-24 01:16:02)

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

Well I was able to solve my own problem. I found that guys website with the cfe builders, and used it. I had to build pylzma and I am including it for 64 bit linux in the folder. So this should help out anyone else in my position.

http://d01.megashares.com/dl/Qfqwjjr/cfe_builder_Thomson_TG585v7.rar

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

misteroX wrote:

@bulanula

Hi,
for DG834GT I opened a ticket number 10854.
I am waiting for resolution of ticket.

Bye
MisteroX

Yeah. I tried failsafe mode on this router and it did not work because it seems none of the buttons are configured.

Could be costly if you mess up network settings and don't have serial access to bootloader ( CFE ), which I don't, currently.

Thank you and let us know when it is resolved and how we can apply it / use it ( maybe it already is built into the next images that will be released after Backfire ? ) !