Kosong / Kosong Plus Information

From Compex Wiki
Revision as of 17:49, 7 December 2017 by Winston (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Kosong / Kosong Plus SDK is equivalent to the QCA Reference SDK suitable for Compex boards.

Just like CompexWRT, Kosong / Kosong Plus SDK contains the QCA wireless drivers.

This is in contrast to OpenWRT / LEDE that contains only open source ath9k / ath10k wireless drivers.

Kosong / Kosong Plus SDK Compilation

This page has instructions designed to let developers with a degree of understanding in OpenWRT and our Embedded Boards to compile specific versions of Kosong / Kosong Plus to be flashed on our Embedded Boards.

System Prerequisite: GIT

GIT has to be installed / configured in your Linux compilation environment first. To do this, please run the following commands, replacing with your name and email address, for example:

git config --global user.name "Steve Smith"
git config --global user.email "Steve_Smith@Sensible.Sg"

This only needs to be done once.

If this is not done, when running make V=s, the following error message appears:

fatal: empty ident name (for <steve_smith@localhost.localdomain>) not allowed

If the error happened, run these commands:

mkdir -p ~/test123abc/tmp/dl/mac80211-20161201 (where test123abc did not exist before)
GIT_NAME=$(echo git://codeaurora.org/quic/qsdk/kvalo/ath.git | sed -e 's:.*//[^/]*.::g'); 
git clone git://codeaurora.org/quic/qsdk/kvalo/ath.git ~/test123abc/tmp/dl/mac80211-kernel || ([ -n ""git://codeaurora.org/quic/qsdk/"" ] && rm -rf ~/test123abc/tmp/dl/mac80211-kernel && git clone "git://codeaurora.org/quic/qsdk/"$GIT_NAME ~/test123abc/tmp/dl/mac80211-kernel)
rm -rf ~/test123abc
git config --global user.name "Steve Smith"
git config --global user.email "Steve_Smith@Sensible.Sg"
(e.g.) cd ~/test123/b171103/ipq80xx-spf50-cs1/qsdk
rm -rf tmp/dl/mac80211-20161201
make package/mac80211/compile V=s