1      Scope of Document

This document describes how to make am335x arago rootfs using ycoto project

2      Requiremen

2.1     Function Requirement

Make am335x arago rootfs

2.2     Performance Requirement

NA

3      Functional Description

3.1     Ycoto

3.1.1 Overview

If we look back at the last 15 years of the feld of embedded systems, we will see that
everything has changed radically. Embedded systems have become more and more
powerful
and have gained new functionalities. Today, you can fnd "embedded"
quad-core systems
with 1 GB of RAM and several GBs of storage, comparable to a few-years-old
desktop
computer. Nowadays, it is not unusual that the requirements of an embedded
system are low
consumption, graphic acceleration, multimedia capabilities, suffcient storage,
and so on.
     On the software side, if we look
back again at those 15 years, we will notice that most of the
Linux-running embedded systems at that time were in-house developments built
from the
ground up. Their main functionality was to boot the device and run the specifc
application
(usually not graphical) the device was designed for. A typical system from
those days
contained a minimal Linux kernel, a small C library (uclibc), BusyBox as the
base user space,
and then the specifc application or set of applications.
      As the hardware became more
powerful and gained more functionalities, the requirements
of the software also increased. With embedded systems becoming powerful enough
to
run distributions that were considered mostly for desktops (such as Debian or
Ubuntu), it's
no longer as easy as building a minimal set of software packages (uclibc,
BusyBox, and a
command-line application) anymore. You now have to choose between different
windowing
systems (X11, Wayland, and so on) and different graphic libraries (Qt, GTK, and
so on). Maybe
your hardware has dedicated units for video processing (VPU) or graphics
processing (GPU)
and is running its own frmware, and so on.
     All of this extra diffculty is what
makes an embedded software engineer look for new tools
that ease their work and speed up the development. This is the context where
different Linux
build systems began to appear.

The Yocto Project (YP) is a popular open-source collaboration
project focused on embedded Linux developers. In early versions of YP it could
be problematic to get it running on Arch Linux.

4      Procedure

4.1    
Download cross compiler and Unpack

wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabihf/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz

tar –Jvxf
gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz

4.2    
Install relate tools

sudo apt-get -f install git build-essential
diffstat texinfo gawk chrpath

sudo apt-get install
libstdc++6:i386 libncurses5:i386 libz1:i386 libc6:i386 libc6-dev-i386
g++-multilib

4.3    
Fetch am335x yocto project

git clone
git://arago-project.org/git/projects/oe-layersetup.git tisdk

4.4    
Configure

cd tisdk

./oe-layertool-setup.sh -f
configs/processor-sdk/processor-sdk-05.00.00.15-config.txt

4.5    
Compiler

cd build

. config/setenv

$ TOOLCHAIN_PATH=/home/anosi/work/arago/tisdk/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf MACHINE=am335x-evm bitbake core-image-minimal

5     
Follow-up

$
TOOLCHAIN_PATH=/home/anosi/work/arago/tisdk/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
MACHINE=am335x-evm bitbake core-image-minimal

Loading cache: 100%
|#########################################################################################################################################################################################################|
Time: 0:00:01

Loaded 4043 entries from dependency cache.

Parsing recipes: 100%
|#######################################################################################################################################################################################################|
Time: 0:00:15

Parsing of 3137 .bb files complete (3134 cached, 3
parsed). 4046 targets, 484 skipped, 0 masked, 0 errors.

WARNING: No recipes available for:

/home/anosi/work/arago/tisdk/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend

/home/anosi/work/arago/tisdk/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend

/home/anosi/work/arago/tisdk/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_1.11.0.bbappend

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION          
= "1.36.0"

BUILD_SYS           
= "x86_64-linux"

NATIVELSBSTRING     
= "ubuntu-18.04"

TARGET_SYS          
= "arm-linux-gnueabi"

MACHINE             
= "am335x-evm"

DISTRO              
= "arago"

DISTRO_VERSION      
= "2018.04"

TUNE_FEATURES       
= "arm armv7a vfp thumb neon callconvention-hard"

TARGET_FPU          
= "hard"

meta-processor-sdk  
= "HEAD:264dc66c689e0e4212c43358382986ee470619d4"

meta-ros            
= "HEAD:e2566402ab108a19634354a934788109422cf409"

meta-arago-distro

meta-arago-extras   
= "HEAD:d54e9d6c1d461dbf3189e691088d328bf4c4fb19"

meta-browser        
= "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"

meta-qt5            
= "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"

meta-networking

meta-python

meta-oe

meta-gnome

meta-multimedia     
= "HEAD:352531015014d1957d6444d114f4451e241c4d23"

meta-ti             
= "HEAD:8555084679dc5c668e5fb60a16425ca32b10ff21"

meta-linaro-toolchain

meta-optee          
= "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"

meta                
= "HEAD:931a52e8698f684ccbb26ddec18764ad9d9a3e8f"

Initialising tasks: 100%
|####################################################################################################################################################################################################|
Time: 0:00:06

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

$<50>Currently 
1 running tasks (513 of 1778)  28%
|######################################################                                                                                                                                   $<50>No
currently running tasks (1777 of 1778) 
99%
|########################################################################################################################################################################################$<50>NOTE:
Tasks Summary: Attempted 1778 tasks of which 1683 didn't need to be rerun and
all succeeded.

Summary: There was 1 WARNING message shown.

Rootfs path:

build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/core-image-minimal

am335x system upgrade rootfs using yocto make rootfs(十二)的更多相关文章

  1. am335x system upgrade rootfs for bridge-utils cross compile (十四)

    bridge-utils移植 [目的] 移植bridge-utils的目是在AM335X开发板上使用bridge功能. [环境] 1.  Ubuntu 16.04发行版 2.  MC183平台 3.  ...

  2. am335x system upgrade rootfs for dhcpcd cross compile(十三)

    dhcpcd移植 [目的] 移植dhcpcd的目是在AM335X开发板上使用dhcp功能,获取WAN口设备的IP,并且可以通过参数指定其matric,matric值越小,其优先级越高.如设备可以以太网 ...

  3. am335x system upgrade rootfs custom service using systemd script(十七)

    1      Scope of Document systemd 是一个 Linux 系统基础组件的集合,提供了一个系统和服务管理器,运行为 PID 1 并负责启动其它程序.功能包括:支持并行化任务: ...

  4. am335x system upgrade kernel tf(五)

    1      Scope of Document This document describes TF hardware design 2      Requiremen 2.1     Functi ...

  5. am335x system upgrade set/get current cpufreq(二十一)

    1      Scope of Document This document describes am335x cpufreq technology insider. 2      Requireme ...

  6. am335x system upgrade uboot nand boot(三)

    在uboot 下初始化nand,一般需要做如下工作: 第一: 配置默认从NAND boot Index: include/configs/am335x_evm.h=================== ...

  7. am335x system upgrade uboot ethernet(二)

    系统可以通过SD卡引道之后,为了之后了调试方便 通过查看网卡的硬件设计 正常来说需要注意的有如下几点: 1) 网口 的接线方式: RMII 2) 网口的PHY地址两张网口,这里我们只需先初始化一张网卡 ...

  8. am335x system upgrade kernel ethernet(四)

    1      Scope of Document This document describes ethernet hardware design and porting KZS8081 to ubo ...

  9. am335x system upgrade kernel gpio(九)

    1      Hardware Overview gpio interface,pin map: AM335X_I2C0_W_C----------------------MCASP0_AXR1 /* ...

随机推荐

  1. Python小知识点+保留字

    注意 !/usr/bin/python # -- coding: UTF-8 -- #中文编码 Python空行:函数之间或类的方法之间用空行分隔,表示一段新的代码的开始 Python注释:单行注释采 ...

  2. MVC-09安全

    部分8:添加安全. MVC应用程序安全性 Models文件夹包含表示应用程序模型的类. Visual Web Developer自动创建AccountModels.cs文件,该文件包含用于应用程序认证 ...

  3. 主机与虚拟机ping不通问题

    在win10 上利用vm安装linux虚拟机,物理机与虚拟机之间不能ping通,除了检查物理机与虚拟机防火墙状态外,还要注意物理机设置的ip与虚拟机设置的ip,要在同一个ip段

  4. .Net 取树形结构的数据

    最近遇到了无限层级数据要读取的问题,所有就写了个. 根据当前所有父级,查询出子级内容 private void GetTypeOfWorkforTree(out List<TypeOfWorkD ...

  5. Mybatis基于xml的动态sql实现

    动态sql可以很方便的拼接sql语句,主要用于复合条件查询: 主要通过这几个标签实现: if 标签: where 标签 choose标签: foreach标签: if 标签: <select i ...

  6. 关于vue-svg-icon的使用方式

    前言 工作中用到svg格式的图标,既然是svg,当然不想用古老的img方式引用,希望能凭借定义svg的fill属性,随意定义图标的颜色:同时不想将整段svg代码写入组建内,于是找到了使用vue-svg ...

  7. CRM-Q模糊查询

    Q查询-模糊查询 示例一 q=Q() # 实例化一个Q的对象q,我们可以给它加条件 q.children.append(("name","xxx")) # 添加 ...

  8. MaxScale ERROR 2006 (HY000): MySQL server has gone away

    Error: MaxScale cannot be run as root.Failed to write child process message!解决办法:# maxscale -f /etc/ ...

  9. mybatis中如何将多个表的查询结果,放入结果集中返回

    1.首先需要将resultMap进行改造,为了避免对其他sql的影响建议另外定义一个resultMapExtral,避免id相同, 2.然后在resultMapExtral中添加其它表的字段,若多个表 ...

  10. python接口测试之新手篇

    嗨,大家好,我是小白,好久没写博客了,最近公司搞什么python的接口测试,心里一阵狂喜,在公司上百个接口里拿出一个主要接口一顿乱搞,好在搞通了 但是在这过程中也碰到了好多的问题,决定将问题分享出来能 ...