Last active
August 13, 2021 17:30
-
-
Save pdp7/6775774 to your computer and use it in GitHub Desktop.
BeagleBone Python install: http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://learn.adafruit.com/matrix-7-segment-led-backpack-with-the-raspberry-pi/configuring-your-pi-for-i2c | |
http://learn.adafruit.com/category/beaglebone | |
http://learn.adafruit.com/adding-a-real-time-clock-to-beaglebone-black/set-rtc-time | |
http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/i2c | |
http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation | |
root@beaglebone:~# ssh-keygen -f "/media/ssd/home/afustini/.ssh/known_hosts" -R 192.168.0.108 | |
-sh: ssh-keygen: command not found | |
root@beaglebone:~# ^C | |
root@beaglebone:~# /usr/bin/ntpdate -b -s -u pool.ntp.org | |
root@beaglebone:~# opkg update && opkg install python-pip python-setuptools python-smbus | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/base. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/beaglebone. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/debug/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/debug/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/debug. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/gstreamer/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/gstreamer/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/gstreamer. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/no-arch. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/perl/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/perl/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/perl. | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz. | |
Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz. | |
Updated list of available packages in /var/lib/opkg/lists/python. | |
Installing python-pip (1.3.1-r0.0) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-pip_1.3.1-r0.0_armv7a-vfp-neon.ipk. | |
Installing python-modules (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-modules_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-profile (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-profile_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-distutils (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-distutils_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-doctest (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-doctest_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-debugger (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-debugger_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-curses (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-curses_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-ctypes (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-ctypes_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-xmlrpc (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-xmlrpc_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-tests (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-tests_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-resource (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-resource_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-hotshot (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-hotshot_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-tkinter (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-tkinter_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-gdbm (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-gdbm_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-compiler (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-compiler_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-sqlite3 (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-sqlite3_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-mailbox (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-mailbox_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-sqlite3-tests (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-sqlite3-tests_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-robotparser (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-robotparser_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-compile (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-compile_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-bsddb (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-bsddb_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-mmap (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-mmap_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-smtpd (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-smtpd_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-pydoc (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-pydoc_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-idle (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-idle_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-2to3 (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-2to3_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-db (2.7.3-r0.3.7) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-db_2.7.3-r0.3.7_armv7a-vfp-neon.ipk. | |
Installing python-setuptools (0.6c11-ml5) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-setuptools_0.6c11-ml5_armv7a-vfp-neon.ipk. | |
Installing python-smbus (3.0.3-r0.1) to root... | |
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/python-smbus_3.0.3-r0.1_armv7a-vfp-neon.ipk. | |
Configuring python-tkinter. | |
Configuring python-tests. | |
Configuring python-profile. | |
Configuring python-distutils. | |
Configuring python-debugger. | |
Configuring python-doctest. | |
Configuring python-curses. | |
Configuring python-ctypes. | |
Configuring python-xmlrpc. | |
Configuring python-resource. | |
Configuring python-hotshot. | |
Configuring python-gdbm. | |
Configuring python-compiler. | |
Configuring python-sqlite3. | |
Configuring python-mailbox. | |
Configuring python-sqlite3-tests. | |
Configuring python-robotparser. | |
Configuring python-compile. | |
Configuring python-bsddb. | |
Configuring python-mmap. | |
Configuring python-smtpd. | |
Configuring python-pydoc. | |
Configuring python-idle. | |
Configuring python-2to3. | |
Configuring python-db. | |
Configuring python-modules. | |
Configuring python-pip. | |
Configuring python-setuptools. | |
Configuring python-smbus. | |
root@beaglebone:~# pip install Adafruit_BBIO | |
Downloading/unpacking Adafruit-BBIO | |
Downloading Adafruit_BBIO-0.0.18.tar.gz | |
Running setup.py egg_info for package Adafruit-BBIO | |
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.45.tar.gz | |
Extracting in /tmp/tmp1gp5Iw | |
Now working in /tmp/tmp1gp5Iw/distribute-0.6.45 | |
Building a Distribute egg in /tmp/pip-build-root/Adafruit-BBIO | |
/tmp/pip-build-root/Adafruit-BBIO/distribute-0.6.45-py2.7.egg | |
Installing collected packages: Adafruit-BBIO | |
Running setup.py install for Adafruit-BBIO | |
building 'Adafruit_BBIO.GPIO' extension | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o | |
source/py_gpio.c:36:18: warning: 'bb_revision' defined but not used [-Wunused-variable] | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/event_gpio.c -o build/temp.linux-armv7l-2.7/source/event_gpio.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed build/temp.linux-armv7l-2.7/source/py_gpio.o build/temp.linux-armv7l-2.7/source/event_gpio.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/GPIO.so | |
building 'Adafruit_BBIO.PWM' extension | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_pwm.c -o build/temp.linux-armv7l-2.7/source/py_pwm.o | |
source/py_pwm.c:29:12: warning: 'init_module' defined but not used [-Wunused-function] | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_pwm.c -o build/temp.linux-armv7l-2.7/source/c_pwm.o | |
source/c_pwm.c: In function 'pwm_start': | |
source/c_pwm.c:205:17: warning: array subscript is above array bounds [-Warray-bounds] | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed build/temp.linux-armv7l-2.7/source/py_pwm.o build/temp.linux-armv7l-2.7/source/c_pwm.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/PWM.so | |
building 'Adafruit_BBIO.ADC' extension | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_adc.c -o build/temp.linux-armv7l-2.7/source/py_adc.o | |
source/py_adc.c:30:18: warning: 'py_cleanup' defined but not used [-Wunused-function] | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_adc.c -o build/temp.linux-armv7l-2.7/source/c_adc.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed build/temp.linux-armv7l-2.7/source/py_adc.o build/temp.linux-armv7l-2.7/source/c_adc.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/ADC.so | |
building 'Adafruit_BBIO.SPI' extension | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/spimodule.c -o build/temp.linux-armv7l-2.7/source/spimodule.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed build/temp.linux-armv7l-2.7/source/spimodule.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/SPI.so | |
building 'Adafruit_BBIO.UART' extension | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_uart.c -o build/temp.linux-armv7l-2.7/source/py_uart.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_uart.c -o build/temp.linux-armv7l-2.7/source/c_uart.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o | |
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed build/temp.linux-armv7l-2.7/source/py_uart.o build/temp.linux-armv7l-2.7/source/c_uart.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/UART.so | |
/usr/bin/python /tmp/tmpMUN_4c.py | |
removing /tmp/tmpMUN_4c.py | |
Successfully installed Adafruit-BBIO | |
Cleaning up... | |
root@beaglebone:~# | |
root@beaglebone:~# python -c "import Adafruit_BBIO.GPIO as GPIO; print GPIO" | |
<module 'Adafruit_BBIO.GPIO' from '/usr/lib/python2.7/site-packages/Adafruit_BBIO/GPIO.so'> | |
root@beaglebone:~# python | |
Python 2.7.3 (default, May 20 2013, 12:03:28) | |
[GCC 4.7.3 20130205 (prerelease)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import Adafruit_BBIO.GPIO as GPIO; print GPIO | |
<module 'Adafruit_BBIO.GPIO' from '/usr/lib/python2.7/site-packages/Adafruit_BBIO/GPIO.so'> | |
>>> | |
root@beaglebone:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_LEDBackpack# i2cdetect -y -r 1 | |
0 1 2 3 4 5 6 7 8 9 a b c d e f | |
00: -- -- -- -- -- -- -- -- -- -- -- -- -- | |
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- | |
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
70: 70 -- -- -- -- -- -- -- | |
root@beaglebone:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_LEDBackpack# python ex_8x8_pixels.py | |
Press CTRL+Z to exit | |
root@beaglebone:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_LEDBackpack# history | |
1 top | |
2 ssh-keygen -f "/media/ssd/home/afustini/.ssh/known_hosts" -R 192.168.0.108 | |
3 /usr/bin/ntpdate -b -s -u pool.ntp.org | |
4 opkg update && opkg install python-pip python-setuptools python-smbus | |
5 pip install Adafruit_BBIO | |
6 python -c "import Adafruit_BBIO.GPIO as GPIO; print GPIO" | |
7 python | |
8 ls | |
9 vi gpio.py | |
10 python gpio.py | |
11 vi gpio.py | |
12 python gpio.py | |
13 cat gpio.py | |
14 python gpio.py | |
15 vi gpio.py | |
16 python gpio.py | |
17 python gpio.py | |
18 vi gpio.py | |
19 vi gpio.py | |
20 python gpio.py | |
21 vi gpio.py | |
22 python gpio.py | |
23 vi gpio.py | |
24 python gpio.py | |
25 python gpio.py | |
26 git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git | |
27 git clone git://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git | |
28 cd Adafruit-Raspberry-Pi-Python-Code | |
29 cd Adafruit_LEDBackpack | |
30 ls | |
31 sudo python ex_8x8_pixels.py | |
32 python ex_8x8_pixels.py | |
33 lsm | |
34 lsmod | |
35 python | |
36 i2cdetect -y -r 0 | |
37 i2cdetect -y -r 1 | |
38 \\ | |
39 i2cdetect -y -r 0 | |
40 i2cdetect -y -r 1 | |
41 i2cdetect -y -r 1 | |
42 lsmod | |
43 modprobe i2cdev | |
44 ls /lib/ | |
45 ls /lib/modules/ | |
46 ls /lib/modules/3.8.13/ | |
47 find /lib/modules/3.8.13/ | |
48 find /lib/modules/3.8.13/ |grep i2c | |
49 find /lib/modules/3.8.13/ |grep i2c|grep ko$ | |
50 find /lib/modules/3.8.13/ |grep i2c|grep ko$ | |
51 find /lib/modules/3.8.13/ |grep i2c|grep ko$ | |
52 find /lib/modules/3.8.13/ |grep i2c|grep ko$ | |
53 i2cdetect -y -r 1 | |
54 python ex_8x8_pixels.py | |
55 bg | |
(reverse-i-search)`ssh ': ^Ch 10.14.14.22 | |
afustini@lappy486:~$ ssh root@192.168.0.108 | |
root@192.168.0.108's password: | |
root@beaglebone:~# cd Adafruit-Raspberry-Pi-Python-Code/ | |
root@beaglebone:~/Adafruit-Raspberry-Pi-Python-Code# cd Adafruit_LEDBackpack/ | |
root@beaglebone:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_LEDBackpack# python ex_8x8_pixels.py | |
Press CTRL+Z to exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment