PZ-TIO Manual
Version 1.01
© 2022 XIA LLC
31
The SD card contains the Linux OS (not visible to Windows) in a Linux partition and 4
boot files (visible) in a small FAT partition. Firmware configuration updates (“bootfiles”)
have to be copied to that FAT partition.
9.2.1 Ubuntu 18
On Ubuntu 18, The following Linux applications are installed with apt-get install.
-
lighttpd
/etc/lighttpd/lighttpd.conf modified as in /var/www/other_settings to allow cgi and
web operations.
Create "/var/www/webopspasswords
webops:xia17pxn
This file should be modified to change the password. For sensitive environments,
change to encrypted passwords.
Create folder /var/www/webops
change owner to wwww-data (=lightttpd)
in webops, make links to ini, jpg, js, html files from /var/www:
(white: data files created by webops, blue: links, green: webop specific html page)
-
g++
-
i2c-tools
-
samba
(see configuration file in /var/www/other_settings)
+ sudo smbpasswd –a root
xia17pxn
+ sudo service smbd restart
-
python-dev
-
libboost-all-dev
-
minicom
-
ntfs-3g
(with fuse_fs driver enabled in kernel)
-
ntfs-config
-
ethtool
-
linuxptp
The desktop xfce4 for graphical remote login and ROOT are
not
installed by default in
Ubuntu 18 (ROOT is no longer an apt package).
9.2.2 Systemd startup routine to configure FPGAs
A
systemd
startup routine is called at boot time to set the parameters (i.e.
./progfippi
).
The routine
pixie_boot.service
is located in
/etc/systemd/system/
and
calls the shell script
autoboot.sh
in
/var/www/
. Output from the script is captured
in
autoboot.log
.