GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
$ smart channel -y --add tmp type=rpm-dir path=/path/to/add-on;
In the above command
/path/to/add-on
has to be replaced with the actual directory containing the add-on RPM
files. The package manager
smart
now knows where to look for RPM packages. We can install the add-on using
the
smart install
command, e.g. for the CUPS add-on we call:
$ smart install add-on-cups
Afterwards the channel should be removed again:
smart channel -y --remove tmp
For a more detailed insight, installed RPM packages can be listed separately using the
rpm
command:
$ rpm -qa --last
This outputs a list of all RPM packages installed in the system, starting with the newest.
5.1
CUPS
The CUPS add-on adds printer support to the Garz & Fricke Yocto BSP. Please note that only a very limited
number of actual printers is officially supported and tested by Garz & Fricke (see the release notes for details).
If your printer supports PCL, chances are good that it will work with CUPS on Yocto. However, Garz & Fricke
cannot guarantee support for any given printer except for those listed in the release notes.
5.1.1 Installation
The CUPS add-on is installed as described in
[
I
. After installation a reboot is required:
$ reboot
5.1.2 Configuration
CUPS provides a web front-end to configure printers. On the device itself, the MiniBrowser may be used to
access the configuration page via
localhost
:
$ MiniBrowser http://localhost:631
Access to this interface can also be allowed remotely by calling:
$ cupsctl --remote-any
Assuming the device has the IP address
192.168.1.1
, afterwards the configuration interface can be displayed in
any web browser running on a device in the same network by opening the URL
http://192.168.1.1:631
.
For further information on how to use CUPS, please refer to the official documentation:
https://www.cups.org/documentation.php?VERSION=1.7
5.2
Debug
The Debug add-on is intended to be used for debugging of user applications and the kernel and tracing of power,
network, and IO activity.
The add-on containes the following utilities, each of which is described later in this section.
33