MSenturk
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by MSenturk
-
-
1 hour ago, Ionel said:
Have you tried using petalinux(based on yocto)?
during boot zedboard searches for BOOT.BIN on the boot partition.
This file contains the fsbl, bistream and u-boot(compiled to contain a dtb) .
petalinux boot order: u-boot loads boot.scr(boot instruction for u-boot) which by default tries to boot from Image.ub (a FIT containing: .dtb, kernel, and initramfs)
If you use yocto(not petalinux) make sure you generate a BOOT.BIN(enabling fsbl debug helps in this situation. Also after fsbl loads u-boot you can try various ways in u-boot CLI to load and boot linux kernel.
Actually, I am trying to understand the differences between Yocto Project and Petalinux. I am asked to use Yocto Project. There is a boot.bin file generated by Yocto as you can see from the screenshot I added. I copied it to the sd card's boot partition. But I am kinda suspicious about boot.bin. I found another post about the same problem but for zc702: https://stackoverflow.com/questions/68098124/zc702-not-booting-up-my-yocto-created-build.
-
Hello Everybody, I was trying to build a custom Linux using Yocto Project for Zedboard. I have very limited knowledge on Embedded Linux and Yocto. I mainly followed two tutorial videos I found on Youtube. The first one using Zedboard: https://youtu.be/XPnmB-THjiY and the second one using Zybo board: https://youtu.be/FMCfn0zwhaQ. However, Unfortunately I failed. I format an SD Card. Created two partions: One is ROOT_FS ext4 type and the other one is ZED_BOOT FAT16 type. I put the rootfs.tar.gz file to the ROOT_FS and untar it. After that, I put boot.bin, core-image-minimal-zedboard-zynq7-20230714063552.rootfs.cpio.gz.u-boot, u-boot.img, uEnv.txt, uImage and Zynq-zed.dtb files. The thing is they use uImage.dtb files in both tutorials but there is no uImage.dtb file in my build. I don't know why but the outputs of my build are kinda different from those in the tutorials. I used 3.2.4 Gatesgarth version of Yocto, maybe this is the reason. When I open the uEnv.txt file, It says "devicetree_image=zynq-zed.dtb" and "kernel_image=uImage". So I put these files to the ZED_BOOT. When I insert the SD card to the Zedboard, I can't get any reaction from it. I also tried the reference sd card comes in the box and it worked. So, I don't think the problem is about connections or jumpers etc. I am suspicious about I don't have Xilinx tools Installed. Is it mandatory to install them? What might be the problem? Thank You.
How to build a custom Linux using Yocto Project For Zedboard?
in Embedded Linux
Posted
Where should I create the .bbappend file or Where can I find the fsbl recipe file? Can I add it to local.conf file (asking for the first answer of this question: https://support.xilinx.com/s/question/0D52E00006hpgTWSAY/bitbake-recipe-modification-for-fsbl-build?language=en_US) ? Do I need to rebuild an Image after adding this line?