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 #!/bin/bash
COMPAT_MAJOR=("32") COMPAT_MAJOR=("32")
COMPAT_MINOR=("4.4") COMPAT_MINOR=("2.1")
COMPAT_JETSON=("TX2" "TX2i" "TX2-4G") COMPAT_JETSON=("TX2" "TX2i" "TX2-4G")
CTI_L4T_VER="V003" CTI_L4T_VER="V004"
#utility functions #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(){ install_conf(){
cp -r ./conf/* $PWD/../..
cp -rf ./conf/* $PWD/../../
} }
install_dtb(){ install_dtb(){
@ -73,27 +50,16 @@ install_dtb(){
} }
install_kernel(){ install_kernel(){
# remove old debs cp ./kernel/*Image $PWD/../../kernel/
rm $PWD/../../kernel/*.deb
# copy kernel debs
cp ./kernel/*.deb $PWD/../../kernel
cp ./kernel/*Image $PWD/../../kernel
cp ./kernel/kernel_supplements.tbz2 $PWD/../../kernel/ cp ./kernel/kernel_supplements.tbz2 $PWD/../../kernel/
} }
install_bl(){ install_bl(){
if [ "$(ls -A ./bl)" ]; then
cp -r ./bl/* $PWD/../../bootloader/ cp -r ./bl/* $PWD/../../bootloader/
fi
} }
install_rootfs(){ install_rootfs(){
if [ "$(ls -A ./rootfs)" ]; then
cp -r ./rootfs/* $PWD/../../rootfs/ cp -r ./rootfs/* $PWD/../../rootfs/
fi
} }
install_ver_file(){ install_ver_file(){
@ -126,8 +92,8 @@ print_versions(){
usage(){ usage(){
echo -e " Usage: ./install.sh " echo -e " Usage: ./install.sh "
echo -e " Before installing this BSP, please read the included readme.txt" 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 " To switch between different products, the TX2/TX2i/TX2-4G will need"
echo -e " Ensure to extract clean rootfs\n" echo -e " to be re-flashed"
echo -e " Below are the compatible L4T versions and board profiles:\n" echo -e " Below are the compatible L4T versions and board profiles:\n"
print_versions print_versions
@ -144,27 +110,26 @@ chkfolder
tar -pxzf resources.tgz tar -pxzf resources.tgz
#install CTI-flash #install CTI-flash
mv cti-flash.sh $PWD/../../ mv cti-flash.sh $PWD/../..
chmod +x $PWD/../../cti-flash.sh chmod +x $PWD/../../cti-flash.sh
install_conf install_conf
install_bl
install_dtb install_dtb
install_bl
install_kernel install_kernel
install_ver_file install_ver_file
install_extra pushd $PWD/../..
pushd $PWD/../../
./apply_binaries.sh ./apply_binaries.sh
popd popd
install_rootfs
# ensure the files finish copying # ensure the files finish copying
sync sync

View File

@ -1,7 +1,7 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Board Support Package ReadMe for Connect Tech Nvidia Jetson TX2 Carriers + Board Support Package ReadMe for Connect Tech Nvidia Jetson TX2 Carriers
+ BSP Version: tx2-32.4.4-V003 + BSP Version: 32.2.1-V004
+ Date: 2021/01/19 + Date: 2019/11/25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
================================================================================ ================================================================================
@ -37,8 +37,8 @@
Requirements Requirements
================================================================================ ================================================================================
-x86 based host machine running Ubuntu 18.04 -x86 based host machine running Ubuntu 16.04 or Ubuntu 18.04
-Jetpack 4.4.1 installed via Nvidia SDK Manager (from Nvidia Embedded Download Center) -Jetpack 4.2.2 installed via Nvidia SDK Manager (from Nvidia Embedded Download Center)
-TX2, TX2i or TX2-4G module -TX2, TX2i or TX2-4G module
-Connect Tech TX2 Family Carrier -Connect Tech TX2 Family Carrier
-USB Cable for flashing -USB Cable for flashing
@ -50,14 +50,14 @@
Installation 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 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: 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) (replacing ### with your file name)
@ -97,74 +97,26 @@
./flash.sh cti/tx2-4G/astro-mpcie mmcblk0p1 ./flash.sh cti/tx2-4G/astro-mpcie mmcblk0p1
./flash.sh cti/tx2-4G/spacely-imx274-3cam 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 Flashing TX2/TX2i/TX2-4G
================================================================================ ================================================================================
1. Connect the TX2/TX2i/TX2-4G and Carrier (or Dev-Kit) to the computer via USB 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 2. Put the system to be flashed into recovery mode, following the
instructions in the appropriate manual instructions in the appropriate manual
4. Run ./flash.sh cti/<module>/<board> mmcblk0p1 from Linux_for_Tegra directory 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 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 6. To switch between different boards, you will need ot repeat these steps
follow the instructions below for runtime switching profiles on the There is currently no run time support for switching profiles on the
TX2/TX2i/TX2-4G TX2/TX2i/TX2-4G
Consult KDB344 at for TX2/TX2i hardware compatiblity with your carrier. Consult KDB344 at for TX2/TX2i hardware compatiblity with your carrier.
http://connecttech.com/resource-center-category/all-kdb-entries/ 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 Product Specific Details
================================================================================ ================================================================================
@ -206,7 +158,6 @@ Switching Profiles on TX2/TX2i/TX2-4G
-PWM Fan Support -PWM Fan Support
-USB Support -USB Support
-mPCIe Support -mPCIe Support
-SPI Support
NOTE: Currently NO CSI camera support NOTE: Currently NO CSI camera support
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -261,7 +212,8 @@ Switching Profiles on TX2/TX2i/TX2-4G
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
-USB Support -USB Support
-PCIe Support -PCIe Support
-IMX274 2-cam support
NOTE: Currently NO CSI camera support
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -276,38 +228,80 @@ Switching Profiles on TX2/TX2i/TX2-4G
================================================================================ ================================================================================
Changes Changes
================================================================================ ================================================================================
Version TX2-32.4.4-V003, January 19, 2021
- Updated cti_tegra_defconfig Version 100, May 19, 2017
- Resolves issues to allow ZFS to function properly. -Initial Release for the TX2
Version TX2-32.4.4-V002, December 09, 2020 Version 101, June 01, 2017
- Resolved "disagrees about module_layout" issue for loading external kernel modules. -Fixed issue with some loadable modules eg. uvcvideo
Version TX2-32.4.4-V001, November 16, 2020 -Added Elroy CSI camera support
-Initial Release for Jetpack 4.4.1/L4T 32.4.4 Version 102, June 26, 2017
Version TX2-32.4.3-V002, September 25, 2020 -Added second UART support to all carriers
- Supports apt-get upgrade Version 103, June 27, 2017
- Upgrade support from cti debian server from this version onwards -Changed Rootfs size to 28GB from 14GB
- Installs a script to enable DTB switching using dd command Version 104, August 16, 2017
- Script: cti-tx2-dd.sh -Added support for L4T 28.1
- Install path: /usr/bin -Added support for Spacely and Cogswell
Version TX2-32.4.3-V001, August 05, 2020 Version 105, August 21, 2017
-Initial Release for Jetpack 4.4/L4T 32.4.3 -Added Astro and Elroy CSI camera Support
Version TX2-32.4.2-V003, July 06, 2020 Version 106, September 25, 2017
-Added missing ASG008 camera support for TX2 -Added Astro RevG+ and Elroy RevF+ profiles
Version TX2-32.4.2-V002, June 26, 2020 Version 107, October 20, 2017
-Added missing VPG003 support -Fixed an issue with the Spacely Devicetree not booting on Rev B00 TX2 modules
-Added SPI to Elroy -Added VPG003 support
Version TX2-32.4.2-V001, June 05, 2020 Version 108, November 02, 2017
-Initial Release for Jetpack 4.4/L4T 32.4.2 -IMX274 camera performance improvements
Version TX2-32.3.1-V001, January 27, 2020 Version 109, November 07, 2017
-Initial Release for Jetpack 4.3/L4T 32.3.1 -Fixed an issue where some monitors would prevent the Jetson from booting if plugged in (28.1)
Version TX2-32.2.1-V004, November 25, 2019 Version 110, November 08, 2017
-Adding TX2-4G support back in -Added Rudi GPIO support
Version TX2-32.2.1-V003, November 20, 2019 Version 111, February 27, 2018
-Adding TX2i support back in -Fixes to carrier GPIO states and kernel image
Version TX2-32.2.1-V002, November 15, 2019 Version 112, March 15, 2018
-Initial Release for Jetpack 4.2.2/L4T 32.2.1 -Added support for USB only based mPCIe cards on the Elroy
-Limited release for TX2, not including TX2i or TX2-4G Version 113, March 27, 2018
-new naming scheme -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 Version 126-1, November 11, 2019
-fixed cti-flash script -fixed cti-flash script
-added missing .conf files -added missing .conf files
@ -316,79 +310,15 @@ Switching Profiles on TX2/TX2i/TX2-4G
-Fixed TX2i PWM fan issue -Fixed TX2i PWM fan issue
-Changed all GPIOs to pull-ups -Changed all GPIOs to pull-ups
-Fixed TX2i nvpmodel issue -Fixed TX2i nvpmodel issue
Version 126, August 16, 2019 Version TX2-32.2.1-V002, November 15, 2019
-Jetpack 4.2.1 Release -Initial Release for Jetpack 4.2.2/L4T 32.2.1
-Moved .conf files to cti folder -Limited release for TX2, not including TX2i or TX2-4G
-Added support for Quasar -new naming scheme
-Added support for TX2-4G Version TX2-32.2.1-V003, November 20, 2019
Version 125, July 05, 2019 -Adding TX2i support back in
-Fixed issue with Elroy mPCIe Version TX2-32.2.1-V004, November 25, 2019
-Added IMX185 support to Spacely -Adding TX2-4G support back in
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
================================================================================ ================================================================================
Contacting Connect Tech Contacting Connect Tech
================================================================================ ================================================================================

Binary file not shown.