Noltari,
Un par de curiosidades de novato total:
- ¿Es mejor --pad 4 o --pad 8 como dice danitool al ser un router con 16 MB de flash?
- Si el cfe está en read only en el dts, ¿podré modificar el bootloader o tengo que meter otro firmware que no tenga esa característica puesta para poder modificarlo?
Muchas gracias a los dos por darle soporte a este router.
Puedo acceder a luci y todo parece correcto.
Éste es el log de arranque:
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
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
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 2
web info: Waiting for connection on socket 0.
CFE>
CFE> f 192.168.1.100:openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin
Loading 192.168.1.100:openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin ...
Finished loading 4194560 bytes
Flashing root file system and kernel at 0xb8020000: ............................ ......................................
Clear Flags ok!
.
*** Image flash done *** !
CFE timeout,reboot
Resetting board...
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
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
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Support Double system.
Flash boot Flag:
Boot from main system!
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
75 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.13 (noltari@skynet) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47670) ) #3 SMP Mon Dec 14 23:00:05 CET 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96368MVWG_hg622
[ 0.000000] MIPS: machine is Huawei HG622
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] PERCPU: Embedded 10 pages/cpu @81046000 s10048 r8192 d22720 u4096 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 8128
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jff s2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 26844K/32768K available (3209K kernel code, 141K rwdata, 616K rodata, 1272K init, 203K bss, 5924K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_id le_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737 418237ns
[ 0.008676] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.046958] pid_max: default: 32768 minimum: 301
[ 0.052391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059175] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072837] SMP: Booting CPU1...
[ 11.081532] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 11.081548] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 11.081859] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.125024] Synchronize counters for CPU 1: done.
[ 0.125029] SMP: CPU1 is running
[ 0.125235] Brought up 2 CPUs
[ 0.142452] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max _idle_ns: 7645041785100000 ns
[ 0.153921] NET: Registered protocol family 16
[ 0.167900] registering PCI controller with io_map_base unset
[ 0.199584] PCI host bridge to bus 0000:00
[ 0.203850] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.210924] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.217800] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.224787] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 0.241481] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.251580] Switched to clocksource MIPS
[ 0.261213] NET: Registered protocol family 2
[ 0.267731] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.274964] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.281602] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.288519] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.294646] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.301800] NET: Registered protocol family 1
[ 0.309632] futex hash table entries: 512 (order: 1, 8192 bytes)
[ 0.317312] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.323362] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.336771] io scheduler noop registered
[ 0.340849] io scheduler deadline registered (default)
[ 0.349056] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10, base_baud = 1 562500) is a bcm63xx_uart
[ 0.358703] console [ttyS0] enabled
[ 0.358703] console [ttyS0] enabled
[ 0.365840] bootconsole [early0] disabled
[ 0.365840] bootconsole [early0] disabled
[ 0.375349] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.382923] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x00227e
[ 0.393306] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.398580] Amd/Fujitsu Extended Query version 1.3.
[ 0.403757] number of CFI chips: 1
[ 0.407642] bcm63xxpart: CFE boot tag found with version 7 and board type 963 68MVWG_hg622
[ 0.416166] 6 bcm63xxpart partitions found on MTD device 18000000.nor
[ 0.422789] Creating 6 MTD partitions on "18000000.nor":
[ 0.428251] 0x000000000000-0x000000020000 : "CFE"
[ 0.434843] 0x000000020100-0x00000016e5d0 : "kernel"
[ 0.441653] 0x00000016e5d0-0x000000fa0000 : "rootfs"
[ 0.448591] mtd: device 2 (rootfs) set to be root filesystem
[ 0.454438] 1 squashfs-split partitions found on MTD device rootfs
[ 0.460783] 0x0000003a0000-0x000000fa0000 : "rootfs_data"
[ 0.468136] 0x000000020000-0x000000fa0000 : "linux"
[ 0.474903] 0x000000fa0000-0x000000fc0000 : "cal_data"
[ 0.481967] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.490575] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.536243] b53_common: found switch: BCM63xx, rev 0
[ 0.541734] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.550794] NET: Registered protocol family 10
[ 0.557626] NET: Registered protocol family 17
[ 0.562307] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this.
[ 0.575304] 8021q: 802.1Q VLAN Support v1.8
[ 0.588343] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.603215] Freeing unused kernel memory: 1272K (803f2000 - 80530000)
[ 2.060069] init: Console is alive
[ 2.063876] init: - watchdog -
[ 3.240218] usbcore: registered new interface driver usbfs
[ 3.246094] usbcore: registered new interface driver hub
[ 3.251795] usbcore: registered new device driver usb
[ 3.267089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.275766] ehci-platform: EHCI generic platform driver
[ 3.383608] ehci-platform ehci-platform: EHCI Host Controller
[ 3.389565] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.398030] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[ 3.415588] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurr ent ignored
[ 3.425415] hub 1-0:1.0: USB hub found
[ 3.429394] hub 1-0:1.0: 2 ports detected
[ 3.440100] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.448513] ohci-platform: OHCI generic platform driver
[ 3.454094] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 3.461125] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 3.469474] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[ 3.537291] hub 2-0:1.0: USB hub found
[ 3.541270] hub 2-0:1.0: 2 ports detected
[ 4.072084] init: - preinit -
[ 4.536348] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full- duplex
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
ip: RTNETLINK answers: File exists
[ 8.046774] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.092681] procd: - early -
[ 8.095843] procd: - watchdog -
[ 8.894523] procd: - ubus -
[ 9.371631] random: nonblocking pool is initialized
[ 9.902283] procd: - init -
Please press Enter to activate this console.
[ 11.038102] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.063214] Loading modules backported from Linux version master-2015-12-03-0 -g1677f62
[ 11.071465] Backport generated by backports.git backports-20151120-0-g906a6b3
[ 11.084703] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.107514] nf_conntrack version 0.5.0 (439 buckets, 1756 max)
[ 11.198856] xt_time: kernel timezone is -0000
[ 11.230505] cfg80211: World regulatory domain updated:
[ 11.235884] cfg80211: DFS Master region: unset
[ 11.240401] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
[ 11.250450] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.258685] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.266937] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.275180] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (N/A)
[ 11.284951] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
[ 11.294709] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.303062] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.311303] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.379505] PPP generic driver version 2.4.2
[ 11.386569] NET: Registered protocol family 24
[ 11.429255] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 11.436840] rt2800pci 0000:00:01.0: failed to load eeprom property
[ 11.443197] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEP ROM data from 'rt2x00.eeprom'.
[ 11.453477] rt2800pci 0000:00:01.0: Direct firmware load for rt2x00.eeprom fa iled with error -2
[ 11.462418] rt2800pci 0000:00:01.0: Falling back to user helper
[ 11.578565] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 d etected
[ 11.586580] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 20.761876] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 20.779732] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 20.786494] jffs2_build_filesystem(): erasing all blocks after the end marker ...
[ 22.140328] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full- duplex
[ 22.173410] device eth0.1 entered promiscuous mode
[ 22.178363] device eth0 entered promiscuous mode
[ 22.196500] br-lan: port 1(eth0.1) entered forwarding state
[ 22.202280] br-lan: port 1(eth0.1) entered forwarding state
[ 24.203565] br-lan: port 1(eth0.1) entered forwarding state
Saludos.