#!/bin/SH# # TI processor SDK Linux am335x EVM/bin/setup-host-check.SHhacking# Description: # This article mainly on the TI SDK in the setup-host-The check.sh script is interpreted in order to understand # its working mechanism. ## .-4- -Shenzhen Nanshan Ping Shan Village Zengjianfeng # This distribution contains contributions or derivatives under copyright# as follows:## Copyright (c)
., Texas Instruments incorporated# All rights reserved.## redistribution and useinchsource and binary forms, with or without# modification, is permitted provided that the following conditions# is met :# -redistributions of source code must retain the above copyright notice,# this list of conditions and the following D isclaimer.#-Redistributionsinchbinary form must reproduce the above copyright# notice, this list of conditions and the following disclaimerinchthe# Documentation and/or other materials provided with the distribution.#-Neither the name of Texas Instruments nor the names of its# contributors may be used to endorse or promote products derived# from this software without specific prior written permission.## This software are provided by the COPYRIGHT HOL DERs and contributors#" as is"and any EXPRESS OR implied warranties, including, but not limited# to, the implied warranties of merchantability and FITNESS for A particular# PURPOSE is disclaimed. In NO EVENT shall the COPYRIGHT HOLDER or# CONTRIBUTORS being liable for any DIRECT, INDIRECT, incidental, special,# exemplar Y, or consequential damages (including, but not LIMITED to,# procurement of substitute GOODS OR SERVICES; LOSS of Use, DATA, or# profits; or business interruption) however caused and on any theory of# liability, WHETHER in contract, STRICT liability, OR TORT ( including negligence# OR OTHERWISE) arising in any-out-of-the---the-software, even if# advised of the Possibilit Y of SUCH DAMAGE.CWD=`dirname$0'. $CWD/common.SHEchoEcho "--------------------------------------------------------------------------------"Echo "Verifying Linux host distribution"Get_host_type host# had been thinking about what precise was, and of course it still doesn't understand, at least it can be understood as a supported version.if["$host"!="Lucid"-A"$host"!="Precise"-A"$host"!="Trusty"]; Then Echo "Unsupported host machine, only Ubuntu 12.04 Lts and Ubuntu 14.04 LTS is supported"Exit1fiEcho "ubuntu 12.04 lts and Ubuntu 14.04 Lts is being used, continuing."Echo "--------------------------------------------------------------------------------"Echo
TI Processor SDK Linux am335x evm/bin/setup-host-check.sh hacking