as long as I can not compile the Linux Yocto Kernel (howto asked in ) I would like to reduce my booting time by replacing the initramfs.
For now I would like to replace the file by a simple program like described in https://landley.net/writing/rootfs-howto.html https://landley.net/writing/rootfs-howto.html. I've done the steps within a virtual machine and succeeded the test by replacing the initramfs with the self made initramfs.gpio.gz.
For now I discovered a thread in here which links to the blog https://edison.internet-share.com/wiki/Using_a_vanilla_Linux_kernel_with_Intel_Edison# U-Boot https://edison.internet-share.com/wiki/Using_a_vanilla_Linux_kernel_with_Intel_Edison# U-Boot which compiles a whole new system for the edison but more important is the u-boot section.
I moved the generated *.gz file onto the edison drive with Windows7 and see the file in /media/storage/initramfs_data.cpio.gz now I would like to set this as the initramfs file. My suggestion is to give some kernel-arguments via u-boot (https://edison.internet-share.com/wiki/Using_a_vanilla_Linux_kernel_with_Intel_Edison# U-Boot https://edison.internet-share.com/wiki/Using_a_vanilla_Linux_kernel_with_Intel_Edison# U-Boot) but I do not have any address of the file.
I've got a file '/media/storage/initramfs_data.cpio.gz' which I want to use as the initramfs or the initrd directly after loading the kernel. How is that possible?
Thanks for the answers!
After some tests (I entered the setenv values from , last post) I got the following:
> run bootcmd_edsboot
6144000 bytes read in 151 ms (38.8 MiB/s)
** Unable to read file0 **
Valid Boot Flag
Setup Sectors = 0 (defaulting to 4)
Setup Size = 0x00000a00
Magic signature not found
Using boot protocol version 1.00
Building boot_params at 0x00090000
Error: zImage kernel too big! (size: -2560, max: 524288)
# Kernel loading failed ...
The edison-image-edison.hddimg is from the Intel-iot zip package. Do I mess up with the adresses or does the flashall.bat some magic with the file itself?
Thank you for contacting us.
To be honest, we haven't tried this, and any change that you will make to the kernel or U-Boot is out the of the scope of our support.
If you need to reduce the booting time, I recommend you to check this thread: https://communities.intel.com/thread/107609 https://communities.intel.com/thread/107609, you can find there that the easiest way to do this is removing every package that you don't need from your Edison's image.
I hope you find this information helpful.
Have a nice day.
thanks for the reply and the honesty.
I took a look at the thread but it says nothing about any solution, only that the reduce of time is possible. It would be nice if Peter could say more specific what to do in that case. I'll try to send him a message and post my results here.
That's awesome. Thank you so much for the detailed steps in that thread. It definitely will be useful for the community.
Have a nice day.