Openwrtでalljoynコンパイルプロセスをサポート
4381 ワード
原文参照:https://allseenalliance.org/developers/develop/building/linux/openwrt
このリンクはopenwrt上でalljoynを実行するサーバとインスタンスプログラムを実現し、システムは14.06バージョンに自動的に更新される.ユーザーはAPPクライアントでデバイスの制御を実現し、openwrtベースのデバイスをalljoynのクライアントと見なすことができる.後でalljoynオプションをすべて選択してください.そうしないと、一部のプログラムは実行できません.
注意コンパイル後、ファームウェアは5 M程度あるはずですが、FLASHが小さすぎる場合は、交換してください!
内容:
AllJoyn feeds exist on the following OpenWRT platform releases: v12.09 - official tagged release Attitude Adjustment - current stable release Barrier breaker - current development version
Follow these instructions to add AllJoyn to your OpenWRT environment.
For Attitude Adjustment, use 39585 or later, or apply patch 4802 (The 12.09 tagged release requires this patch. The latest version on the Attitude Adjustment branch already has the patch applied.) For Barrier Breaker, use 39048 or later, or apply patch 4576 (The latest version of Barrier Breaker, aka trunk, already has the patch applied.)
Add only one of these lines to your feeds.conf: For the official OpenWrt v12.09 tagged release For Attitude Adjustment For Barrier Breaker
If you built AllJoyn as a module, move those IPKs over to your OpenWRT device and run
If you built AllJoyn directly into the image, simply flash the new firmware onto your OpenWRT device.
AllJoyn libs will be installed in
Start the AllJoyn daemon
Optionally, enable the AllJoyn demon to start at boot-up.
Follow the Linux instructions to run sample apps. Note that since AllJoyn binaries and libs are installed in
このリンクはopenwrt上でalljoynを実行するサーバとインスタンスプログラムを実現し、システムは14.06バージョンに自動的に更新される.ユーザーはAPPクライアントでデバイスの制御を実現し、openwrtベースのデバイスをalljoynのクライアントと見なすことができる.後でalljoynオプションをすべて選択してください.そうしないと、一部のプログラムは実行できません.
注意コンパイル後、ファームウェアは5 M程度あるはずですが、FLASHが小さすぎる場合は、交換してください!
内容:
BUILDING OPENWRT
AllJoyn feeds exist on the following OpenWRT platform releases:
Build and Install AllJoyn
Follow these instructions to add AllJoyn to your OpenWRT environment.
Patch OpenSSL
Edit Feed
Add only one of these lines to your feeds.conf:
src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;openwrt_12.09
src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;attitude_adjustment
src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;barrier_breaker
Update Feeds
./scripts/feeds update -a
Install the AllJoyn package definitions
./scripts/feeds install -a -p alljoyn
Enable the AllJoyn packages to build
make menuconfig
Networking --->
< > alljoyn --->
< > alljoyn-about
< > alljoyn-c
< > alljoyn-config --->
< > alljoyn-config-samples
< > alljoyn-controlpanel --->
< > alljoyn-controlpanel-samples
< > alljoyn-notification --->
< > alljoyn-notification-samples
< > alljoyn-sample_apps
< > alljoyn-services_common
Install AllJoyn
If you built AllJoyn as a module, move those IPKs over to your OpenWRT device and run
opkg install
. If you built AllJoyn directly into the image, simply flash the new firmware onto your OpenWRT device.
AllJoyn libs will be installed in
/usr/lib/
and binaries will be installed in /usr/bin/
. Run AllJoyn
Start AllJoyn
Start the AllJoyn daemon
/etc/init.d/alljoyn start
Optionally, enable the AllJoyn demon to start at boot-up.
/etc/init.d/alljoyn enable
Run Sample Apps
Follow the Linux instructions to run sample apps. Note that since AllJoyn binaries and libs are installed in
/usr/bin/
and /usr/lib/
, that the AllJoyn apps can run directly from any path without setting LD_LIBRARY_PATH
.