AnsweredAssumed Answered

MFG Tool Permission denied error

Question asked by Gopinath Srinivasan on Aug 8, 2017
Latest reply on Aug 9, 2017 by igorpadykov

Hello Everyone,

 

I am flashing sabreSD IMX7 NAND using MFG tool. When I tried with prebuilt MFG images it works fine. But when I tried my own "MFG u-boot" I am getting below error while flashing.

 

r command $ nandwrite -p /dev/mtd1 -p $FILE.
UTP: received command '$ flash_erase /dev/mtd2 0 0'
UTP: executing "flash_erase /dev/mtd2 0 0"
Erasing 2048 Kibyte @ e00000 -- 100 % complete
UTP: sending Success to kernel for command $ flash_erase /dev/mtd2 0 0.
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ nandwrite -p /dev/mtd2 -p $FILE'
UTP: executing "nandwrite -p /dev/mtd2 -p $FILE"
Writing data to block 0 at offset 0x0
UTP: sending Success to kernel for command $ nandwrite -p /dev/mtd2 -p $FILE.
utp_poll: pass returned.
UTP: received command '$ flash_erase /dev/mtd3 0 0'
UTP: executing "flash_erase /dev/mtd3 0 0"
flash_erase: error!: /dev/mtd3
error 13 (Permission denied)
UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd3 0 0.
utp_poll: exit with status 65280

 

 

By the way, I am referring "Manufaturing Tool V2 Linux or Android Firmware Development guide" document given in the MFG tool package. I have successfully built the kernel image using "imx_v7_mfg_defconfig" def config file. But in case of u-boot there is no direct def_config file to support MFG u-boot.

 

Can you help me in resolving this issue? 

 

 

Note:

Here I am not building the u-boot and kernel using YOCTO. 

Outcomes