am335x system upgrade rootfs using yocto make rootfs(十二)
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
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(十二)的更多相关文章
- am335x system upgrade rootfs for bridge-utils cross compile (十四)
bridge-utils移植 [目的] 移植bridge-utils的目是在AM335X开发板上使用bridge功能. [环境] 1. Ubuntu 16.04发行版 2. MC183平台 3. ...
- am335x system upgrade rootfs for dhcpcd cross compile(十三)
dhcpcd移植 [目的] 移植dhcpcd的目是在AM335X开发板上使用dhcp功能,获取WAN口设备的IP,并且可以通过参数指定其matric,matric值越小,其优先级越高.如设备可以以太网 ...
- am335x system upgrade rootfs custom service using systemd script(十七)
1 Scope of Document systemd 是一个 Linux 系统基础组件的集合,提供了一个系统和服务管理器,运行为 PID 1 并负责启动其它程序.功能包括:支持并行化任务: ...
- am335x system upgrade kernel tf(五)
1 Scope of Document This document describes TF hardware design 2 Requiremen 2.1 Functi ...
- am335x system upgrade set/get current cpufreq(二十一)
1 Scope of Document This document describes am335x cpufreq technology insider. 2 Requireme ...
- am335x system upgrade uboot nand boot(三)
在uboot 下初始化nand,一般需要做如下工作: 第一: 配置默认从NAND boot Index: include/configs/am335x_evm.h=================== ...
- am335x system upgrade uboot ethernet(二)
系统可以通过SD卡引道之后,为了之后了调试方便 通过查看网卡的硬件设计 正常来说需要注意的有如下几点: 1) 网口 的接线方式: RMII 2) 网口的PHY地址两张网口,这里我们只需先初始化一张网卡 ...
- am335x system upgrade kernel ethernet(四)
1 Scope of Document This document describes ethernet hardware design and porting KZS8081 to ubo ...
- am335x system upgrade kernel gpio(九)
1 Hardware Overview gpio interface,pin map: AM335X_I2C0_W_C----------------------MCASP0_AXR1 /* ...
随机推荐
- linux maven 安装
1.使用wget命令下载maven安装包 wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.2/binaries/a ...
- 3.03定义常量之enum
[注:本程序验证是使用vs2013版] #include <stdio.h> #include <stdlib.h> #include <string.h> #pr ...
- Gym102028G Shortest Paths on Random Forests 生成函数、多项式Exp
传送门 神仙题-- 考虑计算三个部分:1.\(n\)个点的森林的数量,这个是期望的分母:2.\(n\)个点的所有森林中存在最短路的点对的最短路径长度之和:3.\(n\)个点的所有路径中存在最短路的点对 ...
- go 学习笔记(2)go test
Test 的写法: 每一个test文件必须import 一个"testing" test文件下的每一个test case均必须以Test开头并且符合TestXxx形式,否则go t ...
- 7 批量查询mget、批量修改bulk
注意:当执行多条数据查询.增删改时,一定要用mget.bulk,提升性能,减少网络传输 mget 回顾:查询单个文档 GET /beauties/my/2 mget 查询多个文档: 不同 ...
- 二叉排序树详解——PHP代码实现
二叉排序树(Binary Sort Tree),又称二叉查找树(Binary Search Tree),亦称二叉搜索树. 一.定义 二叉排序树或者是一棵空树,或者是具有下列性质的二叉树: 若左子树不空 ...
- ColdFusion 编写WebService 示例
1.开发 Web Services,编写cfcdemo.cfc组件,代码如下: <cfcomponent style ="document" namespace = &quo ...
- Jwt Token 令牌
/* 采用JWT的生成TOKEN,及APP登录Token的生成和解析 */ public class JwtTokenUtil { /** * token秘钥 */ public static fin ...
- 【新手可看懂】ubuntu配置appium环境
1.node安装: 在node官网:https://nodejs.org/en/download/ 下载对应的安装包(这里建议下载最新的版本)下载好后放在liunx指定路径下 我这里放到opt这个文件 ...
- linux删除同目录及子目录下统一扩展名的文件
find . -name '*.csv' -type f -print -exec rm -rf {} \; 利用find去查找文件,点是指当前目录下,引号中是相应的数据的名称,自己可以定义,然后用t ...