ATF31 bpmp ipc fix

I have tested ATF-BL31 bpmp ipc with tegra_bpmp_ipc_send_req_atomic() function in ./plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c
Currently the Atf31 does not receive any message from bpmp channel
but I think it can’t receive the bpmp response message.

/* retrieve the response frame */
if ((size_in <= IVC_DATA_SZ_BYTES) && (p_in != NULL)) {

    f_in = tegra_bpmp_get_cur_in_frame();
    if (f_in != NULL) {
        ERROR("Failed to get next input frame!\n");
    } else {
        (void)memcpy(p_in, p_fdata, (size_t)size_in);
        // I think it shound be changed to 
        //  --->    (void)memcpy(p_in, f_in->data, (size_t)size_in);
    }
}

Thanks.

Can you explain what are you trying to achieve?
And point to the ARM trusted FW source you are using?

Hello Bibek,
I need to get the state of power domain via bpmp at atf bl31.
I tested my code works.
I got the source code from L4T 32.5.1 (https://developer.nvidia.com/embedded/l4t/r32_release_v5.2/sources/t186/public_sources.tbz2)

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Can you elaborate a bit more on this with some example?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.