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 /* ...
随机推荐
- matlab 2017b 支持的C编译器
在电力电子开发领域,matlab是非常重要的工具,随着系统仿真和编程开发的不断融合,在matlab中使用混合编程并进行仿真验证,甚至是软件工程里面,源文件的自生成.编译以及一键程序下载等功能,都是越来 ...
- MySQL数据库-表操作-SQL语句(二)
1. MySQL多表查询 1.1 外键约束 为了消除多张表查询出现的笛卡尔积的现象,MySQL在建表并进行多表之间的关键查询可以使用外键关联查询. 外键:从表1(sub)的某列引用(ref)另外一个表 ...
- 【LEETCODE】40、1051. Height Checker
package y2019.Algorithm.array; /** * @ProjectName: cutter-point * @Package: y2019.Algorithm.array * ...
- [LOJ#3120][Luogu5401][CTS2019]珍珠(容斥+生成函数)
https://www.luogu.org/blog/user50971/solution-p5401 #include<cstdio> #include<algorithm> ...
- unbuntu 16.04 MS-Celeb-1M + alexnet + pytorch
最近被保研的事情搞的头大,拖了半天才勉强算结束这个了.从熟悉unbantu 16.04的环境(搭个翻墙的梯子都搞了一上午 呸!)到搭建python,pytorch环境.然后花了一个上午熟悉py的基本语 ...
- quartz 定时器执行
类存储job信息 public class JobInfo {//省略setter getter String jobName; String jobGroup; Class<? extends ...
- 【转载】 C#使用Math.Abs返回数值的绝对值
在C#的数值运算中,有时候我们需要计算值类型对象的绝对值,此时需要用到C#的数值计算类Math类中的Abs绝对值函数,Math.Abs绝对值函数一共有7个重载类型,支持decimal.double.f ...
- js 移动端之监听软键盘弹出收起
js 移动端关于页面布局,如果底部有position:fixed的盒子,又有input,当软键盘弹出收起都会影响页面布局.这时候Android可以监听resize事件,代码如下,而ios没有相关事件. ...
- mtd交叉编译mkfs命令
下载 mtd:ftp://ftp.infradead.org/pub/mtd-utils/ zlib:http://www.zlib.net/ lzo:http://bouchez.info/lzo. ...
- 根据域名获取ip地址
1如何查询网站域名对应的ip地址在电脑左下角搜索cmd ,在命令提示符中输入 ping www.pm25.in在电脑左下角搜索运行,输入cmd ,在命令提示符中输入 ping www.pm25.in得 ...