How to modify partition size using cfimager utility.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to modify partition size using cfimager utility.

3,180 次查看
vishnupatekar
Contributor II

Hello,

I've downloaded the Mfgtools-Rel-1.6.2.032 from freescale website. We've "cfimager.exe' utility to write eboot.nb0 and NK.nb0 to SD card.

 

I want to write two NK.nb0 at two different locations in SD card, As cfimager make default 96MB partition on SD card, two NK.nb0 exceeds 96MB size.

How to customize it to make that hidden partition of more size(200MB)?

How to write NK.nb0 at specified location using cfimager ?

 

Using manufacturing tool it can be customized using UCL script(and it worked), How can we do similar thing using "cfimager.exe'? How to get source code of "cfimager.exe" utility?

 

Thanks in advance.

 

Thanks,

Vishnu

1 回复

1,177 次查看
StanleyLee
NXP Employee
NXP Employee

Dear Vishnu,

Glad to see your participation in the forum!

 

How to customize it to make that hidden partition of more size(200MB)?

Answer: You can change partition size by changing:

Line 43 of CStCFBootImager.h: kMX53BootPartitionSize = 200MB; //"your own size"

 

How to write NK.nb0 at specified location using cfimager ?

Answer: Line 42 of CStCFBootImager.h: kMX53NKStart = xxx; // the address is sector unit based, not byte unit.

 

Source code: attachment.

 

Anything you may need my help, don't hesitate to post here. I will give you feedback ASAP.

 

Stanley Lee