What's new

Cannot mount/format jffs on RT-AC68U fw. 3.0.0.4.374.34_2

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

miodzicho

Occasional Visitor
I tried to mount / format JFFS on RT-AC68U. After reboot it's still unmounted.
Code:
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
Spare area=64 eccbytes 56, ecc bytes located at:
 2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Available 7 bytes at (off,len):
(1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0)
Scanning device for bad blocks
[B]Bad eraseblock 77 at 0x0000009a0000[/B]
Options: NO_AUTOINCR,NO_READRDY,BBT_SCAN2NDPAGE,
Creating 2 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "brcmnand"
0x000004000000-0x000006000000 : "jffs2"
It seems cannot format it durring boot.
Code:
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 01e00000 00020000 "linux"
mtd3: 01c58b94 00020000 "rootfs"
mtd4: 06000000 00020000 "brcmnand"
mtd5: 02000000 00020000 "jffs2"
I have tried to use mtd-erase but I'm getting this :

Code:
usage: mtd-erase2 [device]

Any help please ?
 
Last edited:
What makes you think it's unable to format? There is nothing in the log pieces you posted that relates to this in any way, this is just a list of found partitions during boot time.
 
That's not an erase issue then but a mount issue.

Post the result of these commands:

Code:
nvram get jffs2_format
nvram get jffs2_on
 
Code:
xxx@Hedgehog:/tmp/home/root# nvram get jffs2_format
0
xxx@Hedgehog:/tmp/home/root# nvram get jffs2_on
1

I did 2 or 3 reboots, and now seems it's mounted.
 
Hi. I have the same problem. Did sereval reboots, but it didn't hepl


admin@RT-AC68U:/tmp/home/root# nvram get jffs2_format
0
admin@RT-AC68U:/tmp/home/root# nvram get jffs2_on
1
 
Hi. I have the same problem. Did sereval reboots, but it didn't hepl


admin@RT-AC68U:/tmp/home/root# nvram get jffs2_format
0
admin@RT-AC68U:/tmp/home/root# nvram get jffs2_on
1

Try running the following commands to fully reinitialize jffs2:

Code:
nvram unset jffs2_size
nvram set jffs2_format=1
nvram set jffs2_on=1
nvram commit
reboot
 
I'm having the same problem on my RT-AC68u; I've tried multiple reboots and and the commands that Merlin posted to no avail; it seems to show jffs in dmesg but it never gets formatted it looks like:

Creating 2 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "brcmnand"
0x000004000000-0x000006000000 : "jffs2"
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted

edit: Dropping back to RT-AC68U_3.0.0.4_374.38_2 from RT-AC68U_3.0.0.4_374.39_0.trx seems to fix the problem.
 
Last edited:
I am having the exact same issues.

I have tried both 38_2, and 39. Have followed all these steps and rebooted 20+ times.

Would love to see this resolved. Hoping to get a selective routing script configured.
 
Just a quick update.

Flashed .39 again and physically power cycled device. (Unplugged and waited 10 seconds)

jffs has now mounted properly.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top