AnsweredAssumed Answered

How to erase boot1 partition

Question asked by Li Zhongyue on May 16, 2019
Latest reply on May 17, 2019 by igorpadykov

Dear NXP Engineer,


This is Li Zhongyue who is working on imx android solution.

I would like to know how to re-write boot1 partition.


Following is my operations, could you help to check if they are correct or not?

1. Erase the block data in boot1 partition first, (API: blk_derase(...))

2. Then write the new data to the same block, (API: blk_dwrite(...))

3. Read the same block, the data is still the old one. (API: blk_dread(...))

And, there are no any errors when i was doing erasing and writing operations. 


Or could you give me a guide how to re-write boot1 partition correctly?


Thanks a million.

Have a nice day.