documentation: Update README on Kernel & DTBs installation
This commit is contained in:
parent
523b4559a3
commit
c628f09bf4
11
README.md
11
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
|
# Add the Kernel files for full image installation
|
||||||
cp build/arch/arm64/boot/dts/* ../../kernel/dtb/
|
# Install the Kernel Image and DTBs
|
||||||
cp build/arch/arm64/boot/Image ../../kernel/
|
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/
|
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
|
sudo ./flash.sh -r -k kernel -K kernel/Image jetson-tx2 mmcblk0p1
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue