parent
9f0fa11098
commit
017f188d52
|
@ -5,7 +5,16 @@ Linux_for_Tegra/builds/build_<spiri>
|
|||
```
|
||||
From this directory you might call the targets ```tegra_defconfig, dtb, Image, modules``` to compile the Kernel. Please, add your projects under builds/.
|
||||
|
||||
The Make targets gets sourced from the source/ directory on the Jetpack workspace root, which is where the Kernel sources are installed.
|
||||
The Make targets gets sourced from the source/ directory on the Jetpack workspace root, which is where the Kernel sources are installed. The ```-C``` flag for the make allows to change the directory where the Kernel source is. The ```-O``` stands for the output of the build process files. CROSS_COMPILE=${CROSS_COMPILE}, passes the C cross compiler. The recomended for this CTI release is ```/opt/gcc-linaro-7.3.1/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-```.
|
||||
|
||||
```bash
|
||||
|
||||
mkdir build modules
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ tegra_defconfig
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ menuconfig
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ CROSS_COMPILE=${CROSS_COMPILE} -j8 --output-sync=target zImage dtbs modules
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ modules_install INSTALL_MOD_PATH=$PWD/modules
|
||||
```
|
||||
|
||||
Once the Kernel it's compiled, the output binaries should get installed on the Jetpack workspace, letting the flash scripts deploy them into the target device. The update for the flash scripts deploy ilustrate as follows:
|
||||
|
||||
|
|
Loading…
Reference in New Issue