|
|
Line 54: |
Line 54: |
|
| |
|
|
| |
|
| File called Start_L4T_Docs.html inside of Jetpack contains a good description of the packages that it contains. Let's call $DEVDIR the path where you installed your development directory or JetPack. | | File called Start_L4T_Docs.html inside of Jetpack contains a good description of the packages that it contains. Let's call $DEVDIR the path where your L4T development directory is. |
|
| |
|
| | * '''For TX1''' |
| <pre> | | <pre> |
| export DEVDIR=$HOME/JetPack-L4T-3.1 | | export DEVDIR=$HOME/JetPack-L4T-3.1/64_TX1/Linux_for_Tegra_64_tx1 |
| | |
| firefox $DEVDIR/Start_L4T_Docs.html &
| |
| </pre> | | </pre> |
|
| |
|
| 1) In order to download the source code you can run the script called source_sync.sh
| |
|
| |
|
| | * '''For TX2''' |
| <pre> | | <pre> |
| cd $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1
| | export DEVDIR=$HOME/JetPack-L4T-3.1/64_TX2/Linux_for_Tegra_tx2 |
| ./source_sync.sh
| |
| </pre> | | </pre> |
|
| |
|
| This will download the bootloader and kernel.
| | Then Open the documentation: |
| | |
| 2) It downloads all the kernel tree but you need to specify the tag, looking into the script it seems that the tags should be specified with k and u parameters
| |
| | |
| <pre> | | <pre> |
| Use: source_sync.sh [options]
| | firefox $DEVDIR/../../Start_L4T_Docs.html & |
| Available general options are,
| |
| -h : help
| |
| -e : exit on sync error
| |
| -d DIR : root of source is DIR
| |
| | |
| By default, all sources are downloaded.
| |
| Only specified sources are downloaded, if one or more of the following options are mentioned.
| |
| | |
| -k [TAG]: Download kernel source and optionally sync to TAG
| |
| -u [TAG]: Download u-boot source and optionally sync to TAG
| |
| </pre> | | </pre> |
|
| |
|
| Repositories
| | 1) In order to download the source code you can run the script called '''source_sync.sh''' |
|
| |
|
| <pre> | | <pre> |
| k:kernel:nv-tegra.nvidia.com/linux-3.10.git:
| | cd $DEVDIR/ |
| u:u-boot:nv-tegra.nvidia.com/3rdparty/u-boot.git:
| | ./source_sync.sh |
| </pre> | | </pre> |
|
| |
|
| you can see the repositories on the web looking for:
| | This will download the bootloader and kernel. |
| | |
| <pre>
| |
| http://nv-tegra.nvidia.com/gitweb/?o=age
| |
| | |
| http://nv-tegra.nvidia.com/gitweb/?p=linux-3.10.git;a=summary
| |
| http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/u-boot.git;a=summary
| |
| </pre>
| |
| | |
| 3) It will download the git repositories for kernel and uboot but you need to specify the branch or the tag
| |
| | |
| Branch:
| |
|
| |
|
| <pre>
| | When syncing, you'll be asked for a tag, lets use '''tegra-l4t-r28.1''' for both Kernel and uboot. |
| cd $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/sources/kernel_source
| |
| git branch -a
| |
| git checkout l4t/l4t-r24.2
| |
| | |
| cd $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/sources/u-boot_source
| |
| git branch -a
| |
| git checkout l4t/l4t-r24.2
| |
| </pre>
| |
| | |
| Or if you want to download a tag then the command should look like:
| |
| | |
| <pre>
| |
| ./source_sync.sh -k tegra-l4t-r24.2 -u tegra-l4t-r24.2
| |
| </pre>
| |
|
| |
|
| = Toolchain = | | = Toolchain = |