Hi Jingyang,
Without adding custom recipes
Following the steps mentioned in the documentation, I faced some errors and I have attached the screenshots
Error-1: linux-socfpga-6.6+git-r0 do_compile: oe_runmake failed
I have resolved this issue by removing linux-socfpga-6.6.bb file after cloning the repository
Issue-2: After running the bitbake core-image-minimal
In the documentation, it is mentioned that core-image-minimal-arria10.tar.gz will be generated under below path after running above bitbake command
$ROOTFS_TOP/a10/build/tmp/deploy/images/arria10
But I cannot see the tarball with exact name. but instead, I could see core-image-minimal-arria10-rootfs.tar.gz. Hence, I used that and proceeded further. Finally I am able to created an .img file of size 84MB. When I load this onto board, I can see only blank screen on Putty. The conclusion is , without custom recipes also, booting not happening. I also checked that the shipping intel image is of size 1.02GB. I am not sure why the process is not creating the same.
General Questions here:
I have checked the SD partition after burning the SD with intel shipping image and image build from my side using Yocto. I can see the major difference in partition. I have attached then screenshots as well. Can I know why I am seeing such difference?
With Custom recipes
Error-1: I am getting the bitbake errors. I attached the screenshots with name recipe_bitbake_error1
Somehow, I overcome the error by
- Renaming u-boot-xlnx-scr.bbappend to u-boot-xlnx-scr.bb
- Renaming the petalinux-image-minimal.bbappend to core-image-minimal.bbappend
- Renaming libiio_%.bbappend to libiio_git.bb
- Added required license file also in layer.conf file
Error - 2:
But again, I have come up with another issue. Attached as withrecipe_bitbake_error2
I have tried cleaning the project as well and cleaning the particular script as well, but nothing happened
With Regards,
Sai