I'm not sure what's the situation for bcm6348. AFAIK, for bcm6358 with the CFE version since 3.10, the board is able to recognize the memory automatically. I've seen some one hacked with 128MB memory.
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.
Hi,
I'm following a similar line to Isaac702.
I have a BT Voyager 2500V (uses a Dynalink/Askey RTA1046VW Rev 2.0 PCB) which uses a board ID of V2500V_BB
So far all I've done is the simple modification to build firmware with right boardID in target/linux/brcm63xx/image/Makefile
+ # BT Voyager 2500VW
+ $(call Image/Build/CFE,$(1),V2500V_BB,6348)
However the tftp upload of the firmware fails with
FlashLayoutVer=0 curFlashLayoutVer=5
Reading Isaac702's posts I see that even if I get the Flash Version byte in the header set correctly, there are problems with CRCs.
So I'll email cshore with the output of CFE and a sample firmware.
Thanks
Roger Hardiman
(Last edited by RogerH on 8 Jun 2009, 12:50)
hi all,
wrote a small article on the connecting serial DB-9 cable (asus wl-600g)
(Last edited by CHERTS on 9 Jun 2009, 03:50)
@RogherH, Isaac702:
Trunk has a patch that may allow the BT Voyager to from the web interface now. If you get a CRC error on reboot, it may be that what I thought was a kernel CRC is a rootfs kernel CRC (I had to guess and I can't test, as I don't have the modem)
@MisteroX:
Can you try web flashing from stock firmware with latest trunk?
@everyone:
Testing and reports on the new imagetag, especially web flashing (cfe should 'just work', but there may be exceptions for that too), would be appreciated. Boot logs, source code, and firmware images all welcomed.
Regards,
Daniel
(Last edited by cshore on 9 Jun 2009, 09:25)
I build a new openwrt firmware, add HotSpot in webif, but in the web have 2 HotSpott
(Last edited by yuzt on 9 Jun 2009, 13:52)
@MisteroX:
Can you try web flashing from stock firmware with latest trunk?
@everyone:
Testing and reports on the new imagetag, especially web flashing (cfe should 'just work', but there may be exceptions for that too), would be appreciated. Boot logs, source code, and firmware images all welcomed.
Regards,
Daniel
I have sent in mail my test.
Bye
MisteroX
@everyone:
Testing and reports on the new imagetag, especially web flashing (cfe should 'just work', but there may be exceptions for that too), would be appreciated. Boot logs, source code, and firmware images all welcomed.
Regards,
Daniel
Thanks foe your work.
It seems that new imagetag has somthing broken on comtrend 536 boards (bcm6348GW-11).
rootfs mtd partition is missing.
#######################################################################
upgrading with openwrt-96348GW-11-squashfs-bc300-cfe.bin
#######################################################################
upgrading from web:
...
: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
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 and board type 96348GW-11.
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 nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 3 is linux offset 10000 and length 3f0000
Creating 4 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000f0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only nly
0x003f0000-0x00400000 : "nvram"
0x00010000-0x00400000 : "linux"
bcm63xx_wdt started, timer margin: 40 sec
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>
jffs2: Too few erase blocks (1)
List of all partitions:
1f00 64 mtdblock0 (driver?)
1f01 895 mtdblock1 (driver?)
1f02 64 mtdblock2 (driver?)
1f03 4032 mtdblock3 (driver?)
No filesystem could mount root, tried: squashfs jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
upgrading from cfe:
...
?console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
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 and board type 96348GW-11.
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 nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 3 is linux offset 10000 and length 3f0000
Creating 4 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000f0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00010000-0x00400000 : "linux"
bcm63xx_wdt started, timer margin: 40 sec
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>
jffs2: Too few erase blocks (1)
List of all partitions:
1f00 64 mtdblock0 (driver?)
1f01 895 mtdblock1 (driver?)
1f02 64 mtdblock2 (driver?)
1f03 4032 mtdblock3 (driver?)
No filesystem could mount root, tried: squashfs jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
#################################################################################
upgrading with openwrt-96348GW-11-squashfs-bccfe-cfe.bin
#################################################################################
upgrading from web:
...
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 0.
web info: Upload 3538948 bytes, Broadcom image format.
CFE> Illegal root file system [2621440] and kernel [917248] combined sizes [3538688].
Sizes must not be greater than [3145728]
Resetting board...
upgrading from cfe:
...
console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
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 and board type 96348GW-11.
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 nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 3 is linux offset 10000 and length 3f0000
Creating 4 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000f0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00010000-0x00400000 : "linux"
bcm63xx_wdt started, timer margin: 40 sec
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>
jffs2: Too few erase blocks (1)
List of all partitions:
1f00 64 mtdblock0 (driver?)
1f01 895 mtdblock1 (driver?)
1f02 64 mtdblock2 (driver?)
1f03 4032 mtdblock3 (driver?)
No filesystem could mount root, tried: squashfs jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
thanks
(Last edited by t3l3m4k0 on 10 Jun 2009, 10:13)
@everyone:
Testing and reports on the new imagetag, especially web flashing (cfe should 'just work', but there may be exceptions for that too), would be appreciated. Boot logs, source code, and firmware images all welcomed.
Regards,
Daniel
Hi Daniel,
for DG834GT the default file extension for send firmware through web interface Netgear is *.img.
Error :
Invalid filename was provided, please enter again:(*.img)
I have renamed the file openwrt-9634GW-10-squashfs-bc300-cfe.bin in openwrt-9634GW-10-squashfs-bc300-cfe.img and the Web Interface shows the error
Error :
Upgrade file is not the correct type or version for this device.
Upgrade failed.
Please obtain the correct file and try again.
If I use my script to convert the firmware openwrt-9634GW-10-squashfs-bc300-cfe.bin in openwrt-DG834GT_16393_bc300.img then I can send it through the Web Interface: see post #424
dmesg firmware openwrt-DG834GT_16393_bc300.img :
BusyBox v1.13.4 (2009-06-09 16:15:37 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, r16393) -------------------
* 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:/# dmesg
Linux version 2.6.27.24 (misteroX@ubuntu) (gcc version 4.1.2) #1 Tue Jun 9 16:43:30 CEST 2009
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256000000 Hz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: unknown
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
board_bcm963xx: board name: 96348GW-10
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 802680a0, node_mem_map 802ae000
Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13496k/16384k available (2071k kernel code, 2888k reserved, 334k data, 128k init, 0k highmem)
Calibrating delay loop... 254.97 BogoMIPS (lpj=509952)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
board_bcm963xx: not enough mac address
registering PCI controller with io_map_base unset
PCI: 0000:00:01.0 reg 10 32bit mmio: [0, ffff]
bus: 00 index 0 io port: [8000000, 800ffff]
bus: 00 index 1 mmio: [30000000, 37ffffff]
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.273: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 26
io scheduler noop registered
io scheduler cfq registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
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 96348GW-10, and tagid bccfe.
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 300000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000f0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000f0000-0x003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2D0000, len=120000
0x002d0000-0x003f0000 : "rootfs_data"
0x003f0000-0x00400000 : "nvram"
0x00010000-0x003f0000 : "linux"
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 ...
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
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
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found!
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)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IMQ driver loaded successfully.
Hooking IMQ before NAT on PREROUTING.
Hooking IMQ after NAT on POSTROUTING.
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x30000000, irq=32
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
Bye
MisteroX
Hi guys,
I wonder if bcm6348 platforms such as Livebox have fully functional CardBus/PCMCIA support? I.e. can I plug let say CardBus SD card reader and put there 16Gb SDHC Card? Or at least some PCMCIA CFI card
guys says that in Netgear
ftp://downloads.netgear.com/files/GPL/
present source code for adsl:
guys says that in Netgear
ftp://downloads.netgear.com/files/GPL/present source code for adsl:
Hi AndreyPopov,
The source code for the driver ADSL is not present in source code firmware netgear.
In source code are present only "header files" and not the complete code!!!
Bye
MisteroX
For USR9108: openwrt-96348GW-A-squashfs-bc300-cfe.bin via web or cfe works fine!
@t3l3m4ko:
Have you done make clean? It looks like the build you didn't didn't pick up the changes to the source code, because I see that the boot message isn't the message you would get with the new code for the mtd driver. It should mention a tagid.
@t3l3m4ko:
Have you done make clean? It looks like the build you didn't didn't pick up the changes to the source code, because I see that the boot message isn't the message you would get with the new code for the mtd driver. It should mention a tagid.
yes i have made "make clean" and also "make target/linux clean".
I have divereses troubles after upgrade host system from fc10 to fc11, i think i must reinstall linux.
thanks
(Last edited by t3l3m4k0 on 15 Jun 2009, 19:11)
hello all !
at last managed to run latest trunk r16521 on my asus am-604g.
root@OpenWrt:/# dmesg
Linux version 2.6.27.25 (avishay@localhost.localdomain) (gcc version 4.1.2) #2 Sat Jun 20 12:45:13 IDT 2009
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-10.2
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
board_bcm963xx: board name: D-4P-W
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 802640e0, node_mem_map 802aa000
Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13512k/16384k available (2053k kernel code, 2872k reserved, 336k data, 128k init, 0k highmem)
Calibrating delay loop... 255.48 BogoMIPS (lpj=510976)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
PCI: 0000:00:01.0 reg 10 32bit mmio: [0, 1fff]
bus: 00 index 0 io port: [8000000, 800ffff]
bus: 00 index 1 mmio: [30000000, 37ffffff]
Switched to high resolution mode on CPU 0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
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: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.366: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 26
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 0xfffe0300 (irq = 10) is a bcm63xx_uart
console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
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 96348, and tagid bc221.
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 300000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000f0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000f0000-0x003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=260000, len=190000
0x00260000-0x003f0000 : "rootfs_data"
0x003f0000-0x00400000 : "nvram"
0x00010000-0x003f0000 : "linux"
bcm63xx_wdt started, timer margin: 30 sec
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 ...
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
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)
phy0: Selected rate control algorithm 'minstrel'
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)
root@OpenWrt:/#
can i manipulate the switch ports ?
i would like to use this unit with cable modem
avishay
With lots of help from cshore I can now flash OpenWRT onto my BT Voyager 2500V (same HW was RTA1046VW from Dynalink)
OpenWRT starts to load but the kernel fails to read the version of CFE and fails to detemine the board name, so OpenWRT does a kernel panic and stops.
The boot log is pasted below.
I've seen the code to read the CFE version is in the prom init () function. On my board it reads all zeros where it is expecting a CFE version number.
Is the board ID is held somewhere else in the flash. Does anyone have any ideas or test code I can compile up and try?
Thanks
RogerH
CFE version 1.0.37-0.6.8 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jan 18 13:51:34 CST 2007 (michaelc)Flash Config: CS0(1f80000a,1f),Base(bf800000),Size(8MB)
Ethernet Network Device: External PHY
bootflag 0
found@block 72
boot from bank 0Board IP address : 192.168.1.1
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 : bcmModelName_fs_kernel
Boot delay (1-9 seconds) : 1
Board Id Name : V2500V_BB
Psi size in KB : 24
Number of MAC Addresses (1-32) : 3
Ethernet MAC Address : 00:11:f5:c4:16:c6
Wireless sprom saved flag : n
WEP 128bit Key : 0000000000000
Memory size in MB : 16
==== Press space key to stop auto run (1 seconds) ====
Auto run second count down(before hit space key): 0
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.27.24 (roger@white) (gcc version 4.1.2) #1 Thu Jun 18 10:08:49
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 240000000 Hz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: unknown
board_bcm963xx: unknown bcm963xx board:
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
Kernel panic - not syncing: unable to detect bcm963xx board
(Last edited by RogerH on 20 Jun 2009, 22:03)
Hello everyone,
following this thread with interest and stil have some questions on an USR9107 .
I think that compared to the USR9108 , it's identical, just no wifi.
Would the openwrt-96348GW-A-squashfs-bc300-cfe.bin work as well ? (I guess so:)
Is ADSL2+ support fully functional on that one ? (is the A before squashfs, synonym for Adsl?)
Also, less important, but can an USB stick be used as external storage (I've seen some patches for USB recently).
Thanks!
96348GW-A is board Id, not synonym for adsl. No dsl drivers yet. So you probably can reflash 9107, but the ADSL modem will not work.
tx for the quick answer ! As I need adsl, I won't be able to use openwrt here
I thougt some dsl support was available with some binaries ?(not sure for which platform)
tx
Hi all,
I have a ADSL modem based on BCM6368.
Follows the console output.
CFE version 1.0.37-10.2 for BCM96338 (32bit,SP,BE)
Build Date: Thu Jun 14 11:57:45 PDT 2007 (root@dhcp-10-12-160-156)
Copyright (C) 2000-2006 Broadcom Corporation.
Boot Address 0xbfc00000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV160B, id 0x2249, size 2048KB
100 MB Full-Duplex (auto-neg)
CPU type 0x29010: 240MHz
Total memory: 8388608 bytes (8MB)
Total memory used by CFE: 0x80401000 - 0x80527640 (1205824)
Initialized Data: 0x8041D050 - 0x8041EE70 (7712)
BSS Area: 0x8041EE70 - 0x80425640 (26576)
Local Heap: 0x80425640 - 0x80525640 (1048576)
Stack Area: 0x80525640 - 0x80527640 (8192)
Text (code) segment: 0x80401000 - 0x8041D050 (114768)
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.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) : 3
Board Id (0-7) : 96338L-2M-8M
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:73:07:45:78:bb
PSI Size (1-64) KBytes : 24
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 33210
Booting from only image (0xbfc10000) ...
Code Address: 0x80010000, Entry Address: 0x80183018
Decompression OK!
Entry at 0x80183018
Closing network.
Starting program at 0x80183018
Linux version 2.6.8.1 (root@chengwei) (gcc version 3.4.2) #1 Mon Nov 26 11:40:57 EST 2007
Parallel flash device: name AM29LV160B, id 0x2249, size 2048KB
96338L-2M-8M prom init
CPU revision is: 00029010
Determined physical RAM map:
memory: 007a0000 @ 00000000 (usable)
On node 0 totalpages: 1952
DMA zone: 1952 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 console=ttyS0,115200
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: 32 (order 5: 256 bytes)
Using 120.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 6016k/7808k available (1291k kernel code, 1772k reserved, 189k data, 64k init, 0k highmem)
KLOB Pool 1 Initialized: 1048576 bytes <0x80600000 ... 0x80700000>
Calibrating delay loop... 239.20 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction... unavailable.
NET: Registered protocol family 16
Total Flash size: 2048K with 35 sectors
File system address: 0xbfc10100
Can't analyze prologue code at 80151584
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Using noop io scheduler
bcm963xx_mtd driver v1.0
brcmboard: brcm_board_init entry
Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xfffe0300 (irq = 10) is a BCM63XX
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
NET: Registered protocol family 1
NET: Registered protocol family 17
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 64k freed
init started: BusyBox v1.00 (2007.11.26-16:42+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
BusyBox v1.00 (2007.11.26-16:42+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.
adsl: adsl_init entry
blaadd: blaa_detect entry
BCMPROCFS v1.0 initialized
BCM6338A2 Ethernet Network Device v0.3 Nov 26 2007 11:39:23
Config Internal PHY Through MDIO
BCM63xx_ENET: 100 MB Full-Duplex (auto-neg)
eth0: MAC Address: 00:73:07:45:78:BB
eth0 Link UP.
BcmAdsl_Initialize=0xC00613C8, g_pFnNotifyCallback=0xC007A274
AnnexCParam=0x7FFF7EB8 AnnexAParam=0x00000980 adsl2=0x00000000
pSdramPHY=0xA07FFFF8, 0x29409291 0x4703201A
AdslCoreHwReset: AdslOemDataAddr = 0xA07FD3D4
AnnexCParam=0x7FFF7EB8 AnnexAParam=0x00000980 adsl2=0x00000000
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
ATM proc init !!!
==> Bcm963xx Software Version: 3.10L.02.A2pB022g.d20h <==
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
BcmRfc2684_init interface is not up nas_0_8_35!
pvc2684ctl -a -v 0.8.35 &
pvc2684d: Interface "nas_0_8_35" created sucessfully
pvc2684d: Communicating over ATM 0.8.35, encapsulation: LLC
device nas_0_8_35 entered promiscuous mode
br0: port 2(nas_0_8_35) entering learning state
br0: topology change detected, propagating
br0: port 2(nas_0_8_35) entering forwarding state
CONSOLED launched
Login: admin
Password:
> sh
BusyBox v1.00 (2007.11.26-16:42+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
# cat /pro# cat /proc/cp# cat /proc/cpuinfo
system type : 96338L-2M-8M
processor : 0
cpu model : BCM6338 V1.0
BogoMIPS : 239.20
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : no
unaligned access : 5
VCED exceptions : not available
VCEI exceptions : not available
#
I see that on the downloads site there is some firmware
like openwrt-8L-2M-8M-jffs2-*cfe.bin, but I didn't understand how to update the firmware via CFE.
I also recompiled latest OpenWRT trunk.
Can you help?
hello,
following fw_crocodile message (#326)
config switch eth1
option vlan0 "0 1 2 5*"
option vlan1 "3 5"
i've added vlan1 (eth1.1) and made port 3 as the new 'wan' interface. (renamed original 'wan' interface to 'adsl'; changed br-lan from using eth1 to eth1.0).
seems to work fine, eth1.1 gets an ip address from my cable modem - but i can browse only a small number of websites !
does anybody got a clue ?
thanks
avishay
(Last edited by avico on 22 Jun 2009, 16:27)
ok, problem resolved.
added MTU settings to wan interface
config 'interface' 'wan'
option 'ifname' 'eth1.1'
option 'proto' 'dhcp'
option 'mtu' '1492'
by default it was 1500.
also double-check that in firewall config you have mtu_fix enabled
config forwarding
option src lan
option dest wan
option mtu_fix 1
regards
avishay
(Last edited by avico on 22 Jun 2009, 21:24)
Hi all,
I have TP-LINK 8840 too.
How we can flash to it ?
Hi all,
My work is using a TP-Link TD-8840 ADSL modem, which is based on the BCM6338 v1.0 board. The firmware it comes inserts iptables rules that can only be gotten rid of manually, so we'd like to put OpenWRT on it. The boss has approved buying a second one and sending it to an OpenWRT developer - who should I contact to organise this?
# cat /proc/cpuinfo system type : 96338L-2M-8M cpu model : BCM6338 V1.0
AndreyPopov wrote:guys says that in Netgear
ftp://downloads.netgear.com/files/GPL/present source code for adsl:
Hi AndreyPopov,
The source code for the driver ADSL is not present in source code firmware netgear.
In source code are present only "header files" and not the complete code!!!
Bye
MisteroX
You did not check it and say it fals.
Check it - you will be surprised. It containes not only headers. But not 100% of code
Hi all,
I have TP-LINK 8840 too.
How we can flash to it ?Watha wrote:Hi all,
My work is using a TP-Link TD-8840 ADSL modem, which is based on the BCM6338 v1.0 board. The firmware it comes inserts iptables rules that can only be gotten rid of manually, so we'd like to put OpenWRT on it. The boss has approved buying a second one and sending it to an OpenWRT developer - who should I contact to organise this?
# cat /proc/cpuinfo system type : 96338L-2M-8M cpu model : BCM6338 V1.0
I've been told that with 2MB of flash it's not worth trying to port OpenWRT to it.