Difference between revisions of "IoTGateway/Features/Linux/Software"
From ESS-WIKI
Daniel.hung (talk | contribs) |
Daniel.hung (talk | contribs) |
||
Line 27: | Line 27: | ||
==Yocto== | ==Yocto== | ||
− | + | In this section, we share some tips to use & modify BB files. | |
+ | ===How to get multi-sources from GIT server=== | ||
+ | You can assign a '''name''' to distinguish the different GIT URIs, and define different '''destsuffix''' to save them respectively. | ||
+ | Furthermore, to override SRCREV with the '''name''', you can assign different commit id for each GIT branch. | ||
+ | |||
+ | SRC_URI = " \ | ||
+ | <nowiki>git://git.allseenalliance.org/gerrit/core/alljoyn.git</nowiki>;protocol=https;branch=${GIT_BRANCH};'''name'''=<span style="color:red">router</span>;'''destsuffix'''=git/core/alljoyn \ | ||
+ | <nowiki>git://git.allseenalliance.org/gerrit/services/base.git</nowiki>;protocol=https;branch=${GIT_BRANCH};'''name'''=<span style="color:blue">services</span>;'''destsuffix'''=git/services/base \ | ||
+ | file://modify_flags_for_yocto.patch" | ||
+ | SRCREV_<span style="color:red">router</span> = "0d71b216bb3a3cadc615c3eda6f8200093c5e117" | ||
+ | SRCREV_<span style="color:blue">services</span> = "403cda579242701d42d2d7c0da308d63a8f46070" |
Revision as of 07:16, 3 August 2016
Contents
Console
Disable serial debug console
Device Tree
Customize device tree
Gstreamer
How to play video
Java
How to install Java
Linux Kernel
Get kernel configs from running OS
You can get the .config file in running Linux OS by the following command.
# zcat /proc/config.gz > current.config
Furthermore, this feature is enabled by CONFIG_IKCONFIG_PROC.
OpenCV
Open source computer vision
Python
Install Python
SSH
SSH connection
Yocto
In this section, we share some tips to use & modify BB files.
How to get multi-sources from GIT server
You can assign a name to distinguish the different GIT URIs, and define different destsuffix to save them respectively. Furthermore, to override SRCREV with the name, you can assign different commit id for each GIT branch.
SRC_URI = " \ git://git.allseenalliance.org/gerrit/core/alljoyn.git;protocol=https;branch=${GIT_BRANCH};name=router;destsuffix=git/core/alljoyn \ git://git.allseenalliance.org/gerrit/services/base.git;protocol=https;branch=${GIT_BRANCH};name=services;destsuffix=git/services/base \ file://modify_flags_for_yocto.patch" SRCREV_router = "0d71b216bb3a3cadc615c3eda6f8200093c5e117" SRCREV_services = "403cda579242701d42d2d7c0da308d63a8f46070"