Re: [oe] initramfs only supported in x86?

2014-05-16 Thread Adam Lee
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

[oe] initramfs only supported in x86?

2014-05-15 Thread Adam Lee
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

Re: [oe] initramfs only supported in x86?

2014-05-15 Thread Nicolas Dechesne
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

Re: [oe] initramfs only supported in x86?

2014-05-15 Thread Adam Lee
Hi Nicolas, thanks for your response. I built core-image-minimal in cpio, but the size is whopping 69MB. It will take a couple seconds just to load the image into the memory, which defeats the purpose of using the ramdisk to boot. After watching 300 ms from reset-to-shell boot video [1] using

Re: [oe] initramfs only supported in x86?

2014-05-15 Thread Adam Lee
ah I spoke too soon. I had extra DISTRO_FEATURES. I removed them and the root is ~2.5MB. Now it's worth a try. Adam On Thu, May 15, 2014 at 3:58 PM, Adam Lee adam.yh@gmail.com wrote: Hi Nicolas, thanks for your response. I built core-image-minimal in cpio, but the size is whopping 69MB. It

Re: [oe] initramfs only supported in x86?

2014-05-15 Thread Khem Raj
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