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: 
Visitor nikeeag
Visitor
249 Views
Registered: ‎02-28-2019

Boot Linux from PL side[ZCU106]

Hi,

I need help with booting Linux from my ZCU106 from PL side DDR and PS just acts as storage.

Could someone help on this? 

Thanks and regards

Nikesh

0 Kudos
8 Replies
Xilinx Employee
Xilinx Employee
242 Views
Registered: ‎09-01-2014

Re: Boot Linux from PL side[ZCU106]

Assuming you have a MIG design for ZCU106, then you just need to select PL DDR as the primary system memory in petalinux-config menu (Subsystem AUTO Hardware Settings -> Memory Settings )
0 Kudos
Visitor nikeeag
Visitor
216 Views
Registered: ‎02-28-2019

Re: Boot Linux from PL side[ZCU106]

Hi Ritakur,

That would imply that I have to use my own bit file too which has Xilinx MIG design? Is my understanding correct?

Thanks and regards

Nikesh

0 Kudos
Xilinx Employee
Xilinx Employee
201 Views
Registered: ‎09-01-2014

Re: Boot Linux from PL side[ZCU106]

yes, since you want to boot from PL side DDR, you need a soft IP DDRC(MIG) in PL.
Note, U-boot doesn't support high memory, it needs to run from memory (0 to 4GB).
0 Kudos
Visitor nikeeag
Visitor
194 Views
Registered: ‎02-28-2019

Re: Boot Linux from PL side[ZCU106]

But PL Side DDR is above 4GB, how can I make U-Boot work then?

0 Kudos
Xilinx Employee
Xilinx Employee
163 Views
Registered: ‎09-01-2014

Re: Boot Linux from PL side[ZCU106]

all the U-Boot Drivers should be capable to run in 64 bit mode and able to access and work with high address area covering the full DDR range.
This will be a huge modification, we have internal request but was withdraw.
0 Kudos
Visitor nikeeag
Visitor
118 Views
Registered: ‎02-28-2019

Re: Boot Linux from PL side[ZCU106]

This is not working just changing to PL DDR as main memory

0 Kudos
Xilinx Employee
Xilinx Employee
112 Views
Registered: ‎09-01-2014

Re: Boot Linux from PL side[ZCU106]

As I mentioned U-boot doesn’t support high address.
I think u-boot will hang if you are using PL DDR as the main memory.
0 Kudos
Visitor nikeeag
Visitor
109 Views
Registered: ‎02-28-2019

Re: Boot Linux from PL side[ZCU106]

I get your point. However, how abt if i map my PL-DDR to 256MB from A000_0000 to AFFF_FFFF. In that case i should still be able to boot from PL DDR yet keeping my U-BOOT below the high memory?

Could you let me know the steps for this?

Thanks and regards

Nikesh

0 Kudos