As stated in previous email, i've debricked that router via jtag, flashed a
CFE and then load via the recovery page a BB firmware, only to do a test.

Now i need to reflesh a AA firmware i've bult, but if i load it router
reboot with many error:

[    0.352000] physmap platform flash device: 02000000 at 1e000000
[    0.356000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. 
Manufacturer ID 0x000001 Chip ID 0x002101
[    0.368000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.372000]   Amd/Fujitsu Extended Query version 1.3.
[    0.380000] number of CFI chips: 1
[    0.384000] bcm63xxpart: CFE boot tag found with version 7 and board type 
HW553
[    0.392000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.396000] bcm63xxpart: Partition 1 is kernel offset 20100 and length 13ff00
[    0.404000] bcm63xxpart: Partition 2 is rootfs offset 160000 and length 
e80000
[    0.412000] bcm63xxpart: Partition 3 is nvram offset fe0000 and length 20000
[    0.420000] bcm63xxpart: Partition 4 is linux offset 20000 and length fc0000
[    0.428000] bcm63xxpart: Spare partition is offset 3a0004 and length c3fffc
[    0.432000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.440000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.448000] 0x000000000000-0x000000020000 : "CFE"
[    0.456000] 0x000000020100-0x000000160000 : "kernel"
[    0.460000] mtd: partition "kernel" must either start or end on erase block 
boundary or be smaller than an erase block -- forcing read-only
[    0.476000] 0x000000160000-0x000000fe0000 : "rootfs"
[    0.488000] mtd: partition "rootfs" set to be root filesystem
[    0.492000] mtd: partition "rootfs_data" created automatically, ofs=3A0000, 
len=C40000 
[    0.500000] 0x0000003a0000-0x000000fe0000 : "rootfs_data"
[    0.512000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.520000] 0x000000020000-0x000000fe0000 : "linux"
[    0.536000] bcm63xx_enet MII bus: probed
[    0.540000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Generic 
PHY]
[    0.556000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.572000] TCP cubic registered
[    0.576000] NET: Registered protocol family 17
[    0.580000] 8021q: 802.1Q VLAN Support v1.8
[    0.596000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.604000] Freeing unused kernel memory: 200k freed
[...]
[   22.848000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460000: 0x3700 instead
[   22.872000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460004: 0x4272 instead
[   22.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460008: 0x6463 instead
[   22.928000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x0046000c: 0x2043 instead
[   22.952000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460010: 0x706f instead
[   22.976000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460014: 0x7469 instead
[   23.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460018: 0x7665 instead
[   23.024000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x0046001c: 0x2032 instead
[   23.048000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00460028: 0x3538 instead
[   23.072000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x0046002c: 0x4857 instead
[   23.080000] Further such events for this erase block will not be printed
[   23.176000] Old JFFS2 bitmask found at 0x00472838
[   23.180000] You cannot use older JFFS2 filesystems with newer kernels
[   23.244000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00480000: 0xd150 instead
[   23.268000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00480004: 0x6217 instead
[...]
[   30.936000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x006c0020: 0xecf0 instead
[   30.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x006c0024: 0xfaa5 instead
[   30.968000] Further such events for this erase block will not be printed
[   31.092000] Old JFFS2 bitmask found at 0x006d865c
[   31.100000] You cannot use older JFFS2 filesystems with newer kernels
[   31.144000] jffs2_scan_eraseblock(): End of filesystem marker found at 
0x6e0000
[   31.168000] Cowardly refusing to erase blocks on filesystem with no valid 
JFFS2 nodes
[   31.176000] empty_blocks 78, bad_blocks 0, c->nr_blocks 98

The strange things is that the router effectively is running the AA kernel:

 root@OpenWrt:/# uname -a
 Linux OpenWrt 3.3.8 #1 Wed Jan 21 15:24:18 CET 2015 mips GNU/Linux

but using BB /etc/issue:

 Please press Enter to activate this console.
 BusyBox v1.22.1 (2014-09-21 03:53:48 CEST) built-in shell (ash)
 Enter 'help' for a list of built-in commands.
 [...]
  -----------------------------------------------------
  BARRIER BREAKER (14.07, r42625)

but is in a ''strange state'', inacccessible from outside, only from serial 
console.


Reading around i've done a 'mtd erase rootfs_data' but nothing changed. Thanks.

-- 
  Against software patents:
  http://www.freepatents.org - http://no-patents.prosa.it
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to