Partition non-existant: unable to flash erase (NAND)

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

Partition non-existant: unable to flash erase (NAND)

1,375 Views
pyraohms
Contributor III

Hello

I am trying to use the MFG to flash imx6ulevk NAND. The HW mods are made. When running the NAND script everything works just fine, the chip is found:

nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
nand: Micron MT29F4G08ABADAWP
nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

and MFG is able to erase the boot partition /dev/mtd0 0 0.

UTP: received command '$ flash_erase /dev/mtd0 0 0'
UTP: executing "flash_erase /dev/mtd0 0 0"
Erasing 128 Krandom: nonblocking pool is initialized
Erasing 128 Kutp_poll: pass returned. complete
Erasing 128 Kibyte @ 1ff60000 -- 99 % complete flash_erase: Skipping bad block at 1ff80000
flash_erase: Skipping bad block at 1ffa0000
flash_erase: Skipping bad block at 1ffc0000
flash_erase: Skipping bad block at 1ffe0000
Erasing 128 Kibyte @ 1ffe0000 -- 100 % complete
UTP: sending Success to kernel for command $ flash_erase /dev/mtd0 0 0.

But when its time for the kernel partition /dev/mtd1 0 0 the script fails :/

UTP: received command '$ flash_erase /dev/mtd1 0 0'
UTP: executing "flash_erase /dev/mtd1 0 0"
flash_erase: error!: /dev/mtd1
error 2 (No such file or directory)
UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd1 0 0.
utp_poll: exit with status 65280

It seems like that the partition does not exist in the filesystem. Please help me with information about the modifications i need to do specifically which files that need to be altered.

Many thanks

0 Kudos
1 Reply

855 Views
igorpadykov
NXP Employee
NXP Employee

Hi Per

there was similar issue on

Using MFG TOOLS with i.MX 6UltraLite EVK board 

could you try to rebuild image and boot from sd.

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

0 Kudos