ls1021atwr with yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1021atwr with yocto

792 Views
浩卢
Contributor III

hi

I can't build ls1021a in yocto,anyone help me ?here is the log;

luhao@ubuntu:/root/LS1021A-SDK-V1.2-20140829-yocto$ source ./fsl-setup-poky -m ls1021atwr -t 4

WARNING: neither of meta-fsl-{ppc,arm} layer locates at /root/LS1021A-SDK-V1.2-20140829-yocto or /root/LS1021A-SDK-V1.2-20140829-yocto/../

ERROR: Specified an invalid machine type!

Usage: . /root/LS1021A-SDK-V1.2-20140829-yocto/fsl-setup-poky <-m machine>

    Optional parameters:

    * [-j jobs]:  number of jobs for make to spawn during the compilation stage.

    * [-t tasks]: number of BitBake tasks that can be issued in parallel.

    * [-d path]:  non-default path of DL_DIR (downloaded source)

    * [-c path]:  non-default path of SSTATE_DIR (shared state Cache)

    * [-b path]:  non-default path of project folder (build_${machine}_release)

    * [-s string]:  append an extra string to project folder

    * [-l]:       lite mode. To help conserve disk space, deletes the building

                  directory once the package is built.

    * [-p]:       append fsl cache and source mirrors (For FSL Internal Use Only)

    * [-h]:       help

   

luhao@ubuntu:/root/LS1021A-SDK-V1.2-20140829-yocto$

Labels (1)
0 Kudos
2 Replies

620 Views
bpe
NXP Employee
NXP Employee

You seem to be trying to use the SDK as a root. This should not be done. Suggestions:

1. Install and use the SDK as an ordinary user, make sure the installation completes without errors

2. Make sure you executed the host-prepare script before attempting to create a build directory.

3. Do not modify by hand anything in the directory created by the SDK installer.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

620 Views
浩卢
Contributor III

hi bpe

Thank you very much.I got it with your solution.

0 Kudos