#1  
Old 19-July-2010, 17:32
fruit tool
Guest
 
Posts: n/a
Default hope for homehub yet

well last night i decided to get the old dog out and have a play.

i now have a real broadcom cfe running on the homehub 1.5. i cant give any details just yet as im still in the process of ironing out a few bugs.

Code:
CFE version 1.0.37-21.6.11 for BCM96348 (32bit,SP,BE)
Build Date: Wed Jul  5 11:26:16 CST 2006 (michaelc)

Flash Config: CS0(1f80000a,1f),Base(bf800000),Size(8MB)
Ethernet Network Device: Internal PHY

Board IP address                : 192.168.1.1
Host IP address                 : 192.168.1.33
Gateway IP address              :
Run from flash/host (f/h)       : h
Default host run file name      : vmlinux
Default host flash file name    : bcmModelName_fs_kernel
Boot delay (1-9 seconds)        : 3
Board Id Name                   : RTA1025W_16
Psi size in KB                  : 24
Number of MAC Addresses (1-32)  : 3
Ethernet MAC Address            : 00:11:22:33:44:55
Memory size in MB               : 16
as you can see, the flash map has changed from 1f400000 to 1f800000, this goes for jtag too, i can no longer flash at 1f400000 but all is good at 1f800000. so this must be controlled by software?!! strange, i thought this was a 'hard' physical mapping.

another thing you can see is the memory size, its missing half, but thats not a problem at the moment, 16 is more than enough.

it loads a kernel from tftp, flash maps are not sane yet, the flash is all blank apart from cfe.

Code:
CFE> r
0x80010000/3055896 0x802fa118/232456 Entry at 0x80014320
Closing network.
Starting program at 0x80014320
Linux version 2.6.34.1 (root@debian) (gcc version 3.4.2) #33 Mon Jul 19 07:03:09 BST 2010
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: 1.0.37-21.6
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
board_bcm963xx: board name: RTA1025W_16
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line:  mtdparts=physmap-flash.0:0x40000(cfe),0xC0000(userfs),0x200000(kernel),-(rootfs)
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 12960k/16384k available (2297k kernel code, 3424k reserved, 553k data, 136k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:128
Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff]
pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource MIPS
Switched to NOHz mode on CPU #0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
init_vdso successfull
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
JFFS2: default compression mode: priority
ROMFS MTD (C) 2007 Red Hat, Inc.
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
physmap platform flash device: 00800000 at 1f800000
Number of erase regions: 2
Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
Primary Algorithm Table at 0040
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum:  2.7 V
Vcc Maximum:  3.6 V
No Vpp line
Typical byte/word write timeout: 128 µs
Maximum byte/word write timeout: 1024 µs
Typical full buffer write timeout: 128 µs
Maximum full buffer write timeout: 4096 µs
Typical block erase timeout: 1024 ms
Maximum block erase timeout: 16384 ms
Chip erase not supported
Device size: 0x800000 bytes (8 MiB)
Flash Device Interface description: 0x0002
  - supports x8 and x16 via BYTE# with asynchronous interface
Max. bytes in buffer write: 0x20
Number of Erase Block Regions: 2
  Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
  Erase Region #1: BlockSize 0x10000 bytes, 127 blocks
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
Using buffer write method
number of CFI chips: 1
4 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "cfe"
mtd: Giving out device 0 to cfe
0x000000040000-0x000000100000 : "userfs"
mtd: Giving out device 1 to userfs
0x000000100000-0x000000300000 : "kernel"
mtd: Giving out device 2 to kernel
0x000000300000-0x000000800000 : "rootfs"
mtd: Giving out device 3 to rootfs
bcm63xx_enet MII bus: probed
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Broadcom 43xx driver loaded [ Features: P, Firmware-ID: FW13 ]
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
TCP cubic registered
Warning: unable to open an initial console.
VFS: Cannot open root device "(null)" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             256 mtdblock0 (driver?)
1f01             768 mtdblock1 (driver?)
1f02            2048 mtdblock2 (driver?)
1f03            5120 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
i have used cfe to flash a standard openwrt image.

Code:
CFE> r
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.32.10 (openwrt@wrt1.marcant.net) (gcc version 4.3.3 (GCC) ) #8 Thu Apr 1 10:20:02 CEST 2010
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: unknown
board_bcm963xx: invalid nvram checksum
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
Kernel panic - not syncing: unable to detect bcm963xx board
this is because the kernel doesn't realise the flash is mapped to 1f800000, but thats ok because i've already fixed that (see tftp boot above)

now im in the process of rolling an image with the kernel fixes.

more later.

might be very later because im using an old sub 1GHz PIII rig as the dev box.

i think this is good though. real good.

whats the v2 flash mapped at? i don't have one of these myself but if it has a bcm6348 this might work for it.
Reply With Quote
  #2  
Old 21-July-2010, 04:32
fruit tool
Guest
 
Posts: n/a
Default Re: hope for homehub yet

and there you have it.

Code:
CFE version 1.0.37-6.8.5 for BCM96348 (32bit,SP,BE)
Build Date: Tue Jan  2 19:42:28 CST 2007 (michaelc)

Boot Address 0xbfc00000

Flash Config: CS0(1f80000a,1f),Base(bf800000),Size(8MB)
Ethernet Single Port
100 MB Full-Duplex (auto-neg)
found@block 72
boot from bank 0

Board 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 (0-9 seconds)          : 3
Board Id Name                     : RTA1025W_16
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 5
Ethernet MAC Address              : 00:11:22:33:44:55
Serial Number                     : 123456789
Memory size in MB                 : 16
CMT Thread Number                 : 0

==== Press space key to stop auto run (3 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.32.14 (root@debian) (gcc version 4.3.3 (GCC) ) #9 Wed Jul 21 01:19:12 BST 2010
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: 1.0.37-6.8
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
board_bcm963xx: board name: RTA1025W_16
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
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
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13448k/16384k available (2053k kernel code, 2936k reserved, 361k data, 140k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Calibrating delay loop... 254.97 BogoMIPS (lpj=509952)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 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.337:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
bcm963xx_flash: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
 CFI mfr 0x00000001
 CFI id  0x00001000
 Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 8192KiB chip to 4096KiB
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type RTA1025W_16
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
bcm963xx_flash: Spare partition is 240000 offset and length 1b0000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x0000000f0000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=240000, len=1B0000
0x000000240000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
0x000000010000-0x0000003f0000 : "linux"
bcm63xx_enet MII bus: probed
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 on device 31:2.
Freeing unused kernel memory: 140k freed
Please be patient, while OpenWrt loads ...
eth1: link forced UP - 100/full - flow control off/off
roboswitch: Probing device eth0:
roboswitch: [/mnt/netshare/backfire/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:125] SIOCGETCPHYRD failed!
roboswitch: [/mnt/netshare/backfire/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:125] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1: No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. 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: port 1(eth1) entering forwarding state
eth0: link UP - 100/full - flow control off
Compat-wireless backport release: compat-wireless-2010-06-17-6-g8a97897
Backport based on wireless-2.6.git v2.6.35-rc4-47517-gade698a
cfg80211: Calling CRDA to update world regulatory domain
There is already a switch registered on the device 'eth0'
roboswitch: Probing device eth1: No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (212 buckets, 848 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver



BusyBox v1.16.2 (2010-07-19 21:22:39 BST) 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, r22286) ------------------
  * 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:/#
theres still plenty of work to be done though. if any coders are interested.
Reply With Quote
  #3  
Old 29-July-2010, 08:45
joskic
Guest
 
Posts: n/a
Default Re: hope for homehub yet

Hi,
I have the same board, but provided by Pirelli Broadband group. The name of the board AliceAGW2+ and I'm trying to put on Openwrt. Could you post the modification you did to flash openwrt on you board.
thanks
Joskic
Reply With Quote
  #4  
Old 14-January-2011, 16:53
zuma
Guest
 
Posts: n/a
Default Re: hope for homehub yet

Is stable to run?? And would it possible on a how-to guide please?

I am planning on flashing a ASUS WL-600g.


Thanks!
Reply With Quote
Reply

Tags
123, broadband, chips, delay, firmware, flash, key, line, network, share, sharing, software, wireless

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My last hope - Nobody left to ring cocobwoy Virgin Media 17 24-April-2008 18:18
Hope you Notherners see this as a joke Mr Pedantic General Chatty Stuff 1 26-May-2003 13:21
Wireless broadband trial brings hope for rural users gem Broadband Internet Access 0 28-November-2002 12:48
"Is there a Longest thread record (cont.)"? I hope! cwbf General Chatty Stuff 3 13-July-2001 16:01


All times are GMT +1. The time now is 10:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 1999-2014 The Scream!