Failed to build cboot for AGX Xavier

Hi, all:

My environment:

  • Host OS: Ubuntu 20.04.2
  • Target OS: AGX Xavier
  • CROSS_COMPILE: aarch64-linux-gnu-10

Strictly following CBoot_Standalone_Readme_t194.txt, but failed with the following errors:

/../../common/drivers/sdmmc/tegrabl_sdmmc_defs.h:227: first defined here
make[1]: *** [make/module.mk:87: ....../cboot_src_t19x/out/build-t194/bootloader/partner/common/drivers/sdmmc.mod.o] Error 1
make[1]: Leaving directory '....../cboot_src_t19x/bootloader/partner/t18x/cboot'
make: *** [makefile:13: _top] Error 2
make: Leaving directory '....../cboot_src_t19x/bootloader/partner/t18x/cboot'

Can anybody give me a hand?

Cheers
Pei

Is your cross compile toolchain using the same version as what we suggest on download center?

1 Like

Oh… That might be the reason. I was using the default CROSS COMPILER aarch64-linux-gnu-10 grabbed from Ubuntu 20.04 repository…
Yeah, you are correct @WayneWWW . aarch64-linux-gnu- is working fine in this case.

Cheers

1 Like