Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astertom/meta-astertom
Base yocto layer for Astertom distribution
https://github.com/astertom/meta-astertom
bitbake yocto
Last synced: 3 days ago
JSON representation
Base yocto layer for Astertom distribution
- Host: GitHub
- URL: https://github.com/astertom/meta-astertom
- Owner: astertom
- Created: 2021-03-28T12:14:07.000Z (over 3 years ago)
- Default Branch: scarthgap
- Last Pushed: 2024-08-09T13:20:08.000Z (3 months ago)
- Last Synced: 2024-09-12T16:51:42.209Z (2 months ago)
- Topics: bitbake, yocto
- Language: BitBake
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: licenses/LICENSE
Awesome Lists containing this project
README
# ![Astertom](images/Astertom-logo-300-71.jpg)
## meta-astertom
Yocto layer for building Astertom distribution for reference boards.
## Supported boards
- raspberrypi4-64
## Dependencies
This layer depends on additional layers:
- [poky](http://git.yoctoproject.org/cgit/cgit.cgi/poky)
- [meta-openembedded](http://git.openembedded.org/meta-openembedded)Optional:
- [meta-raspberrypi](http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi)
## Environment preparation
### General information
Before starting building, make sure that all required tools are installed on your host machine. For more informations how to configure your machine visit [Yocto project page documentation](https://docs.yoctoproject.org/index.html)
### Using [kas](https://kas.readthedocs.io/en/latest/intro.html)
Clone required layers
```bash
kas checkout meta-astertom/kas-rpi.yml
```Build `astertom-core-image
```bash
kas build meta-astertom/kas-rpi.yml
```### Manual
According to yocto manual:
- Clone all required layers inside some directory
- Clone meta-aster layer inside the same directory
- Create build directory
- Configure `bblayers.conf` file with proper paths
- Configure `local.conf` file according to your need
- For configuration files examples form `examples` directory of this layer can be used## Building image and sdk
Source environment script
```bash
source [path_to_cloned_layers]/poky/oe-init-build-env [path_to_build_directory]
```Building default image
```bash
bitbake astertom-core-image
```Building sdk
```bash
bitbake astertom-core-image -c populate_sdk
``````Note: All output files are located in default locations inside build directory```
## Additional informations
- By default building process is configured to use [icecream](https://github.com/icecc/icecream) distributed compilation to use more machines to speed up build process. If only one machine will be used comment `INHERIT += "icecc"` line in `local.conf` file from build directory.
- Images only have root user without password (`debug-tweaks` image feature enabled)