A manifest that allows one to build virtualized seL4 for zcu102 and i.MX8.
All of the code pointed to by default.xml
is released by TARDEC for contract ASM17-04 under
DISTRIBUTION STATEMENT A. Approved for public release; distribution unlimited.
mkdir ~/sel4-vmm
cd ~/sel4-vmm
repo init -u https://github.com/dornerworks/sel4-armv8-vmm-manifest.git
repo sync
These instructions assume you are using the seL4 docker image.
cd ~
petalinux-create -t project -s xilinx-zcu102-v2017.4-final.bsp
cd xilinx-zcu102-2017.4
project-spec/meta-user/conf/layer.conf
:
require conf/distro/include/console.inc
project-spec/meta-user/conf/distro/include/console.inc
with the following:
SERIAL_CONSOLES_append = " 115200;ttyPS1"
cd ~
git clone https://github.com/dornerworks/vchan_module.git
cd ~/xilinx-zcu102-2017.4
petalinux-create -t modules -n vchan --enable
cp ~/vchan_module/vchan.bb project-spec/meta-user/recipes-modules/vchan/vchan.bb
cp ~/vchan_module/vchan/* project-spec/meta-user/recipes-modules/vchan/files/
petalinux-build
cp images/linux/Image ~/sel4-vmm/apps/linux/zynqmp/Image1
petalinux-package --boot --fsbl images/linux/zynqmp_fsbl.elf --pmufw images/linux/pmufw.elf --u-boot
./BOOT.BIN
to a boot partition on an SD card.cd ~/sel4-vmm
make -C /path/to/seL4-CAmkES-L4v-dockerfiles user HOST_DIR=$(pwd)
sudo pip2 install tempita
sudo pip3 install tempita
make zynqmp_vm_linux_defconfig
make
aarch64-linux-gnu-objcopy -O binary images/sel4arm-vmm-image-arm-zynqmp sel4-vmm
ctrl+]
dhcp; tftpb 0x10000000 172.192.10.15:sel4-vmm; go 0x10000000