diff --git a/README.md b/README.md index 7fbb91e..f743bc4 100644 --- a/README.md +++ b/README.md @@ -98,14 +98,10 @@ Once the Kernel it's compiled, the output binaries should get installed on the J ``` ``` -# Backup the default Kernel -cp -r ../../kernel/dtb/ ../../kernel/backup_dtb/ -cp ../../kernel/Image ../../kernel/backup_Image -sudo mv ../../rootfs/lib/modules/4.9.140-tegra/ ../../rootfs/lib/modules/backup_4.9.140-tegra/ - # Add the Kernel files for full image installation -cp build/arch/arm64/boot/dts/* ../../kernel/dtb/ -cp build/arch/arm64/boot/Image ../../kernel/ +# Install the Kernel Image and DTBs +make -C ../../spiri-project/source/Jetpack/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ kernel_install INSTALL_PATH=$PWD/../../kernel/ +# Install the Drivers modules sudo make -C ../../spiri-project/source/Jetpack/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ modules_install INSTALL_MOD_PATH=$PWD/../../rootfs/ ``` @@ -124,4 +120,3 @@ sudo ./flash.sh -r -k kernel-dtb -d kernel/dtb/tegra186-tx2-spiri-revF+.dtb jets sudo ./flash.sh -r -k kernel -K kernel/Image jetson-tx2 mmcblk0p1 ``` -