zoukankan      html  css  js  c++  java
  • Ubuntu 14.04.5 imx6 开发环境搭建

    1,下载VMware Workstation虚拟机

         地址:http://1.xp510.com:801/xp2011/VMware10.7z

    2,下载Ubuntu 14.04.5 LTS 32位Ubuntu(虚拟机最好安装64位的,英文qtCreator高版本的基本上都只有64位的包)

        地址:http://mirrors.163.com/ubuntu-releases/14.04.5/

     3,安装安装Qtcreator: 
        sudo apt-get install qtcreator (Qt 5.2.1)

    环境配置:

    1,编译环境/home/dev/MentorGraphics
    Linux下的交叉编译链
    网站:https://www.mentor.com/

    编译的时候使用的地方:
    一,Qt Creator下
    I,工具-选项-构建和运行-Debuggers
    add Name:i.MX6 Debugger
    path:/home/dev/MentorGraphics/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-eabi-gdb
    II,工具-选项-构建和运行-编译器-Manual
    add 名称:i.MX6 GCC
    编译器路径:/home/dev/MentorGraphics/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-eabi-g++
    III,项目-构建-构建环境
    LM_LICENSE_FILE /home/dev/MentorGraphics/license.txt

    2,交叉编译sysroots
    编译的时候使用的地方:
    一,Qt Creator下
    I,工具-选项-构建套件(Kit)-手动设置
    add 名称:i.MX6
    Sysroot:/opt/atp/2014.05+snapshot/sysroots/cortexa9hf-vfp-neon-mel-linux-gnueabi
    II,工具-选项-构建套件(Kit)-Qt Versions-手动设置
    add 版本名称:i.MX6 qmake
    qmake路径:/home/dev/LowDA/sysroots/mx6q/usr/local/Qt-5.5.0/bin/qmake

    3,Qt5.5.0
    一 .bashrc
    export PATH="$PATH:/home/dev/Qt5.5.0/5.5/gcc_64/bin"
    export PATH="$PATH:/usb/bin/adb_shell"

    4,添加设备

        选项-设备-添加

    sysroots 

        路径:/home/LowDA

        下载路径:链接: https://pan.baidu.com/s/1eRFKdTS 密码: 355v

    MentorGraphics

        路径:/home/MentorGraphics

        下载路径:链接: https://pan.baidu.com/s/1c14YO3u 密码: 4xhy

  • 相关阅读:
    序列化器:serializers(django-rest-framework)
    数据库模型:models(Django)
    AtCoder Beginner Contest 213【A
    Codeforces Round #736 (Div. 2)【ABCD】
    AtCoder Beginner Contest 212【A
    Codeforces Round #732 (Div. 2)【ABCD】
    VS201X windows下编译提示缺少ucrtbased.dll文件
    Locust1.6 从入门到实战
    如何理解Windows认证流程
    HTB::Forest
  • 原文地址:https://www.cnblogs.com/senior-engineer/p/6659027.html
Copyright © 2011-2022 走看看