cboot build with debug and FAT partition support

Hi,

a) I’m trying to build cboot for L4T 32.2 with highest logging possible enabled.

I’ve edited bootloader/partner/t18x/cboot/platform/t194/rules.mk where I have:

CONFIG_ENABLE_UART=1
CONFIG_ENABLE_DEBUG=1
CONFIG_DEBUG_LOGLEVEL=TEGRABL_LOG_DEBUG \


but don’t see any logs from on UART1 (PINS 8 and 10), and also I don’t see any logs from cboot on hdmi, only kernel logs. Also no tty device is created on host when the usbc port connected to a PC.

I’m building it with the cross compiler available with 32.2:

make -C ./bootloader/partner/t18x/cboot PROJECT=t194 TOOLCHAIN_PREFIX=/cboot/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- DEBUG=2 BUILDROOT="${PWD}"/out NV_TARGET_BOARD=t194ref NV_BUILD_SYSTEM_TYPE=l4t NOECHO=@ GLOBAL_CFLAGS="-Wno-error" CPPFLAGS= LDFLAGS=

Can you please advise how I could enable uart cboot logs?

b) Is it possible that you also add u-boot support for Xavier? U-boot supports reading and writing to FAT partitions, easy change of cmdline, console which helps a lot in our usecase.

Thank you