4 Replies Latest reply on Aug 10, 2020 12:09 PM by brian.orr

    Buildroot support for Ultrazed EG board


      Hello.I'm working on AVNET UltraZed EG board. BSP was created with Vivado 2017.2I'm trying to set-up a buildroot enviroment (buildroot version is 2018.2) to compile an image for this board with the hope to set aside petalinux that is too "heavy" for our project.I've noticed that under the configs folder there is not a zynq_ultrazed_defconfig. For the Zynq family there are just  zynq_microzed_defconfig, zynq_zc706_defconfig, zynq_zed_defconfigzynq_zybo_defconfig.If a try to compile the enviroment with zynq_zed_defconfig when uboot try to load the kernel an error message appear saying "Unsupported Architecture". In this case the problem is that UltraZed expect AARCH64 arhitecture while zynq_zed_defconfig refer ARM architecture.To overcome this problem, starting from zynq_zed_defconfig, i've created a new file named zynq_ultrazed_defconfig (attached) changing from ARM to AARCH64. Whit this workaround there is an errors on UBOOT compilation "arch/arm/lib/asm-offsets.c:1:0: error: unknown value ‘armv5’ for -march"and i'm not able to go beyond.

      what i would like to know is:

      1.   Is there a zynq_ultrazed_defconfig for buildroot? Surfing internet i wasn't able to find it
      2.   If answer for point 1 is NO which isthe best way to create a correct zynq_ultrazed_defconfig and have a build success?