The old machine died, and since the new machine is different HW, all the USB port IDs are different. Signed-off-by: Stephen Warren <swarren@nvidia.com>
58 lines
2.1 KiB
Plaintext
58 lines
2.1 KiB
Plaintext
# Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
# copy of this software and associated documentation files (the "Software"),
|
|
# to deal in the Software without restriction, including without limitation
|
|
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
# and/or sell copies of the Software, and to permit persons to whom the
|
|
# Software is furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
# DEALINGS IN THE SOFTWARE.
|
|
|
|
syms_file="${U_BOOT_BUILD_DIR}/u-boot.sym"
|
|
if [ -f "${syms_file}" ]; then
|
|
set +e
|
|
grep -q cboot "${syms_file}" >/dev/null 2>&1
|
|
grep_ret=$?
|
|
set -e
|
|
if [ ${grep_ret} -eq 0 ]; then
|
|
boot_from_cboot=1
|
|
else
|
|
boot_from_cboot=0
|
|
fi
|
|
else
|
|
boot_from_cboot=0
|
|
fi
|
|
|
|
console_dev=/dev/console-p2371-2180
|
|
power_impl=pm342
|
|
recovery_impl=pm342
|
|
nv_board_automation_bin="${HOME}/ubtest-nvidia-board-automation"
|
|
pm342_serial=SRW-0
|
|
board_usb_dev=/dev/usbdev-p2371-2180
|
|
board_usb_port_path=1-5
|
|
|
|
if [ ${boot_from_cboot} -eq 1 ]; then
|
|
echo conf.p2371-2180_na: U-Boot branch requires flashing for testing
|
|
flash_impl=recovery_l4t
|
|
flash_l4t="${HOME}/ubtest-l4t-r28.1-p2371-2180"
|
|
flash_l4t_uboot_path=bootloader/t210ref/p2371-2180/
|
|
flash_l4t_board=jetson-tx1
|
|
reset_impl=pm342
|
|
else
|
|
echo conf.p2371-2180_na: U-Boot branch can use USB RCM for testing
|
|
flash_impl=none
|
|
reset_impl=recovery_download
|
|
download_impl=l4t-exec-uboot
|
|
download_l4t="${HOME}/ubtest-l4t-exec-uboot"
|
|
fi
|