What's new
SNBForums

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • 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!

Can't format JFFS2 on 3.0.0.4.374.41_0 / AC68R

misteradrian

New Around Here
First time trying out this firmware on my RT-AC68R. Installed 3.0.0.4.374.41 today and am trying to get JFFS2 working.

I see this in dmsg on boot:

Code:
Scanning device for bad blocks
Bad eraseblock 284 at 0x000002380000
Bad eraseblock 783 at 0x0000061e0000
Bad eraseblock 784 at 0x000006200000
Bad eraseblock 785 at 0x000006220000
Bad eraseblock 786 at 0x000006240000
Options: NO_AUTOINCR,NO_READRDY,BBT_SCAN2NDPAGE,
Creating 2 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "brcmnand"
0x000004000000-0x000006000000 : "jffs2"

I have tried this:

Code:
nvram unset jffs2_size
nvram set jffs2_format=1
nvram set jffs2_on=1
nvram commit

...and power cycled the router. Tried using "mtd-erase2" but that always just says "usage: mtd-erase2 [device]" ...

Looking through other posts some people mention random stuff like rebooted 20 times and it worked or went back to some specific firmware and it worked, but details are contradictory.

I tried this .. and it seems to work, but I'm afraid of doing something back like writing to the flash in some way it's not supposed to:

mount -t jffs2 mtd5 /jffs

Pointers would be great, thanks.
 
Interestingly after manually mounting the partition, it now automounts on reboots.

Now contains these files and directories:

admin@RT-AC68R:/jffs# ls -l
drwxr-xr-x 2 admin root 0 Dec 31 2010 configs
drwxr-xr-x 2 admin root 0 Dec 31 2010 scripts
-rw-rw-rw- 1 admin root 202095 Apr 25 16:27 syslog.log
-rw-rw-rw- 1 admin root 0 Apr 25 16:23 test

(I created the 'test' one myself when I first mounted it.)

Cool -- so I wonder why system.log is going to this partition? That doesn't seem smart to be filling it up with a continually growing file.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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