Jetson AGX L4T 32.5.1

Hey guys I am running into some problems. I want to flash my new Jetson AGX Xavier but with encryption. I am running the
sudo ROOTFS_ENC=1 ./flash.sh --i “./ekb.key” jetson-xavier mmcblk0p1
it started to flash the programm but I am running in to some errors which I can not fix due to missing files in the rootfs directories and subdirectories.
prepare_luks_initrd: Begin to copy binaries into initrd
30402 blocks
install: cannot stat ‘/home/theofila/Downloads/Tegra186_Linux_R32.5.1_aarch64/Linux_for_Tegra/rootfs/usr/sbin/nvluks-srv-app’: No such file or directory

After the first small error it still goes on to Tegra Flash and then the whole process is stopping
cp: cannot stat ‘/home/theofila/Downloads/Tegra186_Linux_R32.5.1_aarch64/Linux_for_Tegra/rootfs/lib/firmware/brcm/nvram.txt’: No such file or directory

failed command: cp -fv /home/theofila/Downloads/Tegra186_Linux_R32.5.1_aarch64/Linux_for_Tegra/rootfs/lib/firmware/brcm/nvram.txt /home/theofila/Downloads/Tegra186_Linux_R32.5.1_aarch64/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/firmware/brcm/nvram.txt

My questions are where can I find create or download this so called nvluks-app?
What can I do to get a complete L4T version to flash (The version I just downloaded a few hours ago from the official website)

I would be very happy for your help

Are you preparing the driver package by yourself? If so, it sounds you forget to run the apply_binaries.sh before doing this flash work.

You can refer to the quick start guide here.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/quick_start.html

hello theofilajaaspidizis,

had you download the JetPack image via NVIDIA SDK Manager | NVIDIA Developer?
because I can see these, ./rootfs/usr/sbin/nvluks-srv-app, and ./rootfs/lib/firmware/brcm/nvram.txt within my local JetPack-4.5.1 release image.

please also refer to developer guide, Disk Encryption to encrypt a whole disk or partition to protect the data it contains.
please also refer to similar discussion threads as see-also,
for example,
Black Screen after enable SecureBOOT and disk encryption - #3 by JerryChang
and
Readout protection - #18 by JerryChang

@JerryChang I could now flash the image to the Jetson Xavier but I was running into the same problem as you already linked Black Screen after enable SecureBOOT and disk encryption - #3 by JerryChang
But I still can not find a solution in practice.

hello theofilajaaspidizis,

may I know what’s the exactly failure you had met?
had you apply this cboot update in Topic 177180, which include the bug fix in decrypting buffer,
thanks

@JerryChang it’s exaclty this : https://aws1.discourse-cdn.com/nvidia/original/3X/9/0/9067940fcac319569f8e94e0c7c1c6e3d60848d4.jpeg error I have after booting the AGX Xavier.
I have downloaded the https://forums.developer.nvidia.com/uploads/short-url/5pSR2Ri3Y1tgNCmD9YTCmVSvYBl.patch file. That I could do but the Jetson Download Center | NVIDIA Developer does not show me any products that I can download. So I am now a little bit confused what to do with the encrypting buffer. ?

hello theofilajaaspidizis,

please access L4T | NVIDIA Developer for the CBoot sources.
thanks

@JerryChang I have followed the download instruction and the CBoot_Standalone_Readme.txt from cboot_src_t194 but I ran into this error now
theofila@theofila:~/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot$ make -C ./bootloader/partner/t18x/cboot PROJECT=t194 TOOLCHAIN_PREFIX="${CROSS_COMPILE}" DEBUG=2 BUILDROOT="${PWD}"/out NV_TARGET_BOARD=t194ref NV_BUILD_SYSTEM_TYPE=l4t NOECHO=@
make: Entering directory ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t18x/cboot’
LKROOT=. LKINC=". " make -rR -f ./engine.mk -I.
make[1]: Entering directory ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t18x/cboot’
PROJECT = t194
PLATFORM = t194
TARGET = t194
TEGRA_TOP = /home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot
TOOLCHAIN_PREFIX = aarch64-linux-gnu-
LIBGCC = /usr/lib/gcc-cross/aarch64-linux-gnu/7/libgcc.a
GLOBAL_COMPILEFLAGS = -g -fno-builtin -finline -W -Wall -Wno-multichar -Wno-unused-parameter -Wno-unused-function -include /home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/out/build-t194/build_config.h -ffunction-sections -fdata-sections
including app app/kernel_boot dev kernel lib/console lib/exit lib/lwip lib/menu platform platform/t194/…/…/…/…/common/arch/arm64 platform/t194/…/…/…/…/common/drivers/comb_uart platform/t194/…/…/…/…/common/drivers/display platform/t194/…/…/…/…/common/drivers/eeprom platform/t194/…/…/…/…/common/drivers/eqos platform/t194/…/…/…/…/common/drivers/gpcdma platform/t194/…/…/…/…/common/drivers/gpio platform/t194/…/…/…/…/common/drivers/i2c platform/t194/…/…/…/…/common/drivers/i2c_dev platform/t194/…/…/…/…/common/drivers/keyboard platform/t194/…/…/…/…/common/drivers/phy platform/t194/…/…/…/…/common/drivers/pmic platform/t194/…/…/…/…/common/drivers/pmic/max77620 platform/t194/…/…/…/…/common/drivers/pwm platform/t194/…/…/…/…/common/drivers/qspi platform/t194/…/…/…/…/common/drivers/qspi_flash platform/t194/…/…/…/…/common/drivers/regulator platform/t194/…/…/…/…/common/drivers/sata platform/t194/…/…/…/…/common/drivers/sdmmc platform/t194/…/…/…/…/common/drivers/ufs platform/t194/…/…/…/…/common/drivers/usb/storage platform/t194/…/…/…/…/common/drivers/usbh platform/t194/…/…/…/…/common/lib/a_b_boot platform/t194/…/…/…/…/common/lib/blockdev platform/t194/…/…/…/…/common/lib/cbo platform/t194/…/…/…/…/common/lib/eeprom_manager platform/t194/…/…/…/…/common/lib/exit platform/t194/…/…/…/…/common/lib/ipc platform/t194/…/…/…/…/common/lib/psci platform/t194/…/…/…/…/common/lib/tegrabl_error platform/t194/…/…/…/…/t18x/common/lib/mce platform/t194/…/…/…/…/t19x/common/drivers/fuse platform/t194/…/…/…/…/t19x/common/drivers/padctl platform/t194/…/…/…/…/t19x/common/drivers/soc/t194/clocks platform/t194/…/…/…/…/t19x/common/drivers/timer platform/t194/…/…/…/…/t19x/common/lib/device_prod platform/t194/…/…/…/…/t19x/common/lib/tegrabl_auth platform/t194/…/…/…/…/t19x/common/lib/tegrabl_brbct platform/t194/…/…/…/…/t19x/common/lib/tegrabl_brbit platform/t194/…/…/…/…/t19x/common/soc/t194/ccplex_cache platform/t194/…/…/…/…/t19x/common/soc/t194/ccplex_nvg platform/t194/…/…/…/…/t19x/common/soc/t194/misc platform/t194/…/…/…/…/t19x/common/soc/t194/qual_engine platform/t194/…/tegra_shared/net_boot platform/tegra_shared target
including app/kernel_boot/…/…/…/…/common/drivers/uart app/kernel_boot/…/…/…/…/common/drivers/wdt app/kernel_boot/…/…/…/…/common/lib/bootloader_update app/kernel_boot/…/…/…/…/common/lib/console app/kernel_boot/…/…/…/…/common/lib/debug app/kernel_boot/…/…/…/…/common/lib/fastboot app/kernel_boot/…/…/…/…/common/lib/frp app/kernel_boot/…/…/…/…/common/lib/gpt app/kernel_boot/…/…/…/…/common/lib/linuxboot app/kernel_boot/…/…/…/…/common/lib/malloc app/kernel_boot/…/…/…/…/common/lib/nvblob app/kernel_boot/…/…/…/…/common/lib/nvblob_bmp app/kernel_boot/…/…/…/…/common/lib/partition_manager app/kernel_boot/…/…/…/…/common/lib/utils app/kernel_boot/verified_boot/vblib_v1 lib/debug lib/libc platform/t194/…/…/…/…/common/drivers/display/…/…/lib/graphics platform/t194/…/…/…/…/common/drivers/i2c/…/dpaux
including …/…/common/lib/clib …/…/common/lib/external/asn1 …/…/common/lib/external/mbedtls …/…/common/lib/external/mincrypt …/common/soc/t186/pkc_ops app/kernel_boot/…/…/…/…/common/lib/fastboot/…/…/…/common/drivers/usbf/class/transport app/kernel_boot/…/…/…/…/common/lib/fastboot/…/…/…/common/drivers/usbf/xusbf app/kernel_boot/…/…/…/…/common/lib/fastboot/…/…/…/common/lib/sparse app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/…/…/t18x/common/lib/partitionloader app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/board_info app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/decompress app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/devicetree app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/external/libufdt app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/libfdt app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/odmdata app/kernel_boot/…/…/…/…/common/lib/linuxboot/…/plugin_manager
Traceback (most recent call last):
File “./build/get_branch_name.py”, line 18, in
xml_tree = parse(manifest_file)
File “/usr/lib/python2.7/xml/dom/minidom.py”, line 1918, in parse
return expatbuilder.parse(file)
File “/usr/lib/python2.7/xml/dom/expatbuilder.py”, line 922, in parse
fp = open(file, ‘rb’)
IOError: [Errno 2] No such file or directory: ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/.repo/manifest.xml’
generating out/build-t194/bootloader/partner/t18x/cboot/platform/t194/module_config.h
generating out/build-t194/build_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/arch/arm64/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/top/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/app/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/app/kernel_boot/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/dev/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/kernel/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/lib/console/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/lib/exit/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/lib/lwip/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/lib/menu/module_config.h
generating out/build-t194/bootloader/partner/t18x/cboot/platform/module_config.h
generating out/build-t194/bootloader/partner/common/arch/arm64/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/comb_uart/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/display/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/eeprom/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/eqos/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/gpcdma/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/gpio/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/i2c/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/i2c_dev/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/keyboard/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/phy/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/pmic/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/pmic/max77620/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/pwm/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/qspi/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/qspi_flash/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/regulator/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/sata/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/sdmmc/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/ufs/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/usb/storage/module_config.h
generating out/build-t194/bootloader/partner/common/drivers/usbh/module_config.h
generating out/build-t194/bootloader/partner/common/lib/a_b_boot/module_config.h
generating out/build-t194/bootloader/partner/common/lib/blockdev/module_config.h
generating out/build-t194/bootloader/partner/common/lib/cbo/module_config.h
generating out/build-t194/bootloader/partner/common/lib/eeprom_manager/module_config.h
generating out/build-t194/bootloader/partner/common/lib/exit/module_config.h
generating out/build-t194/bootloader/partner/common/lib/ipc/module_config.h
generating out/build-t194/bootloader/partner/common/lib/psci/module_config.h
generating out/build-t194/bootloader/partner/common/lib/tegrabl_error/module_config.h
generating out/build-t194/bootloader/partner/t18x/common/lib/mce/module_config.h
generating out/build-t194/bootloader/partner/t19x/common/drivers/fuse/module_config.h
generating out/build-t194/bootloader/partner/t19x/common/drivers/padctl/module_config.h
generating out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/module_config.h
compiling bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c: In function ‘tegrabl_module_to_bpmp_id’:
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:596:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (clk_or_rst == MOD_CLK) {
^
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:600:2: note: here
case TEGRABL_MODULE_UFSHC_CG_SYS:
^~~~
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:602:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (clk_or_rst == MOD_CLK) {
^
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:606:2: note: here
case TEGRABL_MODULE_EQOS:
^~~~
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:615:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (clk_or_rst == MOD_CLK) {
^
/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:619:2: note: here
case TEGRABL_MODULE_PEX_USB_UPHY:
^~~~
cc1: all warnings being treated as errors
make/compile.mk:43: recipe for target ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o’ failed
make[1]: *** [/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o] Error 1
make[1]: Leaving directory ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t18x/cboot’
makefile:13: recipe for target ‘_top’ failed
make: *** [_top] Error 2
make: Leaving directory ‘/home/theofila/Downloads/nvidia/sdkm_downloads/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/cboot/bootloader/partner/t18x/cboot’’

I am totally it seems to run good at the beginning but then it stops with an error.

hello theofilajaaspidizis,

this doesn’t looks like a correct path of your 64-bit ARM toolchain,
please refer to Jetson Linux Driver Package Toolchain for downloading and setting up toolchain for cross-compile.
thanks

@JerryChang I followed the instructions carefully and still I am running into errors.
As you will see below:

theofila@theofila:~/cboot$    make -C ./bootloader/partner/t18x/cboot PROJECT=t194 TOOLCHAIN_PREFIX="${CROSS_COMPILE}" DEBUG=2 BUILDROOT="${PWD}"/out NV_TARGET_BOARD=t194ref NV_BUILD_SYSTEM_TYPE=l4t NOECHO=@
make: Entering directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
LKROOT=. LKINC=". " make -rR -f ./engine.mk -I. 
make[1]: Entering directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
PROJECT = t194
PLATFORM = t194
TARGET = t194
TEGRA_TOP = /home/theofila/cboot
TOOLCHAIN_PREFIX = aarch64-linux-gnu-
LIBGCC = /usr/lib/gcc-cross/aarch64-linux-gnu/7/libgcc.a
GLOBAL_COMPILEFLAGS = -g -fno-builtin -finline -W -Wall -Wno-multichar -Wno-unused-parameter -Wno-unused-function -include /home/theofila/cboot/out/build-t194/build_config.h -ffunction-sections -fdata-sections 
including app app/kernel_boot dev kernel lib/console lib/exit lib/lwip lib/menu platform platform/t194/../../../../common/arch/arm64 platform/t194/../../../../common/drivers/comb_uart platform/t194/../../../../common/drivers/display platform/t194/../../../../common/drivers/eeprom platform/t194/../../../../common/drivers/eqos platform/t194/../../../../common/drivers/gpcdma platform/t194/../../../../common/drivers/gpio platform/t194/../../../../common/drivers/i2c platform/t194/../../../../common/drivers/i2c_dev platform/t194/../../../../common/drivers/keyboard platform/t194/../../../../common/drivers/phy platform/t194/../../../../common/drivers/pmic platform/t194/../../../../common/drivers/pmic/max77620 platform/t194/../../../../common/drivers/pwm platform/t194/../../../../common/drivers/qspi platform/t194/../../../../common/drivers/qspi_flash platform/t194/../../../../common/drivers/regulator platform/t194/../../../../common/drivers/sata platform/t194/../../../../common/drivers/sdmmc platform/t194/../../../../common/drivers/ufs platform/t194/../../../../common/drivers/usb/storage platform/t194/../../../../common/drivers/usbh platform/t194/../../../../common/lib/a_b_boot platform/t194/../../../../common/lib/blockdev platform/t194/../../../../common/lib/cbo platform/t194/../../../../common/lib/eeprom_manager platform/t194/../../../../common/lib/exit platform/t194/../../../../common/lib/ipc platform/t194/../../../../common/lib/psci platform/t194/../../../../common/lib/tegrabl_error platform/t194/../../../../t18x/common/lib/mce platform/t194/../../../../t19x/common/drivers/fuse platform/t194/../../../../t19x/common/drivers/padctl platform/t194/../../../../t19x/common/drivers/soc/t194/clocks platform/t194/../../../../t19x/common/drivers/timer platform/t194/../../../../t19x/common/lib/device_prod platform/t194/../../../../t19x/common/lib/tegrabl_auth platform/t194/../../../../t19x/common/lib/tegrabl_brbct platform/t194/../../../../t19x/common/lib/tegrabl_brbit platform/t194/../../../../t19x/common/soc/t194/ccplex_cache platform/t194/../../../../t19x/common/soc/t194/ccplex_nvg platform/t194/../../../../t19x/common/soc/t194/misc platform/t194/../../../../t19x/common/soc/t194/qual_engine platform/t194/../tegra_shared/net_boot platform/tegra_shared target
including app/kernel_boot/../../../../common/drivers/uart app/kernel_boot/../../../../common/drivers/wdt app/kernel_boot/../../../../common/lib/bootloader_update app/kernel_boot/../../../../common/lib/console app/kernel_boot/../../../../common/lib/debug app/kernel_boot/../../../../common/lib/fastboot app/kernel_boot/../../../../common/lib/frp app/kernel_boot/../../../../common/lib/gpt app/kernel_boot/../../../../common/lib/linuxboot app/kernel_boot/../../../../common/lib/malloc app/kernel_boot/../../../../common/lib/nvblob app/kernel_boot/../../../../common/lib/nvblob_bmp app/kernel_boot/../../../../common/lib/partition_manager app/kernel_boot/../../../../common/lib/utils app/kernel_boot/verified_boot/vblib_v1 lib/debug lib/libc platform/t194/../../../../common/drivers/display/../../lib/graphics platform/t194/../../../../common/drivers/i2c/../dpaux
including ../../common/lib/clib ../../common/lib/external/asn1 ../../common/lib/external/mbedtls ../../common/lib/external/mincrypt ../common/soc/t186/pkc_ops app/kernel_boot/../../../../common/lib/fastboot/../../../common/drivers/usbf/class/transport app/kernel_boot/../../../../common/lib/fastboot/../../../common/drivers/usbf/xusbf app/kernel_boot/../../../../common/lib/fastboot/../../../common/lib/sparse app/kernel_boot/../../../../common/lib/linuxboot/../../../t18x/common/lib/partitionloader app/kernel_boot/../../../../common/lib/linuxboot/../board_info app/kernel_boot/../../../../common/lib/linuxboot/../decompress app/kernel_boot/../../../../common/lib/linuxboot/../devicetree app/kernel_boot/../../../../common/lib/linuxboot/../external/libufdt app/kernel_boot/../../../../common/lib/linuxboot/../libfdt app/kernel_boot/../../../../common/lib/linuxboot/../odmdata app/kernel_boot/../../../../common/lib/linuxboot/../plugin_manager
Traceback (most recent call last):
  File "./build/get_branch_name.py", line 16, in <module>
    top_dir =  os.environ['TOP']
  File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)
KeyError: 'TOP'
generating out/build-t194/bootloader/partner/t18x/cboot/platform/t194/module_config.h
generating out/build-t194/build_config.h
compiling bootloader/partner/t18x/cboot/platform/t194/platform.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/platform/t194/platform_config.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/lib/config_storage/config_storage.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/platform/t194.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/arch/arm64/module_config.h
compiling bootloader/partner/t18x/cboot/arch/arm64/arch.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/exceptions_c.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/thread.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/cpuinfo.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/mmu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/stacktrace.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/dmamap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/nvtboot/cpu/soc/t194/tz_init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/asm.S
compiling bootloader/partner/t18x/cboot/arch/arm64/exceptions.S
compiling bootloader/partner/t18x/cboot/arch/arm64/start.S
compiling bootloader/partner/t18x/cboot/arch/arm64/header.S
compiling bootloader/partner/t18x/cboot/arch/arm64/cache-ops.S
linking out/build-t194/bootloader/partner/t18x/cboot/arch/arm64.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/top/module_config.h
compiling bootloader/partner/t18x/cboot/top/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/top/main.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/top.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/app/module_config.h
compiling bootloader/partner/t18x/cboot/app/app.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/app.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/app/kernel_boot/module_config.h
compiling bootloader/partner/t18x/cboot/app/kernel_boot/kernel_boot.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot_a_b.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot_menu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/app/kernel_boot.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/dev/module_config.h
compiling bootloader/partner/t18x/cboot/dev/dev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/driver.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/i2c_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/spi_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/uart_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/fb_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/netif_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/dev.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/kernel/module_config.h
compiling bootloader/partner/t18x/cboot/kernel/debug.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/event.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/mutex.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/thread.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/timer.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/semaphore.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/kernel.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/console/module_config.h
compiling bootloader/partner/t18x/cboot/lib/console/console.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/console.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/exit/module_config.h
compiling bootloader/partner/t18x/cboot/lib/exit/exit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/exit.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/lwip/module_config.h
compiling bootloader/partner/t18x/cboot/lib/lwip/core/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/def.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/dns.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/inet_chksum.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/mem.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/memp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/netif.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/pbuf.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/raw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/stats.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/sys.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp_in.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp_out.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/timeouts.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/udp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/autoip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/dhcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/etharp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/icmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/igmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4_frag.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4_addr.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/dhcp6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ethip6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/icmp6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/inet6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6_addr.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6_frag.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/mld6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/nd6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/api_lib.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/api_msg.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/err.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netbuf.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netdb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netifapi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/sockets.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/tcpip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ethernet.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/slipif.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/auth.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ccp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap-md5.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap_ms.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap-new.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/demand.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/eap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ecp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/eui64.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/fsm.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ipcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ipv6cp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/lcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/magic.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/mppe.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/multilink.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ppp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppapi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppcrypt.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppoe.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppol2tp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppos.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/upap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/utils.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/vj.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/arc4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/des.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/md4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/md5.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/sha1.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/lowpan6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/apps/tftp/tftp_client.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/lwip.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/menu/module_config.h
compiling bootloader/partner/t18x/cboot/lib/menu/menu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/menu.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/platform/module_config.h
compiling bootloader/partner/t18x/cboot/platform/debug.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/platform/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/platform.mod.o
generating out/build-t194/bootloader/partner/common/arch/arm64/module_config.h
compiling bootloader/partner/common/arch/arm64/smccc.S
linking out/build-t194/bootloader/partner/common/arch/arm64.mod.o
generating out/build-t194/bootloader/partner/common/drivers/comb_uart/module_config.h
compiling bootloader/partner/common/drivers/comb_uart/tegrabl_comb_uart.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/comb_uart/tegrabl_comb_uart_console.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/comb_uart/tegrabl_comb_uart_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/comb_uart.mod.o
generating out/build-t194/bootloader/partner/common/drivers/display/module_config.h
compiling bootloader/partner/common/drivers/display/tegrabl_display.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/tegrabl_display_unit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_win.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_cmu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_dump.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/hdmi/tegrabl_hdmi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/dp/tegrabl_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/dp/tegrabl_dp_lt.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/sor/tegrabl_sor.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/sor/tegrabl_sor_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_edid.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_modes.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_mode_selection.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_hdmi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_util.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_backlight.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/backlight/lp8556.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/panel/tegrabl_display_panel.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/display/tegrabl_display_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/display.mod.o
generating out/build-t194/bootloader/partner/common/drivers/eeprom/module_config.h
compiling bootloader/partner/common/drivers/eeprom/tegrabl_eeprom.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/eeprom.mod.o
generating out/build-t194/bootloader/partner/common/drivers/eqos/module_config.h
compiling bootloader/partner/common/drivers/eqos/tegrabl_eqos.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/eqos.mod.o
generating out/build-t194/bootloader/partner/common/drivers/gpcdma/module_config.h
compiling bootloader/partner/common/drivers/gpcdma/tegrabl_gpcdma.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/gpcdma/tegrabl_gpcdma_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/gpcdma.mod.o
generating out/build-t194/bootloader/partner/common/drivers/gpio/module_config.h
compiling bootloader/partner/common/drivers/gpio/tegrabl_gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/gpio/gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/gpio/tegrabl_gpio_ids.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/gpio/tca9539_gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/gpio.mod.o
generating out/build-t194/bootloader/partner/common/drivers/i2c/module_config.h
compiling bootloader/partner/common/drivers/i2c/tegrabl_i2c.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/i2c/tegrabl_i2c_bpmpfw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/i2c/tegrabl_i2c_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/i2c.mod.o
generating out/build-t194/bootloader/partner/common/drivers/i2c_dev/module_config.h
compiling bootloader/partner/common/drivers/i2c_dev/tegrabl_i2c_dev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/i2c_dev.mod.o
generating out/build-t194/bootloader/partner/common/drivers/keyboard/module_config.h
compiling bootloader/partner/common/drivers/keyboard/tegrabl_keyboard.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/keyboard/tegrabl_gpio_keyboard.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/keyboard.mod.o
generating out/build-t194/bootloader/partner/common/drivers/phy/module_config.h
compiling bootloader/partner/common/drivers/phy/tegrabl_phy_marvell.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/phy.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pmic/module_config.h
compiling bootloader/partner/common/drivers/pmic/tegrabl_pmic.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pmic.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pmic/max77620/module_config.h
compiling bootloader/partner/common/drivers/pmic/max77620/tegrabl_pmic_max77620.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pmic/max77620.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pwm/module_config.h
compiling bootloader/partner/common/drivers/pwm/tegrabl_pwm.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pwm.mod.o
generating out/build-t194/bootloader/partner/common/drivers/qspi/module_config.h
compiling bootloader/partner/common/drivers/qspi/tegrabl_qspi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/qspi/tegrabl_qspi_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/qspi.mod.o
generating out/build-t194/bootloader/partner/common/drivers/qspi_flash/module_config.h
compiling bootloader/partner/common/drivers/qspi_flash/tegrabl_qspi_flash.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/micron/tegrabl_qspi_flash_micron.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/spansion/tegrabl_qspi_flash_spansion.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/macronix/tegrabl_qspi_flash_macronix.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/qspi_flash.mod.o
generating out/build-t194/bootloader/partner/common/drivers/regulator/module_config.h
compiling bootloader/partner/common/drivers/regulator/tegrabl_regulator.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/regulator/tegrabl_fixed_regulator.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/regulator.mod.o
generating out/build-t194/bootloader/partner/common/drivers/sata/module_config.h
compiling bootloader/partner/common/drivers/sata/tegrabl_sata_ahci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sata/tegrabl_sata_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/sata.mod.o
generating out/build-t194/bootloader/partner/common/drivers/sdmmc/module_config.h
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_protocol.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_host.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_rpmb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_protocol_rpmb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_protocol.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_pdata.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_card.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/sdmmc.mod.o
generating out/build-t194/bootloader/partner/common/drivers/ufs/module_config.h
compiling bootloader/partner/common/drivers/ufs/tegrabl_ufs_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/ufs/tegrabl_uphy_mphy.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/ufs/tegrabl_ufs.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/ufs.mod.o
generating out/build-t194/bootloader/partner/common/drivers/usb/storage/module_config.h
compiling bootloader/partner/common/drivers/usb/storage/tegrabl_usbmsd_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/usb/storage.mod.o
generating out/build-t194/bootloader/partner/common/drivers/usbh/module_config.h
compiling bootloader/partner/common/drivers/usbh/usbh.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/xhci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/xhci_pad_ctrl.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/tegrabl_xusbh_fw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/tegrabl_xusbh_scsi_storage_test.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/usbh.mod.o
generating out/build-t194/bootloader/partner/common/lib/a_b_boot/module_config.h
compiling bootloader/partner/common/lib/a_b_boot/tegrabl_a_b_boot_control.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/a_b_boot/tegrabl_a_b_partition_naming.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/a_b_boot.mod.o
generating out/build-t194/bootloader/partner/common/lib/blockdev/module_config.h
compiling bootloader/partner/common/lib/blockdev/tegrabl_blockdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/blockdev.mod.o
generating out/build-t194/bootloader/partner/common/lib/cbo/module_config.h
compiling bootloader/partner/common/lib/cbo/tegrabl_cbo.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/cbo.mod.o
generating out/build-t194/bootloader/partner/common/lib/eeprom_manager/module_config.h
compiling bootloader/partner/common/lib/eeprom_manager/tegrabl_eeprom_manager.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/eeprom_manager.mod.o
generating out/build-t194/bootloader/partner/common/lib/exit/module_config.h
compiling bootloader/partner/common/lib/exit/tegrabl_exit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/exit.mod.o
generating out/build-t194/bootloader/partner/common/lib/ipc/module_config.h
compiling bootloader/partner/common/lib/ipc/tegrabl_bpmp_fw_interface.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/ipc/tegra-ivc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/ipc.mod.o
generating out/build-t194/bootloader/partner/common/lib/psci/module_config.h
compiling bootloader/partner/common/lib/psci/psci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/psci/smc.S
linking out/build-t194/bootloader/partner/common/lib/psci.mod.o
generating out/build-t194/bootloader/partner/common/lib/tegrabl_error/module_config.h
compiling bootloader/partner/common/lib/tegrabl_error/tegrabl_error.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/tegrabl_error.mod.o
generating out/build-t194/bootloader/partner/t18x/common/lib/mce/module_config.h
compiling bootloader/partner/t18x/common/lib/mce/cache.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/common/lib/mce.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/fuse/module_config.h
compiling bootloader/partner/t19x/common/drivers/fuse/tegrabl_fuse_read.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t19x/common/drivers/fuse.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/padctl/module_config.h
compiling bootloader/partner/t19x/common/drivers/padctl/tegrabl_padctl.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t19x/common/drivers/padctl.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/module_config.h
compiling bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c: In function ‘tegrabl_module_to_bpmp_id’:
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:596:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:600:2: note: here
  case TEGRABL_MODULE_UFSHC_CG_SYS:
  ^~~~
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:602:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:606:2: note: here
  case TEGRABL_MODULE_EQOS:
  ^~~~
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:615:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:619:2: note: here
  case TEGRABL_MODULE_PEX_USB_UPHY:
  ^~~~
cc1: all warnings being treated as errors
make/compile.mk:43: recipe for target '/home/theofila/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o' failed
make[1]: *** [/home/theofila/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o] Error 1
make[1]: Leaving directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
makefile:13: recipe for target '_top' failed
make: *** [_top] Error 2
make: Leaving directory '/home/theofila/cboot/bootloader/partner/t18x/cboot

txt.txt (42.4 KB)

Suggestion on formatting the log…

If you edit your post, and add a line all by itself just above and just below the log, then it will add scrollbars and preserve formatting. The line would be three back-quote “```” characters (same key as the tilde “~” character, but not shifted) and nothing else.

hello theofilajaaspidizis,

same as @linuxdev’s suggestions, please use the code block or attach your logs into the single text file.
you should also shows the environment settings for reference, thanks

Hey @JerryChang,
sorry for all the issues I really want to get this working so I really appreciate your help.
I use an standard Ubuntu 18.04 LTS out of the box. There is nothing tweaked or changed in Desktop environment or elsewhere in the OS.

theofila@theofila:~/cboot$    make -C ./bootloader/partner/t18x/cboot PROJECT=t194 TOOLCHAIN_PREFIX="${CROSS_COMPILE}" DEBUG=2 BUILDROOT="${PWD}"/out NV_TARGET_BOARD=t194ref NV_BUILD_SYSTEM_TYPE=l4t NOECHO=@
make: Entering directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
LKROOT=. LKINC=". " make -rR -f ./engine.mk -I. 
make[1]: Entering directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
PROJECT = t194
PLATFORM = t194
TARGET = t194
TEGRA_TOP = /home/theofila/cboot
TOOLCHAIN_PREFIX = aarch64-linux-gnu-
LIBGCC = /usr/lib/gcc-cross/aarch64-linux-gnu/7/libgcc.a
GLOBAL_COMPILEFLAGS = -g -fno-builtin -finline -W -Wall -Wno-multichar -Wno-unused-parameter -Wno-unused-function -include /home/theofila/cboot/out/build-t194/build_config.h -ffunction-sections -fdata-sections 
including app app/kernel_boot dev kernel lib/console lib/exit lib/lwip lib/menu platform platform/t194/../../../../common/arch/arm64 platform/t194/../../../../common/drivers/comb_uart platform/t194/../../../../common/drivers/display platform/t194/../../../../common/drivers/eeprom platform/t194/../../../../common/drivers/eqos platform/t194/../../../../common/drivers/gpcdma platform/t194/../../../../common/drivers/gpio platform/t194/../../../../common/drivers/i2c platform/t194/../../../../common/drivers/i2c_dev platform/t194/../../../../common/drivers/keyboard platform/t194/../../../../common/drivers/phy platform/t194/../../../../common/drivers/pmic platform/t194/../../../../common/drivers/pmic/max77620 platform/t194/../../../../common/drivers/pwm platform/t194/../../../../common/drivers/qspi platform/t194/../../../../common/drivers/qspi_flash platform/t194/../../../../common/drivers/regulator platform/t194/../../../../common/drivers/sata platform/t194/../../../../common/drivers/sdmmc platform/t194/../../../../common/drivers/ufs platform/t194/../../../../common/drivers/usb/storage platform/t194/../../../../common/drivers/usbh platform/t194/../../../../common/lib/a_b_boot platform/t194/../../../../common/lib/blockdev platform/t194/../../../../common/lib/cbo platform/t194/../../../../common/lib/eeprom_manager platform/t194/../../../../common/lib/exit platform/t194/../../../../common/lib/ipc platform/t194/../../../../common/lib/psci platform/t194/../../../../common/lib/tegrabl_error platform/t194/../../../../t18x/common/lib/mce platform/t194/../../../../t19x/common/drivers/fuse platform/t194/../../../../t19x/common/drivers/padctl platform/t194/../../../../t19x/common/drivers/soc/t194/clocks platform/t194/../../../../t19x/common/drivers/timer platform/t194/../../../../t19x/common/lib/device_prod platform/t194/../../../../t19x/common/lib/tegrabl_auth platform/t194/../../../../t19x/common/lib/tegrabl_brbct platform/t194/../../../../t19x/common/lib/tegrabl_brbit platform/t194/../../../../t19x/common/soc/t194/ccplex_cache platform/t194/../../../../t19x/common/soc/t194/ccplex_nvg platform/t194/../../../../t19x/common/soc/t194/misc platform/t194/../../../../t19x/common/soc/t194/qual_engine platform/t194/../tegra_shared/net_boot platform/tegra_shared target
including app/kernel_boot/../../../../common/drivers/uart app/kernel_boot/../../../../common/drivers/wdt app/kernel_boot/../../../../common/lib/bootloader_update app/kernel_boot/../../../../common/lib/console app/kernel_boot/../../../../common/lib/debug app/kernel_boot/../../../../common/lib/fastboot app/kernel_boot/../../../../common/lib/frp app/kernel_boot/../../../../common/lib/gpt app/kernel_boot/../../../../common/lib/linuxboot app/kernel_boot/../../../../common/lib/malloc app/kernel_boot/../../../../common/lib/nvblob app/kernel_boot/../../../../common/lib/nvblob_bmp app/kernel_boot/../../../../common/lib/partition_manager app/kernel_boot/../../../../common/lib/utils app/kernel_boot/verified_boot/vblib_v1 lib/debug lib/libc platform/t194/../../../../common/drivers/display/../../lib/graphics platform/t194/../../../../common/drivers/i2c/../dpaux
including ../../common/lib/clib ../../common/lib/external/asn1 ../../common/lib/external/mbedtls ../../common/lib/external/mincrypt ../common/soc/t186/pkc_ops app/kernel_boot/../../../../common/lib/fastboot/../../../common/drivers/usbf/class/transport app/kernel_boot/../../../../common/lib/fastboot/../../../common/drivers/usbf/xusbf app/kernel_boot/../../../../common/lib/fastboot/../../../common/lib/sparse app/kernel_boot/../../../../common/lib/linuxboot/../../../t18x/common/lib/partitionloader app/kernel_boot/../../../../common/lib/linuxboot/../board_info app/kernel_boot/../../../../common/lib/linuxboot/../decompress app/kernel_boot/../../../../common/lib/linuxboot/../devicetree app/kernel_boot/../../../../common/lib/linuxboot/../external/libufdt app/kernel_boot/../../../../common/lib/linuxboot/../libfdt app/kernel_boot/../../../../common/lib/linuxboot/../odmdata app/kernel_boot/../../../../common/lib/linuxboot/../plugin_manager
Traceback (most recent call last):
  File "./build/get_branch_name.py", line 16, in <module>
    top_dir =  os.environ['TOP']
  File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)
KeyError: 'TOP'
generating out/build-t194/bootloader/partner/t18x/cboot/platform/t194/module_config.h
generating out/build-t194/build_config.h
compiling bootloader/partner/t18x/cboot/platform/t194/platform.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/platform/t194/platform_config.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/lib/config_storage/config_storage.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/platform/t194.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/arch/arm64/module_config.h
compiling bootloader/partner/t18x/cboot/arch/arm64/arch.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/exceptions_c.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/thread.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/cpuinfo.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/mmu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/stacktrace.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/dmamap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/nvtboot/cpu/soc/t194/tz_init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/arch/arm64/asm.S
compiling bootloader/partner/t18x/cboot/arch/arm64/exceptions.S
compiling bootloader/partner/t18x/cboot/arch/arm64/start.S
compiling bootloader/partner/t18x/cboot/arch/arm64/header.S
compiling bootloader/partner/t18x/cboot/arch/arm64/cache-ops.S
linking out/build-t194/bootloader/partner/t18x/cboot/arch/arm64.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/top/module_config.h
compiling bootloader/partner/t18x/cboot/top/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/top/main.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/top.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/app/module_config.h
compiling bootloader/partner/t18x/cboot/app/app.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/app.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/app/kernel_boot/module_config.h
compiling bootloader/partner/t18x/cboot/app/kernel_boot/kernel_boot.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot_a_b.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/app/kernel_boot/fastboot_menu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/app/kernel_boot.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/dev/module_config.h
compiling bootloader/partner/t18x/cboot/dev/dev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/driver.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/i2c_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/spi_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/uart_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/fb_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/dev/class/netif_api.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/dev.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/kernel/module_config.h
compiling bootloader/partner/t18x/cboot/kernel/debug.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/event.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/mutex.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/thread.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/timer.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/kernel/semaphore.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/kernel.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/console/module_config.h
compiling bootloader/partner/t18x/cboot/lib/console/console.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/console.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/exit/module_config.h
compiling bootloader/partner/t18x/cboot/lib/exit/exit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/exit.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/lwip/module_config.h
compiling bootloader/partner/t18x/cboot/lib/lwip/core/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/def.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/dns.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/inet_chksum.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/mem.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/memp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/netif.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/pbuf.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/raw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/stats.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/sys.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp_in.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/tcp_out.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/timeouts.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/udp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/autoip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/dhcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/etharp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/icmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/igmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4_frag.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv4/ip4_addr.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/dhcp6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ethip6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/icmp6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/inet6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6_addr.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/ip6_frag.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/mld6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/core/ipv6/nd6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/api_lib.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/api_msg.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/err.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netbuf.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netdb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/netifapi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/sockets.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/api/tcpip.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ethernet.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/slipif.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/auth.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ccp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap-md5.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap_ms.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/chap-new.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/demand.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/eap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ecp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/eui64.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/fsm.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ipcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ipv6cp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/lcp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/magic.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/mppe.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/multilink.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/ppp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppapi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppcrypt.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppoe.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppol2tp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/pppos.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/upap.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/utils.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/vj.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/arc4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/des.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/md4.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/md5.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/ppp/polarssl/sha1.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/netif/lowpan6.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/lib/lwip/apps/tftp/tftp_client.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/lwip.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/lib/menu/module_config.h
compiling bootloader/partner/t18x/cboot/lib/menu/menu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/lib/menu.mod.o
generating out/build-t194/bootloader/partner/t18x/cboot/platform/module_config.h
compiling bootloader/partner/t18x/cboot/platform/debug.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t18x/cboot/platform/init.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/cboot/platform.mod.o
generating out/build-t194/bootloader/partner/common/arch/arm64/module_config.h
compiling bootloader/partner/common/arch/arm64/smccc.S
linking out/build-t194/bootloader/partner/common/arch/arm64.mod.o
generating out/build-t194/bootloader/partner/common/drivers/comb_uart/module_config.h
compiling bootloader/partner/common/drivers/comb_uart/tegrabl_comb_uart.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/comb_uart/tegrabl_comb_uart_console.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/comb_uart/tegrabl_comb_uart_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/comb_uart.mod.o
generating out/build-t194/bootloader/partner/common/drivers/display/module_config.h
compiling bootloader/partner/common/drivers/display/tegrabl_display.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/tegrabl_display_unit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_win.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_cmu.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/nvdisp/tegrabl_nvdisp_dump.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/hdmi/tegrabl_hdmi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/dp/tegrabl_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/dp/tegrabl_dp_lt.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/sor/tegrabl_sor.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/sor/tegrabl_sor_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_edid.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_modes.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/edid/tegrabl_mode_selection.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_hdmi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_dp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_util.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/platform_data/tegrabl_display_dtb_backlight.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/backlight/lp8556.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/display/panel/tegrabl_display_panel.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/display/tegrabl_display_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/display.mod.o
generating out/build-t194/bootloader/partner/common/drivers/eeprom/module_config.h
compiling bootloader/partner/common/drivers/eeprom/tegrabl_eeprom.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/eeprom.mod.o
generating out/build-t194/bootloader/partner/common/drivers/eqos/module_config.h
compiling bootloader/partner/common/drivers/eqos/tegrabl_eqos.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/eqos.mod.o
generating out/build-t194/bootloader/partner/common/drivers/gpcdma/module_config.h
compiling bootloader/partner/common/drivers/gpcdma/tegrabl_gpcdma.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/gpcdma/tegrabl_gpcdma_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/gpcdma.mod.o
generating out/build-t194/bootloader/partner/common/drivers/gpio/module_config.h
compiling bootloader/partner/common/drivers/gpio/tegrabl_gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/gpio/gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/gpio/tegrabl_gpio_ids.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/gpio/tca9539_gpio.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/gpio.mod.o
generating out/build-t194/bootloader/partner/common/drivers/i2c/module_config.h
compiling bootloader/partner/common/drivers/i2c/tegrabl_i2c.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/i2c/tegrabl_i2c_bpmpfw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/i2c/tegrabl_i2c_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/i2c.mod.o
generating out/build-t194/bootloader/partner/common/drivers/i2c_dev/module_config.h
compiling bootloader/partner/common/drivers/i2c_dev/tegrabl_i2c_dev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/i2c_dev.mod.o
generating out/build-t194/bootloader/partner/common/drivers/keyboard/module_config.h
compiling bootloader/partner/common/drivers/keyboard/tegrabl_keyboard.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/keyboard/tegrabl_gpio_keyboard.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/keyboard.mod.o
generating out/build-t194/bootloader/partner/common/drivers/phy/module_config.h
compiling bootloader/partner/common/drivers/phy/tegrabl_phy_marvell.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/phy.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pmic/module_config.h
compiling bootloader/partner/common/drivers/pmic/tegrabl_pmic.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pmic.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pmic/max77620/module_config.h
compiling bootloader/partner/common/drivers/pmic/max77620/tegrabl_pmic_max77620.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pmic/max77620.mod.o
generating out/build-t194/bootloader/partner/common/drivers/pwm/module_config.h
compiling bootloader/partner/common/drivers/pwm/tegrabl_pwm.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/pwm.mod.o
generating out/build-t194/bootloader/partner/common/drivers/qspi/module_config.h
compiling bootloader/partner/common/drivers/qspi/tegrabl_qspi.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/t19x/common/drivers/soc/t194/qspi/tegrabl_qspi_soc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/qspi.mod.o
generating out/build-t194/bootloader/partner/common/drivers/qspi_flash/module_config.h
compiling bootloader/partner/common/drivers/qspi_flash/tegrabl_qspi_flash.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/micron/tegrabl_qspi_flash_micron.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/spansion/tegrabl_qspi_flash_spansion.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/qspi_flash/macronix/tegrabl_qspi_flash_macronix.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/qspi_flash.mod.o
generating out/build-t194/bootloader/partner/common/drivers/regulator/module_config.h
compiling bootloader/partner/common/drivers/regulator/tegrabl_regulator.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/regulator/tegrabl_fixed_regulator.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/regulator.mod.o
generating out/build-t194/bootloader/partner/common/drivers/sata/module_config.h
compiling bootloader/partner/common/drivers/sata/tegrabl_sata_ahci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sata/tegrabl_sata_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/sata.mod.o
generating out/build-t194/bootloader/partner/common/drivers/sdmmc/module_config.h
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_protocol.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_host.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_rpmb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sdmmc_protocol_rpmb.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_protocol.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_pdata.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/sdmmc/tegrabl_sd_card.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/sdmmc.mod.o
generating out/build-t194/bootloader/partner/common/drivers/ufs/module_config.h
compiling bootloader/partner/common/drivers/ufs/tegrabl_ufs_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/ufs/tegrabl_uphy_mphy.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/ufs/tegrabl_ufs.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/ufs.mod.o
generating out/build-t194/bootloader/partner/common/drivers/usb/storage/module_config.h
compiling bootloader/partner/common/drivers/usb/storage/tegrabl_usbmsd_bdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/usb/storage.mod.o
generating out/build-t194/bootloader/partner/common/drivers/usbh/module_config.h
compiling bootloader/partner/common/drivers/usbh/usbh.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/xhci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/xhci_pad_ctrl.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/tegrabl_xusbh_fw.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/drivers/usbh/tegrabl_xusbh_scsi_storage_test.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/drivers/usbh.mod.o
generating out/build-t194/bootloader/partner/common/lib/a_b_boot/module_config.h
compiling bootloader/partner/common/lib/a_b_boot/tegrabl_a_b_boot_control.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/a_b_boot/tegrabl_a_b_partition_naming.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/a_b_boot.mod.o
generating out/build-t194/bootloader/partner/common/lib/blockdev/module_config.h
compiling bootloader/partner/common/lib/blockdev/tegrabl_blockdev.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/blockdev.mod.o
generating out/build-t194/bootloader/partner/common/lib/cbo/module_config.h
compiling bootloader/partner/common/lib/cbo/tegrabl_cbo.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/cbo.mod.o
generating out/build-t194/bootloader/partner/common/lib/eeprom_manager/module_config.h
compiling bootloader/partner/common/lib/eeprom_manager/tegrabl_eeprom_manager.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/eeprom_manager.mod.o
generating out/build-t194/bootloader/partner/common/lib/exit/module_config.h
compiling bootloader/partner/common/lib/exit/tegrabl_exit.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/exit.mod.o
generating out/build-t194/bootloader/partner/common/lib/ipc/module_config.h
compiling bootloader/partner/common/lib/ipc/tegrabl_bpmp_fw_interface.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/ipc/tegra-ivc.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/ipc.mod.o
generating out/build-t194/bootloader/partner/common/lib/psci/module_config.h
compiling bootloader/partner/common/lib/psci/psci.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
compiling bootloader/partner/common/lib/psci/smc.S
linking out/build-t194/bootloader/partner/common/lib/psci.mod.o
generating out/build-t194/bootloader/partner/common/lib/tegrabl_error/module_config.h
compiling bootloader/partner/common/lib/tegrabl_error/tegrabl_error.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/common/lib/tegrabl_error.mod.o
generating out/build-t194/bootloader/partner/t18x/common/lib/mce/module_config.h
compiling bootloader/partner/t18x/common/lib/mce/cache.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t18x/common/lib/mce.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/fuse/module_config.h
compiling bootloader/partner/t19x/common/drivers/fuse/tegrabl_fuse_read.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t19x/common/drivers/fuse.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/padctl/module_config.h
compiling bootloader/partner/t19x/common/drivers/padctl/tegrabl_padctl.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
linking out/build-t194/bootloader/partner/t19x/common/drivers/padctl.mod.o
generating out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/module_config.h
compiling bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c: In function ‘tegrabl_module_to_bpmp_id’:
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:596:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:600:2: note: here
  case TEGRABL_MODULE_UFSHC_CG_SYS:
  ^~~~
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:602:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:606:2: note: here
  case TEGRABL_MODULE_EQOS:
  ^~~~
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:615:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (clk_or_rst == MOD_CLK) {
      ^
/home/theofila/cboot/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.c:619:2: note: here
  case TEGRABL_MODULE_PEX_USB_UPHY:
  ^~~~
cc1: all warnings being treated as errors
make/compile.mk:43: recipe for target '/home/theofila/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o' failed
make[1]: *** [/home/theofila/cboot/out/build-t194/bootloader/partner/t19x/common/drivers/soc/t194/clocks/tegrabl_clk_bpmp.o] Error 1
make[1]: Leaving directory '/home/theofila/cboot/bootloader/partner/t18x/cboot'
makefile:13: recipe for target '_top' failed
make: *** [_top] Error 2
make: Leaving directory '/home/theofila/cboot/bootloader/partner/t18x/cboot

txt.txt (42.4 KB)

this still doesn’t look correct.
you must point this cross-compile to the ARM 64-bit toolchain, it used by L4T, and must be in your local path.

please,
you’ll need to configure below environment variables before building the sources.
please examine your settings, and please share below for reference.
for example,

echo $CROSS_COMPILE
echo $TEGRA_TOP
echo $TOP

In case it might help here is sort of a generic template to cross compile from a host PC (directory locations and such are a bit “contrived” as an example):

export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
export ARCH=arm64
export SRC=/home/somewhere/src/sources/kernel/kernel-4.4
export STAGE=/home/somewhere/build
export TEGRA_KERNEL_OUT=${STAGE}/stage
export TEGRA_MODULES_OUT=${STAGE}/modules
export TEGRA_FIRMWARE_OUT=${STAGE}/firmware

# STAGE: /home/somewhere/build
# If you want to make sure you are starting clean:
rm -Rf /home/somewhere/build/stage/*
rm -Rf /home/somewhere/build/stage/.[a-z]*
rm -Rf /home/somewhere/build/modules/*
rm -Rf /home/somewhere/build/firmware/*

cd ${SRC}

# Normally you shouldn't configure within the main source tree, mrproper makes this "pristine".
sudo make mrproper
make O=$TEGRA_KERNEL_OUT mrproper
make O=$TEGRA_KERNEL_OUT clean
# Can manually add a "`.config`" to "${TEGRA_KERNEL_OUT}", or otherwise config,
# e.g., "make $TEGRA_KERNEL_OUT nconfig".

# Verify your CONFIG_LOCALVERSION is what you expect, e.g., "=-tegra".
grep CONFIG_LOCALVERSION "${TEGRA_KERNEL_OUT}"/.config

# Or you could use a default config (this will erase any manual config you added):
make O=$TEGRA_KERNEL_OUT tegra_defconfig

# You could use options here like "-j 6" for 6 thread builds. Example is "-j 4".
# Even if only making modules you probably should make Image once for sanity check.
make -j4 O=$TEGRA_KERNEL_OUT Image
# Not everyone will build device tree, modules or firmware.
make -j4 O=$TEGRA_KERNEL_OUT dtbs
make -j4 O=$TEGRA_KERNEL_OUT modules
make O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=$TEGRA_MODULES_OUT
make O=$TEGRA_KERNEL_OUT firmware_install INSTALL_FW_PATH=$TEGRA_FIRMWARE_OUT

I noticed you used some other options as well, which is easily added to the above “recipe” for cross compile. Mostly the part I wanted to emphasize is that the “${CROSS_COMPILE}” names a prefix to cross tools (more extensive than just a directory), and not the directory itself.

If you run into a compile error, e.g., “tegrabl_clk_bpmp.c”, then you cannot know if this is actually an error unless the rest of the kernel is configured correctly (e.g., tegra_defconfig followed by a menuconfig or nconfig for modifications). If you had a proper config, and if you are using the recommended cross tool release, then the compile errors are a source code issue. If config was not correct, or if the cross tool version is not correct, then the errors you ran into might not really be an error.

By what exact method was your .config created? Did you ever edit the file without using an editor like “nconfig” (my favorite since it has symbol search) or “menuconfig”? Note that CONFIG_LOCALVERSION can be directly edited with an editor since it has no dependencies.