TI Processor SDK Linux am335x evm/bin/setup-host-check.sh hacking

Source: Internet
Author: User

#!/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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.