#!/usr/bin/env bash ############################################################################### # # Copyright (C) 2009-2013 Nintendo. All rights reserved. # # These coded instructions, statements, and computer programs contain # proprietary information of Nintendo of America Inc. and/or Nintendo # Company Ltd., and are protected by Federal copyright law. They may # not be disclosed to third parties or copied or duplicated in any form, # in whole or in part, without the prior written consent of Nintendo. # ############################################################################### source getbridgetype if [ "$BRIDGE_TYPE" == "Toucan" ] then echo BRIDGE_TYPE="Toucan" fw_ver=`"$SDIO_BRIDGE_TOOLS/FSEmul" -ver | grep Firmware | awk '{ print $4 }'` SDIO_BRIDGE_TOOLS_VER=`"$SDIO_BRIDGE_TOOLS/FSEmul" -ver | grep Software | awk '{ print $4 }'` else echo BRIDGE_TYPE="MION" fw_ver=`"$MION_BRIDGE_TOOLS/FSEmul" -ver -ip $BRIDGE_CURRENT_IP_ADDRESS | grep Firmware | awk '{ print $4 }'` SDIO_BRIDGE_TOOLS_VER=`"$MION_BRIDGE_TOOLS/FSEmul" -ver -ip $BRIDGE_CURRENT_IP_ADDRESS | grep Software | awk '{ print $4 }'` fpga_ver=`"$MION_BRIDGE_TOOLS/FSEmul" -ver -ip $BRIDGE_CURRENT_IP_ADDRESS | grep FPGA | awk '{ print $4 }'` fi echo "Bridge Type : "$BRIDGE_TYPE" " echo "PLATFORM : "$PLATFORM" " echo "Bridge PC Tools : "$SDIO_BRIDGE_TOOLS_VER" " echo "Bridge Firmware : "$fw_ver" " echo "Bridge FPGA : "$fpga_ver" "