Resize SD card partition on imx8qxp of Yocto

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

Resize SD card partition on imx8qxp of Yocto

49,673 Views
liuyonggang
Contributor III

Platform:imx8qxp

Environment:Yocto

   currently,I build SD image in Yocto environment.I use dd comand burn SD image into SD card.It was successful and I will found two partitions on SD card.But I have a question.I want to change previous two partition sizes and add a partition at build time.Where can I modify it.

      Tks

BRs

Johnny

0 Kudos
Reply
4 Replies

49,561 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the chapter 4.3.3 Partitioning the SD/MMC card of enclosed file

0 Kudos
Reply

49,561 Views
liuyonggang
Contributor III

Hi Xie,

      I want to change previous two partition sizes and add a partition at build time,other than using fdisk command manually.

      Tks

BRs

Johnny

0 Kudos
Reply

49,561 Views
joanxie
NXP TechSupport
NXP TechSupport

you can find your sdcard layout here, then you can set as you need,generate new class file

meta-fsl-arm/image_types_fsl.bbclass at master · Freescale/meta-fsl-arm · GitHub 

49,561 Views
liuyonggang
Contributor III

Hi Joan,

      Tks for your comments.

      I have solved this issue last week.

      Your advice is correct.

BRs

Johnny

0 Kudos
Reply