documentation: Update README on Kernel & DTBs installation

This commit is contained in:
dchvs 2021-03-04 03:01:05 -06:00
parent 83279bd608
commit b9c32fb40a
1 changed files with 3 additions and 8 deletions

View File

@ -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
```