-
Notifications
You must be signed in to change notification settings - Fork 198
Purwa(IQ-X5121) IOT EVK enablement #1514
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
Draft
xinlon-z
wants to merge
10
commits into
qualcomm-linux:master
Choose a base branch
from
xinlon-z:purwa-evk
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c5340ad
ci: add KAS configuration file for iq-x5121-evk machine
xinlon-z c9e1b79
ci: enable iq-x5121-evk in github CI jobs by default
xinlon-z 3263106
fit-dtb-compatible: specify compatible for IQ-X5121
xinlon-z 5df3178
packagegroup-machine-essential: define purwa-soc package
xinlon-z 80b40bb
initramfs-firmware-mega-image: add packagegroups for Purwa IoT EVK
xinlon-z 6e4feaf
conf: machine conf for IQ-X5121 EVK board
xinlon-z 182f19a
Workaround(Need update when new meata ready): firmware-qcom-boot-iq-x…
xinlon-z 4cd159a
(Need update when new META ready): packagegroup-purwa-iot-evk: list f…
xinlon-z f0c571d
Workaround(need update): hexagon-dsp-binaries: add support for Purwa …
xinlon-z 389ee6e
(Need update when PR#68 was megred into qcom-ptool): qcom-partition-c…
xinlon-z 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 hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json | ||
|
|
||
| header: | ||
| version: 14 | ||
| includes: | ||
| - ci/base.yml | ||
|
|
||
| machine: iq-x5121-evk | ||
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Configurations and variables for Purwa SoC family. | ||
|
|
||
| SOC_FAMILY = "purwa" | ||
| require conf/machine/include/qcom-base.inc | ||
| require conf/machine/include/qcom-common.inc | ||
|
|
||
| QCOM_VFAT_SECTOR_SIZE = "512" | ||
|
|
||
| DEFAULTTUNE = "armv8-6a-crypto" | ||
| require conf/machine/include/arm/arch-armv8-6a.inc | ||
|
|
||
| MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \ | ||
| packagegroup-qcom-boot-essential \ | ||
| packagegroup-machine-essential-qcom-purwa-soc \ | ||
| " | ||
|
|
||
| MACHINE_EXTRA_RRECOMMENDS += " \ | ||
| packagegroup-qcom-boot-additional \ | ||
| " |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #@TYPE: Machine | ||
| #@NAME: Qualcomm Purwa IoT Evaluation Kit (EVK) based on IQ-X5121 | ||
| #@DESCRIPTION: Machine configuration for Qualcomm IQ-X5121 Evaluation Kit (EVK) | ||
|
|
||
| require conf/machine/include/qcom-purwa.inc | ||
|
|
||
| MACHINE_FEATURES += "efi pci" | ||
|
|
||
| QCOM_DTB_DEFAULT ?= "purwa-iot-evk" | ||
|
|
||
| KERNEL_DEVICETREE ?= " \ | ||
| qcom/purwa-iot-evk.dtb \ | ||
| " | ||
|
|
||
| MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \ | ||
| packagegroup-purwa-iot-evk-firmware \ | ||
| packagegroup-purwa-iot-evk-hexagon-dsp-binaries \ | ||
| " | ||
|
|
||
| QCOM_CDT_FILE = "IQ_X_EVK_CDT" | ||
| QCOM_BOOT_FILES_SUBDIR = "iq-x5121" | ||
| QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-x5121-evk/nvme" | ||
| QCOM_PARTITION_FILES_SUBDIR_SPINOR ?= "partitions/iq-x5121-evk/spinor" | ||
|
|
||
| QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-iq-x5121" |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| DESCRIPTION = "QCOM NHLOS Firmware for Qualcomm IQ-X5121 platform" | ||
| LICENSE = "LICENSE.qcom-2" | ||
| LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE.${BPN};md5=6e1bae7ef13289c332a27b917fb49764" | ||
|
|
||
| include firmware-qcom-boot-common.inc | ||
|
|
||
| FW_ARTIFACTORY = "softwarecenter.qualcomm.com/download/software/chip/ubuntu_qualcomm_iot-spf-1-0/ubuntu-qualcomm-iot-spf-1-0_test_device_public" | ||
| #FW_BUILD_ID = "r1.0.r1_${PV}/hamoa_iot-ubun-1-0-r1" | ||
| FW_BUILD_ID = "r1.0_00001.0/hamoa_iot-ubun-1-0" | ||
| FW_BIN_PATH = "common/build/bin" | ||
| BOOTBINARIES = "HAMOA_bootbinaries" | ||
|
|
||
| S = "${UNPACKDIR}/${BOOTBINARIES}/spinor" | ||
|
|
||
| #SRC_URI = " \ | ||
| # https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/${FW_BIN_PATH}/HAMOA_bootbinaries.zip;downloadfilename=HAMOA_bootbinaries_${PV}.zip;name=bootbinaries \ | ||
| # https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/LICENSE.txt;downloadfilename=LICENSE.${BPN};name=license \ | ||
| # https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/X1E80100/cdt/IQ-X.1.2-EVK-CDT.tar.gz;downloadfilename=cdt-iq-x7181-evk_${PV}.tar.gz;name=cdt-iq-x7181-evk \ | ||
| # " | ||
| SRC_URI = " \ | ||
| https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/HAMOA_bootbinaries.zip;downloadfilename=HAMOA_bootbinaries_${PV}.zip;name=bootbinaries \ | ||
| https://${FW_ARTIFACTORY}/${FW_BUILD_ID}/LICENSE.txt;downloadfilename=LICENSE.${BPN};name=license \ | ||
| https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/X1E80100/cdt/IQ-X.1.2-EVK-CDT.tar.gz;downloadfilename=cdt-iq-x7181-evk_${PV}.tar.gz;name=cdt-iq-x7181-evk \ | ||
| " | ||
| SRC_URI[cdt-iq-x7181-evk.sha256sum] = "279c47ff8f1a7f4300d296fcb7fbb3d025d903e4c16f62fbb74939804949584e" | ||
| SRC_URI[license.sha256sum] = "3ad8f1fd82f2918c858cec2d0887b7df6f71a06416beecfdb3efe7d62874d863" | ||
|
|
||
| QCOM_BOOT_IMG_SUBDIR = "iq-x5121/spinor" |
3 changes: 3 additions & 0 deletions
3
recipes-bsp/firmware-boot/firmware-qcom-boot-iq-x5121_00004.0.bb
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| require firmware-qcom-boot-iq-x5121.inc | ||
|
|
||
| SRC_URI[bootbinaries.sha256sum] = "fe987d99a6a0ad5882c05a416ae38694fbe1f9411489b1ad2d505ac4e59ddfe9" |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| SUMMARY = "Packages for the Purwa IoT EVK platform" | ||
|
|
||
| inherit packagegroup | ||
|
|
||
| PACKAGES = " \ | ||
| ${PN}-firmware \ | ||
| ${PN}-hexagon-dsp-binaries \ | ||
| " | ||
|
|
||
| RRECOMMENDS:${PN}-firmware = " \ | ||
| ${@bb.utils.contains_any('DISTRO_FEATURES', 'opencl opengl vulkan', 'linux-firmware-qcom-adreno-g705 linux-firmware-qcom-x1e80100-adreno', '', d)} \ | ||
| ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca-qca61x4-usb linux-firmware-qca-wcn7850', '', d)} \ | ||
| ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k-wcn6855 linux-firmware-ath12k-wcn7850', '', d)} \ | ||
| linux-firmware-qcom-x1e80100-audio \ | ||
| linux-firmware-qcom-x1e80100-compute \ | ||
| linux-firmware-qcom-vpu \ | ||
| " | ||
|
|
||
| RDEPENDS:${PN}-hexagon-dsp-binaries = " \ | ||
| hexagon-dsp-binaries-qcom-purwa-iot-evk-cdsp \ | ||
| " |
This file contains hidden or 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
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.
Make sure to order the commits logically as well, the CI changes should be the last ones done in the series.
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.
sure, once dependences ready, I will re‑order these changes.