Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: revamp readme to reflect main and the development process #15

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 36 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,54 @@
# meta-qcom-hwe

![merge main](https://github.com/quic-yocto/meta-qcom-hwe/actions/workflows/merge-main.yml/badge.svg?branch=main)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼


## Introduction
OpenEmbedded/Yocto Project layer for Qualcomm based platforms.

OpenEmbedded/Yocto Project hardware enablement layer for Qualcomm based platforms.

This layers provides aditional recipes and machine configuration files for Qualcomm platform.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This layers provides aditional recipes and machine configuration files for Qualcomm platform.
This layers provides additional recipes and machine configuration files for Qualcomm platforms.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this was not added or changed in this PR but I just noticed it.


This layer depends on:

| URI | Branch |
| -------- | ------- |
| https://git.yoctoproject.org/meta-qcom | master |
| https://github.com/openembedded/meta-openembedded | master |
| https://git.yoctoproject.org/poky | master |
| https://github.com/quic-yocto/meta-qcom-distro | main |
```
URI: https://github.com/openembedded/openembedded-core.git
layers: meta
branch: master
revision: HEAD

## Machine Support
Supported devices are QCS6490-RB3Gen2 core-kit, QCM6490 idp and sa8775p ride-sx.
URI: https://github.com/Linaro/meta-qcom.git
branch: master
revision: HEAD
```

To add a new machine, introduce a new machine configuration file at `layers/meta-qcom-hwe/conf/machine/`
## Branches

## Build an image
- **main:** Primary development branch, with focus on upstream support and compatibility with the most recent Yocto Project release.
- **kirkstone:** Qualcomm Linux 1.x, aligned with Yocto Project 4.0 (LTS).

Clone this layer and it's dependent layers:
```
git clone https://github.com/quic-yocto/meta-qcom-hwe.git -b main
git clone git://git.yoctoproject.org/meta-qcom -b master
git clone https://github.com/quic-yocto/meta-qcom-distro.git -b main
git clone https://github.com/openembedded/meta-openembedded.git -b master
git clone git://git.yoctoproject.org/poky -b master
```
## Machine Support

Initialize build environment:
```
source poky/oe-init-build-env
```
The script will cd into the newly created ```build/``` folder.
See `conf/machine` for the complete list of supported devices.

Update ```BBLAYERS``` in ```conf/bblayers.conf``` as shown below::
```
BBLAYERS ?= " \
<WORKSPACE>/meta-qcom \
<WORKSPACE>/meta-qcom-distro \
<WORKSPACE>/meta-qcom-hwe \
<WORKSPACE>/meta-openembedded/meta-python \
<WORKSPACE>/meta-openembedded/meta-oe \
<WORKSPACE>/poky/meta \
"
```
```<WORKSPACE>``` is a place holder. Please use appropriate absolute path in place of ```<WORKSACE>```.
## Contributing

Please submit any patches against the `meta-qcom-hwe` layer (branch **main**) by using the GitHub pull-request feature. Fork the repo, create a branch, do the work, rebase from upstream, and create the pull request.

Update ```MACHINE``` and ```DISTRO``` variables into ```conf/local.conf``` to:
```
MACHINE = "qcs6490-rb3gen2-core-kit"
DISTRO = "qcom-wayland"
```
For some useful guidelines when submitting patches, please refer to:
https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#preparing-changes-for-submission

Build an image:
```
bitbake esp-qcom-image && bitbake qcom-console-image
```
This command generates ```esp``` (esp-qcom-image-<MACHINE>.rootfs-<timestamp>.vfat) and ```rootfs``` (qcom-console-image-<MACHINE>.rootfs-<timestamp>.ext4) images.
Pull requests will be discussed within the GitHub pull-request infrastructure.

Branch **kirkstone** is not open for direct contributions, please raise an issue with the suggested change instead.

```qcom-wayland``` DISTRO and ```qcom-console-image``` are defined in meta-qcom-distro layer.
## Communication

- **GitHub Issues:** [meta-qcom-hwe issues](https://github.com/quic-yocto/meta-qcom-hwe/issues)
- **Pull Requests:** [meta-qcom-hwe pull requests](https://github.com/quic-yocto/meta-qcom-hwe/pulls)

## Maintainer(s)
1. Naveen Kumar <[email protected]>
2. Sourabh Banerjee <[email protected]>
3. Viswanath Kraleti <[email protected]>

* Naveen Kumar <[email protected]>
* Sourabh Banerjee <[email protected]>
* Viswanath Kraleti <[email protected]>
* Ricardo Salveti <[email protected]>
Loading