Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: I tried to load OpenWrt on Pirelli Alice Business Gate 2 Plus, and obtained the following output on serial console:
Code:CFE version 1.0.37-3.1 P8 for BCM96338
... [More]
(32bit,SP,BE)
Build Date: dom mar 26 11:03:56 CEST 2006 (root@RanmaLinux)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbf800000
Initializing Arena.
Initializing Devices.
cfi_flash_get_device_id
Parallel flash device: name AM29LV640MT, id 0x2201, size 8192KB
CPU type 0x29010: 240MHz
Total memory: 16777216 bytes (16MB)
Total memory used by CFE: 0x80401000 - 0x805281B0 (1208752)
Initialized Data: 0x8041DED0 - 0x8041F930 (6752)
BSS Area: 0x8041F930 - 0x804261B0 (26752)
Local Heap: 0x804261B0 - 0x805261B0 (1048576)
Stack Area: 0x805261B0 - 0x805281B0 (8192)
Text (code) segment: 0x80401000 - 0x8041DED0 (118480)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Boot image (0=latest, 1=previous) : 0
Board Id Name : AG2-Plus
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1d:8b:2d:a2:46
Ethernet PHY Type : External Switch Using Reverse MII
Memory size in MB : 16
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from latest image (0xbfc00000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
8192 size flash memory detected
starting image at [BFC00100] image length 2cff04
CRC from tag 7ec7ba85 - CRC image calculated 7ec7ba85
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.27.26 (mattia@jiraiya) (gcc version 4.1.2) #1 Sun Jul 12 14:29
Detected Broadcom 0x6338 CPU revision a2
CPU frequency is 240000000 Hz
16MB of RAM installed
registering 8 GPIOs
board_bcm963xx: CFE version: 1.0.37-3.1
board_bcm963xx: unknown bcm963xx board: AG2-Plus
console [early0] enabled
CPU revision is: 00029010 (Broadcom BCM3302)
Kernel panic - not syncing: unable to detect bcm963xx board
Support for Pirelli Alice Gate VoIP 2 Plus Wi-Fi was added by florian:https://dev.openwrt.org/ticket/4366I heard of imagetags and code versions... and that Pirelli modified the broadcom code so it has different imagetags.What should I do to add support for this board? Where do I find the imagetag to make a patch and build a working image? [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: SVN revision 16733. 1. System hang?2. CPU revision is: 00029010 (Broadcom BCM3302)maybe add cosmetic fix?
Code:CFE version 1.0.37-6.8 for BCM96338 (32bit,SP,BE)
Build
... [More]
Date: Sat Nov 17 12:16:45 HKT 2007 (root@lijian)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbfc00000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV160B, id 0x2249, size 2048KB
totalBlks=35
totalSize=2048K
NvramData is in the first sector!
fInfo.flash_nvram_start_blk = 0
fInfo.flash_nvram_blk_offset = 0x580
fInfo.flash_nvram_number_blk = 1
fInfo.flash_nvram_length = 1024
psi startAddr = bfdfa000
fInfo.flash_persistent_start_blk = 34
fInfo.flash_persistent_blk_offset = 0xa000
fInfo.flash_persistent_number_blk = 1
fInfo.flash_persistent_length = 24576
100 MB Full-Duplex (auto-neg)
CPU type 0x29010: 240MHz
Total memory: 8388608 bytes (8MB)
Total memory used by CFE: 0x80401000 - 0x805287B0 (1210288)
Initialized Data: 0x8041E310 - 0x8041FEB0 (7072)
BSS Area: 0x8041FEB0 - 0x804267B0 (26880)
Local Heap: 0x804267B0 - 0x805267B0 (1048576)
Stack Area: 0x805267B0 - 0x805287B0 (8192)
Text (code) segment: 0x80401000 - 0x8041E304 (119556)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.1.1
Host IP address : 192.168.1.10
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 Name : 96338L-2M-8M
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1e:e3:a7:3d:c6
Ethernet PHY Type : Internal
Memory size in MB : 8
CMT Thread Number : 0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.27.26 (Administrator@server00) (gcc version 4.1.2) #71 Thu Jul 9 22:16:59 2009
Detected Broadcom 0x6338 CPU revision a2
CPU frequency is 240000000 Hz
8MB of RAM installed
registering 8 GPIOs
board_bcm963xx: CFE version: 1.0.37-6.8
console [early0] enabled
CPU revision is: 00029010 (Broadcom BCM3302)
board_bcm963xx: board name: 96338L-2M-8M
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00000800
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00000800
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032
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: 32 (order: 5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 5608k/8192k available (1842k kernel code, 2584k reserved, 330k data, 124k init, 0k highmem)
Calibrating delay loop... 239.10 BogoMIPS (lpj=478208)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
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.320: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 16
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]
bcm963xx_flash: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6, board type 96338L-2M-8M, and tagid bc221.
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length bff00
bcm963xx_flash: Partition 2 is rootfs offset d0000 and length 120000
bcm963xx_flash: Partition 3 is nvram offset 1f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 1e0000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000d0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000d0000-0x001f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=1D0000, len=20000
0x001d0000-0x001f0000 : "rootfs_data"
0x001f0000-0x00200000 : "nvram"
0x00010000-0x001f0000 : "linux"
bcm63xx_wdt started, timer margin: 30 sec
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Please be patient, while OpenWrt loads ... [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: BCM63XX BCM6345 system hang in synchronize_rcu()SVN revision 16733. I can give the additional information. Write that is necessary. And as it to receive.
Code:Code
... [More]
Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Starting program at 0x80010000
Linux version 2.6.27.26 (Administrator@server00) (gcc version 4.1.2) #6 Sun Jul 5 13:01:10 2009
Detected Broadcom 0x6345 CPU revision a0
CPU frequency is 140000000 Hz
8MB of RAM installed
registering 16 GPIOs
board_bcm963xx: CFE version: 1.2.3-4.5
console [early0] enabled
CPU revision is: 00028000 (Broadcom BCM6345)
board_bcm963xx: board name: R
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00000800
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00000800
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 32 (order: 5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 5608k/8192k available (1842k kernel code, 2584k reserved, 331k data, 124k init, 0k highmem)
Calibrating delay loop... 92.41 BogoMIPS (lpj=184832)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16 [Less]
|
Posted
almost 15 years
ago
Topic: New HAL release for Atheros Hardware
Message: trac address has changedhttps://dev.openwrt.org/changeset/12429
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: saraj wrote:@t3l3m4k0Thank you, It's:> cat /proc/cpuinfosystem type : D-4P-Wprocessor : 0cpu model : BCM6348 V0.7 This this
... [More]
seems complicated to me. You say I should make a patch to include name of your board. The board is the same like in US version of DSL-2640B, which is probably the model that is already included in the code. It's about "Firmware model" that I couldn't find in code to patch it to "EU_DSL-2640B". Can you or someone else patch the code please? If not, I would have to go through the whole procedure in order to understand it. Would I have to compile it myself or this trunk is compiled from time to time?
hello saraj.i have asus am604g with similar board ID
Code:[root@Cohens]:[~]% cat /proc/cpuinfo
system type : bcm63xx/D-4P-W (0x6348/0x00A2)
processor : 0
cpu model : Broadcom BCM6348 V0.7
BogoMIPS : 255.48
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
[root@Cohens]:[~]%
i've edited the files : 1) target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c static struct board_info __initdata board_96348 = { .name = "D-4P-W", .expected_cpu_id = 0x6348, .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, }; & at the end of same file check for : #ifdef CONFIG_BCM63XX_CPU_6348 &board_96348, #endif 2) target/linux/brcm63xx/image/Makefile added $(call Image/Build/CFE,$(1),96348,6348,bc221,,bc221,-y 5)be aware that part (2) is depend on you routers CFE. this line is ok for ASUS am604g,but you will need to check.regardsavico [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: @t3l3m4k0Thank you, It's:> cat /proc/cpuinfosystem type : D-4P-Wprocessor : 0cpu model : BCM6348 V0.7 This this seems
... [More]
complicated to me. You say I should make a patch to include name of your board. The board is the same like in US version of DSL-2640B, which is probably the model that is already included in the code. It's about "Firmware model" that I couldn't find in code to patch it to "EU_DSL-2640B". Can you or someone else patch the code please? If not, I would have to go through the whole procedure in order to understand it. Would I have to compile it myself or this trunk is compiled from time to time? [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: Just a note to future readers of this thread.British Telecom have kindly sent me the GPL source code for their BT Voyager Routers based on a 2.6.8.1 kernel.The
... [More]
previous source I had was based on the 2.4 kernel.I can build the firmware and flash it and so far it seems to be working correctly.Roger [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: saraj wrote:It's note just DSL-2650U, but also other D-Link models that have different software versions for a similar device. I tried with DSL-2640B, without success
... [More]
, as I posted on http://forum.openwrt.org/viewtopic.php?id=20856.I thought that this thread is too long and general for that problem.
Part of this thread is about your problem,1.- you must obtain name of your hardware board, from telnet to your router: cat /proc/cpuinfo | grep type and you must obtain type name of your board.2.- make a patch to include name of your board like this: http://forum.openwrt.org/viewtopic.php?pid=76185#p76185 [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: It's note just DSL-2650U, but also other D-Link models that have different software versions for a similar device. I tried with DSL-2640B, without success, as I posted
... [More]
on http://forum.openwrt.org/viewtopic.php?id=20856.I thought that this thread is too long and general for that problem. [Less]
|
Posted
almost 15 years
ago
Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support
Message: I have upgraded my AGPFhttp://oldwiki.openwrt.org/OpenWrtDocs( … 2Plus.htmlFrom r15577 to r16617I always compile the images with the same setting.In the r16617 the usb
... [More]
2.0 does not work anymore.
Code:bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 2
bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
usb 1-1: USB disconnect, address 2
bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new full speed USB device using bcm63xx_ehci and address 2
usb 2-1: device descriptor read/64, error -71
root@OpenWrt:/# usb 2-1: device descriptor read/64, error -71
usb 2-1: new full speed USB device using bcm63xx_ehci and address 3
usb 2-1: device descriptor read/64, error -71
usb 2-1: device descriptor read/64, error -71
usb 2-1: new full speed USB device using bcm63xx_ehci and address 4
usb 2-1: device not accepting address 4, error -71
usb 2-1: new full speed USB device using bcm63xx_ehci and address 5
usb 2-1: device not accepting address 5, error -71
hub 2-0:1.0: unable to enumerate USB device on port 1
The ohci work good using usb 1.1
Code: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
usb 1-1: new full speed USB device using bcm63xx_ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access USB BAR 1.13 P
Q: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 253952 512-byte hardware sectors (130 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 253952 512-byte hardware sectors (130 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
Is it possibile to fix it like r15577? [Less]
|