Skip to content

[QCS6490] Radxa Dragon Q6A: FW load is broken #110

@eshcheglov

Description

@eshcheglov

Hello.

I'm trying to build the video driver for my Radxa Dragon Q6A board (based on Qualcomm QCS6490). I've tested both Qualcomm Yocto Linux (qcom-multimedia-proprietary-image) and the official Radxa image, but I get the same result: a FW load error due to a boundaries mismatch.

[  159.329382] msm_vidc: err : ffffffff: codec: __load_fw_to_memory: out of bound fw image fw size: 7340032, res_size: 5242880
[  159.329674] msm_vidc: err : ffffffff: codec: fw_load: firmware download failed -22
[  159.352189] msm_vidc: err : ffffffff: codec: venus_hfi_core_init(): failed
[  159.359365] msm_vidc: err : ffffffff: codec: msm_vidc_core_init: core init failed
[  159.367178] msm_vidc: err : ffffffff: codec: msm_vidc_core_deinit_locked(): force deinit core
[  159.376050] msm_vidc: err : ffffffff: codec: __resume: core not in valid state
[  159.383579] msm_vidc: err : ffffffff: codec: Failed to create instance, type = 2

Also, the FW size is oddly different, being neither 7340032 or 5242880 bytes. I am certain that I used the correct file because after removing it, the iris_vpu driver fails to load with the error: failed to request fw "./qcom/vpu/vpu20_p1_gen2.mbn", error -2.

Please, see the full log attached: iris_vpu_fw_error.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions