lkml.org 
[lkml]   [2013]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHaving troubles in updating MTD partitions
hi,
i am trying to change mtd partition sizes, I am successfully able to change size of mtdblock as u can see

cat /proc/partitions
major minor  #blocks  name

  31     0       8192 mtdblock0
  31     1        256 mtdblock1
  31     2       2048 mtdblock2
  31     3       5884 mtdblock3
  31     4          4 mtdblock4
 
 but when i try to use memory relevant tools, it shows me something like
 # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5824      5824         0 100% /

5824 was the previous size of mtdblock3

all i have  done is build rootfs with size 5884*1024 and update mtd partition array in kernel, build jffs2 and burn jffs2 in device

there is one more thing, Can any one tell me how i can change eraseblock for a partition, i believe i also having wrong eraseblock for mtdblock3


any help would be appreciative...
thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-11-20 09:41    [W:0.289 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site