You will want to use `mtdcp`, doing a direct `dd` will not work due to the way
NAND does internal block relocation. You will also want to simply `cp` all of
the files from the Linux root to the SD card, you cannot use dd/mtdcp on that.
See the script `createmtdroot` in the initrd for information on how we do this,
you can basically reverse the process to go from NAND to SD.
-Kris Bahnsen
Technologic Systems
--- In "swtvdg" <> wrote:
>
> Hi,
>
> I have a working system on my built-in ts-7800 NAND and want to copy it to a
> SD card then boot from the SD card and modify the running system on the SD
> card, preserving what is on NAND.
>
> So how do I copy the NAND to the SD card. I've tried several things
> including dd'ing the whole device (dd if=/dev/mtdblock0 of /dev/tssdcardb).
> Do I need to copy the individual partitions (mtdblock1, mtdblock2, mtdblock3)?
>
> Everything so far fails to successfully boot from the SD card, it just hangs.
>
> Thanks in advance!
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|