parallel nor flashing issue in imx6solo

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

parallel nor flashing issue in imx6solo

1,205 Views
abdulhussain
Contributor III

Hi,

I am trying to flash u-boot image with flashcp command in parallel nor in our custom imx6solo board using mfgtool. I am getting the following error,

UTP: received command '$ flashcp -v $FILE /dev/mtd0'
UTP: executing "flashcp -v $FILE /dev/mtd0"
Erasing blocks: 2/2 (100%)
Writing data: 136k/0k (100%)
Verifying data: 10k/0k (136%)File does not seem to match flash data. First mismatch at 0x00000000-0x00002800
UTP: sending Non-success to kernel for command $ flashcp -v $FILE /dev/mtd0.
utp_poll: exit with status 256
but from the kernel log it looks like parallel nor flash was probed correctly. Please find the dmesg log below,
8000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.5.
number of CFI chips: 1
2 ofpart partitions found on MTD device 8000000.nor
Creating 2 MTD partitions on "8000000.nor":
0x000000000000-0x000000a00000 : "uboot"
0x000000a00000-0x000004000000 : "kernel"

I am wondering why flashcp command is getting failed. 

Kindly help me resolve this issue.

Regards,

Abdul 

Labels (3)
0 Kudos
1 Reply

917 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdul 

for parallel nor programming one can use mfg tools from below link and script
mfgtool2-yocto-mx-sabreauto-weim-nor.vbs
https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...
As for flashcp one can check if flash was write protected and try to use flashcp just
from linux. Try other versions of linux and mtd-utils. If this will nor help post issue on
mail list: http://lists.infradead.org

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos