<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >While we can do this, I wonder if we should encourage the use of the (not quite</div>
<div dir="ltr" >documented) loop mount of the squashfs image via initfs. This will load a</div>
<div dir="ltr" >compressed squashfs image in ram unpacked on demand into the page cache</div>
<div dir="ltr" >instead of loading the whole fs expanded into the page cache via the ramfs</div>
<div dir="ltr" >(or tmpfs, which doesn't matter without swap) root filesystem. File faults will</div>
<div dir="ltr" >be faster but static overhead will be higher. Hard to speculate the dynamic</div>
<div dir="ltr" >footprint without measurement.</div>
<div dir="ltr" > </div>
<div dir="ltr" >As I mentioned on irc, build an initrd with the image-rofs file in initrd /, or</div>
<div dir="ltr" >setup ip= and either put the url in either a file in the initramfs or in the</div>
<div dir="ltr" >specified u-boot environment variable (both controlled through the</div>
<div dir="ltr" >obmc-phosphor-initfs init script).</div>
<div dir="ltr" > </div>
<div dir="ltr" >milton</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: OpenBMC Patches <openbmc-patches@stwcx.xyz><br>Sent by: "openbmc" <openbmc-bounces+miltonm=us.ibm.com@lists.ozlabs.org><br>To: openbmc@lists.ozlabs.org<br>Cc: Brad Bishop <bradleyb@fuzziesquirrel.com><br>Subject: [PATCH openbmc] Build a tftpboot friendly image.<br>Date: Thu, Apr 21, 2016 4:20 PM<br>
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >From: Brad Bishop <bradleyb@fuzziesquirrel.com><br><br>Build a rootfs cpio uimage with everything along with the other<br>images.<br>---<br> meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 1 +<br> 1 file changed, 1 insertion(+)<br><br>diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc<br>index 60ed088..260cc90 100644<br>--- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc<br>+++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc<br>@@ -14,6 +14,7 @@ UBOOT_SUFFIX ?= "bin"<br> MACHINEOVERRIDES =. "openbmc:"<br> <br> IMAGE_FSTYPES += "overlay"<br>+IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"<br> IMAGE_INSTALL += "u-boot-fw-utils"<br> <br> IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"<br>--<br>2.8.1<br><br><br>_______________________________________________<br>openbmc mailing list<br>openbmc@lists.ozlabs.org<br><a href="https://lists.ozlabs.org/listinfo/openbmc" target="_blank" >https://lists.ozlabs.org/listinfo/openbmc</a></font></div></blockquote>
<div dir="ltr" > </div></div><BR>