This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Some questions about Building Yocto Filesystem

Hi

the first question

what's the purpose of  building yocto filesystem , is it  the operating system of OMAP5432? follow the guide ,after the step5 ,the board already boot .

the second question

I do not understand "Before building the filesystem, ensure that the svn, http, ftp and git proxies are set correctly. Refer to the following link for these settingshttps://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy".

where is path of Linaro cross-compile toolchain ?

after I open https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy,  what the next step I should do ,

export http_proxy='http://myproxy.example.com:1080/'
export https_proxy='https://myproxy.example.com:1080/'
export ftp_proxy='http://myproxy.example.com:1080/'
export no_proxy = '.example.com'

is  these commands executed on host ?

thanks

  • Hello Michael,

    The answers of your questions are:

    #Q1: GLSDK for OMAP5432 is based on Yocto filesystem. The Yocto Project provides open source, high-quality infrastructure and tools to help developers create their own custom Linux distributions for any hardware architecture and across multiple market segments. The Yocto Project is intended to provide a helpful starting point for developers. The Yocto Project hosts other projects as well, including the Poky build system, Autobuilder automated build and test system, and the Embedded GLIBC (EGLIBC)C library. The Linux Foundation welcomes the participation of embedded vendors, developers, and other open source projects.

    The operating system for OMAP5432 is Linux.

    #Q2: Why  do you need to set your proxy?

    During Yocto builds, sources are downloaded from various sources. So ensure that the proxies for git, svn are set correctly.

    Export your proxy as you apply following:

    export https_proxy=https://<user>:<Password>@<HTTPS_proxy>:<Port>
    export http_proxy=http://<user>:<Password>@<HTTP_proxy>:<Port>
    export ftp_proxy=http://<user>:<Password>@<ftp_proxy>:<Port>

    Run setup.sh file as:
    sudo GIT_PROXY_COMMAND=/home/users/.<username>./bin/git-proxy.sh ./setup.sh

    #Q3: what the purpose of  Building Yocto Filesystem?

    You need an image file, which will be used by boot/run on your HW (board).

    The Yocto Project is a set of tools and components, including a highly configurable build system, that enables developers to construct their own custom distributions, targeted for specific embedded devices. It is not, itself, a Linux distribution. Rather, it is capable of producing an image for a particular embedded device without dictating the composition of the Linux distribution actually built or the hardware architecture used.

    The root filesystem is defined in the metadata for a given build of a distribution.

    #Q4: is  these commands executed on host?

    Yes, you must execute these commands on your host machine. After that you must prepare your SD card and afterwards you will can boot on your board.

    You have similar questions in other post (http://e2e.ti.com/support/omap/f/885/t/339735.aspx)!

    I answered your questions then Would you remove your second post?

    Best regards,

    Yanko

  • Hello Yanko

    first ,thank your reply

    and  I delete the same post ,

    Add the Linaro cross-compile toolchain path in the PATH environment variable.

    host $ export PATH=<Path to Linaro cross-compile toolchain>/bin:$PATH

    question 1:where is the path of  Linaro cross-compile toolchain?

    when I open
    https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy.

    I see "Set the following environment variables in your ~/.bashrc file."

    where is .bashrc file?

    Best regards

    Michael

  • Hello Michael,

    You must have a folder which contains Linaro tool chain after completion of installation of GLSDK -  /home/users/username/cross-compile/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin

    More information about Linaro cross compiler can obtain through the link - https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossbuildingQuickStart

    Your .bashrc file is located in your home directory - /home/users/username .bashrc

    In this file you must export your proxy settings:

    For example:

    export http_proxy=http://username:password@172.20.0.1:8080
    export https_proxy=https://username:password@172.20.0.1:8080
    export ftp_proxy=ftp://username:password@172.20.0.1:8080

    Best regards,

    Yanko