Hi all,
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.
P.S:
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
Link Copied
Hi Kanna,
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.
Regards,
-Yermi A.
Hi Yermi,
Thanks for your interest in this topic. Is there any update on this query?
TIA.
regards,
Kannan M.
Hi Kannan,
At this moment we are still working on your query, I would like to let you know that as soon as I have any updates I'll let you know.
Regards,
-Yermi A.
Hi Kannan,
Thank you for your patience. We would like to update you with the following information:
bitbake -c devshell virtual/kernel
make -j8
# 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
mkdir /tmp/boot_part
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
umount /tmp/boot_part
reboot
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.
Regards,
-Yermi A.
Hi Kanna,
I would like to know if you have any other questions.
Regards,
-Yermi A.
Hi Yermi,
Thanks for your reply. The steps mentioned were useful.
For more complete information about compiler optimizations, see our Optimization Notice.