Bescottee苦しいときは伸びてるとき、楽なときは伸びていないとき

2 edison image ww18-15

admin to intel edison — Tags:  


root@edison:~# cat /etc/version
weekly-146
root@edison:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 1458032 389236 990160 28% /
devtmpfs 491380 0 491380 0% /dev
tmpfs 491688 0 491688 0% /dev/shm
tmpfs 491688 520 491168 0% /run
tmpfs 491688 0 491688 0% /sys/fs/cgroup
tmpfs 491688 4 491684 0% /tmp
systemd-1 5894 5434 460 92% /boot
tmpfs 491688 0 491688 0% /var/volatile
/dev/mmcblk0p7 5894 5434 460 92% /boot
/dev/mmcblk0p10 1337936 2044 1319508 0% /home
/dev/mmcblk0p5 1003 19 913 2% /factory
root@edison:~#

Roland社のARM-10をお借りする機会が頂けたので、ためしに公開されているjenkinsの3D データを出力してみた。他にもいくつか出力してみたいものがあるので、また利用させてもらいに行こうと考えています。
さて、それとIntel Edison を組み合わせて何かやりたいと考えていて、ひとまず定番のLチカを試してみました。それだけでは面白くないので、edison にUSBカメラをつけて、jenkinsや人形に仕込んだLEDの様子をedison自身からストリーミング配信できるようにしてみました。配信の様子と仕組みは別途掲載予定です。
(続きを読む…)

CrashlyticsのAndroid向けライブラリのバージョンを以下から確認できます。

as of 2015/04/25

http://download.crashlytics.com/maven/com/crashlytics/tools/gradle/crashlytics-gradle/maven-metadata.xml


This XML file does not appear to have any style information associated with it. The document tree is shown below.
<metadata>
<groupId>com.crashlytics.tools.gradle</groupId>
<artifactId>crashlytics-gradle</artifactId>
<versioning>
<release>1.16.0</release>
<versions>
<version>1.0.0</version>
<version>1.0.1</version>
<version>1.0.2</version>
<version>1.0.3</version>
<version>1.0.4</version>
<version>1.0.5</version>
<version>1.0.6</version>
<version>1.0.7</version>
<version>1.0.8</version>
<version>1.0.9</version>
<version>1.1.0</version>
<version>1.1.1</version>
<version>1.2.0</version>
<version>1.2.1</version>
<version>1.3.0</version>
<version>1.3.1</version>
<version>1.3.2</version>
<version>1.3.3</version>
<version>1.3.4</version>
<version>1.4.0</version>
<version>1.5.0</version>
<version>1.6.1</version>
<version>1.7.0</version>
<version>1.8.0</version>
<version>1.8.1</version>
<version>1.9.0</version>
<version>1.9.1</version>
<version>1.10.1</version>
<version>1.10.2</version>
<version>1.10.3</version>
<version>1.10.5</version>
<version>1.10.6</version>
<version>1.10.7</version>
<version>1.11.0</version>
<version>1.11.1</version>
<version>1.11.2</version>
<version>1.11.3</version>
<version>1.11.4</version>
<version>1.12.0</version>
<version>1.13.0</version>
<version>1.13.1</version>
<version>1.14.2</version>
<version>1.14.3</version>
<version>1.14.4</version>
<version>1.14.6</version>
<version>1.14.7</version>
<version>1.16.0</version>
</versions>
<lastUpdated>20150318172805</lastUpdated>
</versioning>
</metadata>

http://download.crashlytics.com/maven/com/crashlytics/android/crashlytics/maven-metadata.xml


<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.crashlytics.android</groupId>
<artifactId>crashlytics</artifactId>
<versioning>
<release>1.0.4</release>
<versions>
<version>1.0.0</version>
<version>1.0.1</version>
<version>1.0.2</version>
<version>1.0.3</version>
<version>1.0.4</version>
<version>1.1.5</version>
<version>1.1.7</version>
<version>1.1.8</version>
<version>1.1.9</version>
<version>1.1.10</version>
<version>1.1.11</version>
<version>1.1.12</version>
<version>1.1.13</version>
</versions>
<lastUpdated>20140909201431</lastUpdated>
</versioning>
</metadata>

A node.js BLE (Bluetooth low energy) central module
https://github.com/sandeepmistry/noble

以下のサイトに簡単な説明があります。

http://iot-jp.com/iotsummary/iottech/intel-edison/intel-edison%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99%EF%BC%8811%EF%BC%89%E3%80%80%E7%B6%9A%E3%82%AB%E3%83%A1%E3%83%A9%E7%B7%A8/.html

http://d.hatena.ne.jp/yoch/20150322

Intel EdisonでUSBカメラを使ってみる(go言語実装)
http://dev.classmethod.jp/hardware/edison/intel-edison-using-usbcamera/

http://neuralassembly.blogspot.jp/2014/12/intel-edisonwebmjpg-streamer.html

http://www.ideasonboard.org/uvc/

http://iot-jp.com/iotsummary/iottech/intel-edison/intel-edison%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99%EF%BC%8813%EF%BC%89%E3%80%80ffmpeg%E3%81%AB%E3%82%88%E3%82%8B%E3%83%A9%E3%82%A4%E3%83%96%E3%82%B9%E3%83%88%E3%83%AA%E3%83%BC%E3%83%9F%E3%83%B3%E3%82%B0/.html

https://github.com/drejkim/edi-cam

flashall.bat の実行ログ


\edison-image-ww05-15>flashall.bat
Using U-boot target: edison-blankrndis
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Dfu device found
Flashing IFWI
Download [=========================] 100% 4194304 bytes
Download done.
Download [=========================] 100% 4194304 bytes
Download done.
Flashing U-Boot
Download [=========================] 100% 245760 bytes
Download done.
Flashing U-Boot Environment
Download [=========================] 100% 65536 bytes
Download done.
Flashing U-Boot Environment Backup
Download [=========================] 100% 65536 bytes
Download done.
Rebooting to apply partiton changes
Dfu device found
Flashing boot partition (kernel)
Download [=========================] 100% 6029312 bytes
Download done.
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Download [=========================] 100% 536870912 bytes
Download done.
Rebooting
U-boot & Kernel System Flash Success...
Your board needs to reboot to complete the flashing procedure, please do not unplug it for 2 minutes.

\edison-image-ww05-15>

2 url for opkg

admin to Uncategorized  


tee /etc/opkg/base-feeds.conf << _EOF_ >/dev/null
src/gz all http://repo.opkg.net/edison/repo/all
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
_EOF_

src/gz edison http://repo.opkg.net/edison/repo/edison
を削除。


tee /etc/opkg/intel-iotdk.conf << _EOF_ >/dev/null
src intel-all http://iotdk.intel.com/repos/1.1/iotdk/all
src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic
src intel-quark http://iotdk.intel.com/repos/1.1/iotdk/quark
src intel-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586
src intel-x86 http://iotdk.intel.com/repos/1.1/iotdk/x86
_EOF_


echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
opkg update
opkg install
opkg install libmraa0

opkg update && opkg upgrade

opkg install bash && opkg install less && opkg install git

opkg install bash
opkg install less
opkg install git

chsh -s /bin/bash

vi /lib/systemd/system/sshd.socket

add # to BindToDevice=usb0 with a #

opkg install libmraa0

ifconfig usb0 down && ifconfig wlan0 down && ifconfig wlan0 up

実施前

root@edison:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               475080    335540    102844  77% /
devtmpfs                491736         0    491736   0% /dev
tmpfs                   492048         0    492048   0% /dev/shm
tmpfs                   492048       492    491556   0% /run
tmpfs                   492048         0    492048   0% /sys/fs/cgroup
tmpfs                   492048       492    491556   0% /etc/machine-id
systemd-1                 5638      5184       454  92% /boot
tmpfs                   492048         4    492044   0% /tmp
systemd-1              2337308     22516   2298408   1% /home
tmpfs                   492048         0    492048   0% /var/volatile
/dev/mmcblk0p5            1003        19       913   2% /factory
/dev/mmcblk0p10        2337308     22516   2298408   1% /home
/dev/mmcblk0p7            5638      5184       454  92% /boot
root@edison:~#

実施後

root@edison:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               475080    335540    102844  77% /
devtmpfs                491736         0    491736   0% /dev
tmpfs                   492048         0    492048   0% /dev/shm
tmpfs                   492048       492    491556   0% /run
tmpfs                   492048         0    492048   0% /sys/fs/cgroup
tmpfs                   492048       492    491556   0% /etc/machine-id
systemd-1                32686      5184     27502  16% /boot
tmpfs                   492048         4    492044   0% /tmp
systemd-1              2337308     27708   2293216   1% /home
tmpfs                   492048         0    492048   0% /var/volatile
/dev/mmcblk0p5            1003        19       913   2% /factory
/dev/mmcblk0p10        2337308     27708   2293216   1% /home
/dev/mmcblk0p7           32686      5184     27502  16% /boot

コマンド


df
mkdir /home/root/boot-backup
cp -rp /boot/* /home/root/boot-backup/
umount /boot
mkfs.vfat -v -nboot -F16 /dev/mmcblk0p7
mount /boot
cp -rp /home/root/boot-backup/* /boot
df

http://iotdk.intel.com/sdk/mraa-update/
http://iotdk.intel.com/sdk/upm-update/
http://iotdk.intel.com/sdk/1.1/

http://matsup.blogspot.jp/2015/03/intel-edison-opkg-upgrade-windows-usb.html