Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build TF-A for Rcar V3H condor board #15

Open
crocodiletongue opened this issue Sep 24, 2020 · 2 comments
Open

How to build TF-A for Rcar V3H condor board #15

crocodiletongue opened this issue Sep 24, 2020 · 2 comments

Comments

@crocodiletongue
Copy link

I am trying to build ATF for Rcar V3H condor board referring to below.

https://trustedfirmware-a.readthedocs.io/en/latest/plat/rcar-gen3.html#tf-a-build-procedure

But it describes only Rcar H3 build options does not describe V3H condor's one. Could you tell me V3H options I have to set.

25.3. How to build
The TF-A build options depend on the target board so you will have to refer to those specific instructions. What follows is customized to the H3 SiP Salvator-X development system used in this port.

25.3.1. Build Tested:
RCAR_OPT=”LSI=H3 RCAR_DRAM_SPLIT=1 RCAR_LOSSY_ENABLE=1” MBEDTLS_DIR=$mbedtls_src

$ MBEDTLS_DIR=$mbedtls_src_tree make clean bl2 bl31 rcar_layout_tool PLAT=rcar ${RCAR_OPT} SPD=opteed

@lvxian-git
Copy link

I execute "MBEDTLS_DIR=$mbedtls_src_tree make clean bl2 bl31 rcar_layout_tool PLAT=rcar ${RCAR_OPT} SPD=opteed", but get the errors below:
plat/renesas/rcar/bl2_plat_setup.c:48:38: error: initializer element is not constant
static const uint64_t BL2_RO_BASE = BL_CODE_BASE;
^~~~~~~~~~~~
plat/renesas/rcar/bl2_plat_setup.c:49:39: error: initializer element is not constant
static const uint64_t BL2_RO_LIMIT = BL_CODE_END;
^~~~~~~~~~~
plat/renesas/rcar/bl2_plat_setup.c:52:47: error: initializer element is not constant
static const uint64_t BL2_COHERENT_RAM_BASE = BL_COHERENT_RAM_BASE;
^~~~~~~~~~~~~~~~~~~~
plat/renesas/rcar/bl2_plat_setup.c:53:48: error: initializer element is not constant
static const uint64_t BL2_COHERENT_RAM_LIMIT = BL_COHERENT_RAM_END;
^~~~~~~~~~~~~~~~~~~
Can you help ? Thanks.

@jeffnkim
Copy link

jeffnkim commented Sep 20, 2023

I also have the same issue. Could you share the solution if it was solved already?
I want to generate .srec files. What compile option does it need? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants