AnsweredAssumed Answered

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

Question asked by Per Ekelund on Jul 5, 2017
Latest reply on Jul 5, 2017 by igorpadykov

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

 

 

 

Outcomes