[meta-xilinx] Zedboard Bring-up Yocto fido, meta-xilinx
Philip Balister
philip at balister.org
Wed Oct 28 14:07:32 PDT 2015
On 10/28/2015 02:01 PM, Girouard, Matthew wrote:
> Hi,
>
> Thank you all for your help and for the patch, that cleared up the download issue.
>
> I wasn't thinking about the bitstream and fsbl when I saw the uboot.bin file in the deploy/images folder, that makes sense. I created the boot.bin with the bitstream I was provided and the fsbl I was provided by Petalinux and the board boots now.
>
> I'm going to get to work on moving the fsbl into yocto and out of petalinux.
It is possible to build images entirely with OpenEmbedded tha twill boot
on a zedboard. We have sample ps7 files checked in (as mentioned when
you have a real fpga image you may need to change them). The script here:
https://github.com/balister/meta-sdr/blob/master/contrib/scripts/build-all.sh
Is what I have used to make test images. I do need to re-test against a
recent master though :)
Philip
>
> Thanks
>
>
> From: Hecht, Martin (Silica) [mailto:Martin.Hecht at avnet.eu]
> Sent: Wednesday, October 28, 2015 4:39 PM
> To: Girouard, Matthew; meta-xilinx at yoctoproject.org
> Subject: RE: Zedboard Bring-up Yocto fido, meta-xilinx
>
> Hi Matthew,
>
> I had have some similar issues with the microzed. Nevertheless in reality you need to create your own FSBL and bitstream for your application. So you could try to create a fsbl for your board. Please keep in mind that the fsbl contains the ps7_init.c, what initializes most of the Zynq (MIO, Clocks, PLL's, ...). Use bootgen to build your own boot.bin comprising fsbl, bitstream (build by vivado) and u-boot.elf (build by bitbake).
> The fsbl and bitstream used by yocto are only templates and need to be replaced anyway for your application.
>
> That works for microzed and zedboard.
>
> Hope that helps,
> Martin
>
>
> From: meta-xilinx-bounces at yoctoproject.org<mailto:meta-xilinx-bounces at yoctoproject.org> [mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of Girouard, Matthew
> Sent: Mittwoch, 28. Oktober 2015 18:48
> To: meta-xilinx at yoctoproject.org<mailto:meta-xilinx at yoctoproject.org>
> Subject: [meta-xilinx] Zedboard Bring-up Yocto fido, meta-xilinx
>
> Hi,
>
> I've had some experience with Yocto in the past and I'm trying to get a project started using the Avnet Zedboard, I have YP fido 1.8 and the meta-xilinx setup. I had an issue with a recipe downloading source initially and now have a successful core-image-minimal build. Initially I am trying to boot directly from the SD card and the boot process appears to hang up when reading the kernel.
>
> Boot Sequence output:
> U-Boot SPL 2015.01 (Oct 28 2015 - 09:53:12)
> mmc boot
> reading download.bit
> reading download.bit
> design filename = "TW5_top_level;UserID=0XFFFFFFFF;Version=2015.2"
> part number = "7z020clg484"
> date = "2015/08/04"
> time = "11:56:16"
> bytes in bitstream = 4045564
> zynq_align_dma_buffer: Align buffer at 400006d to 4000000(swap 1)
> reading system.dtb
> reading uImage
> reading uImage
> ** Just hangs here forever **
>
> SDCard Contents:
> BOOT.BIN
> Core-image-minimal.cpio.gz.u-boot
> download.bit *made changes in U-boot for .bit vs .bin file*
> system.dtb
> u-boot-dtb.img
> uEnv.txt
> uImage
>
> Source Download issue (could be related?)
> Problem downloading "git://github.com/Xilinx/embeddedsw.git;protocol=https;branch=master" in fsbl-platform-init_2014.4.bb
> It could not find the source. I manually downloaded the source and placed it in the appropriate folder "<builddir>/zedboard_zynq7-poky-linux-gnueabi/fsbl-platform-init/2014.4-r0/git" to get past the issue after trying several times to resolve it.
>
> Thanks for your help.
>
>
>
>
More information about the meta-xilinx
mailing list