[meta-xilinx] SPL Method on ZCU102 - Missing files?

Giordon Stark kratsg at gmail.com
Mon Mar 6 21:40:42 PST 2017


I re-ran on the latest distro (I was on kogoroth and switched to morty).
Here's what I see in the list of files:
https://gist.github.com/kratsg/04abfb458ae95a8e167dc08cc1250e37

On Mon, Mar 6, 2017 at 6:14 PM Oleg K Dzhimiev <oleg at elphel.com> wrote:

> Hello,
>
> I have a few questions based on this:
> - where is boot.bin?
> - where is u-boot.img / u-boot-dtb.img?
>
>
> Check with the poky/meta/recipes-bsp/u-boot/*u-boot.inc* look for
> "deploy" function.
> Also, boot.bin should be the smallest in size.
>

I see the deploy function:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot.inc#n203
but
this looks really confusing and hard to read. Comparing to what I see here (
https://github.com/Xilinx/meta-xilinx/blob/morty/conf/machine/include/machine-xilinx-default.inc),
it looks like "SPL_BINARY" is not set and would need to be set to get this
working. I don't know where to set this. It also looks like, similarly,
UBOOT_ENV is not set as well. So uEnv.txt does not get made.


>
>
> - where is the root filesystem (eg: to populate the second partition)? I
> only see a ramdisk which goes in the first partition (*cpio.gz)
>
>
> a. convert cpio.gz to tar.gz
> b. in the rootfs recipe (zynq-base.bb?) specify:
>
> IMAGE_FSTYPES = "tar.gz"
>
>
Looks like this is getting made. I'm not sure why it wasn't before!


>
> Then don't forget about bootargs.
>

Don't forget about it? Right now, I manually create the uEnv.txt file and
fill it in myself (including the bootargs and uenvcmd myself manually). Is
there a more automated way to set this?


>
> - where is uImage? is it just "Image"?
>
> Most likely.
>

How can I confirm?

Thanks!


>
> Oleg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170307/cdd03645/attachment.html>


More information about the meta-xilinx mailing list