S32G emmc static partition set

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

S32G emmc static partition set

Jump to solution
2,007 Views
piaochunri
Contributor II

Hi experts,

I am testing boot from emmc and it is normal.But everytime after boot I need to config a new parttition of emmc to upload the sdcard image.I use  command of "dd if=./s32g_emmc.sdcard of=/dev/mmcblk0 bs=1M && sync" and after reboot there is no partitions I created before.

So how can I keep the partition I created all the time.Thank you!

 

piaochunri_0-1727679867544.png

 

 

 

0 Kudos
Reply
1 Solution
1,912 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @piaochunri 

Thanks for the reply.

So you boot the board from eMMC, then after entering Linux, manually created new partitions for specific usage, further, you may execute "dd if=./s32g_emmc.sdcard of=/dev/mmcblk0 bs=1M && sync" on the board? and at last reboot, may I know if it is correct from my understanding?

If yes, then the new partition you created should not be seen after rebooting the board, since the partition table is replaced by the one included in the s32g_emmc.sdcard.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
4 Replies
1,913 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @piaochunri 

Thanks for the reply.

So you boot the board from eMMC, then after entering Linux, manually created new partitions for specific usage, further, you may execute "dd if=./s32g_emmc.sdcard of=/dev/mmcblk0 bs=1M && sync" on the board? and at last reboot, may I know if it is correct from my understanding?

If yes, then the new partition you created should not be seen after rebooting the board, since the partition table is replaced by the one included in the s32g_emmc.sdcard.

 

BR

Chenyin

0 Kudos
Reply
1,910 Views
piaochunri
Contributor II

Yes.You are right.And I should replace the images by standalone way.Now it is solved.The partitions will not be erased.Thank you!

0 Kudos
Reply
1,992 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @piaochunri 

Thanks for your post.

May I know which version BSP you are working with? is there partation table included in your s32g_emmc.sdcard image?

 

BR

Chenyin

0 Kudos
Reply
1,937 Views
piaochunri
Contributor II

I was using bsp 40.0 and my image s32g_emmc.sdcard was generated from yocto and I just changed its name.I think it contains partation table.

0 Kudos
Reply