cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
greande
Explorer
Explorer
138 Views
Registered: ‎02-19-2018

Enabling inner sharable broadcast when booting from JTAG

Hello,

I'm working on getting cache coherency with PL masters working with an application running in Linux. I found this page from the Xilinx wiki which has a lot of useful information; unfortunately, none of it covers my particular use case. I am booting my device via JTAG from PetaLinux (i.e. petalinux-boot --jtag) so I don't have a bootgen file to modify nor can I make the recommended modifications in the SDK/Vitis.

Is there a way to modify the psu_init.tcl file in PetaLinux to have it write to the apd_lpu register during JTAG boot?

0 Kudos
1 Reply
maps-mpls
Mentor
Mentor
48 Views
Registered: ‎06-20-2017

How is that jtag boot working out?

Anyway, try:

1.  Modify project-spec/hw-description/psu_init.c

2.  Make a directory in project-spec/meta-user/recipes-bsp/fsbl

3. make a file fsbl_%.bbappend, e.g.,

do_compile_prepend(){
   install -m 0644 ${TOPDIR}/../project-spec/hw-description/psu_init.c ${B}/fsbl/psu_init.c
}


See How to Update psu_init Files in PetaLinux Project

*** Destination: Rapid design and development cycles *** Unappreciated answers get deleted, unappreciative OPs get put on ignored list ***
0 Kudos