Layerscape SDK: u-boot doesn't load QE firmware

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Layerscape SDK: u-boot doesn't load QE firmware

1,193 Views
ricardomonteiro
Contributor II

Hi.

For the QE in Layerscape processors to work it is needed to upload the QE firmware in every boot. I believe that u-boot should do it.
I was checking the u-boot code used by the Layerscape SDK GitHub - qoriq-open-source/u-boot  and I see some signs that there are some support (like existence of CONFIG_SYS_QE_FW_IN_XXX defines) but then I don't see the u-boot QE drivers being used (no Kconfig in u-boot/drivers/qe).
I know that QE drivers have code to upload the firmware to the QE but first the u-boot needs to load the QE firmware to memory so then it can be uploaded by the QE drivers. Is this mechanism already present on the u-boot code?

How is the QE microcode loaded to LS1043 or LS1021? Isn't this setup yet on the SDK?

Thank you in advance for your time.


Best regards,

   Ricardo

Labels (1)
Tags (2)
0 Kudos
Reply
3 Replies

1,010 Views
ufedor
NXP Employee
NXP Employee

Please refer to the LSDK Documentation at:

Submit Form 

The flash firmware offsets:

Submit Form 

Deployment:

Submit Form 

0 Kudos
Reply

1,010 Views
ricardomonteiro
Contributor II

Thank you ufedor for your answer.
Please note that my goal is to use the QE on a TQ module TQMLS1021A and since TQ BSP doesn't include QE support I'm planning to port the QE support from the NXP Layerscape SDK.

From your answer I'm assuming that the QE firmware are included on the board pre-built binary images. After loading that we will have the firmware on a specific address or SD location as shown on the SDK Flash Layout table.
From what I saw on the SDK source code, if CONFIG_U_QE is set the uQE firmware will then be loaded by the u-boot when the board_init() is called.

I have some questions:

  • I understand that the pre-built images can contain the uQE firmware. But how are these images built? Can you please point me to the build process and the files where it is configured that the microcode will be added and where?

Thank you in advance for your time.

Best regards,

   Ricardo

0 Kudos
Reply

1,010 Views
ufedor
NXP Employee
NXP Employee

It will be more convenient to handle the issue as a Technical Case:

https://community.freescale.com/thread/381898

0 Kudos
Reply