Hi Khem, thanks for your pointers. Just gave that a shot, and my initramfs uImage actually takes longer to boot (at about 9 seconds from cold to user space vs 7 seconds before). Good data point!
Adam On Thu, May 15, 2014 at 10:41 PM, Khem Raj <raj.k...@gmail.com> wrote: > On Thu, May 15, 2014 at 1:33 PM, Nicolas Dechesne > <nicolas.deche...@linaro.org> wrote: >> On Thu, May 15, 2014 at 7:13 PM, Adam Lee <adam.yh....@gmail.com> wrote: >>> Hello everyone, I thought I'd compare the performance of booting >>> rootfs from MMC vs ramdisk (the way Android is doing it). Some says it >>> may possibly take longer in ramdisk because the rootfs has to be first >>> loaded into memory. I'd like to test it out myself. >>> >>> So I discovered core-image-minimal-initramfs, and thought it was >>> exactly what I needed. However the build doesn't go far, because its >>> dependency initramfs-live-install [1] only seems to support x86: > > live images are for x86 only because it uses syslinux and friends. > However you can choose any other image to become initramfs image and > bunsle it into kernel > > you have to use > > INITRAMFS_IMAGE = "your-initramfs-image" > INITRAMFS_IMAGE_BUNDLE = "1" > > >>> >>> COMPATIBLE_HOST = "(i.86|x86_64).*-linux" >>> >>> Is this the limitation of current OE? or am I just looking at the wrong >>> corner? >> >> i recently had to build an initrd too, and notice that as well... so i >> am not sure exactly what that means. I am glad you asked... however if >> you want to test an initrd, you can simply build *any* image and make >> sure to build the 'cpio' from IMAGE_FSTYPES. you can then use the >> generated cpio archive as an inited. > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel