New IT forum Follow us on Twitter
04 February 2012, 04:49:47 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: DreamPlug tutorial in Linux Format issue 145!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: mount NAND  (Read 1917 times)
polymorphic
Newbie
*
Posts: 2


« on: 04 June 2010, 06:57:46 pm »

Hi,

I just unwrapped my sheeva today  Smiley

However, I misconfigured it so I had to boot from the SSD.

What I need to do is mount the NAND filesystem so I can edit the config files.

What parms to mount will result in the NAND OS root being available to edit?

Or, I have copied the image from the SD. How do I copy it back to NAND using the dd command?

dd if=my-sd.img of= <- what goes here?

TIA
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 04 June 2010, 11:28:09 pm »

dd isn't suitable for transferring data from SD card to NAND. Don't even think about using it.

What is the format of your NAND? ex-factory (JFFS2) or UBIFS?

I have a mount command for JFFS2 somewhere, haven't figured out how to do it with UBIFS yet.
Logged
polymorphic
Newbie
*
Posts: 2


« Reply #2 on: 05 June 2010, 07:34:36 am »

Hi,

The NAND is factory default from IT Now. I tried to mount using type JFFS2 and it replied it was not JFFS2.

I am quite familiar with Linux mount command, but I just don't know which file in /dev needs to be mounted.
Logged
dab7
Newbie
*
Posts: 18


« Reply #3 on: 23 July 2010, 12:27:26 am »


I have a mount command for JFFS2 somewhere, haven't figured out how to do it with UBIFS yet.

How to mount NAND (UBIFS)

ref="http://plugcomputer.org/plugforum/index.php?topic=478.0"

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 1fb00000 00020000 "root"

# ubiattach /dev/ubi_ctrl -m 2 -d 0

# mount -t ubifs ubi0_0 /mnt/nand
OR
# mount -t ubifs ubi0:rootfs /mnt/nand

# umount ubi0_0
OR
# umount ubi0:rootfs

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!