Skip to content

Commit

Permalink
Enabling dev_dbg() logs support for JP6
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-Prasad-V committed Jul 27, 2024
1 parent c4d1c08 commit 1aeea5c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,20 @@ if [[ "$JETPACK_VERSION" == "6.0" ]]; then
cd $SRCS
export KERNEL_HEADERS=$SRCS/kernel/kernel-jammy-src
ln -sf $TEGRA_KERNEL_OUT $SRCS/out
make ARCH=arm64 -C kernel
if [[ "$DEVDBG" == "1" ]]; then
cd $KERNEL_HEADERS
make ARCH=arm64 defconfig
scripts/config --enable DYNAMIC_DEBUG
scripts/config --enable DYNAMIC_DEBUG_CORE
make ARCH=arm64 savedefconfig
cp defconfig ./arch/arm64/configs/custom_defconfig
rm defconfig .config
make ARCH=arm64 mrproper
cd $SRCS
make ARCH=arm64 KERNEL_DEF_CONFIG=custom_defconfig -C kernel
else
make ARCH=arm64 -C kernel
fi
make ARCH=arm64 modules
make ARCH=arm64 dtbs
mkdir -p $TEGRA_KERNEL_OUT/rootfs/boot/dtb
Expand Down

0 comments on commit 1aeea5c

Please sign in to comment.