MMC: block number 0x2008 exceeds max(0x2000) failed Failed (1)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMC: block number 0x2008 exceeds max(0x2000) failed Failed (1)

1,611 Views
vinothkumars
Senior Contributor IV

Dear NXP,

"IMX8M Nano platform"

following error got not able to save while saveenv.

u=> saveenv Saving Environment to MMC... Writing to MMC(2)... MMC: block number 0x2008 exceeds max(0x2000) failed Failed (1)

Regards,
Vinothkumar Sekar
Tags (2)
0 Kudos
2 Replies

985 Views
gnulux
Contributor II

Hello , 

I'm encoutering the same behaviour on IMX8  board with builded HardKnott Yocto image. 

Can you tell me wich emmc partition is checked ? mmcblkXbootY  perhaps ?

rgds  

0 Kudos

1,596 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Vinothkumars,

The "mmc write" performs raw writes to the MMC device. It does not perform write via the filesystem. There is no "write" support to most of the filesystem access commands. Only ext4 seems to have "write" operation. The "mmc write" you performed probably overwrote the MMC partition table.

This is a bug with this version of U-Boot. Or download the one from yocto file, My suggestion is to use a known stable version of the U-Boot bootloader.

Regards

 

 

 

 

 

0 Kudos