microchip-ung / arm-trusted-firmware

ARM Trusted Firmware (or TF-A) repository with platform support for selected Microchip SoC's
Other
0 stars 0 forks source link

build script requires a non-existant bsp #1

Open yehiaebrahim opened 6 months ago

yehiaebrahim commented 6 months ago

I am encountering issues while trying to run a build script in a Docker image. I'm using the following command to initiate the build process:

dr ./scripts/build.rb -p lan969x_a0

During this process, I encountered an error message indicating that I need to install the BSP (Board Support Package) mscc-brsdk-arm64-2023.02.4-969.tar.gz. However, this BSP appears to be non-existent at http://mscc-ent-open-source.s3-website-eu-west-1.amazonaws.com/?prefix=public_root/bsp.

I also attempted to build the arm-trusted-firmware (version v2.8.8-mchp0) and the plat (lan969x_a0) package using Buildroot. During this attempt, I encountered several error messages related to the mbedtls package. These errors occur regardless of whether I use mbedtls version 2.28.0 or 2.28.2.

lpovlsen commented 5 months ago

Hi!

The BSP in question is available with the release binaries. I have noted the wrong directions in the build script, I will try to address that with the next release.

https://github.com/microchip-ung/arm-trusted-firmware/releases/download/v2.8.8-mchp0/mscc-brsdk-arm64-2023.02.4-969.tar.gz

yehiaebrahim commented 5 months ago

Hi Lars,

Thanks for you reply, however even if you installed this bsp, it will throw the same error as shown in the image image

It will only work if you install the mscc-toolchain-bin-2023.02-101, someone from microchip also tested it and confirmed the error!

lpovlsen commented 5 months ago

Hi!

In you latest comment you are using a build without "-p xxx" args, which then defaults the 'arm' based platform "lan966x_b0".

If you have installed the arm64-based SDK you should be able to build platform "lan969x_a0".

Cheers,