This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U-Q1: SYSFW, ATF and U-Boot Build Error

Part Number: DRA821U-Q1

Hi,

I have issues with SYSFW, ATF and U-Boot Build Error process. Only OPTEE that was successful. I've attached some of those error messages. Could you advise what I need to do?

I put the toolchain in "/opt/" folder and use that when execute bitbake command.

Please let me know if you need more informations.

Best regards,

Aditia Rifai

  • Hi Aditia,

    The build commands you are using are not meant to be run from the root of the SDK, they are typically the commands used when building from the directory of the corresponding component.

    The SDK provides a top-level Makefile with specific targets, and passes in all the necessary command-line arguments when building a particular command. You just need to invoke the respective build target, and you don't need to pass any additional arguments.

    Please see the LInux SDK  Simplified SDK Build using Top-Level Makefile section for details.

    You can look through the top-level Makefile and Rules.make files to see the exact details/translations of the build commands.  

    regards

    Suman

  • Hi Suman,

    Thank you for your assistance. I understand now. Originally, I was following the guideline from this section regarding booting sequence.

    4.1.3. Boot Sequence — Processor SDK Linux for J7200 Documentation

    There are several building processes with respective commands as well. I think that guideline is only to get understanding about the process, we don't need to follow the command since it is already covered on top-level Makefile. At the beginning I was confused, I already tried to invoke the command from the respective directory and there was no result, the top-level Makefile only that give some results. I was confused also when checking the rules.make where the arguments already defined there.

    I have used top-level makefile only right now, no issue for now. Again, thank you for the assistance.


    Best regards,

    Aditia Rifai