agherzan/meta-raspberrypi
关于
适用于 Raspberry Pi 开发板的 Yocto/OE BSP 层
其他项目实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文meta-raspberrypi
Yocto BSP layer for the Raspberry Pi boards - http://www.raspberrypi.org/.
|
Sponsored by:
|
Quick links
- Git repository web frontend: https://github.com/agherzan/meta-raspberrypi
- Mailing list (yocto mailing list): [email protected]
- Issues management (Github Issues): https://github.com/agherzan/meta-raspberrypi/issues
- Documentation: http://meta-raspberrypi.readthedocs.io/en/latest/
Description
This is the general hardware specific BSP overlay for the RaspberryPi device.
More information can be found at: http://www.raspberrypi.org/ (Official Site)
The core BSP part of meta-raspberrypi should work with different OpenEmbedded/Yocto distributions and layer stacks, such as:
- Distro-less (only with OE-Core).
- Yoe Disto (Video and Camera Products).
- Yocto/Poky (main focus of testing).
Yocto Project Compatible Layer
This layer is officially approved as part of the Yocto Project Compatible Layers Program. You can find details of that on the official Yocto Project
website.
Dependencies
This layer depends on:
URI: https://git.openembedded.org/bitbake
- branch: master
- revision: HEAD
URI: https://git.openembedded.org/openembedded-core
- branch: master
- revision: HEAD
URI: https://git.yoctoproject.org/meta-yocto
- branch: master
- revision: HEAD
Quick Start
- source openembedded-core/oe-init-build-env rpi-build
- Add this layer to bblayers.conf and the dependencies above
- Set MACHINE in local.conf to one of the supported boards
- bitbake core-image-base
- Use bmaptool to copy the generated .wic.bz2 file to the SD card
- Boot your RPI
Quick Start with kas
Install the kas build tool from PyPI:
pip3 install kasSelect the appropriate machine configuration file from
kas/(for exampleraspberrypi4.yml,raspberrypi3-64.yml, etc.)Run the build:
kas build meta-raspberrypi/kas/<machine>.ymlUse
bmaptoolto copy the generated.wic.bz2image to the SD cardBoot your Raspberry Pi
The kas configuration is split into a shared base.yml and per-machine
configuration files. Machine selection is done by choosing the appropriate
kas file rather than editing a machine variable.
To adjust the build configuration with specific options (I2C, SPI, etc.),
extend the configuration by adding a local_conf_header section, for example:
local_conf_header:
rpi-specific: |
ENABLE_I2C = "1"
RPI_EXTRA_CONFIG = "dtoverlay=disable-bt"
Additional configurations can be layered by including extra kas files. For example,
to enable runtime testing with testimage:
kas build meta-raspberrypi/kas/raspberrypi4.yml:meta-raspberrypi/kas/testimage.yml
For further details, see the kas documentation: https://kas.readthedocs.io/en/latest/index.html
Contributing
You can send patches using the GitHub pull request process or/and through the Yocto mailing list. Refer to the documentation for more information.
Maintainers
- Andrei Gherzan
<andrei at gherzan.com>
探索相关项目
加载中…