 
					
				
		
I have an mx6dl design board with nand boot. I found an error when trying to dump uboot mtdblock device.
Kernel message dump as below:
<5>[ 1.607132] 7 ofpart partitions found on MTD device gpmi-nand
<5>[ 1.612893] Creating 7 MTD partitions on "gpmi-nand":
<5>[ 1.617988] 0x000000000000-0x000000200000 : "spl"
<5>[ 1.623922] 0x000000200000-0x000000400000 : "bootloader"
<5>[ 1.630348] 0x000000400000-0x000000a00000 : "kernel"
<5>[ 1.636320] 0x000000a00000-0x000040000000 : "rootfs"
<4>[ 1.641304] mtd: partition "rootfs" extends beyond the end of device "gpmi-nand" -- size truncated to 0x1f600000
<5>[ 1.652763] 0x000000400000-0x000001400000 : "android_boot"
<5>[ 1.659251] 0x000001400000-0x000003000000 : "android_recovery"
<5>[ 1.666133] 0x000003000000-0x000040000000 : "android_rootfs"
<4>[ 1.671811] mtd: partition "android_rootfs" extends beyond the end of device "gpmi-nand" -- size truncated to 0x1d000000
<6>[ 1.683958] gpmi-nand 112000.gpmi-nand: driver registered.
When I am trying to dump bootloader, it failed.
busybox hexdump /dev/block/mtdblock1 -n 100 
[ 618.929891] blk_update_request: 5 callbacks suppressed
[ 618.935061] end_request: I/O error, dev mtdblock1, sector 0
[ 618.940659] quiet_error: 5 callbacks suppressed
[ 618.945206] Buffer I/O error on device mtdblock1, logical block 0
[ 618.951792] end_request: I/O error, dev mtdblock1, sector 8
[ 618.957382] Buffer I/O error on device mtdblock1, logical block 1
[ 618.963807] end_request: I/O error, dev mtdblock1, sector 16
[ 618.969481] Buffer I/O error on device mtdblock1, logical block 2
[ 618.975796] end_request: I/O error, dev mtdblock1, sector 24
[ 618.981467] Buffer I/O error on device mtdblock1, logical block 3
[ 618.987813] end_request: I/O error, dev mtdblock1, sector 0
[ 618.993396] Buffer I/O error on device mtdblock1, logical block 0
hexdump: /dev/block/mtdblock1: Input/output error
Anybody knows the possible reasons?
 b36401
		
			b36401
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Possibly hexdump uses some syscall that NAND driver does not support.
Please try to access the device with some other utility.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
I don't think so. I can dump other mtd block devices without error in the same nand flash.
