I successfully compiled and flashed the ref-os-iot yocto build for Intel Joule.
However, I have certain logics unexplained. I will explain what i attempted to figure out.
I have attached the above referred run.do_uefiapp python script file, and refosiot.wks WIC Kickstart file.
I beleive you won't require the 1.2G full-image-intel-5xx-64.wic.xz
Thanks for your interest in the Intel® Joule Platform.
Those are very good questions that I would like to investigate a little bit more and as soon as I have useful information I'll let you know.
I'll appreciate your patience during the meantime.
Thank you for your patience. We would like to update you with the following information:
bitbake -c devshell virtual/kernel
# Kernel build dir is printed in the first line of make
scp /arch/x86/bzImage root@:/tmp/
# mount efi partition so xboot64.efi can be updated
mount /dev/mmcblk1p1 /tmp/boot_part
objcopy --remove-section .linux /tmp/boot_part/EFI/BOOT/bootx64.efi /tmp/bootx64-tmp.efi
objcopy --add-section .linux=/tmp/bzImage --change-section-vma .linux=0x40000 /tmp/bootx64-tmp.efi /tmp/bootx64-new.efi
# replace the bootx64.efi with the new file
cp /tmp/bootx64-new.efi /tmp/boot_part/EFI/BOOT/bootx64.efi
APPEND_append = " console=ttyS2,115200 video=efifb maxcpus=4 reboot=efi kmemleak=off net.ifnames=0"
2. How WIC generates Bootable Images from the Generated Rootfs?
3. Why the full-image-intel-5xx-64.wic.xz Image generated is always a live booting Image?
PACKAGE_INSTALL_append_pn-refkit-initramfs = " initramfs-framework-installer"
Hope this information helps.