Author Topic: SDSoC platform for TE0803 Starter Kit  (Read 473 times)

jlamp

  • Active Member
  • *
  • Posts: 28
SDSoC platform for TE0803 Starter Kit
« on: April 01, 2018, 04:48:28 PM »
Hi,

I have been trying to create SDSoC platform for SDx 2017.4 and if I use the BOOT.bin generated by SDx that has the accelerated bitstream and petalinux provided image.ub (Image, rootfs and device-tree) everything is working perfectly and I see this in the console.

Code: [Select]
root@sdsoc:/mnt# ./Matrix.elf
[   37.639151] xlnk_eng_probe ...
[   37.644393] uio name xilinx-xlnk-eng.0
[   37.650311] xilinx-xlnk-eng xilinx-xlnk-eng.0: physical base : 0xa0000000
[   37.659289] xilinx-xlnk-eng xilinx-xlnk-eng.0: register range : 0x10000
[   37.668101] xilinx-xlnk-eng xilinx-xlnk-eng.0: base remapped to: 0xffffff800a450000
[   37.678090] xilinx-xlnk-eng xilinx-xlnk-eng.0: xilinx-xlnk-eng uio registered
Number of CPU cycles running application in hardware: 3009590
TEST[   37.707350] xilinx-xlnk-eng xilinx-xlnk-eng.0: xilinx-xlnk-eng uio unregistered
 PASSED.

but if  I tried to separate this image.ub in different parts (Image, rootfs and device-tree) and create a persistent rootfs inside my SDCard inside a new partition I get stuck in the above message

Code: [Select]
root@te0803-3eg-tebf0808-zynqmp:/mnt# ./Matrix.elf
[   31.166537] xlnk_eng_probe ...
[   31.169533] uio name xilinx-xlnk-eng.0
[   31.173273] xilinx-xlnk-eng xilinx-xlnk-eng.0: physical base : 0xa0000000
[   31.180019] xilinx-xlnk-eng xilinx-xlnk-eng.0: register range : 0x10000
[   31.186617] xilinx-xlnk-eng xilinx-xlnk-eng.0: base remapped to: 0xffffff800a4a0000
[   31.194390] xilinx-xlnk-eng xilinx-xlnk-eng.0: xilinx-xlnk-eng uio registered

I have written all the procedure in this xilinx forum link telling which steps I have followed: https://forums.xilinx.com/t5/SDSoC-Environment-and-reVISION/CMA-reserved-addresses-when-creating-a-new-SDSoC-platform/td-p/843587

The only different things I see is that cma is reserving memory in different locations and also that I am trying to boot Linux with different parts stored in different memory addreses.

Any idea of how to achieve a SDCard with two partitions, one for booting and another one for the rootfs?

Thank you very much,

Jorge

jlamp

  • Active Member
  • *
  • Posts: 28
Re: SDSoC platform for TE0803 Starter Kit
« Reply #1 on: April 02, 2018, 04:51:39 PM »
I have solved the issue changing this line in the uEnv.txt

 
Code: [Select]
bootargs=console=ttyPS0,115200 root=/dev/mmcblk1p2 rw rootwait earlyprintk

with this new one:

Code: [Select]
bootargs= earlycon clk_ignore_unused root=/dev/mmcblk1p2

Thanks!

 

Jorge