1 Oct 2002 10:48
Newbie with DOC2000
Carlos Mateo <otepas <at> yahoo.es>
2002-10-01 08:48:51 GMT
2002-10-01 08:48:51 GMT
I am trying to access a DOC2000, but I failed so far. I am using kernel 2.4.4. I have recompiled it with DOC support (M-Sys DOC200, Direct char device access to MTD devices, FTL support, NTFL support and write support for NTFL). The kernel boots fine, but I am not able to do anything with the DOC (fdisk, mke2fs...). Any hints on what I should do? Thank you -- Carlos Mateo cmateo <at> indra.es _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es
after lots of time playing around that thing put me really into madness...
but could be i am doing something wrong!?
please verify:
i want to use jffs2 on my strongarmboard with 32Mb Intel strata flash.
so i think things to do to get a working jffs2 partition are as follows:
* built kernel with mtd and jffs2 support (i have done this ... kernel
2.4.18-rmk7 with patched in mtd-cvs)
* built mtd-utils (successfully done -- crossbuilt for running on arm
native)
* create partitions on flash (i have done this via commmand line
partition table parsing -- CONFIG_CMDLINE="root=/dev/ram0
mtdparts=sa1100:256k(blob),256k(parm),1M(krnl),4M(rd),1M(krnl2),4M(rd2),-(jffs2)")
* erase the jffs2 partition (done via "eraseall /dev/mtd6" -- also tried
to delete it via jtag, so im sure theres no crap in after erasing...)
* verify things ("cat /proc/mtd" and "mtd_debug info /dev/mtd6" -- okay,
everything as expected)
* create a jffs2 image (done via "mkfs.jffs2 -r foo -o jffs2.img -p -e
262144" -- image contains only a dummy file and is very small)
* copy the image to the mtd partition ("cp jffs2.img /dev/mtd6")
RSS Feed