Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/ghanashyam/arduino-1.5.3/hardware/tools/install_script.sh
- done
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++ -m32 -march=i586 --sysroot=/home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/i586-poky-linux-uclibc -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -D__ARDUINO_X86__ -Xassembler -mquark-strip-lock=yes -march=i586 -m32 -DARDUINO=153 -I/home/ghanashyam/arduino-1.5.3/hardware/arduino/x86/cores/arduino -I/home/ghanashyam/arduino-1.5.3/hardware/arduino/x86/variants/galileo_fab_d /tmp/build5808420377686505866.tmp/Blink.cpp -o /tmp/build5808420377686505866.tmp/Blink.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/fast_gpio_common.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/trace.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/wiring_analog.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/fast_gpio_sc.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/fast_gpio_nc.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/wiring_digital.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/mux.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/sysfs.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/interrupt.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/i2c.c.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/Stream.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/TTYUART.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/RingBuffer.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/main.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/UtilTime.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/IPAddress.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/WMath.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/Print.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/WString.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/pulseIn.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/Tone.cpp.o
- Using previously compiled: /tmp/build5808420377686505866.tmp/variant.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/fast_gpio_common.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/trace.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/wiring_analog.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/fast_gpio_sc.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/fast_gpio_nc.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/wiring_digital.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/mux.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/sysfs.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/interrupt.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/i2c.c.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/Stream.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/TTYUART.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/RingBuffer.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/main.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/UtilTime.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/IPAddress.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/WMath.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/Print.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/WString.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/pulseIn.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/Tone.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-ar rcs /tmp/build5808420377686505866.tmp/core.a /tmp/build5808420377686505866.tmp/variant.cpp.o
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++ -m32 -march=i586 --sysroot=/home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/i586-poky-linux-uclibc -Os -Wl,--gc-sections -march=i586 -o /tmp/build5808420377686505866.tmp/Blink.cpp.elf /tmp/build5808420377686505866.tmp/Blink.cpp.o /tmp/build5808420377686505866.tmp/core.a -L/tmp/build5808420377686505866.tmp -lm -lpthread
- /home/ghanashyam/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-strip /tmp/build5808420377686505866.tmp/Blink.cpp.elf
- Binary sketch size: 54,235 bytes (of a 262,144 byte maximum) - 20% used
- /bin/bash --verbose --noprofile /home/ghanashyam/arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_linux.sh /home/ghanashyam/arduino-1.5.3/hardware/tools /tmp/build5808420377686505866.tmp/Blink.cpp.elf /dev/ttyACM0
- starting download script
- Args to shell: /home/ghanashyam/arduino-1.5.3/hardware/tools /tmp/build5808420377686505866.tmp/Blink.cpp.elf /dev/ttyACM0
- Serial Port PORT
- Using tty Port /dev/ttyACM0
- Sending Command String to move to download if not already in download mode
- #!/bin/sh
- echo "starting download script"
- echo "Args to shell:" $*
- #
- # ARG 1: Path to lsz executable.
- # ARG 2: Elf File to download
- # ARG 3: TTY port to use.
- #
- #path may contain \ need to change all to /
- path_to_exe=$1
- fixed_path=${path_to_exe//\\/\/}
- #
- tty_port_id=$3
- echo "Serial Port PORT" $com_port_id
- echo "Using tty Port" $tty_port_id
- #
- echo "Sending Command String to move to download if not already in download mode"
- echo "~sketch download" > $tty_port_id
- #Give the host time to stop the process and wait for download
- sleep 1
- #
- #Move the existing sketch on target.
- echo "Deleting existing sketch on target"
- Deleting existing sketch on target
- "$fixed_path/lsz" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port_id
- Transfer complete
- #
- # Execute the target download command
- #
- #Download the file.
- host_file_name=$2
- "$fixed_path/lsz" --escape --binary --overwrite $host_file_name < $tty_port_id > $tty_port_id
- Sending: Blink.cpp.elf
- Bytes Sent: 1024/ 53848 BPS:118793 ETA 00:00
- Bytes Sent: 9216/ 53848 BPS:837279 ETA 00:00
- Bytes Sent: 10240/ 53848 BPS:786177 ETA 00:00
- Bytes Sent: 11264/ 53848 BPS:760403 ETA 00:00
- Bytes Sent: 12288/ 53848 BPS:767323 ETA 00:00
- Bytes Sent: 13312/ 53848 BPS:738650 ETA 00:00
- Bytes Sent: 14336/ 53848 BPS:753965 ETA 00:00
- Bytes Sent: 15360/ 53848 BPS:730660 ETA 00:00
- Bytes Sent: 16384/ 53848 BPS:712126 ETA 00:00
- Bytes Sent: 17408/ 53848 BPS:724845 ETA 00:00
- Bytes Sent: 18432/ 53848 BPS:760799 ETA 00:00
- Bytes Sent: 19456/ 53848 BPS:747559 ETA 00:00
- Bytes Sent: 20480/ 53848 BPS:780484 ETA 00:00
- Bytes Sent: 21504/ 53848 BPS:795736 ETA 00:00
- Bytes Sent: 22528/ 53848 BPS:775837 ETA 00:00
- Bytes Sent: 23552/ 53848 BPS:759125 ETA 00:00
- Bytes Sent: 24576/ 53848 BPS:767181 ETA 00:00
- Bytes Sent: 25600/ 53848 BPS:751767 ETA 00:00
- Bytes Sent: 26624/ 53848 BPS:736565 ETA 00:00
- Bytes Sent: 27648/ 53848 BPS:747403 ETA 00:00
- Bytes Sent: 28672/ 53848 BPS:734482 ETA 00:00
- Bytes Sent: 29696/ 53848 BPS:661160 ETA 00:00
- Bytes Sent: 30720/ 53848 BPS:678727 ETA 00:00
- Bytes Sent: 31744/ 53848 BPS:698361 ETA 00:00
- Bytes Sent: 32768/ 53848 BPS:696214 ETA 00:00
- Bytes Sent: 33792/ 53848 BPS:687274 ETA 00:00
- Bytes Sent: 34816/ 53848 BPS:682492 ETA 00:00
- Bytes Sent: 35840/ 53848 BPS:675831 ETA 00:00
- Bytes Sent: 36864/ 53848 BPS:669777 ETA 00:00
- Bytes Sent: 37888/ 53848 BPS:653106 ETA 00:00
- Bytes Sent: 38912/ 53848 BPS:648412 ETA 00:00
- Bytes Sent: 39936/ 53848 BPS:633682 ETA 00:00
- Bytes Sent: 40960/ 53848 BPS:620303 ETA 00:00
- Bytes Sent: 41984/ 53848 BPS:616993 ETA 00:00
- Bytes Sent: 43008/ 53848 BPS:614293 ETA 00:00
- Bytes Sent: 44032/ 53848 BPS:611443 ETA 00:00
- Bytes Sent: 45056/ 53848 BPS:600658 ETA 00:00
- Bytes Sent: 46080/ 53848 BPS:598355 ETA 00:00
- Bytes Sent: 47104/ 53848 BPS:596177 ETA 00:00
- Bytes Sent: 48128/ 53848 BPS:593901 ETA 00:00
- Bytes Sent: 49152/ 53848 BPS:592057 ETA 00:00
- Bytes Sent: 50176/ 53848 BPS:583353 ETA 00:00
- Bytes Sent: 51200/ 53848 BPS:581778 ETA 00:00
- Bytes Sent: 52224/ 53848 BPS:580168 ETA 00:00
- Bytes Sent: 53248/ 53848 BPS:511851 ETA 00:00
- Bytes Sent: 53848 BPS:297390
- Transfer complete
- #
- #mv the downloaded file to /sketch/sketch.elf
- target_download_name="${host_file_name##*/}"
- echo "Moving downloaded file to /sketch/sketch.elf on target"
- "$fixed_path/lsz" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" < $tty_port_id > $tty_port_id
- Moving downloaded file to /sketch/sketch.elf on target
- Transfer complete
- #
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement