Purwa(IQ-X5121) IOT EVK enablement#1514
Purwa(IQ-X5121) IOT EVK enablement#1514ricardosalveti merged 7 commits intoqualcomm-linux:masterfrom
Conversation
|
|
||
| KERNEL_DEVICETREE ?= " \ | ||
| qcom/purwa-iot-evk.dtb \ | ||
| " |
|
Build fails: https://github.com/qualcomm-linux/meta-qcom/actions/runs/22886871392/job/66421112100?pr=1514 |
Hi @lumag. this issue has been fixed by qualcomm-linux/kernel#383, after PR #1883 merged will unblock merged CI for qcom-next 6.18.y |
|
All dependences are ready, rebased to latest commit |
|
Please rebase after #1914 is merged to fix the CI issues. |
23ed084 to
573a930
Compare
Done |
Test run workflowTest jobs for commit 573a930
All jobs summary
|
Test Results 61 files + 33 265 suites +237 4h 17m 49s ⏱️ + 3h 11m 18s For more details on these failures, see this check. Results for commit 727e0ee. ± Comparison against base commit f14dfca. This pull request removes 2 and adds 50 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Test run workflowTest jobs for commit 573a930
All jobs summary
|
|
|
||
| MACHINE_FEATURES += "efi pci" | ||
|
|
||
| QCOM_DTB_DEFAULT ?= "purwa-iot-evk" |
There was a problem hiding this comment.
Don't we have fit dtb support?
There was a problem hiding this comment.
Don't we have fit dtb support?
hi @ricardosalveti , in this version, I have not yet validated based on the fit dtb image. To prevent UEFI from failing to select the dtb, it has been disabled for now. Once the fit dtb image validation passes in the future, I will enable it soon.
There was a problem hiding this comment.
What prevents you from validating it now, before submitting the series?
There was a problem hiding this comment.
What prevents you from validating it now, before submitting the series?
Hi @lumag, current UEFI/CDT's version is not support boot from fit dtb, so I hadn't verified it at the time, I just checked and it's confirmed.
log fragment:
ParseFitDt: image_number 2
ProcessQcomMetaDtbOemNode: Board Param: OEM Id = 0
ProcessQcomMetaDtbSocNode:Board Param:
ChipVersion: 0x10000
ChipId: 0x2C7
ProcessQcomMetaDtbBoardNode: Board Param: BoardId = 0x2F
ProcessQcomMetaDtbBoardNode: Node evk BoardId = 0x2F
PackageId: 0x0
ProcessQcomMetaDtbSocSkuNode: Board Param:
FoundryId: 0x1
PackageId: 0x0
ProcessQcomMetaDtbBoardSubTypePeripheralSubTypeNode: Board Param:
BoardSubTypeId = 0x0
ProcessQcomMetaDtbBoardSubTypePeripheralSubTypeNode: Node subtype0 From fdt BoardSubTypeId = 0
Failed to get boot device type, Not Found
NVME device Serial Number = 253151DD1456
Get BlkIohandles failed
ProcessQcomMetaDtbBoardSubTypeStorageSubTypeNode: Board Param:
BootDeviceType = 0x0
ProcessQcomMetaDtbBoardSubTypeStorageSubTypeNode: Node ufs From fdt StorageTypeId = 0
ProcessQcomMetaDtbBoardMemorySizeNode:Board Param:
Ddr Size = 0
ProcessQcomMetaDtbBoardMemorySizeNode: Node 4GB+ From fdt DdrSizeId = 0
ProcessQcomMetaDtbSoftSkuNode: Board Param: Board SoftSkuId = 0
ProcessQcomMetaDtbSoftSkuNode: Node softsku0 SoftSkuId = 0
ParseFitDt: Configuration From BoardParam
qcom, evk, subtype0, ufs, 4GB+, softsku0,
FindConfigToBoot: SubNode 508 And Node Name conf-1 Len = 6
FindConfigToBoot: Invalid Configuration ConfigFdt "qcom,purwa-evk"
FindConfigToBoot: CompatibleMatchFlag = 0 CurrSubStringCnt = 1
ParseFitDt: Cannot find correct config to boot, Falling to default config
ParseFitDt:Loading default FIT Config
LoadDtbOnReadyToBoot OS DTB Matching failed with Status = 1
DtPlatformLoadDtbBlob Checking for secondary-dtb.dtb
DtPlatformLoadDtbBlob secondary-dtb.dtb load failed with status = E
DtPlatformLoadDtbBlob Checking for default-upstream-dtb.dtb
DtPlatformLoadDtbBlob default-upstream-dtb.dtb load failed with status = E
Reading of OsConfigTableSelection failed,checking DT settings
UEFI Total : 2483 ms
There was a problem hiding this comment.
So it's not "not validated". It fails. Please mention it in the commit message
There was a problem hiding this comment.
So it's not "not validated". It fails. Please mention it in the commit message
Done, before submitting these changes, the information I had was that the current UEFI does not support loading the FIT DTB image for the Purwa EVK, so I did not enable it or verify this feature. When bringing this up, I went enabled and validated it today to make sure the information was accurate.
Test run workflowTest jobs for commit 2b0c25e
All jobs summary
|
Create packagegroup listing firmware for the Purwa IoT EVK device, share firmware with Hamoa except GPU. Note on WLAN/BT firmwares: To support WCN685x and WCN7850 connectivity modules over the M.2 interface and therefore needs the corresponding firmware: WCN685x connectivity module requires: - linux-firmware-qca-qca61x4-usb (BT USB firmware) - linux-firmware-ath11k-wcn6855 (WiFi firmware) WCN7850 connectivity module requires: - linux-firmware-qca-qca61x4-usb (BT USB firmware) - linux-firmware-qca-wcn7850 (BT firmware) Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Add Purwa (IQ‑5121) IoT EVK firmware and Hexagon DSP packagegroups to initramfs-firmware-mega-image. Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Define a new package with purwa-soc specific kernel modules Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Add multi-DTB compatible for IQ-X5121 device (purwa-iot-evk). Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Add machine configuration file for IQ-X5121 platform, specify the paths of partition binaries for both NVMe and spinor, where partition bins will be consumed to create flat builds. Note: Since UEFI currently does not support loading FIT DTB images, combined DTB is used instead. We will remove `QCOM_DTB_DEFAULT` to enable this feature once UEFI adds support for FIT DTB images in Purwa IoT EVK. Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
This is the kas config file to support building iq-x5121-evk. Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Update github workflow to build iq-x5121-evk in CI jobs. Signed-off-by: Xinzheng Long <xinzheng.long@oss.qualcomm.com>
Test run workflowTest jobs for commit 727e0ee
All jobs summary
|
Test run workflowTest jobs for commit 727e0ee
All jobs summary
|
c0b5feb
into
qualcomm-linux:master
To enable Purwa IoT EVK board on meta-qcom, includes:
4. Consume boot firmware from external release.shared with Hamoa5. Upgrade qcom-ptool to consume partition conf.shared with HamoaDepends on:
1. qualcomm-linux/qcom-ptool#68Use the IQ-X7181 partition configuration directly2. Need HNHLOS META external pushed #1781
3. Base DT merged to qcom-next 6.18.y qualcomm-linux/kernel#383 #1883
Flat build directory structure as followed(Since Purwa EVK boot firmware is not pushed, this flat build cannot bootup now):