cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
523 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
Highlighted
Xilinx Employee
Xilinx Employee
516 Views
Registered: ‎09-01-2014

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

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
Highlighted
Xilinx Employee
Xilinx Employee
475 Views
Registered: ‎09-01-2014

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

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

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

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

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

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

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

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