For Jethro and earlier you add a recipe called platform-init.bbappend 
containing the following append function:

do_install_append() {
    install -m 06444 <source directory>/ps7_init_gpl.c ${D}${PLATFORM_INIT_DIR}/
    install -m 06444 <source directory>/ps7_init_gpl.h ${D}${PLATFORM_INIT_DIR}/
}

Where <source directory> is the location of your replacement sources.

This is an area that is being re-engineered by Xilinx so for Krogoth onwards 
this solution may well not work.
ALAN LEVY
Lead Consultant, Embedded Systems

Tel > +44 (0) 1799 533200
Email > [email protected]
[http://www.plextek.com/wp-content/uploads/2016/04/Plextek-LOGO-for-email.jpg]<http://www.plextek.com/>

www.plextek.com<http://www.plextek.com/>
The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB10 1NY, 
UK

Plextek is the trading name of Plextek Services Ltd. Registered in England and 
Wales, no. 09826669


The existing recipes will take care of the rest.

From: Danny Bergh [mailto:[email protected]]
Sent: 08 September 2016 10:37
To: [email protected]
Subject: [meta-xilinx] custom ps7_init_gpl

Dear meta-xilinx,

We are trying to use a custom hardware layout with yocto. Building a base image 
for the zed board is no problem, it runs and works fine. Our custom platform 
uses (for instance) different MIO pin configurations. These are set in the 
ps7_init_gpl files.

How can I add these file and what do I need to configure for compiling these 
files??

With kind regards,

Ing. Danny Bergh
Embedded Software Engineer
______________________________________________

Sioux. Source of your Technology
[email protected]<mailto:[email protected]> I 
www.sioux.eu<http://www.sioux.eu/>

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to