Compare commits

..

2 Commits

Author SHA1 Message Date
dchvs 554c6d4c02 Update install script to be used on second level directory from Linux_for_Tegra/*/install.sh 2021-01-21 13:02:31 -06:00
dchvs 1f0f122de2 Add CTI sources
L4T r32.2.1 – JetPack 4.2.2
2021-01-20 10:14:53 -06:00
3 changed files with 120 additions and 225 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
COMPAT_MAJOR=("32")
COMPAT_MINOR=("4.4")
COMPAT_MINOR=("2.1")
COMPAT_JETSON=("TX2" "TX2i" "TX2-4G")
CTI_L4T_VER="V003"
CTI_L4T_VER="V004"
#utility functions
@ -39,32 +39,9 @@ chkfolder(){
}
update_debsrc_list(){
if [ -f $PWD/../../rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list ]; then
echo "Suppressing nvidia-l4t-apt-source"
if ! type sed > /dev/null; then
mv $PWD/../../rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list $PWD/../../rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list.old
else
sed -i 's/^/#/' $PWD/../../rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list
fi
fi
}
install_extra(){
cp ./extra/*.deb $PWD/../../nv_tegra/l4t_deb_packages/
#cp ./extra/*.asc $PWD/../../rootfs/etc/apt/trusted.gpg.d/
cp ./extra/*.list $PWD/../../rootfs/etc/apt/sources.list.d/
}
install_key(){
cp -f ./key/* $PWD/../../rootfs/etc/apt/trusted.gpg.d/
}
install_conf(){
cp -rf ./conf/* $PWD/../../
cp -r ./conf/* $PWD/../..
}
install_dtb(){
@ -73,34 +50,23 @@ install_dtb(){
}
install_kernel(){
# remove old debs
rm $PWD/../../kernel/*.deb
# copy kernel debs
cp ./kernel/*.deb $PWD/../../kernel
cp ./kernel/*Image $PWD/../../kernel
cp ./kernel/*Image $PWD/../../kernel/
cp ./kernel/kernel_supplements.tbz2 $PWD/../../kernel/
}
install_bl(){
if [ "$(ls -A ./bl)" ]; then
cp -r ./bl/* $PWD/../../bootloader/
fi
cp -r ./bl/* $PWD/../../bootloader/
}
install_rootfs(){
if [ "$(ls -A ./rootfs)" ]; then
cp -r ./rootfs/* $PWD/../../rootfs/
fi
cp -r ./rootfs/* $PWD/../../rootfs/
}
install_ver_file(){
mkdir -p $PWD/../../rootfs/etc/cti
echo $CTI_L4T_VER > $PWD/../../rootfs/etc/cti/CTI-L4T.version
echo $CTI_L4T_VER > $PWD/../../rootfs/etc/cti/CTI-L4T.version
}
@ -126,8 +92,8 @@ print_versions(){
usage(){
echo -e " Usage: ./install.sh "
echo -e " Before installing this BSP, please read the included readme.txt"
echo -e " To switch between different products, the TX2/TX2i/TX2-4G will need to be re-flashed"
echo -e " Ensure to extract clean rootfs\n"
echo -e " To switch between different products, the TX2/TX2i/TX2-4G will need"
echo -e " to be re-flashed"
echo -e " Below are the compatible L4T versions and board profiles:\n"
print_versions
@ -144,27 +110,26 @@ chkfolder
tar -pxzf resources.tgz
#install CTI-flash
mv cti-flash.sh $PWD/../../
mv cti-flash.sh $PWD/../..
chmod +x $PWD/../../cti-flash.sh
install_conf
install_bl
install_dtb
install_bl
install_kernel
install_ver_file
install_extra
pushd $PWD/../..
pushd $PWD/../../
./apply_binaries.sh
./apply_binaries.sh
popd
install_rootfs
# ensure the files finish copying
sync

View File

@ -1,7 +1,7 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Board Support Package ReadMe for Connect Tech Nvidia Jetson TX2 Carriers
+ BSP Version: tx2-32.4.4-V003
+ Date: 2021/01/19
+ BSP Version: 32.2.1-V004
+ Date: 2019/11/25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
================================================================================
@ -37,8 +37,8 @@
Requirements
================================================================================
-x86 based host machine running Ubuntu 18.04
-Jetpack 4.4.1 installed via Nvidia SDK Manager (from Nvidia Embedded Download Center)
-x86 based host machine running Ubuntu 16.04 or Ubuntu 18.04
-Jetpack 4.2.2 installed via Nvidia SDK Manager (from Nvidia Embedded Download Center)
-TX2, TX2i or TX2-4G module
-Connect Tech TX2 Family Carrier
-USB Cable for flashing
@ -50,14 +50,14 @@
Installation
================================================================================
1. Before Installing the BSP you will need to install Jetpack 4.4.1 on the x86
1. Before Installing the BSP you will need to install Jetpack 4.2.2 on the x86
host system using the Nvidia SDK Manager
2. Copy the CTI-L4T-TX2-32.4.4-V###.tgz package into ~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX2/Linux_for_Tegra/
2. Copy the CTI-L4T-TX2-32.2.1-V###.tgz package into ~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/
3. Extract the BSP:
tar -xzf CTI-L4T-TX2-32.4.4-V###.tgz
tar -xzf CTI-L4T-TX2-32.2.1-V###.tgz
(replacing ### with your file name)
@ -97,74 +97,26 @@
./flash.sh cti/tx2-4G/astro-mpcie mmcblk0p1
./flash.sh cti/tx2-4G/spacely-imx274-3cam mmcblk0p1
================================================================================
Installing JetPack from SDK Manager
================================================================================
1. Please follow installation steps from kdb374 for Jetpack 4.2+
http://connecttech.com/resource-center/kdb374/
================================================================================
Installing JetPack from Nvidia's Source packages (Alternate approach)
================================================================================
1. Go to https://developer.nvidia.com/embedded/linux-tegra-archive and click on
the green button labeled "32.4.4 >".
2. Download the "L4T Driver Package (BSP)" and "Sample Root Filesystem" files for TX2.
Afterwards, you should have the files "Tegra186_Linux_R32.4.4_aarch64.tbz2" and
"Tegra_Linux_Sample-Root-Filesystem_R32.4.4_aarch64.tbz2".
3. Create a directory named ~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX2/
and copy the "Tegra186_Linux_R32.4.4_aarch64.tbz2" file you downloaded into
that directory.
4. Unzip the tarball:
"sudo tar jxf Tegra186_Linux_R32.4.4_aarch64.tbz2"
5. You should now have a new directory called Linux_for_Tegra in your
"JetPack_4.4.1_Linux_JETSON_TX2" folder. Change directories into that
and then copy the "Tegra_Linux_Sample-Root-Filesystem_R32.4.4_aarch64.tbz2"
file you downloaded into the rootfs folder inside.
6. Change into the rootfs folder and unzip the tarball:
"sudo tar jxf Tegra_Linux_Sample-Root-Filesystem_R32.4.4_aarch64.tbz2"
7. If you wish to flash one of NVIDIAs devkits, or move on to installing CTIs BSP,
change the directories back to ~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX2/Linux_for_Tegra/
and run: "sudo ./appy_binaries.sh"
================================================================================
Flashing TX2/TX2i/TX2-4G
================================================================================
1. Connect the TX2/TX2i/TX2-4G and Carrier (or Dev-Kit) to the computer via USB
following the instructions in the appropriate manual.
Following the instructions in the appropriate manual.
2. Put the system to be flashed into recovery mode, following the
instructions in the appropriate manual
4. Run ./flash.sh cti/<module>/<board> mmcblk0p1 from Linux_for_Tegra directory
5. Once the flashing has completed, the TX2/TX2i/TX2-4G will reboot
6. To switch between different boards, you can repeat these steps. Alternatively
follow the instructions below for runtime switching profiles on the
6. To switch between different boards, you will need ot repeat these steps
There is currently no run time support for switching profiles on the
TX2/TX2i/TX2-4G
Consult KDB344 at for TX2/TX2i hardware compatiblity with your carrier.
http://connecttech.com/resource-center-category/all-kdb-entries/
================================================================================
Switching Profiles on TX2/TX2i/TX2-4G
================================================================================
1. Open a terminal on the TX2/TX2i/TX2-4G
2. Run "sudo cti-tx2-dd.sh"
3. Select the profile you wish to switch to from the menu
4. Restart the system
================================================================================
Product Specific Details
================================================================================
@ -194,7 +146,7 @@ Switching Profiles on TX2/TX2i/TX2-4G
ASG001 (Astro)
--------------------------------------------------------------------------------
-PWM Fan Support
-PWM Fan Support
-USB Support
-mPCIe Support
@ -203,17 +155,16 @@ Switching Profiles on TX2/TX2i/TX2-4G
ASG002 (Elroy)
--------------------------------------------------------------------------------
-PWM Fan Support
-PWM Fan Support
-USB Support
-mPCIe Support
-SPI Support
NOTE: Currently NO CSI camera support
--------------------------------------------------------------------------------
ASG003 (Orbitty)
--------------------------------------------------------------------------------
-PWM Fan Support
-PWM Fan Support
-USB Support
--------------------------------------------------------------------------------
ESG501 (Rosie)
@ -225,7 +176,7 @@ Switching Profiles on TX2/TX2i/TX2-4G
ESG503 (Rudi)
--------------------------------------------------------------------------------
-USB Support
-USB Support
-GPIO Support
-mPCIe Support
-CAN Support
@ -261,134 +212,113 @@ Switching Profiles on TX2/TX2i/TX2-4G
--------------------------------------------------------------------------------
-USB Support
-PCIe Support
-IMX274 2-cam support
NOTE: Currently NO CSI camera support
--------------------------------------------------------------------------------
ASG016 (Quasar)
--------------------------------------------------------------------------------
-PWM Fan Support
-PWM Fan Support
-USB Support
-IMX274 Support
-IMX274 Support
-IMX185 Support
================================================================================
Changes
================================================================================
Version TX2-32.4.4-V003, January 19, 2021
- Updated cti_tegra_defconfig
- Resolves issues to allow ZFS to function properly.
Version TX2-32.4.4-V002, December 09, 2020
- Resolved "disagrees about module_layout" issue for loading external kernel modules.
Version TX2-32.4.4-V001, November 16, 2020
-Initial Release for Jetpack 4.4.1/L4T 32.4.4
Version TX2-32.4.3-V002, September 25, 2020
- Supports apt-get upgrade
- Upgrade support from cti debian server from this version onwards
- Installs a script to enable DTB switching using dd command
- Script: cti-tx2-dd.sh
- Install path: /usr/bin
Version TX2-32.4.3-V001, August 05, 2020
-Initial Release for Jetpack 4.4/L4T 32.4.3
Version TX2-32.4.2-V003, July 06, 2020
-Added missing ASG008 camera support for TX2
Version TX2-32.4.2-V002, June 26, 2020
-Added missing VPG003 support
-Added SPI to Elroy
Version TX2-32.4.2-V001, June 05, 2020
-Initial Release for Jetpack 4.4/L4T 32.4.2
Version TX2-32.3.1-V001, January 27, 2020
-Initial Release for Jetpack 4.3/L4T 32.3.1
Version TX2-32.2.1-V004, November 25, 2019
-Adding TX2-4G support back in
Version TX2-32.2.1-V003, November 20, 2019
-Adding TX2i support back in
Version 100, May 19, 2017
-Initial Release for the TX2
Version 101, June 01, 2017
-Fixed issue with some loadable modules eg. uvcvideo
-Added Elroy CSI camera support
Version 102, June 26, 2017
-Added second UART support to all carriers
Version 103, June 27, 2017
-Changed Rootfs size to 28GB from 14GB
Version 104, August 16, 2017
-Added support for L4T 28.1
-Added support for Spacely and Cogswell
Version 105, August 21, 2017
-Added Astro and Elroy CSI camera Support
Version 106, September 25, 2017
-Added Astro RevG+ and Elroy RevF+ profiles
Version 107, October 20, 2017
-Fixed an issue with the Spacely Devicetree not booting on Rev B00 TX2 modules
-Added VPG003 support
Version 108, November 02, 2017
-IMX274 camera performance improvements
Version 109, November 07, 2017
-Fixed an issue where some monitors would prevent the Jetson from booting if plugged in (28.1)
Version 110, November 08, 2017
-Added Rudi GPIO support
Version 111, February 27, 2018
-Fixes to carrier GPIO states and kernel image
Version 112, March 15, 2018
-Added support for USB only based mPCIe cards on the Elroy
Version 113, March 27, 2018
-Initial release for Jetpack 3.2 (L4T 28.2)
Version 114, April 12, 2018
-Added CAN Support
-Added 3 and 6 IMX274 camera support for Spacely
-Added IMX274 support for sprocket
-Added 2 OV5693 camera support for Elroy
-Fixed issue with USB based mPCIe cards on Elroy
Version 115, April 16, 2018
-Fixed issue with PCIe in Elroy RevF+ profile
-Added IMX185 support for Sprocket
-Fixed the "pink" IMX274 CSI camera issue
-Added TX2i support
Version 116, April 23, 2018
-Fixed issue with ASG006 CAN
-Added CTI assisted flash
-Added Lumera camera support
Version 117, May 18, 2018
-Added fix for incorrect CAN IDs being read on Rudi/Spacely/Cogswell
Version 118, June 26, 2018
-Updated for L4T 28.2.1
-Added Astro Audio Codec Support
-Added 3x and 6x IMX185 Camera support for Spacely
Version 119, July 27, 2018
-Fixed a suspend bug
Version 120, Sept 21, 2018
-Fixed an issue where some monitors would prevent the Jetson from booting if plugged in (28.2+)
Version 121, November 09, 2018
-Added 720p support for IMX274 cameras
Version 122, May 06, 2019
-Initial Release for Jetpack 4.2/L4T 32.1.0
Version 123, May 09, 2019
-Fixed PWM Fan issue
Version 124, July 02, 2019
-Fixed issue where kernel would sometimes hang when run headless
-Added IMX274 support to Spacely
Version 125, July 05, 2019
-Fixed issue with Elroy mPCIe
-Added IMX185 support to Spacely
Version 126, August 16, 2019
-Jetpack 4.2.1 Release
-Moved .conf files to cti folder
-Added support for Quasar
-Added support for TX2-4G
Version 126-1, November 11, 2019
-fixed cti-flash script
-added missing .conf files
-added IMX185 & IMX274 support for Sprocket
-added IMX185 & IMX274 support for Quasar
-Fixed TX2i PWM fan issue
-Changed all GPIOs to pull-ups
-Fixed TX2i nvpmodel issue
Version TX2-32.2.1-V002, November 15, 2019
-Initial Release for Jetpack 4.2.2/L4T 32.2.1
-Limited release for TX2, not including TX2i or TX2-4G
-new naming scheme
Version 126-1, November 11, 2019
-fixed cti-flash script
-added missing .conf files
-added IMX185 & IMX274 support for Sprocket
-added IMX185 & IMX274 support for Quasar
-Fixed TX2i PWM fan issue
-Changed all GPIOs to pull-ups
-Fixed TX2i nvpmodel issue
Version 126, August 16, 2019
-Jetpack 4.2.1 Release
-Moved .conf files to cti folder
-Added support for Quasar
-Added support for TX2-4G
Version 125, July 05, 2019
-Fixed issue with Elroy mPCIe
-Added IMX185 support to Spacely
Version 124, July 02, 2019
-Fixed issue where kernel would sometimes hang when run headless
-Added IMX274 support to Spacely
Version 123, May 09, 2019
-Fixed PWM Fan issue
Version 122, May 06, 2019
-Initial Release for Jetpack 4.2/L4T 32.1.0
Version 121, November 09, 2018
-Added 720p support for IMX274 cameras
Version 120, Sept 21, 2018
-Fixed an issue where some monitors would prevent the Jetson from booting if plugged in (28.2+)
Version 119, July 27, 2018
-Fixed a suspend bug
Version 118, June 26, 2018
-Updated for L4T 28.2.1
-Added Astro Audio Codec Support
-Added 3x and 6x IMX185 Camera support for Spacely
Version 117, May 18, 2018
-Added fix for incorrect CAN IDs being read on Rudi/Spacely/Cogswell
Version 116, April 23, 2018
-Fixed issue with ASG006 CAN
-Added CTI assisted flash
-Added Lumera camera support
Version 115, April 16, 2018
-Fixed issue with PCIe in Elroy RevF+ profile
-Added IMX185 support for Sprocket
-Fixed the "pink" IMX274 CSI camera issue
-Added TX2i support
Version 114, April 12, 2018
-Added CAN Support
-Added 3 and 6 IMX274 camera support for Spacely
-Added IMX274 support for sprocket
-Added 2 OV5693 camera support for Elroy
-Fixed issue with USB based mPCIe cards on Elroy
Version 113, March 27, 2018
-Initial release for Jetpack 3.2 (L4T 28.2)
Version 112, March 15, 2018
-Added support for USB only based mPCIe cards on the Elroy
Version 111, February 27, 2018
-Fixes to carrier GPIO states and kernel image
Version 110, November 08, 2017
-Added Rudi GPIO support
Version 109, November 07, 2017
-Fixed an issue where some monitors would prevent the Jetson from booting if plugged in (28.1)
Version 108, November 02, 2017
-IMX274 camera performance improvements
Version 107, October 20, 2017
-Fixed an issue with the Spacely Devicetree not booting on Rev B00 TX2 modules
-Added VPG003 support
Version 106, September 25, 2017
-Added Astro RevG+ and Elroy RevF+ profiles
Version 105, August 21, 2017
-Added Astro and Elroy CSI camera Support
Version 104, August 16, 2017
-Added support for L4T 28.1
-Added support for Spacely and Cogswell
Version 103, June 27, 2017
-Changed Rootfs size to 28GB from 14GB
Version 102, June 26, 2017
-Added second UART support to all carriers
Version 101, June 01, 2017
-Fixed issue with some loadable modules eg. uvcvideo
-Added Elroy CSI camera support
Version 100, May 19, 2017
-Initial Release for the TX2
Version TX2-32.2.1-V003, November 20, 2019
-Adding TX2i support back in
Version TX2-32.2.1-V004, November 25, 2019
-Adding TX2-4G support back in
================================================================================
Contacting Connect Tech
================================================================================

Binary file not shown.