Mistake on this page? Email us

Summary of BSP porting tasks

This section provides a summary of the tasks required to integrate a pre-existing BSP for the new target new-target into MBL.

  • Add the pre-existing meta-[soc-vendor] layer to bblayers.conf if required:
    • This layer should contain the ${machine}.conf file called new-target.conf for the new target.
  • Create the u-boot*.bbappend file:
    • Resolve licensing issues.
    • Upstream the U-Boot new-target port to git://git.linaro.org/landing-teams/working/mbl/u-boot.git.
    • Set SRCREV and SRC_URI for ported U-Boot.
    • Apply patches.
    • Fix DTB issues.
    • Upstream the u-boot*.bbappend recipe and associated files to https://github.com/ARMmbed/meta-mbl.
  • Create the linux*.bbappend file:
    • Resolve licensing issues.
    • Upstream the Linux kernel new-target port to git://git.linaro.org/landing-teams/working/mbl/linux.git.
    • Set SRCREV and SRC_URI for ported Linux kernel.
    • Define the default kernel configuration.
    • Merge the required config to build with all required options.
    • Set INITRAMFS_IMAGE = "mbl-image-initramfs".
  • Manage Linux firmware files:
    • Resolve licensing issues.
    • Upstream the Linux firmware binary files to git://git.linaro.org/landing-teams/working/mbl/linux-firmware.git.
    • Modify meta-mbl/openembedded-core-mbl/meta/recipes-kernel/linux-firmware/linux-firmware_%.bbappend.
    • Upstream the modified linux-firmware_%.bbappend recipe to https://github.com/ARMmbed/meta-mbl.
  • Create the optee-os.bbappend recipe for building OP-TEE for the new target:
    • Resolve licensing issues.
    • Upstream the OP-TEE new-target port to git://git.linaro.org/landing-teams/working/mbl/optee_os.git.
    • Upstream the optee-os.bbappend recipe and associated files to https://github.com/ARMmbed/meta-mbl.
  • Create the atf-new-target-mbl.bb recipe for building ATF for the new target:
    • Resolve licensing issues.
    • Upstream the ATF new-target port to git://git.linaro.org/landing-teams/working/mbl/arm-trusted-firmware.git or to https://github.com/ARM-software/arm-trusted-firmware.
    • Upstream the modified atf-new-target-mbl.bb recipe to https://github.com/ARMmbed/meta-mbl.
  • Create the ${MACHINE}.conf file called new-target-mbl.conf:
    • Resolve licensing issues.
    • Define PREFERRED_PROVIDER_virtual/atf = "atf-${MACHINE}.
    • Define KERNEL_CLASSES = "mbl-fitimage".
    • Define KERNEL_IMAGETYPE = "fitImage".
    • Define KERNEL_DEVICETREE = "XXX".
    • Define UBOOT_ENTRYPOINT = "0xabcdefab".
    • Define UBOOT_DTB_LOADADDRESS = "0xabcdefab".
    • Define UBOOT_SIGN_ENABLE = "1".
    • Define MBL_WKS_BOOTLOADERxxx variables.
    • Upstream the new-target-mbl.conf machine configuration file to https://github.com/ARMmbed/meta-mbl.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.