cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,437 Views
Registered: ‎05-24-2018

Creating SDSOC platform for PYNQ-Z1

Jump to solution

I want to create sdsoc platform for PYNQ-Z1 board. 
I have followed all the steps to create dsa in vivado desribed in UG1146.
i have also create software files through petalinux.
after creating platform, the code i wanted to compile is successfully compiled and create .elf file
but still unable to get boot process on uart.
bit file is loaded in fpga as led indicated.
which means fsbl is working as bitstream loading is 2nd steps in .bif file
i could not figure out where is the mistake.
can some body help me regarding this issue...........?
Thanks in advance

0 Kudos
1 Solution

Accepted Solutions
Highlighted
1,225 Views
Registered: ‎02-12-2018

@m_snaeem,

 

Until now there is no hint of where the problem could be. I'd suggest you to verify correct operation in the following order:

 

1. hardware platform

2. petalinux platform

3. SDSoC platform

 

I don't recall all contents of UG1146, there may be other hints for troubleshooting. Otherwise, UG1144 might be a good reference for you.

View solution in original post

0 Kudos
12 Replies
Highlighted
1,428 Views
Registered: ‎02-12-2018

hi @m_snaeem,

 

can you share your console output on uart with us?

0 Kudos
Highlighted
Visitor
Visitor
1,426 Views
Registered: ‎05-24-2018

nothing appears on UART..........while booting!
so i could not execute .elf file.......!
so i could not post console output........!

0 Kudos
Highlighted
1,420 Views
Registered: ‎02-12-2018

@m_snaeem,

 

did you test your hardware platform, is UART working?

0 Kudos
Highlighted
Visitor
Visitor
1,418 Views
Registered: ‎05-24-2018

no......!
can you tell me how to do it.........?

 

0 Kudos
Highlighted
1,416 Views
Registered: ‎02-12-2018

I'd suggest you to create a hello world bare metal application to test UART configuration in SDK.

 

You can also create a bare metal application in SDSoC to test your SDSoC platform before troubleshooting Linux.

 

What do you mean by ".... while booting" is there NOTHING AT ALL on UART?

0 Kudos
Highlighted
Visitor
Visitor
1,406 Views
Registered: ‎05-24-2018

i have tested hello world on sdk..........!
i would try it using sdsoc in bare metal application.
by booting means when i turned on board,
the booting  process like first stage bootloader is loading, 
u-boot and terminal where i can access rfs on sd card.......!


 

0 Kudos
Highlighted
1,402 Views
Registered: ‎02-12-2018

are you booting from SD? after power cycling the board, you can connect to your uart terminal, then press the reset button to reset the PS. This way you'll force a reboot and get all the data displayed on the console from the start.

 

This could point out some problems, or where it fails. I'd suggest you to debug your linux platform next.

0 Kudos
Highlighted
Visitor
Visitor
1,397 Views
Registered: ‎05-24-2018

yes i am booting from sd card......!
i did not reset board but restart the board while minicom is active.........!
could you suggest me how to do debuging...........?

 

0 Kudos
Highlighted
1,380 Views
Registered: ‎02-12-2018

I'd start with booting petalinux in qemu. Are you using a petalinux BSP or custom platform? If it's the former there's no need in testing this further as it is most likely correct. Any warnings in the build process?

 

You should see if your petalinux platform is working correctly before using it in SDSoC.

0 Kudos
Highlighted
Visitor
Visitor
1,150 Views
Registered: ‎05-24-2018

i am using petalinux custom platform and it was successfully generated with no error..........!

0 Kudos
Highlighted
1,226 Views
Registered: ‎02-12-2018

@m_snaeem,

 

Until now there is no hint of where the problem could be. I'd suggest you to verify correct operation in the following order:

 

1. hardware platform

2. petalinux platform

3. SDSoC platform

 

I don't recall all contents of UG1146, there may be other hints for troubleshooting. Otherwise, UG1144 might be a good reference for you.

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
1,123 Views
Registered: ‎05-24-2018

i have test bare metal applications in sdsoc at it worked.........!
which means i should debug petalinux...........!

0 Kudos