Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3883

Proper fix for do_extra_ipl_opt as documented in comment of arm-trusted-firmware_%.bbappend in AGL Reference Hardware

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      bsp/meta-agl-refhw/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend contains following comment

      # In arm-trusted-firmware-control.inc, a "extra_ipl_opt" task is appended to
      # create firmware for 4x2g or 2x2g variation. it is supposed to use
      # EXTRA_ATFW_OPT to customize the compiler opton.
      #
      #EXTRA_ATFW_OPT_append_agl-refhw-h3 = " ${EMMC_BOOT_OPTION} ${DDR_8G_OPTION}"
      #
      # Unfortunately in do_extra_ipl_opt() it use d.setVar() instead of d.appendVar()
      # to setup EXTRA_ATFW_OPT variable which makes it impossible to customize it properly
      # by others... Override it.
      

      I am trying to build AGL RH machine with newer Renesas BSP and it fails with

      drivers/auth/mbedtls/mbedtls_common.mk:13: *** Error: MBEDTLS_DIR not set.  Stop
      

      It is due to do_ipl_opt_compile updated in Renesas recipe but this update is not propagated to AGL RH BSP.

      If above mentioned drawback is fixed, and there is no need to reimplement do_ipl_opt_compile in AGL RH BSP, then there will be no this compilation error.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            opsyvvavrychuk Vasyl Vavrychuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: