How do I change the partition layout of a .sdcard image?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I change the partition layout of a .sdcard image?

ソリューションへジャンプ
1,867件の閲覧回数
joerutledge
Contributor III

I would like to change the partition layout of the .sdcard image so that I have the bootable FAT partition, two O/S partitions and an additional one extendible partition for home filling the rest of the card. Is this possible by overriding some variables or a recipe from somewhere, or is this going to require a more fundamental approach? It doesn't seem like there's any support for doing this, so any pointers would be valuable!

ラベル(4)
タグ(4)
0 件の賞賛
1 解決策
1,434件の閲覧回数
gary_bisson
Senior Contributor III

Hi,

More or less yes. I would base my new class on the one from freescale but would name it differently so my conf file could have:

IMAGE_CLASSES += "image_types_mycustomlayout"

Regards,

Gary

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,434件の閲覧回数
gary_bisson
Senior Contributor III

Hi,

You can choose your sdcard layout here:

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

Regards,

Gary

0 件の賞賛
1,434件の閲覧回数
joerutledge
Contributor III

So you're suggesting that the *right* way to do this, is to copy that class into my layer and edit it directly?

0 件の賞賛
1,435件の閲覧回数
gary_bisson
Senior Contributor III

Hi,

More or less yes. I would base my new class on the one from freescale but would name it differently so my conf file could have:

IMAGE_CLASSES += "image_types_mycustomlayout"

Regards,

Gary

0 件の賞賛
1,434件の閲覧回数
joerutledge
Contributor III

OK, yes that makes sense. I just didn't know if there was a set of variables I'd missed somewhere, or some kind of definition file I should have been using. If it's just a case of "doing it by hand" that's fine; I just wanted to do it a Yocto way, so thought I would check before hacking around that script.

0 件の賞賛