On 2/16/21 12:54 PM, Emily wrote:
> Hi All - 
> 
> I'm trying to update a custom board definition on a custom layer
> (https://github.com/kratsg/meta-l1calo/blob/master/conf/machine/gfex-prototype4.conf
> <https://github.com/kratsg/meta-l1calo/blob/master/conf/machine/gfex-prototype4.conf>)
> from rocko -> zeus. There seem to have been significant changes with u-boot, 
> is
> there a summary of these changes recorded anywhere? 

Unfortunately I'm not sure there are.

However, I can help you with a few things for the conversion.  If you look at
the zeus version of zynqmp-generic:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf?h=zeus

You'll see a series of includes.  You should consider using the same in your 
BSP.

tune-zynqmp.inc will set the default tune for you.  (Note this may require a
tune file not available in stock Zeus!)

machine-xilinx-override, machine-xilinx-default and machine-xilinx-qemu should
enable all of the various components for the various configurations.

> With rocko we disable the SPL and created the FSBL and BOOT.BIN externally 
> from
> the yocto build. We can continue with this build flow, especially as I
> understand the SPL isn't supported for the ZynqMP
> (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842574/U-Boot+Secondary+Program+Loader
> <https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842574/U-Boot+Secondary+Program+Loader>)?
>  

SPL flow is being worked on, but there are limitations to the SPL flow that the
official FSBL/boot.bin flow don't have.  (Unless you need u-boot and don't care
about secure booting -- the fsbl/boot.bin is the one that is recommended.)

> I'm currently seeing an error with an unbuildable dependency change: 
> 
> ERROR: Required build target 'core-image-gfex' has no buildable providers.   
> Missing or unbuildable dependency chain was: ['core-image-gfex', 
> 'virtual/boot-bin']

This is defined in machine-xilinx-default.inc.

--Mark

> I guess my question is for an external build of the FSBL and BOOT.BIN, what
> should provide virtual/boot-bin? And/or what is requiring it and why? Sorry 
> for
> the basic questions, this is the first time I've had to mess with a board 
> conf! 
> 
> Thanks, 
> Emily Smith
> 
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4857): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4857
Mute This Topic: https://lists.yoctoproject.org/mt/80686015/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to