@:~$ xilinx Xilinx tools available tools at /opt/Xilinx :- 1) 2021.2 - Vivado - SDK - Vitis - PetaLinux 0) Exit Please select tools required or exit : 1 Tools are as follows :- vivado @ /opt/Xilinx/Vivado/2021.2/bin/vivado vitis @ /opt/Xilinx/Vitis/2021.2/bin/vitis petalinux-build @ /opt/Xilinx/PetaLinux/2021.2/tool/tools/common/petalinux/bin/petalinux-build
@:~$ cd /zedboard_linux/os/petalinux
@:/zedboard_linux/os/petalinux$ petalinux-config -c rootfs
Tip: Use the up & down arrow keys to nagivate the heirarchy, the left & right arrow keys to navigate the bottom menu, the enter key to select heirarchy/menu items, and the y & n keys to enable/disable components.
Enable the peekpoke application.
Exit the apps menu.
Exit the configuration tool by exiting the root menu.
Save the configuration on exit.
@:/zedboard_linux/os/petalinux$ petalinux-build
@:/zedboard_linux/os/petalinux$ petalinux-package --prebuilt --force
Set the boot mode jumpers on the Zedboard for JTAG.
Power on the Zedboard.
@:~$ minized
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyACM0, 06:34:25
Press CTRL-A Z for help on special keys
@:/zedboard_linux/os/petalinux$ zedboard_linux-boot --jtag --prebuilt 3
root@petalinux:~# peek usage: peek ADDR ADDR may be specified as hex values
root@petalinux:~# poke usage: poke ADDR VAL ADDR and VAL may be specified as hex values
root@petalinux:~# peek 0x41200008 0x00000081
root@petalinux:~# poke 0x41200000 0xC3 root@petalinux:~# poke 0x41200000 0x3C
@:/zedboard_linux/os/petalinux$ git commit -a -m "Enabled Peek/Poke application." @:/zedboard_linux/os/petalinux$ git push @:/zedboard_linux/os/petalinux$ git tag -a v2.0 -m "PetaLinux & Peek/Poke with XSA from zedboard_leds_switches v1.0" @:/zedboard_linux/os/petalinux$ git push origin v2.0
@:~$ cd @:$ git clone -b v2.0 https://bitbucket.org/spacewire_firmware/zedboard_linux @:$ cd zedboard_linux/os/petalinux