Hello,
In order to debug a issue in my board , i have made changes (added extra logs) in
/BSP/Linux_for_Tegra/cboot/NX_Cboot_Source/cboot_src_t19x/bootloader/partner/common/drivers$ vi sdmmc/tegrabl_sd_card.c
But changes made are reflected.
Steps we followed are :
Building the CBoot Binary
To build the CBoot binary:
-
Extract the CBoot-standalone source with the command:
mkdir cboot
tar -xjf cboot_src_t194.tbz2 -C cboot
cd cboot -
Export the cross compiler tools with the following enviroment variables:
export CROSS_COMPILE=aarch64-linux-gnu-
Where: <your_64-bit_ARM_toolchain_triple> can be: ‘aarch64-linux-gnu-’
-
Set the TEGRA_TOP and TOP environment variables:
export TEGRA_TOP=$PWD
export TOP=$PWD -
Build the T194 CBoot binary, lk.bin, with the command:
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=@
The binary is located at: ‘./out/build-t194/…’:
cboot/out/build-t194/lk.bin
- Rename the binary lk.bin to cboot_t194.bin to use with the Jetson Xavier (T194)
Linux for Tegra Board Support Package.
This CBoot binary replaces the one provided at: Linux_for_Tegra/bootloader/cboot_t194.bin.
Please help me with the solution and modification if required in anyof the above steps.