diff --git a/docs/zero/zero3/other-os/buildroot.md b/docs/zero/zero3/other-os/buildroot.md index 51df15480..0677fbadc 100644 --- a/docs/zero/zero3/other-os/buildroot.md +++ b/docs/zero/zero3/other-os/buildroot.md @@ -9,6 +9,18 @@ description: "Buildroot" 需要准备一台 Ubuntu 20.04/22.04 x86_64 主机。 +也可以使用虚拟主机 + +- ubuntu-22.04.5-live-server-amd64 虚拟主机,带 120G 硬盘容量。 + +## 安装编译依赖包 + +``` +sudo apt update +sudo apt install python2 git rsync gcc g++ make device-tree-compiler bc flex bison lz4 libssl-dev libgmp-dev libmpc-dev expect expect-dev file unzip bzip2 fakeroot bsdmainutils +sudo ln -s /bin/python2 /bin/python +``` + ## 获取 Rockchip 原始 SDK - Mega:https://mega.nz/file/JugCGDDC#NNL5_qRDRr-NL6TS3F1FSzkoXFwRCwDTNTW3KAiTtpI diff --git a/i18n/en/docusaurus-plugin-content-docs/current/zero/zero3/other-os/buildroot.md b/i18n/en/docusaurus-plugin-content-docs/current/zero/zero3/other-os/buildroot.md index 2fef89bd0..50e2345d1 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/zero/zero3/other-os/buildroot.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/zero/zero3/other-os/buildroot.md @@ -9,6 +9,18 @@ description: "Buildroot" We need one Ubuntu 20.04/22.04 x86_64 PC. +We can also use virtual machine + +- ubuntu-22.04.5-live-server-amd64 virtual machine with 120G disk used. + +## Install build dependencies + +``` +sudo apt update +sudo apt install python2 git rsync gcc g++ make device-tree-compiler bc flex bison lz4 libssl-dev libgmp-dev libmpc-dev expect expect-dev file unzip bzip2 fakeroot bsdmainutils +sudo ln -s /bin/python2 /bin/python +``` + ## Get rockchip original SDK - Mega: https://mega.nz/file/JugCGDDC#NNL5_qRDRr-NL6TS3F1FSzkoXFwRCwDTNTW3KAiTtpI