NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
AM37x Ti-sdk-ubuntu-env-setup
Content is no longer maintained and is being kept for reference only!
#! /usr/bin/env bash
echo " "
echo "------------------------------------------------------------------------"
echo "ti-sdk Environment setup script"
echo " "
echo " "
echo "Test Host Distribution type, looking for Ubuntu 10.04......."
echo " "
lsb_release -a > /tmp/.log
if [ $? -ne 0 ]; then
echo "Unsupported host machine"
echo "Please consult documentation about the host machine requirements"
exit 1;
fi
host="`cat /tmp/.log | grep Codename: | awk {'print $2'}`"
if [ "$host" != "lucid" ]; then
echo "Unsupported host machine" ;
echo "Please consult documentation about the host machine requirements"
exit 1;
fi
echo " Machine type $host"
echo " Found Ubuntu 10.04"
echo " "
echo "------------------------------------------------------------------------"
echo " Get updates from Ubuntu "
echo " User will need internet access for this operation to complete"
echo " "
sudo apt-get update
sudo apt-get -y install xinetd ftpd telnetd tftpd nfs-kernel-server samba minicom openjdk-6-jre git-core gitk subversion git-svn g++
echo " "
echo "Install Minicom configuration file"
echo " "
host-tools/linux/scripts/setup_serial_term
echo " "
echo "------------------------------------------------------------------------"
echo "Setup NFS "
host-tools/linux/scripts/setup_nfs
echo " "
echo "------------------------------------------------------------------------"
echo "Setup tftp "
host-tools/linux/scripts/setup_tftp
echo " "
echo " "

