[Buildroot] Strange MTD problem (ARM)

Joachim Pihl jpihl at nevion.com
Mon Dec 7 08:36:15 UTC 2009


This may not be related to Buildroot, but I am completely stumped:

# ls -al /dev/mtdblock*
brw-r-----    1 root     root      31,   0 Dec  3 12:26 mtdblock0
brw-r-----    1 root     root      31,   1 Dec  3 12:26 mtdblock1
brw-r-----    1 root     root      31,   2 Dec  3 12:26 mtdblock2
brw-r-----    1 root     root      31,   3 Dec  3 12:26 mtdblock3
#
#
#
# cp mtdblock2 /dev/mtdblock2
#
# ls -al /dev/mtdblock*
brw-r-----    1 root     root      31,   0 Dec  3 12:26 mtdblock0
brw-r-----    1 root     root      31,   1 Dec  3 12:26 mtdblock1
-rw-r--r--    1 root     root      6815744 Dec  7 17:58 mtdblock2
brw-r-----    1 root     root      31,   3 Dec  3 12:26 mtdblock3
#


Running 2009.11 on PXA255 with a 2.6.27.39 preemptible kernel, EABI,  
running the same patches used for 2.6.27.10 (OABI and non-preemptible)  
where it worked.

mtd_debug write /dev/mtd2 0 0x680000 mtdblock2 works, results does not  
seems correct for /dev/mtd1.


Does anyone know where to look, so far I strike out on the google searches.

-- 
Joachim Pihl
Senior R&D Engineer
Nevion Europe

Tel: +47 33 48 94 66
Fax: +47 33 48 99 98
Mobile: +47 91 33 98 91
jpihl at nevion.com
www.nevion.com

------------------------------------------------------
The Global Video Transport Leader
------------------------------------------------------


More information about the buildroot mailing list