Skip to content

hyyoxhk/manifest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

manifest

本项目包含一些主流开发板的 yocto 的 repo manifest

  • 迅为.iTop-4412 开发板

构建环境

本 yocto 项目是基于 kirkstone 分支,需要再 ubuntu-22.04 环境下编译,请确保构建主机配置如下

  1. cpu 主频2GHz以上
  2. cpu 核心数大于4核,越多越好,有利于多线程构建和编译
  3. 内存8G以上,越多越好,有利于多线程编译
  4. 建议真机环境,如果虚拟机的话,可能构建体验不好

安装 repo

$> sudo curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o /usr/local/bin/repo
$> sudo chmod 755 /usr/local/bin/repo

安装用于构建 yocto 的依赖包

$> sudo apt install gawk wget git diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint xterm \
bsdmainutils \
libssl-dev libgmp-dev libmpc-dev \
lz4 zstd

获取 迅为.iTop-4412 开发板

$> repo init -u https://github.com/hyyoxhk/manifest.git -b kirkstone -m itop4412-v1.1.xml --repo-url https://gerrit-googlesource.proxy.ustclug.org/git-repo.git
$> repo sync

迅为.iTop-4412 开发板 初始化 oe 环境

# source 会提示你选择,等初始化完后会自动进入 build-XXX 目录
$> source layers/meta-board/meta-smart/envsetup.sh
# 开始构建目标 image
$> bitbake smart-image-standard
# 如果有代理会更好,yocto 菜谱中的源码包绝大部分在外网,代理会加速构建速度

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published