一、OrangePi PC简介
Orange Pi PC 采用了全志四核A7高性能处理器
Allwinner H3
,集成了板载网络、板载存储、以太网、USB-Host、USB-OTG、DVP camera等,支持HDMI、CVBS视频输出,而且兼容树莓派GPIO
口
二、用 buildroot
构建 OrangePi-PC
镜像。
1、安装必要的软件
sudo apt install sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
2、下载 buildroot 压缩包
wget https://buildroot.org/downloads/buildroot-2023.02.8.tar.xz
3、解压缩
tar xvf buildroot-2023.02.8.tar.xz
4、配置 OrangePi PC
make orangepi_pc_defconfig
5、配置 menuconfig
make menuconfig
根据需要自己设置
6、build 镜像
make
如果你使用 windows 的 wsl ubuntu 子系统出现如下问题:
Your PATH contains spaces, TABs, and/or newline (\n) characters.
This doesn’t work. Fix you PATH.
make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
则使用以下命令:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin make
如果出现如下错误:
mkfs.ext4: Could not allocate block in ext2 filesystem