Re: Booting Emdebian filesystem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Amandeep Bhullar wrote:
[...]
> next it load it on mtdblock1 like this (my stsem looks for rootfs in
> mtdbl0ck1)
>
> cat emrootfs.jffs2 > /dev/mtdblock1
Have you erased mtdblock1 first? If you reprogram a flash device without
erasing it first really weird stuff happens (I think it will change bits
from 1 to 0 but not from 0 to 1)!
You want the flash_erase command in the mtd-utils package. Also, you
might want to look into using nandwrite instead of cat as I believe it's
a bit more graceful about things like bad blocks.
- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "People who think they know everything really annoy those of us who
│ know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKBxkPf9E0noFvlzgRAvv/AJ41ClPs/+d3AThpAMB00nsQxhcCfACgzZEQ
zVWhpaog8MkFotfB7HQfIOU=
=iHaS
-----END PGP SIGNATURE-----
Reply to: