Quantcast
Channel: Xilinx Wiki : Xilinx Wiki - all changes
Viewing all 11776 articles
Browse latest View live

Zynq UltraScale MPSoC Base TRD 2016.3 - Design Module 6

$
0
0
...
Create a Vivado project. Select 'es1' instead if you are targeting a rev D board with ES1 silicon.
% cd $TRD_HOME/pl/zcu102_base_trd
...
vivado -s /scripts/create_project.tcl./scripts/create_project.tcl -tclargs -platform
Implement the design and generate a bitstream
{base-trd-2016-3-dm6-base-trd-bit.jpg}

Zynq UltraScale MPSoC Base TRD 2016.3 - Design Module 4

$
0
0
...
% perfapm-client-test.elf
Below is a screenshot of the application output on the serial console
{perfapm-client-test_console.png}

perfapm-ctl_console.png

Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 4

$
0
0
...
% perfapm-client-test.elf
Below is a screenshot of the application output on the serial console
{perfapm-client-test_console.png}

Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 4

$
0
0
...
Run the perfapm-client-test application:
% perfapm-client-test.elf
...
the serial consoleconsole:

perfapm-ctl_console_dm-4.png

Zynq UltraScale+ MPSoC Power Advantage Tool part 1 - Introduction to the Power Advantage Tool

$
0
0

Zynq UltraScale+ MPSoC Power Advantage Tool part 6 - Building and Running the R5 Design From Sources

$
0
0

Zynq UltraScale+ MPSoC Power Advantage Tool part 7 - Building and Running the MSP430 Design from Sources

$
0
0

Zynq UltraScale+ MPSoC Power Advantage Tool part 8 - Building and Running the Qt PC GUI Design from Sources

$
0
0

Zynq UltraScale+ MPSoC Power Advantage Tool part 8 - Building and Running the Qt PC GUI Design from Sources

$
0
0

Zynq UltraScale+ MPSoC Power Advantage Tool part 6 - Building and Running the R5 Design From Sources

$
0
0

Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 4

$
0
0
...
% perfapm-client-test.elf
Below is a screenshot of the application output on the serial console:
{perfapm-ctl_console.png}

Zynq UltraScale MPSoC Base TRD 2016.3 - Design Module 4

$
0
0
...
Run the perfapm-client-test application:
% perfapm-client-test.elf
...
the serial console
console:
{perfapm-ctl_console.png}

dm-4.png


Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 4

$
0
0
Returneturn to the
Design Overview
This module demonstrates:
...
% perfapm-client-test.elf
Below is a screenshot of the application output on the serial console:
{perfapm-ctl_console.png}{dm-4.png}

Xen Hypervisor through Yocto Flow

$
0
0
...
All of the steps above will result in an error when booting DomU as there is no rootFS included in Dom0's RootFS. The Dom0 kernel image is included in the Dom0 rootFS which is why the kernel boots but then panics when no rootFS can be found.
The config files can be edited to point to a specific kernel image and rootFS to use when booting DomU. This image and configuration is up to the user to determine and select. The kernel used in the examples above is just the Dom0 kernel. If you would like a specific DomU kernel you will need to build and boot that yourselvf.
One of the options to get the rootFS into the Dom0 kernel image is to add a diff similar to this to the meta-petalinux layer. This diff has been applied onto the 2017.1 (morty) release of meta-petalinux
diff --git a/recipes-extended/xen/xen_4.8.0.bbappend b/recipes-extended/xen/xen_4.8.0.bbappend
index 96adee9..91cb5b7 100644
--- a/recipes-extended/xen/xen_4.8.0.bbappend
+++ b/recipes-extended/xen/xen_4.8.0.bbappend
@@ -17,6 +17,7 @@ FILES_${PN}-xl_append = " \
/etc/xen/example-pvnet.cfg \
/etc/xen/example-simple.cfg \
/etc/xen/passthrough-example-part.dtb \
+ /boot/Image \
"
DEPENDS += "u-boot-mkimage-native"
@@ -44,4 +45,8 @@ do_install_append() {
install -m 0644 ${WORKDIR}/example-simple.cfg ${D}/etc/xen/example-simple.cfg
install -m 0644 ${WORKDIR}/passthrough-example-part.dtb ${D}/etc/xen/passthrough-example-part.dtb
+
+ if [ -f ${DEPLOY_DIR_IMAGE}/Image ]; then
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/Image ${D}/boot/Image
+ fi
}

OpenAMP 2016.4

$
0
0
...
This is due to some interrupt initialization issue in the underlying FreeRTOS library.
After restarting QEMU, you shall be able to run the second application.
Running OpenAMP demo for Zynq devices with QEMU is not supported
Only OpenAMP demos for ZynqMP devices are supported with QEMU.

After changing BSP extra compilation flags in SDK, the libraries are not properly rebuilt:
There is a known problem where the SDK does not invoke 'make clean' for openamp and libmetal libraries.

PS and PL based Ethernet in Zynq MPSoC

$
0
0
...
Run petalinux-create command on the console
petalinux-create -t project -s <path-to-bsp>
bash> cd $PETALINUX$XAPP_HOME\xapp1305-ps-pl-based-ethernet-solution
// for PS emio
...
project -s $XAPP_HOME\xapp1305_v1.0\software\bsps\PS + PL Ethernet 1G\xilinx-zcu102-2016.4-ps-emio.bspsoftware\bsps\xapp1305_ps_pl_eth_1g\xilinx-zcu102-2016.4-ps-emio.bsp
//for PS MIO
...
project -s $XAPP_HOME\xapp1305_v1.0\software\bsps\PS Ethernet\xilinx-zcu102-2016.4-ps-mio.bspsoftware\bsps\xapp1305_ps_eth_1g\xilinx-zcu102-2016.4-ps-mio.bsp
2.3.1.2 Configure PetaLinux
// for PS emio
bash> mv xilinx-zcu102-2016.4-ps-emio.bsp xapp1305_ps_emio_eth
bash> cd xapp1305_ps_emio_eth
//for PS mio
bash> mv xilinx-zcu102-2016.4-ps-mio.bsp xapp1305_ps_mio_eth
bash> cd xapp1305_ps_mio_eth
bash> petalinux-config
...
Add fsbl_patch here which configure clock and SFP.
Open fsbl_%.bbapend file from <proj dir>\project-spec\meta-user\recipes-fsbl\fsbl and add below line to it.
SRC_URI += "file://0001-fsbl-si570-clk-156MHz.patch""file://0001-fsbl-si570-clk.patch"
Bitbake will add this patch to FSBL before compilation.
Please refer Appendix A for more details about applying patch in fsbl.
...
bash> cd images/linux
// for PS emio
...
--boot --fsbl=zynq_fsbl.elf --fpga=$PETALINUX/xapp1305_ps_emio_eth/images/linux/ps_emio_eth_1g_wrapper.bit--fpga=ps_emio_eth_1g_wrapper.bit --u-boot
//for PS mio
...
--boot --fsbl=zynq_fsbl.elf --fpga=$PETALINUX/xapp1305_ps_emio_eth/images/linux/ps_emio_eth_1g_wrapper.bit--fpga=ps_emio_eth_1g_wrapper.bit --u-boot
2.3.1.7 SD Images
SDcard Deployable binaries:-
...
Run petalinux-create command on the command console:
petalinux-create -t project -s <path-to-bsp>
bash> cd $PETALINUX$XAPP_HOME/xapp1305-ps-pl-based-ethernet-solution
bash> petalinux-create
...
project -s $XAPP_HOME/xapp1305_v1.0\software\bsps\PL Ethernet 1G\xilinx-zcu102-2016.4-pl_eth.bspsoftware\bsps\pl_eth_1g\xilinx-zcu102-2016.4-pl_eth.bsp
2.4.1.2 Configure petalinux
bash> mv xilinx-zcu102-2016.4 xapp1305_pl_eth_1g
bash>
cd xapp1305_pl_ethxapp1305_pl_eth_1g
bash> petalinux-config
Set one of local directory as tmp directory, Save the changes and exit.
...
Add fsbl_patch here which configure clock and SFP.
Open fsbl_%.bbapend file from <proj dir>\project-spec\meta-user\recipes-fsbl\fsbl and add below line to it.
SRC_URI += "file://0001-fsbl-si570-clk-156MHz.patch""file://0001-fsbl-si570-clk.patch"
Bitbake will add this patch to FSBL before compilation.
Please refer Appendix A for more details about applying patch in fsbl.
...
2.4.1.6 Create Zynq-mp Boot image (BOOT.bin)
bash> cd images/linux
...
--boot --fsbl=zynq_fsbl.elf --fpga=$PETALINUX/xapp1305_pl_eth/images/linux/pl_eth_1g_wrapper.bit--fpga=pl_eth_1g_wrapper.bit --u-boot
2.4.1.7 SD Images
SD Deployable binaries:-
...
Run petalinux-create command on the command console:
petalinux-create -t project -s <path-to-bsp>
bash> cd $PETALINUX$XAPP_HOME/xapp1305-ps-pl-based-ethernet-solution
bash> petalinux-create
...
project -s $XAPP_HOME/xapp1305_v1.0/software/bsps/PLsoftware/bsps/PL Ethernet 10G/xilinx-zcu102-2016.4-pl-10g.bsp
2.4.2.2 Configure petalinux
bash> mv xilinx-zcu102-2016.4 xapp1305_pl_eth_10g
bash> cd xapp1305_pl_eth_10g
bash> petalinux-config
...
Add fsbl_patch here which configure clock and SFP.
Open fsbl_%.bbapend file from <proj dir>\project-spec\meta-user\recipes-fsbl\fsbl and add below line to it.
SRC_URI += "file://0001-fsbl-si570-clk-156MHz.patch""file://0001-fsbl-si570-clk.patch"
Bitbake will add this patch to FSBL before compilation.
Please refer Appendix A for more details about applying patch in fsbl.
...
2.4.2.6 Create Zynq-mp Boot image (BOOT.bin)
bash> cd images/linux
...
--boot --fsbl=zynq_fsbl.elf --fpga=$PETALINUX/xapp1305_pl_eth_10g/images/linux/pl_eth_10g_wrapper.bit--fpga=pl_eth_10g_wrapper.bit --u-boot
2.4.2.7 SD Images
SD Deployable binaries:-
...
How to patch Device Tree in petalinux2016.4:
SRC_URI += "file://0001-fsbl-si570-clk-156MHz.patch"
$XAPP_HOME/xapp1305-ps-pl-ethernet-based-solution

PS and PL based Ethernet in Zynq MPSoC

$
0
0
...
bash> cd images/linux
// for PS emio
...
petalinux-package --boot --fsbl=zynq_fsbl.elf--fsbl=zynqmp_fsbl.elf --fpga=ps_emio_eth_1g_wrapper.bit --u-boot
//for PS mio
...
petalinux-package --boot --fsbl=zynq_fsbl.elf--fsbl=zynqmp_fsbl.elf --fpga=ps_emio_eth_1g_wrapper.bit --u-boot
2.3.1.7 SD Images
SDcard Deployable binaries:-
...
2.4.1.6 Create Zynq-mp Boot image (BOOT.bin)
bash> cd images/linux
...
petalinux-package --boot --fsbl=zynq_fsbl.elf--fsbl=zynqmp_fsbl.elf --fpga=pl_eth_1g_wrapper.bit --u-boot
2.4.1.7 SD Images
SD Deployable binaries:-
...
2.4.2.6 Create Zynq-mp Boot image (BOOT.bin)
bash> cd images/linux
...
petalinux-package --boot --fsbl=zynq_fsbl.elf--fsbl=zynqmp_fsbl.elf --fpga=pl_eth_10g_wrapper.bit --u-boot
2.4.2.7 SD Images
SD Deployable binaries:-
Viewing all 11776 articles
Browse latest View live