-
Notifications
You must be signed in to change notification settings - Fork 26
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
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||||||
|
||||||
## 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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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]> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼