UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
354 Views
Registered: ‎02-12-2016

Programming PL+PS in ZynqMP

Jump to solution

This is a somewhat basic question. In both XSDK and Vivado there are either options for programming FPGA or Flash/Configuration memory device. Programming the FPGA will not result in PS configuration as an FSBL is not included in the .bit file. Is there an automatic/swift way of configuring both PS and PL?

So far I've only been able to do this through the XSCT Console by following the PMU programming exacle in UG1137:

    1. Disable security gates to view PMU Microblaze. PMU Microblaze is not visible in xsdb for Silicon v3.0 and above.
    2. Load PMU FW and run3. Load FSBL and run
    4. Continue with U-Boot/Linux/user specific application
    Following is a complete Tcl script:

    #Disable Security gates to view PMU MB target
    targets -set -filter {name =~ "PSU"}

    #By default, JTAGsecurity gates are enabled
    #This disables security gates for DAP, PLTAP and PMU.
    mwr 0xffca0038 0x1ff
    after 500

    #Load and run PMU FW
    targets -set -filter {name =~ "MicroBlaze PMU"}
    dow xpfw.elf
    con
    after 500

    #Reset A53, load and run FSBL
    targets -set -filter {name =~ "Cortex-A53 #0"}
    rst -processor
    dow fsbl_a53.elf
    con

    #Give FSBL time to run
    after 5000
    stop

    #Other SW...
    dow u-boot.elf
    dow bl31.elf
    con

    #Loading bitstream to PL
    Targets -set -nocase -filter {name =~ "*PL*"}
    fpga download.bit

Thanks!

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
271 Views
Registered: ‎09-12-2007

Re: Programming PL+PS in ZynqMP

Jump to solution

You can use the GUI to create a debug configuration. Here you can specify the psu_init.tcl and program the Pl. 

 

0 Kudos
6 Replies
Moderator
Moderator
325 Views
Registered: ‎09-12-2007

Re: Programming PL+PS in ZynqMP

Jump to solution
0 Kudos
Adventurer
Adventurer
317 Views
Registered: ‎02-12-2016

Re: Programming PL+PS in ZynqMP

Jump to solution

So basically, no? There is no other way except for xsct and creating a tcl script.

0 Kudos
Moderator
Moderator
304 Views
Registered: ‎09-12-2007

Re: Programming PL+PS in ZynqMP

Jump to solution

You can boot from the SD Card, or QSPI, or NAND, or JTAG

 

The steps to create the boot images are discusses in the ch5 in the doc posted in previous thread.

 

 

0 Kudos
Adventurer
Adventurer
297 Views
Registered: ‎02-12-2016

Re: Programming PL+PS in ZynqMP

Jump to solution

I was not asking about the procedure for programming a configuration memory, or to create a boot image, but simply whether there is a quick GUI way of programming the MPSoC directly. I.e. configuring the PS with an FSBL and the PL with a bitstream.

It seems the only way of doing this is through the console of XSDK.

0 Kudos
Explorer
Explorer
283 Views
Registered: ‎04-19-2018

Re: Programming PL+PS in ZynqMP

Jump to solution

No, there isn't such a way. I just crashed in that same rock recently. You need the FSBL to do that.

0 Kudos
Moderator
Moderator
272 Views
Registered: ‎09-12-2007

Re: Programming PL+PS in ZynqMP

Jump to solution

You can use the GUI to create a debug configuration. Here you can specify the psu_init.tcl and program the Pl. 

 

0 Kudos