I understand that this is not exactly your jurisdiction, so I don't expect a ready solution. Unfortunately, Emutexlabs forum is kinda dead. Is there any way to get better understanding of the flashall script, maybe some docs? After all, the Ubilinux image is based on an older version of the official yocto one. Or maybe I could a hint on which part is responsible for overwriting the home directory?
The thing is, on both images /dev/mmcblk0p10 is mounted to /home. I can't figure out the part of the script that is responsible for this.
I would appreciate any help at all.
just out of interest as I'm also working with Edison:
what's your reason to use Ubilinux instead of the Yocto Linux distribution?
Is there a bigger performance gain with that?
I'm asking also, because I'm not so happy with the Yocto Linux boot time...
Best regards and thanks
The ubilinux image has the same kernel and modules, so probably no performance difference. The main reason to choose it is probably apt-get which has so much more packages than opkg and a more familiar debian environment.
I don't think there is a way to reduce boot time unless you create your own completely stripped down image with yocto.
first thanks for your quick reply!
Yes, thought about stripping down the Yocto image already myself, too, but as I'm not very experienced in the Linux package world I don't have much clue which packages can safely be removed from the image build: I'm basically only need the serial interface plus WiFi - nothing else.
Till now I only tried to remove as many services from boot (by "systemctl disable") as possible, but that reduced the boot time only by about 0.5 seconds...
Reducing Linux load time is a very complicated question, I don't think I can help you much with this. Maybe if boot time is a crucial thing you should consider switching to something non-Linux?
I have another question for you. If I try to chroot into the yocto image, I have the following problem: I can't use opkg, it drops with the following error:
Error in GnuTLS initialization: Failed to acquire random data.
How can I avoid this error message? Is there way to run opkg without some security checks?