Yocto Building the P1010RDB board Linux system

Source: Internet
Author: User
Tags yocto

  Yocto is an open source community that helps developers create custom systems based on the Linux kernel by providing templates, tools, and methods. This tutorial uses Yocto to build a Linux system for P1010RDB development.

First, the Linux system environment preparation:

1. Create a new user hello (yocto to be used under non-root user)

    Useraddr Hello

2. Restart the computer and enter the Hello user. Create the Yocto folder in/home/hello and copy the contents of the disc to Yocto.

    Mkdir/home/hello/yocto

    cp/media/770-77991/*/home/hello/yocto/-RF
Second, installation Yocto

1. After entering the/home/hello/yocto folder, add install executable permission

     chmod +x Install

2, follow the prompts to install, the installation path is/home/hello

    ./install

Third, generate P1010RDB module

1. Enter Yocto home folder

    Cd/home/hello/qoriq-sdk-v1.2-20120614-yocto

2. Add sudo permission to Hello user, run environment configuration script.

    Vim/etc/sudoers

    Join in line 99

    Hello all= (All) all

    Hello all = nopasswd:/usr/bin/yum

Warranty Execute the Environment configuration program. Installation packages required to install the Yocto

    ./scripts/host-prepare.sh

3. Generate P1010RDB Module      
   source./fsl-setup-poky-m P1010rdb

Iv. Configuring cross-compilation environment and platform construction

There are the following six compilation modes, this time we use Fsl-image-minimal first.

    • Fsl-image-minimal:contains basic packages to boot up a board
    • Fsl-image-core:contains common open source packages and FSL specific packages.
    • Fsl-image-full:contains all packages in the full package list.
    • Fsl-image-flash:contains all the user space apps needed to deploy the fsl-image-full image to a USB stick, hard drive, or Other large physical media.
    • Fsl-toolchain:the Cross Compiler binary package
    • Package-name (USDPAA): Build a specific package

bitbake fsl-image-minimal

After a long wait, finally compiled. A compiled file system, kernel image, and drive tree are generated under the/home/hello/qoriq-sdk-v1.2-20120614-yocto/build_p1010rdb_release/tmp/deploy/images path.

It is recommended to reserve enough space here. The smallest image uses nearly 20G of space.

   

   

Yocto Building the P1010RDB board Linux system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.