I am trying to modify the driver and need to compile the image,But I found that it cannot start after compiling the official original code。
version:R32 (release), REVISION: 4.4
The steps are as follows:
Download L4T Driver Package (BSP), L4T Driver Package (BSP) Sources, GCC 7.3.1 for 64 bit BSP and Kernel in https://developer.nvidia.com/embedded/linux-tegra
-
tar xvf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
-
export CROSS_COMPILE=/home/zhou/nvidia/jetson_src/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
-
export ARCH=arm64
-
tar xvf public_sources.tbz2
-
export TOP_DIR=/home/zhou/nvidia/jetson_src
-
export L4T_DIR=$TOP_DIR/Linux_for_Tegra
-
cd $L4T_DIR/source/public/
-
tar xvf kernel_src.tbz2
-
export TEGRA_KERNEL_OUT=$L4T_DIR/source/public/kernel/out_kernel
-
export NVIDIA_PATH=$L4T_DIR/source/public/kernel/nvidia
-
cd $L4T_DIR/source/public/kernel/kernel-4.9/
-
make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
-
make ARCH=arm64 O=$TEGRA_KERNEL_OUT Image -j12
The compiled Image file is in:
$TEGRA_KERNEL_OUT/arch/arm64/boot/Image
-
cd $TOP_DIR
-
tar xvf Tegra186_Linux_R32.4.4_aarch64.tbz2
-
cd $L4T_DIR
-
cp $TEGRA_KERNEL_OUT/arch/arm64/boot/Image ./kernel/Image -f
-
./l4t_sign_image.sh --file kernel/Image --chip 0x19
Xavier fails to start after replacing image and image.sig
Please indicate where there is an error that causes the image to fail to start after replacement