• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / Re: How to clone a SheevaPlug? on: January 08, 2011, 07:27:07 AM
You are correct, it is not easy to use dd to access NAND.

Can anyone explain why this is difficult?

To answer my own question it seems that MTD (Memory Technology Devices) are not quite normal block devices, and jffs is aware of that. Jffs will not run on top of anything but an MTD, and you can not simply DD a jfs image on and off. It does work under some circumstances I do not understand, but not in the common case.

You can DD off of an MDT (from /dev/mtdblockN), and then mount that image (via a loopback device AND a weird block to MTD converter) but you can't, as far as I can tell, DD onto an MTD. I expect that a UBIFS filesystem will work the same way.
2  Linux Stuff / General Linux questions / Re: How to clone a SheevaPlug? on: January 06, 2011, 08:05:55 AM
@Eagle,

You are correct, it is not easy to use dd to access NAND. However your origin post does not make it clear hence my question. I was trying to understand what is your plug condition.


Can anyone explain why this is difficult? It looks like /dev/mtdblock1 is the kernel image, and /dev/mtdblock2 is the root filesystem. I would naively assume I could dd both to images on my bootable USB stick, boot a fresh plug from same USB, then dd those images back onto the new plug's flash?
Pages: [1]