Installing, Building, and Running Yocto*
48
Getting Started Guide
Unmount the devices:
# umount /tmp/Yocto-image # umount /tmp/Yocto-hdd
6.3
Updating EEPROM Image
The EEPROM image may need to be updated to the current version, which is available in the
EDK (see document
includes instructions to update the EEPROM. Please
note that updating the EEPROM image as detailed in
Section 7.5, “Updating EEPROM Image”
may require additional steps from earlier sections in
Section 7.0, “Installing and Setting Up
. Also note that lanconf is available for other environments, including the EFI shell.
6.4
Running the SDK Image
Transfer the boot disk to the Mohon Peak CRB.
Boot the Mohon Peak CRB. Select the correct boot device in the BIOS menu if necessary.
Note:
Select the UEFI boot device; if that is not working, try the legacy boot device. If the method
described in
Section 6.2.2.1, “Creating a USB Boot Disk”
fails then use the method described in
Section 6.2.2.2, “Creating a SATA Boot Disk”
to create bootable USB.
Depending on your particular video card, you may see a graphical desktop or a text prompt to
login. If you see the text prompt, log in as root.
Runtime Package Management application
smart
:
The application for performing runtime package management of RPM packages on the
target is called smart. You can now use the smart query and smart install commands to
find and install packages from the repositories.
Note:
The
PACKAGE_CLASSES
variable should have
"package_rpm"
selected in ~/poky/
build/conf/local.conf:
PACKAGE_CLASSES = "package_rpm"
.
To add x86_64 repository mirror:
# smart mirror --add
http://downloads.yoctoproject.org/releases/yocto/yocto-
1.4.2/rpm/x86_64/
To add 32-bit mirror:
# smart mirror --add
http://downloads.yoctoproject.org/releases/yocto/yocto-
1.4.2/rpm//i686_nativesdk/
To search the package
# smart search <package_name>
To install the package
# smart install <package_name>
Alternately, the RPM can be installed from its location as:
# smart install
http://downloads.yoctoproject.org/releases/yocto/yocto-1.4.2/
rpm/core2/<package_name>.core2.rpm