steve@Desktop:~/swuk_tutorial/zedboard_linux/os/petalinux$ cd ../../..
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/conf/petalinuxbsp.conf
#
# File .......... petalinuxbsp.conf
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 3.0
# Description ...
# Updated to install the following :-
# -- ntp ....... Network Time Protocol
# -- ntpdate ... Set the date and time via NTP
# -- ntpq ...... Standard NTP query program
# -- sntp ...... Simple Network Time Protocol
# -- nano ...... Text editor
# Updated to install a LAMP style stack :-
# -- Apache .... HTTP server
# -- SQLite .... SQL database engine
# -- PHP ....... Scripting language
#
#User Configuration
#OE_TERMINAL = "tmux"
IMAGE_INSTALL:append = " ntp ntpdate ntpq sntp nano"
PACKAGECONFIG:append:pn-php = " apache2"
IMAGE_INSTALL:append = " apache2 sqlite3 php-modphp"
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/conf/petalinuxbsp.conf -O zedboard_linux/os/petalinux/project-spec/meta-user/conf/petalinuxbsp.conf
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/conf/petalinuxbsp.conf
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/adv7511-config/adv7511-config.bb
#
# File .......... adv7511-config.bb
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 2.0
# Description ...
# Recipe for an autostart application.
#
SUMMARY = "Simple adv7511-config application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://adv7511-config"
S = "${WORKDIR}"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
inherit update-rc.d
INITSCRIPT_NAME = "adv7511-config"
INITSCRIPT_PARAMS = "start 99 S ."
do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/adv7511-config ${D}${sysconfdir}/init.d/adv7511-config
}
FILES:${PN} += "${sysconfdir}/*"
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/adv7511-config/adv7511-config.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/adv7511-config/adv7511-config.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/adv7511-config/adv7511-config.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/gpio-demo/gpio-demo.bb
#
# This is the GPIO-DEMO apllication recipe
#
#
SUMMARY = "gpio-demo application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://gpio-demo.c \
file://Makefile \
"
S = "${WORKDIR}"
CFLAGS:prepend = "-I ${S}/include"
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/gpio-demo ${D}${bindir}
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/gpio-demo/gpio-demo.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/gpio-demo/gpio-demo.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/gpio-demo/gpio-demo.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/led-runner/led-runner.bb
#
# File .......... led-runner.bb
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 2.0
# Description ...
# Recipe for an autostart application.
#
SUMMARY = "Simple led-runner application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://led-runner"
S = "${WORKDIR}"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
inherit update-rc.d
INITSCRIPT_NAME = "led-runner"
INITSCRIPT_PARAMS = "start 99 S ."
do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/led-runner ${D}${sysconfdir}/init.d/led-runner
}
FILES:${PN} += "${sysconfdir}/*"
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/led-runner/led-runner.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/led-runner/led-runner.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/led-runner/led-runner.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpoke/peekpoke.bb
#
# This is the peekpoke apllication recipe
#
#
SUMMARY = "peekpoke application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://peek.c \
file://poke.c \
file://Makefile \
"
S = "${WORKDIR}"
CFLAGS:prepend = "-I ${S}/include"
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/peek ${D}${bindir}
install -m 0755 ${S}/poke ${D}${bindir}
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpoke/peekpoke.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpoke/peekpoke.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpoke/peekpoke.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpokecgi/peekpokecgi.bb
#
# File .......... peekpokecgi.bb
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 6.0
# Description ...
# Application recipe for the peek, poke, peekstring, loadfirmware & bitbash CGI
# binaries.
#
SUMMARY = "peekpokecgi application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://peek.c \
file://poke.c \
file://peekstring.c \
file://loadfirmware.c \
file://bitbash.c \
file://Makefile \
"
FILES:${PN} += "/srv/www/cgi-bin"
S = "${WORKDIR}"
CFLAGS:prepend = "-I ${S}/include"
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}/srv/www/cgi-bin
install -m 0755 ${S}/peek ${D}/srv/www/cgi-bin
install -m 0755 ${S}/poke ${D}/srv/www/cgi-bin
install -m 0755 ${S}/peekstring ${D}/srv/www/cgi-bin
install -m 0755 ${S}/loadfirmware ${D}/srv/www/cgi-bin
install -m 0755 ${S}/bitbash ${D}/srv/www/cgi-bin
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpokecgi/peekpokecgi.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpokecgi/peekpokecgi.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/peekpokecgi/peekpokecgi.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/website/website.bb
#
# File .......... website.bb
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 9.0
# Description ...
# Application recipe for a dynamic (server & client side) website that is split
# into separate sections (directories). Each section contains an index page
# along with any associated files (sub-pages, scripts, styles, images, etc.).
# There are also two shared areas for common files.
#
SUMMARY = "Simple website application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://project.txt"
SRC_URI += "file://index.php"
SRC_URI += "file://share/header.php"
SRC_URI += "file://share/footer.php"
SRC_URI += "file://share/style.css"
SRC_URI += "file://share/script.js"
SRC_URI += "file://share/amber.gif"
SRC_URI += "file://share/green.gif"
SRC_URI += "file://share/red.gif"
SRC_URI += "file://cgi-bin/uptime.cgi"
SRC_URI += "file://cgi-bin/test-cgi"
SRC_URI += "file://cgi-bin/hello_world.php"
SRC_URI += "file://cgi-bin/sqlite_test.php"
SRC_URI += "file://cgi-bin/phpliteadmin.php"
SRC_URI += "file://cgi-bin/phpliteadmin.config.php"
SRC_URI += "file://home/index.php"
SRC_URI += "file://system/index.php"
SRC_URI += "file://system/script.js"
SRC_URI += "file://peekpoke/index.php"
SRC_URI += "file://peekpoke/script.js"
SRC_URI += "file://zedboard/index.php"
SRC_URI += "file://zedboard/script.js"
SRC_URI += "file://zedboard/style.css"
SRC_URI += "file://zedboard/zedboard.png"
SRC_URI += "file://zedboard/sw_on.png"
SRC_URI += "file://zedboard/sw_off.png"
SRC_URI += "file://zedboard/sw_none.png"
SRC_URI += "file://zedboard/btn_on.png"
SRC_URI += "file://zedboard/btn_off.png"
SRC_URI += "file://zedboard/btn_none.png"
SRC_URI += "file://zedboard/led_on.png"
SRC_URI += "file://zedboard/led_off.png"
FILES:${PN} += "/srv/www"
S = "${WORKDIR}"
do_install() {
install -d ${D}/srv/www
install -m 0644 ${S}/project.txt ${D}/srv/www
install -m 0644 ${S}/index.php ${D}/srv/www
install -d ${D}/srv/www/share
install -m 0644 ${S}/share/header.php ${D}/srv/www/share
install -m 0644 ${S}/share/footer.php ${D}/srv/www/share
install -m 0644 ${S}/share/style.css ${D}/srv/www/share
install -m 0644 ${S}/share/script.js ${D}/srv/www/share
install -m 0644 ${S}/share/amber.gif ${D}/srv/www/share
install -m 0644 ${S}/share/green.gif ${D}/srv/www/share
install -m 0644 ${S}/share/red.gif ${D}/srv/www/share
install -d ${D}/srv/www/cgi-bin
install -m 0777 -d ${D}/srv/www/cgi-bin/db
install -m 0755 ${S}/cgi-bin/uptime.cgi ${D}/srv/www/cgi-bin
install -m 0755 ${S}/cgi-bin/test-cgi ${D}/srv/www/cgi-bin
install -m 0644 ${S}/cgi-bin/hello_world.php ${D}/srv/www/cgi-bin
install -m 0644 ${S}/cgi-bin/sqlite_test.php ${D}/srv/www/cgi-bin
install -m 0644 ${S}/cgi-bin/phpliteadmin.php ${D}/srv/www/cgi-bin
install -m 0644 ${S}/cgi-bin/phpliteadmin.config.php ${D}/srv/www/cgi-bin
install -d ${D}/srv/www/home
install -m 0644 ${S}/home/index.php ${D}/srv/www/home
install -d ${D}/srv/www/system
install -m 0644 ${S}/system/index.php ${D}/srv/www/system
install -m 0644 ${S}/system/script.js ${D}/srv/www/system
install -d ${D}/srv/www/peekpoke
install -m 0644 ${S}/peekpoke/index.php ${D}/srv/www/peekpoke
install -m 0644 ${S}/peekpoke/script.js ${D}/srv/www/peekpoke
install -d ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/index.php ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/style.css ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/script.js ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/zedboard.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/sw_on.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/sw_off.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/sw_none.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/btn_on.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/btn_off.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/btn_none.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/led_on.png ${D}/srv/www/zedboard
install -m 0644 ${S}/zedboard/led_off.png ${D}/srv/www/zedboard
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/website/website.bb -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/website/website.bb
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-apps/website/website.bb
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend
FILESEXTRAPATHS:prepend := "${THISDIR}/files:${SYSCONFIG_PATH}:"
SRC_URI:append = " file://config file://system-user.dtsi"
python () {
if d.getVar("CONFIG_DISABLE"):
d.setVarFlag("do_configure", "noexec", "1")
}
export PETALINUX
do_configure:append () {
script="${PETALINUX}/etc/hsm/scripts/petalinux_hsm_bridge.tcl"
data=${PETALINUX}/etc/hsm/data/
eval xsct -sdx -nodisp ${script} -c ${WORKDIR}/config \
-hdf ${DT_FILES_PATH}/hardware_description.${HDF_EXT} -repo ${S} \
-data ${data} -sw ${DT_FILES_PATH} -o ${DT_FILES_PATH} -a "soc_mapping"
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://platform-top.h file://bsp.cfg"
do_configure:append () {
install ${WORKDIR}/platform-top.h ${S}/include/configs/
}
do_configure:append:microblaze () {
if [ "${U_BOOT_AUTO_CONFIG}" = "1" ]; then
install ${WORKDIR}/platform-auto.h ${S}/include/configs/
install -d ${B}/source/board/xilinx/microblaze-generic/
install ${WORKDIR}/config.mk ${B}/source/board/xilinx/microblaze-generic/
fi
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/uboot-device-tree/uboot-device-tree.bbappend
FILESEXTRAPATHS:prepend := "${THISDIR}/files:${SYSCONFIG_PATH}:"
SRC_URI:append = " file://config file://system-user.dtsi"
python () {
if d.getVar("CONFIG_DISABLE"):
d.setVarFlag("do_configure", "noexec", "1")
}
export PETALINUX
do_configure:append () {
script="${PETALINUX}/etc/hsm/scripts/petalinux_hsm_bridge.tcl"
data=${PETALINUX}/etc/hsm/data/
eval xsct -sdx -nodisp ${script} -c ${WORKDIR}/config \
-hdf ${DT_FILES_PATH}/hardware_description.${HDF_EXT} -repo ${S} \
-data ${data} -sw ${DT_FILES_PATH} -o ${DT_FILES_PATH} -a "soc_mapping"
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/uboot-device-tree/uboot-device-tree.bbappend -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/uboot-device-tree/uboot-device-tree.bbappend
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-bsp/uboot-device-tree/uboot-device-tree.bbappend
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-httpd/apache2/apache2_%.bbappend
#
# File .......... apache2_%.bbappend
# Author ........ Steve Haywood
# Website ....... http://www.spacewire.co.uk
# Project ....... Zedboard Linux (SpaceWire UK Tutorial)
# Date .......... 28 Feb 2026
# Version ....... 3.0
# Description ...
# Modified Apache 2 recipe to suite PetaLinux. Updated to allow Apache to run as
# root instead of deamon.
#
do_install:append() {
sed -i 's@^#LoadModule cgid_module /usr/libexec/apache2/modules/mod_cgid.so@LoadModule cgid_module /usr/libexec/apache2/modules/mod_cgid.so@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^DocumentRoot "/usr/share/apache2/default-site/htdocs"@DocumentRoot "/srv/www"@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^<Directory "/usr/share/apache2/default-site/htdocs">@<Directory "/srv/www">@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^ ScriptAlias /cgi-bin/ "/usr/libexec/apache2/modules/cgi-bin/"@ ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^<Directory "/usr/libexec/apache2/modules/cgi-bin">@<Directory "/srv/www/cgi-bin">@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^ DirectoryIndex index.html@ DirectoryIndex index.html index.php@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^User daemon@#User daemon@' ${D}/${sysconfdir}/${BPN}/httpd.conf
sed -i 's@^Group daemon@#Group daemon@' ${D}/${sysconfdir}/${BPN}/httpd.conf
}
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-httpd/apache2/apache2_%.bbappend -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-httpd/apache2/apache2_%.bbappend
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-httpd/apache2/apache2_%.bbappend
steve@Desktop:~/swuk_tutorial$ subl zedboard_linux/os/petalinux/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " file://bsp.cfg"
KERNEL_FEATURES:append = " bsp.cfg"
SRC_URI += "file://user_2023-08-08-08-28-00.cfg"
Direct download available here :-
steve@Desktop:~/swuk_tutorial$ wget https://spacewire.co.uk/tutorial/shared/repos/0033a/zedboard_linux/os/petalinux/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend -O zedboard_linux/os/petalinux/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
Check out the changes.
steve@Desktop:~/swuk_tutorial$ git difftool zedboard_linux/os/petalinux/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
steve@Desktop:~/swuk_tutorial$ cd zedboard_linux/os/petalinux