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 /* ...
随机推荐
- C++多态性----运算符重载与虚函数
一.多态性 ①概述:多态是指同样的消息被不同类型的对象接收时导致的不同行为. ②类型: 可以分为四类:重载多态.强制多态.包含多态.参数多态. ------------------------ --- ...
- go条件变量的使用和原理
场景 最近写代码时碰到一个场景, 需要使用 map[int]struct{} 结构来存储task, map的key是task的id,随时可以增减.因为的确除了看书,基本上没使用过条件变量所以后面过了一 ...
- Luogu4233 射命丸文的笔记 DP、多项式求逆
传送门 注意到总共有\(\frac{n!}{n}\)条本质不同的哈密顿回路,每一条哈密顿回路恰好会出现在\(2^{\binom{n}{2} - n}\)个图中,所以我们实际上要算的是强连通有向竞赛图的 ...
- LOJ6300 博弈论与概率统计 组合、莫队
传送门 如果在\(0\)以下之后仍然会减分,那么最后的结果一定是\(N-M\). 注意到如果在Alice分数为\(0\)时继续输,那么就相当于减少了一次输的次数.也就是说如果说在总的博弈过程中,Ali ...
- Ubuntu 18.04下安装Steam顶级在线游戏平台
Ubuntu 18.04下安装Steam顶级在线游戏平台 原创: 聆听世界的鱼 Linux公社 今天 Steam是由Valve公司开发的顶级在线游戏平台,是目前全球最大的综合性数字发行平台之一.它让你 ...
- Git命令和使用
Git & GitHub Git是一个工具,用于命令行操作 GitHub是一个协同工作平台 包括: Remote original Repository - 远程主仓库(上线唯一仓库) Rem ...
- sql 分组后重复数据取时间最新的一条记录
1.取时间最新的记录 不分组有重复(多条CreateTime一样的都是最新记录) select * from test t where pid in ( select PId from Test t ...
- 入门Docker,你要下载什么?注册什么?
此随笔根据前人经验改编并亲自实践.遇到问题提供出相应解决方法. 入门Docker,你要下载什么?注册什么? Docker.app你肯定是要下载的!此教程应用于MAC系统PC不保证适用 Docker f ...
- 恶意代码分析学习之dll相关记录
kernel32.dll 这是一个很常见的DLL,它包含核心系统功能,如访问和操作内存.文件和硬件,Kernel32.dl等等 Advapi32.dll 这个DLL提供了对核心Windows组件的访问 ...
- python相关软件安装
一. python 3 安装 Python官网 在官网下载对应系统的安装包 安装步骤 注意:有的时候安装完后会出现"Disable path length limit"的按钮,如果 ...