-
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
Migration of meta-qcom (and merge with meta-qcom-hwe) #92
Migration of meta-qcom (and merge with meta-qcom-hwe) #92
Conversation
Follow OE-Core changes and use UNPACKDIR where required. Signed-off-by: Dmitry Baryshkov <[email protected]>
Follow OE-Core changes and use UNPACKDIR where required. Signed-off-by: Dmitry Baryshkov <[email protected]>
With the introduction of UNPACKDIR the files were moved from WORKDIR to UNPACKDIR. Adjust the recipe accordingly. Signed-off-by: Dmitry Baryshkov <[email protected]>
With the introduction of UNPACKDIR the files were moved from WORKDIR to UNPACKDIR. Adjust the recipe accordingly. Signed-off-by: Dmitry Baryshkov <[email protected]>
With the introduction of UNPACKDIR the files were moved from WORKDIR to UNPACKDIR. Adjust the recipe accordingly. Signed-off-by: Dmitry Baryshkov <[email protected]>
Drop CONFIG_DRM_PANEL_NOVATEK_NT36672E assignment from qcom-armv8a/qcom-extra.cfg to silence the warning: [INFO]: the following symbols were not found in the active configuration: - CONFIG_DRM_PANEL_NOVATEK_NT36672E Signed-off-by: Dmitry Baryshkov <[email protected]>
linux-yocto: drop CONFIG_DRM_PANEL_NOVATEK_NT36672E=m
WORKDIR -> UNPACKDIR migration
Build the current LTS release, scarthgap, on a daily basis. Signed-off-by: Dmitry Baryshkov <[email protected]>
Include scarthgap and kirkstone into the push-triggered builds. While we are at it, drop the honister, which is EOL Signed-off-by: Dmitry Baryshkov <[email protected]>
CI: include scarthgap into daily builds
Update to the latest upstream repository, which is now at https://github.com/linux-msm/qdl.git. Relevant changes from latest upstream: - USBDEVFS interface replaced with libusb - Add ramdump support - New utility 'ks' which uses sahara to load images from host to a device (relevant for Qualcomm Cloud AI 100). Drop 0001-Makefile-Use-pkg-config-for-libxml2-detection.patch as these changes are now available upstream. Signed-off-by: Ricardo Salveti <[email protected]>
qdl: update to the latest upstream
… non-existent android-tools-conf-adbd-cmdline doesn't have any checked out source files, which results in a warning regarding S not existing. Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. The warning text: WARNING: android-tools-conf-conf-adbd-cmdline-1.0-r0 do_unpack: android-tools-conf-conf-adbd-cmdline: the directory ${WORKDIR}/${BP} (<scrubbed>) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to Signed-off-by: Dmitry Baryshkov <[email protected]>
android-tools-conf-adbd-cmdline: Fix build-time warning about S being…
The WSA881x patch has been merged into the stable tree, drop it from the BSP patchset. Signed-off-by: Dmitry Baryshkov <[email protected]>
linux-yocto: drop the patch applied upstream
The recipe fell out of the WORKDIR -> UNPACKDIR conversion. Use UNPACKDIR to reference provided scripts. Signed-off-by: Dmitry Baryshkov <[email protected]>
Bump SRCREV, dropping merged patches. This also brings up scripts to support ath12k WiFi cards. Signed-off-by: Dmitry Baryshkov <[email protected]>
Bump SRCREV, dropping three patches that were merged upstream. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add the Upstream-Status trailer to the patch to fix OE's issue. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add the Upstream-Status trailer to the patch to fix OE's issue. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add the Upstream-Status trailer to the patch to fix OE's issue. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add the Upstream-Status trailer to the patch to fix OE's issue. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add the Upstream-Status trailer to the patch to fix OE's issue. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add Upstream-Status trailers to meta-qcom patches.
Add kernel configs to support sa8775 ride board on linux-yocto.
Add support for Qualcomm SA8775p ride board in yocto-linux.
Add support for SA8775P ride board on linux-yocto
Several older platforms provided ipa_fws.elf file instead of ipa_fws.mbn. While it's possible to rename it while installing, the DT files for those platforms already use the .elf file name. Include those files into the IPA firmware package. Signed-off-by: Dmitry Baryshkov <[email protected]>
I completely forgot about that. I will take a look at the CI for other branches |
FWIW, a kas based build for qcs6490-rb3gen2-core-kit using this PR builds without issues. |
@ndechesne I think I've fixed all outstanding CI issues. |
Taking into consideration that there are currently 113 commits in Another concern is that as for |
git merge A from B, or git merge B from A. I don't see how it makes the merge any different. The same merge conflicts would exist. And in fact, there really was no difficult merge at all. It was fairly trivial to do the merge, the way I did it. Since we are merging the 2 branches, we still keep the history of both branches, so the history of meta-qcom is replicated. Can you please elaborate? I am open to doing things in a different way if that makes anything simpler.
That is correct. the history is going to be a bit of mess, but moving forward we will adopt rebase and merge again. As long as we kept the 2 branches history in the merge, I think it's fine. |
I got confused as I was thinking about rebase for some reason when I wrote "1:1 replication of meta-qcom git history", however you explicitly mentioned "merge" in the PR description, so sorry for the nohistoryise. |
Dragonboard-APQ8060 has old uppercase-only names in the NHLOS image, which breaks the rest of firmware-qcom-nhlos.inc. Split the handle_nonhlos_image() function into unpack and handle parts to allow individual recipes to extend either of those steps individually. Signed-off-by: Dmitry Baryshkov <[email protected]>
Add firmware recipe for the DragonBoard APQ8060. The board is old, but it is still useful for testing. Signed-off-by: Dmitry Baryshkov <[email protected]>
When using 'kas build' for the rbd3, this doesn't seem to generate a qcomflash tarball anymore. |
@koenkooi I think that's because it doesn't include this commit:
|
5a3e2fa
to
b4e70c6
Compare
I updated the PR. What's changed:
|
b4e70c6
to
817f852
Compare
Nice! Ack from my side. |
Firmware for Dragonboard APQ8060
We are merging meta-qcom-hwe (main branch) and meta-qcom (master branch) inside a single branch to unify the development. This is a non trivial merge that requires merging two BSP layer with unrelated history. git merge was used with --allow-unrelated-histories for that reason. Most of the files are merged with no conflicts, except: * README.md: I merged both README files into a new one, picking things from both versions, as needed. * conf/layer.conf: combine both files. * COPYING.md: trivial conflict, nothing changed. When combining meta-qcom and meta-qcom-hwe, we inherit from both CI workflows. Moving forward we want to run the following workflows: * Linaro CI for all stable branch up until styhead * Qualcomm CI for master/main and future stable branches In this commit, we also removed all CI workflow files from the Linaro meta-qcom, and kept all CI workflows from meta-qcom-hwe. The trees used for this merge were at the following commit: * meta-qcom: 08c56f5 (Merge pull request #701 from lumag/fw-8060) * meta-qcom-hwe: d55004a (workflows: fix variable name in nightly build) Signed-off-by: Nicolas Dechesne <[email protected]>
Signed-off-by: Nicolas Dechesne <[email protected]>
Now that we merged meta-qcom and meta-qcom-hwe, let's include meta-qcom generic machines kas configuration to add them in CI. Disable qcomflash feature, not supported on these machines. Signed-off-by: Nicolas Dechesne <[email protected]>
Signed-off-by: Nicolas Dechesne <[email protected]>
817f852
to
2e45402
Compare
@ricardosalveti when we decide to merge this PR, we will need to do a merge commit, it's an exception to our process, but i believe that a rebase/squash will break everything.. |
My quick test succeeds. I'd say, let's merge this, unify repos and continue the development as agreed. |
It was added in oe-core in 4069c485046fe6d008dd0c48269f29d92146d923. The duplicated recipes was breaking yocto-check-layer script. Signed-off-by: Nicolas Dechesne <[email protected]>
I pushed a fix in meta-qcom that should address the yocto-check-layer error. It was a problem in the original Linaro/meta-qcom which we found during the merge. |
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.
LGTM
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.
LGTM
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.
LGTM
Related to: Linaro/meta-qcom#680
This is probably impossible to properly review in Github. The key commits to review are the most recent commits in the PR branch.
First I am doing a 'non trivial' merge of meta-qcom (master) into meta-qcom-hwe (main) using "git merge --allow-unrelated-histories". Most of the merge is trivial with no conflicts, e.g. merging recipes, conf files, ... from both layers, just fine. The main conflicts were with README.md and conf/layer.conf. For both of these files, I have done a manual merge/edit so that they look right to me. These files need to be reviewed carefully.
The next 2 commits are changes in the Github workflows. What I am trying to do with the workflows is:
Note: the Linaro CI is not expected to work for now, since we will need to setup the secrets/token.
The result of the merge represents a very decent history of meta-qcom with ~1650 commits from ~50 developers over the last 10 years.
In terms of process, we eventually want to migrate meta-qcom into github.com/quic-yocto org. We can decide to merge this PR (when it's tested/ready) and continue the development of meta-qcom-hwe (main branch) here after the initial merge. When the repo is migrated, we will just need to do a final merge of the meta-qcom-hwe main branch into meta-qcom repo.