All of lore.kernel.org
 help / color / mirror / Atom feed
* How to change the SDCard Image size
@ 2014-01-17 19:15 Marc Peucker
  2014-01-17 19:34 ` Morgan McKenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Peucker @ 2014-01-17 19:15 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

Hello all,

I have a question regarding the image size on yocto build.

When I build a core-image-minimal the size of the image is roughly 30 Mb.

Can somebody tell me how to make it bigger, that it will fit on a 4Gb or
larger Sd-Card?

I know how to do it manually after image creation, but it would be nice to
get a image with the right size.

Thanks in advance

Marc

[-- Attachment #2: Type: text/html, Size: 431 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to change the SDCard Image size
  2014-01-17 19:15 How to change the SDCard Image size Marc Peucker
@ 2014-01-17 19:34 ` Morgan McKenzie
  2014-01-17 22:17   ` Marc Peucker
  0 siblings, 1 reply; 3+ messages in thread
From: Morgan McKenzie @ 2014-01-17 19:34 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

You can just change the IMAGE_ROOTFS_SIZE  variable in core-image-minimal to increase it's size (or make your own image and have a larger size in it which is probably more advisable).
The file you're looking for is sources/poky/meta/recipes-core/images/core-image-minimal.bb
Morgan
Date: Fri, 17 Jan 2014 20:15:44 +0100
From: marc.peucker@gmail.com
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] How to change the SDCard Image size

Hello all,

I have a question regarding the image size on yocto build.

When I build a core-image-minimal the size of the image is roughly 30 Mb. 

Can somebody tell me how to make it bigger, that it will fit on a 4Gb or larger Sd-Card?


I know how to do it manually after image creation, but it would be nice to get a image with the right size.

Thanks in advance

Marc

_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1404 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to change the SDCard Image size
  2014-01-17 19:34 ` Morgan McKenzie
@ 2014-01-17 22:17   ` Marc Peucker
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Peucker @ 2014-01-17 22:17 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]

Hello Morgan,

you advice works like a charm.

After I set the new value, the image is now 7.6 Gb.

I found another variable IMAGE_ROOTFS_EXTRA_SPACE. It seems this will 
also upsize the image, but I didn't find it in the configuration files.

But for now it works. Thank you very much

Marc


On 01/17/2014 08:34 PM, Morgan McKenzie wrote:
> You can just change the IMAGE_ROOTFS_SIZE  variable in 
> core-image-minimal to increase it's size (or make your own image and 
> have a larger size in it which is probably more advisable).
>
> The file you're looking for 
> is sources/poky/meta/recipes-core/images/core-image-minimal.bb
>
> Morgan
>
> ------------------------------------------------------------------------
> Date: Fri, 17 Jan 2014 20:15:44 +0100
> From: marc.peucker@gmail.com
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] How to change the SDCard Image size
>
> Hello all,
>
> I have a question regarding the image size on yocto build.
>
> When I build a core-image-minimal the size of the image is roughly 30 Mb.
>
> Can somebody tell me how to make it bigger, that it will fit on a 4Gb 
> or larger Sd-Card?
>
> I know how to do it manually after image creation, but it would be 
> nice to get a image with the right size.
>
> Thanks in advance
>
> Marc
>
> _______________________________________________ meta-freescale mailing 
> list meta-freescale@yoctoproject.org 
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


[-- Attachment #2: Type: text/html, Size: 3507 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-17 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 19:15 How to change the SDCard Image size Marc Peucker
2014-01-17 19:34 ` Morgan McKenzie
2014-01-17 22:17   ` Marc Peucker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.