cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
803 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
Highlighted
Moderator
Moderator
720 Views
Registered: ‎09-12-2007

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

 

View solution in original post

0 Kudos
6 Replies
Highlighted
Moderator
Moderator
774 Views
Registered: ‎09-12-2007
0 Kudos
Highlighted
Adventurer
Adventurer
766 Views
Registered: ‎02-12-2016

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

0 Kudos
Highlighted
Moderator
Moderator
753 Views
Registered: ‎09-12-2007

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
Highlighted
Adventurer
Adventurer
746 Views
Registered: ‎02-12-2016

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
Highlighted
Explorer
Explorer
732 Views
Registered: ‎04-19-2018

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

0 Kudos
Highlighted
Moderator
Moderator
721 Views
Registered: ‎09-12-2007

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

 

View solution in original post

0 Kudos