OpenWrt Forum Archive

Topic: HELP!!!!!!!OpenWrt unsupport 256M RAM with BCM chip

The content of this topic has been archived on 25 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

RG200E-CA
BCM5357
16M SPI Flash
265M DDR2 RAM

RAM:IS46DR16128-3DBLA2

Tomato and DD-WRT can use full of 256M RAM
Openwrt just can use 128M RAM

Firmware:http://downloads.openwrt.org/snapshots/trunk/brcm47xx.mips74k/openwrt-brcm47xx-mips74k-squashfs.trx

[    0.000000] Linux version 3.10.49 (openwrt@gb-13) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42170) ) #1 Mon Aug 18 11:27:06 UTC 2014
[    0.000000] assume 128MB RAM
[    0.000000] CPU revision is: 00019749 (MIPS 74Kc)
[    0.000000] bcm47xx: using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x5357, rev 0x01 and package 0x09
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x26, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x04, class 0x0)
[    0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25FL128 serial flash (size: 16384KiB, blocksize: 0x10000, blocks: 256)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 07fff000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffefff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffefff]
[    0.000000] On node 0 totalpages: 32767
[    0.000000] free_area_init_node: node 0, pgdat 802d4bb0, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32767 pages, LIFO batch:7
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    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 on.  Total pages: 32511
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126408k/131068k available (2384k kernel code, 4660k reserved, 594k data, 216k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Setting up vectored interrupts
[    0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.090000] bio: create slab <bio-0> at 0
[    0.100000] Switching to clocksource MIPS
[    0.100000] NET: Registered protocol family 2
[    0.100000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.100000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.100000] TCP: reno registered
[    0.100000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 1
[    0.100000] PCI: CLS 0 bytes, default 32
[    0.100000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0)
[    0.100000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0)
[    0.100000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x05, class 0x0)
[    0.100000] bcma: bus0: Core 5 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x02, class 0x0)
[    0.100000] bcma: bus0: Core 6 found: I2S (manuf 0x4BF, id 0x834, rev 0x02, class 0x0)
[    0.100000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x0B, class 0x0)
[    0.110000] can not parse nvram name sb/1/rxpo2g(null) with value 0xff got -34
[    0.110000] can not parse nvram name sb/1/ag2(null) with value 0xff got -34
[    0.110000] can not parse nvram name sb/1/ag3(null) with value 0xff got -34
[    0.130000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.130000] bcma: bus0: PMU resource config unknown or not needed for device 0x5357
[    0.130000] bcma: bus0: Workarounds unknown or not needed for device 0x5357
[    0.130000] bcma: bus0: Initializing MIPS core...
[    0.130000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.130000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.130000] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.130000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.130000] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[    0.130000] bcma: bus0: IRQ reconfiguration done
[    0.130000] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.130000] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.130000] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.130000] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.130000] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I 
[    0.130000] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I 
[    0.130000] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I 
[    0.130000] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.130000] bcma: bus0: Bus registered
[    0.140000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.140000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.140000] msgmni has been set to 246
[    0.140000] io scheduler noop registered
[    0.140000] io scheduler deadline registered (default)
[    0.140000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.160000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a U6_16550A
[    0.530000] console [ttyS0] enabled
[    0.730000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    0.740000] Creating 6 MTD partitions on "bcm47xxsflash":
[    0.740000] 0x000000000000-0x000000020000 : "boot"
[    0.750000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.760000] 0x00000002001c-0x00000002090c : "loader"
[    0.760000] 0x00000002090c-0x00000012e800 : "linux"
[    0.770000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.780000] 0x00000012e800-0x000000ff0000 : "rootfs"
[    0.790000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.800000] mtd: device 4 (rootfs) set to be root filesystem
[    0.810000] mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0xd00000
[    0.820000] 0x0000002f0000-0x000000ff0000 : "rootfs_data"
[    0.830000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.830000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS)
[    0.840000] bgmac bcma0:1: Support for Roboswitch not implemented
[    0.850000] libphy: bgmac mii bus: probed
[    0.860000] b53_common: found switch: BCM5325, rev 4
[    0.870000] bgmac: Broadcom 47xx GBit MAC driver loaded
[    0.880000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    0.880000] TCP: cubic registered
[    0.890000] NET: Registered protocol family 17
[    0.890000] Bridge firewalling registered
[    0.900000] 8021q: 802.1Q VLAN Support v1.8
[    0.910000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.920000] Freeing unused kernel memory: 216K (802ea000 - 80320000)
[    7.390000] jffs2: notice: (221) jffs2_build_xattr_subsystem: complete building xattr subsystem, 17 of xdatum (1 unchecked, 16 orphan) and 44 of xref (0 dead, 16 orphan) found.
[    8.440000] usbcore: registered new interface driver usbfs
[    8.440000] usbcore: registered new interface driver hub
[    8.450000] usbcore: registered new device driver usb
[    8.580000] SCSI subsystem initialized
[    8.590000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.600000] ehci-platform: EHCI generic platform driver
[    8.600000] ehci-platform ehci-platform.0: EHCI Host Controller
[    8.610000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    8.620000] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    8.640000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    8.640000] hub 1-0:1.0: USB hub found
[    8.650000] hub 1-0:1.0: 2 ports detected
[    8.660000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.660000] ohci-platform ohci-platform.0: Generic Platform OHCI Controller
[    8.670000] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    8.680000] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    8.740000] hub 2-0:1.0: USB hub found
[    8.740000] hub 2-0:1.0: 2 ports detected
[    8.750000] uhci_hcd: USB Universal Host Controller Interface driver
[    8.770000] usbcore: registered new interface driver usb-storage
[    9.030000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    9.440000] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.440000] scsi0 : usb-storage 1-1:1.0
[   10.480000] scsi 0:0:0:0: Direct-Access     WD       My Book 1110     2018 PQ: 0 ANSI: 4
[   10.500000] sd 0:0:0:0: [sda] 311207936 512-byte logical blocks: (159 GB/148 GiB)
[   10.510000] scsi 0:0:0:1: Enclosure         WD       SES Device       2018 PQ: 0 ANSI: 4
[   10.530000] sd 0:0:0:0: [sda] Write Protect is off
[   10.540000] sd 0:0:0:0: [sda] Mode Sense: 2b 00 10 08
[   10.550000] sd 0:0:0:0: [sda] No Caching mode page found
[   10.550000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.570000] sd 0:0:0:0: [sda] No Caching mode page found
[   10.580000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.650000]  sda: sda1 sda2
[   10.670000] sd 0:0:0:0: [sda] No Caching mode page found
[   10.680000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.690000] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.030000] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   11.120000] EXT4-fs (sda1): mounted filesystem without journal. Opts: 
[   11.240000] Adding 1462248k swap on /dev/sda2.  Priority:-1 extents:1 across:1462248k 
[   12.830000] NET: Registered protocol family 10
[   12.840000] sit: IPv6 over IPv4 tunneling driver
[   12.870000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max)
[   12.890000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.940000] u32 classifier
[   12.950000]     input device check on
[   12.950000]     Actions configured
[   12.960000] Mirror/redirect action on
[   13.010000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.170000] xt_time: kernel timezone is -0000
[   13.190000] PPP generic driver version 2.4.2
[   13.190000] NET: Registered protocol family 24
[   19.670000] device eth0.1 entered promiscuous mode
[   19.680000] device eth0 entered promiscuous mode
[   19.700000] br-lan: port 1(eth0.1) entered forwarding state
[   19.700000] br-lan: port 1(eth0.1) entered forwarding state
[   21.700000] br-lan: port 1(eth0.1) entered forwarding state
[ 1009.480000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.

(Last edited by Love4Taylor on 1 Sep 2014, 03:48)

When you login into your device, can you find out how much of RAM free will detect?

I don't think openwrt supports over 128mb at this time. i don't think it's specific to that chipset.

mazilo wrote:

When you login into your device, can you find out how much of RAM free will detect?

CFE show 256M Ram

drawz wrote:

I don't think openwrt supports over 128mb at this time. i don't think it's specific to that chipset.

why? some chip can support 256M

Love4Taylor wrote:
mazilo wrote:

When you login into your device, can you find out how much of RAM free will detect?

CFE show 256M Ram

Show the output from free.

Love4Taylor wrote:
drawz wrote:

I don't think openwrt supports over 128mb at this time. i don't think it's specific to that chipset.

why? some chip can support 256M

can't remember where i read that and not sure why either

The discussion might have continued from here.