Z-turn-Board-V2-Diary

🌷Linux(Preliminaries)🌌

Necessary steps for Linux in Zynq.


[Ensuring] Vivado [output(.xsa)] compatibility

As per reference, certain processor features must be enabled. Namely:

(Simply re-adding the “Zynq” component, should be sufficient).
(Re-export (including bitstream) afterwards).


Example(Block Design):


Petalinux installation

Unsupported OS(Gentoo)

One method is to chroot into a supported OS: e.g.: Ubuntu LTS, thus regular installation, on a partition, is needed.
In order to chroot into it, I use the following script:

#!/bin/bash
DEST=/path/to/Ubuntu/mountpoint
cd "$DEST"
cp --dereference /etc/resolv.conf etc/
for i in dev sys run;
do
        mount --rbind /$i $i
        mount --make-rslave $i
done
# mount --bind /var/tftp tftpboot
# mount --make-rslave tftpboot
mount -t tmpfs none tmp
mount -t proc /proc proc
# #### ######## #### #### ######## #### #
chroot . /bin/bash -l                                                                                                                                                                                                                          
umount -l *

Inside the chroot jail 🏛️(Preparation):

After chrooting:


🏛️(Petalinux instalation):


Next: Creating a project


Various troubleshooting from the internet:


Referencies