News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

SDSoC platform for TE0803 Starter Kit

Started by jlamp, April 01, 2018, 04:48:28 PM

Previous topic - Next topic

jlamp

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.

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

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

I have solved the issue changing this line in the uEnv.txt



bootargs=console=ttyPS0,115200 root=/dev/mmcblk1p2 rw rootwait earlyprintk


with this new one:


bootargs= earlycon clk_ignore_unused root=/dev/mmcblk1p2


Thanks!



Jorge