完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
armbian开发指北(一)1. 什么是armbian
Armbian是一个基于Debian或Ubuntu的开源操作系统,专门针对嵌入式ARM平台进行优化和定制。Armbian可以运行在多种不同的嵌入式设备上,例如树莓派、ArmSoM、香蕉派等等。Armbian针对不同的嵌入式平台,提供了相应的硬件支持,可以让用户轻松地在这些平台上搭建自己的嵌入式系统。 armbian立项于2014年底,于2016年开始进入频繁更新,每年千万行代码的爆发式成长,截止目前为止,官网已经支持185个不同的硬件设备的适配。 2. 为什么要使用armbianArmbian提供了丰富的软件库和组件,包括Linux内核、文件系统、应用程序等,用户可以根据自己的需要进行选择和安装。Armbian还提供了一套完整的开发工具链,方便用户进行开发和调试工作。 总的来说,Armbian是一款功能强大、灵活性高、易于定制的嵌入式操作系统,适用于各种不同的嵌入式设备和应用场景。 3. 如何使用armbian3.1 基本要求
$ git clone --depth=1 --branch=main https://github.com/armbian/build $ cd build $ ./compile.sh 命令执行后会进行以下三个操作,具体的操作解释,后续我会写文章详细解释
│ ├── aptcache Packages │ ├── ccache C/C++ compiler │ ├── docker Docker last pull │ ├── git-bare Minimal Git │ ├── git-bundles Full Git │ ├── initrd Ram disk │ ├── memoize Git status │ ├── patch Kernel drivers patch │ ├── pip Python │ ├── rootfs Compressed userspaces │ ├── sources Kernel, u-boot and other sources │ ├── tools Additional tools like ORAS │ └── utility ├── config Packages repository configurations │ ├── targets.conf Board build target configuration │ ├── boards Board configurations │ ├── bootenv Initial boot loaders environments per family │ ├── bootscripts Initial Boot loaders scripts per family │ ├── cli CLI packages configurations per distribution │ ├── desktop Desktop packages configurations per distribution │ ├── distributions Distributions settings │ ├── kernel Kernel build configurations per family │ ├── sources Kernel and u-boot sources locations and scripts │ ├── templates User configuration templates which populate userpatches │ └── torrents External compiler and rootfs cache torrents ├── extensions Extend build system with specific functionality ├── lib Main build framework libraries │ ├── functions │ │ ├── artifacts │ │ ├── bsp │ │ ├── cli │ │ ├── compilation │ │ ├── configuration │ │ ├── general │ │ ├── host │ │ ├── image │ │ ├── logging │ │ ├── main │ │ └── rootfs │ └── tools ├── output Build artifact │ └── deb Deb packages │ └── images Bootable images - RAW or compressed │ └── debug Patch and build logs │ └── config Kernel configuration export location │ └── patch Created patches location ├── packages Support scripts, binary blobs, packages │ ├── blobs Wallpapers, various configs, closed source bootloaders │ ├── bsp-cli Automatically added to armbian-bsp-cli package │ ├── bsp-desktop Automatically added to armbian-bsp-desktopo package │ ├── bsp Scripts and configs overlay for rootfs │ └── extras-buildpkgs Optional compilation and packaging engine ├── patch Collection of patches │ ├── atf ARM trusted firmware │ ├── kernel Linux kernel patches | | └── family-branch Per kernel family and branch │ ├── misc Linux kernel packaging patches │ └── u-boot Universal boot loader patches | ├── u-boot-board For specific board | └── u-boot-family For entire kernel family ├── tools Tools for dealing with kernel patches and configs └── userpatches User: configuration patching area ├── lib.config User: framework common config/override file ├── config-default.conf User: default user config file ├── customize-image.sh User: script will execute just before closing the image ├── atf User: ARM trusted firmware ├── kernel User: Linux kernel per kernel family ├── misc User: various └── u-boot User: universal boot loader patches CONTRIBUTING.md // We would love to have you join the Armbian 4. 感谢 此系列特别感谢 armsom团队 和 armbian中国开发者 amazingfate |
|
|
|
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
569 浏览 0 评论
839 浏览 1 评论
737 浏览 1 评论
1957 浏览 1 评论
3204 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 10:58 , Processed in 0.366935 second(s), Total 31, Slave 24 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号