Browse Source

add openEuler Embedded

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 2 months ago
parent
commit
4898ab53a6
  1. BIN
      pdf/rk3588_guide.pdf
  2. 31
      tex/openeuler.tex

BIN
pdf/rk3588_guide.pdf

Binary file not shown.

31
tex/openeuler.tex

@ -435,4 +435,33 @@ sudo umount -l rpi/dev/pts
sudo umount -l rpi/dev
sudo umount -l rpi/proc
sudo umount -l rpi/sys
\end{minted}
\end{minted}
\chapter{构建 openEuler Embedded}
参考这里 \url{https://embedded.pages.openeuler.org/master/introduction/index.html},把主要步骤记录一下。
\section{系统安装 docker }
用 root 权限执行下面的命令:
\begin{minted}[bgcolor=lightgray!30,fontsize=\scriptsize]{bash}
groupadd docker
usermod -a -G docker user
apt-get install docker.io
systemctl restart docker
chmod o+rw /var/run/docker.sock
\end{minted}
\section{安装 oebuild}
\begin{minted}[bgcolor=lightgray!30,fontsize=\scriptsize]{bash}
pip3 install oebuild
\end{minted}
\section{制作 Rk3588 镜像和 SDK}
\begin{minted}[bgcolor=lightgray!30,fontsize=\scriptsize]{bash}
oebuild init yocto-oebuild -b openEuler-24.03-LTS
cd yocto-oebuild
oebuild update
oebuild update docker
oebuild generate -p ok3588 -f systemd -f openeuler-qt
cd build/ok3588
oebuild bitbake openeuler-image
oebuild bitbake openeuler-image -c do_populate_sdk
\end{minted}

Loading…
Cancel
Save