Modify

Opened 7 years ago

Closed 7 years ago

#8128 closed defect (no_response)

Rocket M5/M2 JFFS

Reported by: brizey Owned by: developers
Priority: response-needed Milestone: Backfire 10.03.1
Component: base system Version: Trunk
Keywords: Rocket M5, Rocket M2 Cc:

Description

The os will not boot Rocket M5/M2 JFFS, squashfs works also I have tried to email juhosg, Kaloz but no luck also the usb appears broken, unable to mount any usb device in both file system distributions.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by acoul

can you provide log output?

comment:2 Changed 7 years ago by anonymous

For usb part issues try to install kmod-usb-ohci [1] and report your finds!

  1. not sure for the name, search over snapshots...

comment:3 Changed 7 years ago by jmartin@…

I'm having the same issue with JFFS2 not booting on several of my Rockets, although SquashFS will. Here's my log file:

Flashing:

U-Boot 1.1.4.2 (Jul 13 2010 - 20:06:30)

Board: Ubiquiti Networks XM board (rev 0.0 e1b2)
DRAM:  64 MB
Flash:  8 MB
Net:   eth0, eth1
Hit any key to stop autoboot:  1  0 
Setting default IP 192.168.1.20
Starting TFTP server...
Using eth0 (192.168.1.20), address: 0x81000000
Waiting for connection: *-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
Receiving file from 192.168.1.254:43459
Received 512 bytes
Received 1908736 bytes
Received 3983360 bytes
Received 4719000 bytes

Firmware Version: UBNTXM.ar7240.OpenWrt.r22796
Setting U-Boot environment variables
Un-Protected 1 sectors
Erasing Flash.... done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
Copying partition 'kernel' to flash memory:
erasing range 0x9F050000..0x9F14FFFF: ................ done
Erased 16 sectors
writing to address 0x9f050000, length 0x00100000 ...
Copying partition 'rootfs' to flash memory:
erasing range 0x9F150000..0x9F4CFFFF: ........................................................ done
Erased 56 sectors
writing to address 0x9f150000, length 0x00380000 ...

Firmware update complete.

Resetting...

First boot:

U-Boot 1.1.4.2 (Jul 13 2010 - 20:06:30)

Board: Ubiquiti Networks XM board (rev 0.0 e1b2)
DRAM:  64 MB
Flash:  8 MB
Net:   eth0, eth1
Hit any key to stop autoboot:  1  0 
## Booting image at 9f050000 ...
   Image Name:   MIPS OpenWrt Linux-2.6.32.16
   Created:      2010-08-25  22:23:34 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    886638 Bytes = 865.9 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.32.16 (openwrt@ampere) (gcc version 4.3.3 (GCC) ) #1 Wed Aug 25 15:20:15 PDT 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7240 rev 2, CPU:390.000 MHz, AHB:195.000 MHz, DDR:390.000 MHz
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=UBNT-RM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 61716k/65536k available (2109k kernel code, 3744k reserved, 398k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 259.68 BogoMIPS (lpj=1298432)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Ubiquiti Rocket M
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
PCI: fixup device 0000:00:00.0
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
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.
yaffs Aug 25 2010 15:11:02 Installing. 
msgmni has been set to 120
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: w25x64 (8192 Kbytes)
7 cmdlinepart partitions found on MTD device spi0.0
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000150000 : "kernel"
0x000000150000-0x0000007b0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "spi0.0"
0x0000007b0000-0x0000007f0000 : "cfg"
0x0000007f0000-0x000000800000 : "EEPROM"
0x000000050000-0x0000007b0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
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>
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: MTD device is not NAND it's type 3
Node at 0x00000d68 with length 0x000003e2 would run over the end of the erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000d70: 0xb077 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000d84: 0x0006 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000d88: 0x4c38 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000d8c: 0x4c38 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000d90: 0x4c38 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000da0: 0x0600 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000da4: 0x44d7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000da8: 0xd719 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000dac: 0x785e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000db0: 0x6988 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001000: 0x96f5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001004: 0xe7a2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001008: 0x3ffe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000100c: 0xdbca instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001010: 0x1754 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001014: 0x8ffb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001018: 0x7f2e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000101c: 0xef3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001020: 0x9fb5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001024: 0x06db instead
Further such events for this erase block will not be printed
Node at 0x00001a0c with length 0x000006ba would run over the end of the erase block
Perhaps the file system was created with the wrong erase size?

The jffs2_scan_eraseblock() errors continue forever, with different addresses every time.

comment:4 Changed 7 years ago by jow

  • Priority changed from highest to response-needed

Is this still the case with RC5 ?

comment:5 Changed 7 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.