Partitioning of qspi-nor

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

Partitioning of qspi-nor

1,207 Views
rja
Contributor II

Hi, we would like to put our custom image and u-boot on qspi-nor. We are having trouble with the partitioning in the qspi it seems to automatically create a 1MB partition and we would like to make this custom. How might we go about this? Where does this occur in the mfgtool action? I don't see anything about it in the ucl2.xml file.

3 Replies

1,038 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ryan

one can look at attached vbs script from mfg tool for L4.1.15_2.0.0-ga_MX6SCM

and try to use them with mfg tools from software link

i.MX Software | NXP 

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

0 Kudos
Reply

1,038 Views
rja
Contributor II

Hi Igor,

Thank you for your response, I see the flash_erase and dd commands in your ucl2.xml file for /dev/mtd0 through /dev/mtd3. However, on our evk we are not seeing anything besides /dev/mtd0. I would like to know where in the mfgtool the qpsi is actually being partitioned. Where are /dev/mtd1 , /dev/mtd2 and /dev/mtd3 being created?

Thanks

Ryan

0 Kudos
Reply

1,038 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ryan

one can look at sect.4.6 Flash memory maps attached Linux Guide, Chapter 31
SPI NOR Flash Memory Linux Manual, scm linux sources

linux-imx - i.MX Linux kernel 

Best regards
igor