blkmem.c questions

Vikram Mehta vm6580 at hotmail.com
Wed Jun 25 22:55:42 EDT 2003


HI folks,

I am working on uCdimm.
On trying to mount jffs2 , I get a message ,

"arena open of 1 failed"
Now this message is in blkmem.c
It comes when Minor number ( here 1) is < 0 or >= arenas
arenas = sizeof(arena)/sizeof(arena_t)
Now For uCdimm, blkmem defines CAT_ROMARRAY.
at if CAT_ROMARRAY is define arena[] is initialzed to
{ 0, 0 , -1}
And I don't think any other  #if defined is true for uCdimm config in
intialization of arena[].

So I have only one arena.
How do I make more that one arena?.
Is arena and Number of partitions and number of Arena related ( they apear
to be so now.) ?
I make two partions. One for first 2MB and one of second 2MB.
Is that right?
I can have as many partitions As i want as long as I keep every partition
more than 5 sections long.. Am I right.?
So Do I have do make as many arena to .

2.) If I keep one partition (mtd0) and erase mtd0, will not my booltloader
be erased too


Please Help me here

Vikram











More information about the linux-mtd mailing list