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

Zynq Ultrascale Plus Restart Solution Getting Started

$
0
0

How To:
...
2017.3 release.
Define the subsystem using the isolation configuration menu in Vivado and export to hdf.
Modify device tree source file (dts) of Linux to include only PL IPs in the apu subsystem.
...
Note: The devicetree changes needed for the R5 application is not needed in meta-user as default device tree generate with rpu subsystem will generate the necessary overlay.
Building Petalinux ProjectBuilding Petalinux Project
...
build it. See MPSoC Petalinux Software Development for further details.
http://www.wiki.xilinx.com/MPSoC+Petalinux+Software+Development

$ petalinux-create -t project -s <path to warm-restart bsp> -n my_project
$ cd my_project
...
Meta User Directory Tree
meta-user
├──??? recipes-apps
│   ├──

?   ???
gpio-demo
│   │   ├──

?   ?   ???
files
│   │   │   ├──

?   ?   ?   ???
gpio-demo.c
│   │   │   └──

?   ?   ?   ???
Makefile
│   │   └──

?   ?   ???
gpio-demo.bb
│   ├──

?   ???
openamp-fw
│   │   ├──

?   ?   ???
files
│   │   │   ├──

?   ?   ?   ???
data
│   │   │   │   ├──

?   ?   ?   ?   ???
r50_app
│   │   │   │   ├──

?   ?   ?   ?   ???
r50_led
│   │   │   │   ├──

?   ?   ?   ?   ???
r51_app
│   │   │   │   └──

?   ?   ?   ?   ???
r51_led
│   │   │   └──

?   ?   ?   ???
LICENSE
│   │   └──

?   ?   ???
openamp-fw_1.0.bb │   ├──?   ??? peekpoke
│   │   ├──

?   ?   ???
files
│   │   │   ├──

?   ?   ?   ???
Makefile
│   │   │   ├──

?   ?   ?   ???
peek.c
│   │   │   └──

?   ?   ?   ???
poke.c
│   │   └──

?   ?   ???
peekpoke.bb
│   └──

?   ???
wdt-heartbeat
│  

?  
    ├──??? files
│  

?  
    │   ├──?   ??? Makefile
│  

?  
    │   └──?   ??? wdt-heartbeat.c
│  

?  
    └──??? wdt-heartbeat.bb ├──??? recipes-bsp
│   ├──

?   ???
arm-trusted-firmware
│   │   └──

?   ?   ???
arm-trusted-firmware_%.bbappend │   ├──?   ??? device-tree
│   │   ├──

?   ?   ???
device-tree-generation_%.bbappend
│   │   └──

?   ?   ???
files
│   │  

?   ?  
    ├──??? multi-arch
│   │  

?   ?  
    │   ├──?   ??? zynqmp-qemu-multiarch-arm.dts
│   │  

?   ?  
    │   └──?   ??? zynqmp-qemu-multiarch-pmu.dts
│   │  

?   ?  
    ├──??? openamp-overlay.dtsi
│   │  

?   ?  
    ├──??? system-user.dtsi
│   │  

?   ?  
    ├──??? xen-overlay.dtsi
│   │  

?   ?  
    ├──??? xen-qemu-overlay.dtsi
│   │  

?   ?  
    └──??? zynqmp-qemu-arm.dts
│   ├──

?   ???
fsbl
│   │   └──

?   ?   ???
fsbl_%.bbappend │   ├──?   ??? pmu
│   │   └──

?   ?   ???
pmu-firmware_%.bbappend │   └──?   ??? u-boot
│  

?  
    ├──??? files
│  

?  
    │   ├──?   ??? bsp.cfg
│  

?  
    │   └──?   ??? platform-top.h
│  

?  
    └──??? u-boot-xlnx_%.bbappend
├──

???
recipes-core
│   ├──

?   ???
images
│   │   └──

?   ?   ???
petalinux-image.bbappend │   └──?   ??? mpsrm-init
│  

?  
    ├──??? COPYING.MIT
│  

?  
    ├──??? files
│  

?  
    │   └──?   ??? userhook.sh
│  

?  
    └──??? mpsrm-init_1.0.bb └──??? recipes-kernel
    └──??? linux
        ├──??? linux-xlnx
        │   └──?   ??? bsp.cfg         └──??? linux-xlnx_%.bbappend
mpsrm-init is optional recipe to add an hook script to the rootfs, which allow to start / stop wdt-heartbeat application and also provide argument based healthy bit setting un-setting.
See Startup Helper Script for details.

Viewing all articles
Browse latest Browse all 11776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>