Compare commits
2 Commits
master
...
4.2.2/tx2-
Author | SHA1 | Date | |
---|---|---|---|
6567c0fa5a | |||
490db30299 |
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -10,10 +10,6 @@
|
|||||||
path = li-mt9m021
|
path = li-mt9m021
|
||||||
url = https://git.spirirobotics.com/dchvs/li-mt9m021.git
|
url = https://git.spirirobotics.com/dchvs/li-mt9m021.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "mu_kernel_sources"]
|
|
||||||
path = mu_kernel_sources
|
|
||||||
url = https://git.spirirobotics.com/Spiri/mu_kernel_sources.git
|
|
||||||
branch = jetpack-4.2.2-dev
|
|
||||||
[submodule "eg25-g"]
|
[submodule "eg25-g"]
|
||||||
path = eg25-g
|
path = eg25-g
|
||||||
url = https://git.spirirobotics.com/dchvs/eg25-g.git
|
url = https://git.spirirobotics.com/dchvs/eg25-g.git
|
||||||
|
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
# Spiri project installation - WIP
|
||||||
|
|
||||||
|
```bash
|
||||||
|
LINUX_FOR_TEGRA=<Linux_for_Tegra/ path>
|
||||||
|
cd $LINUX_FOR_TEGRA
|
||||||
|
|
||||||
|
git clone --recurse-submodules https://git.spirirobotics.com/dchvs/spiri-project.git
|
||||||
|
cd spiri-project
|
||||||
|
git checkout develop
|
||||||
|
git submodule update --remote --recursive
|
||||||
|
|
||||||
|
# Install the CTI BSP
|
||||||
|
cd CTI-L4T/
|
||||||
|
sudo ./install.sh
|
||||||
|
|
||||||
|
# Install the sources
|
||||||
|
cd $LINUX_FOR_TEGRA
|
||||||
|
mkdir source/ && cd source/
|
||||||
|
rsync -rL ../spiri-project/Jetpack/ .
|
||||||
|
rsync -rL ../spiri-project/mu_kernel_sources/ .
|
||||||
|
rsync -rL ../spiri-project/li-mt9m021/ .
|
||||||
|
rsync -rL ../spiri-project/eg25-g/ kernel/kernel-4.9/drivers/
|
||||||
|
|
||||||
|
# Compiling the sources
|
||||||
|
cd $LINUX_FOR_TEGRA
|
||||||
|
mkdir -p builds/build_<this build name> && builds/build_<this build name>
|
||||||
|
|
||||||
|
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/ LOCALVERSION=-tegra 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
|
||||||
|
```
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 7fa28fcfc45b5eaf96a60e9baf193bc47637ede6
|
|
Loading…
Reference in New Issue
Block a user