-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0abca50
Showing
42,601 changed files
with
14,636,021 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
----------------------------------------------------------------------- | ||
HOW TO BUILD A FIRMWARE FOR THE Google Fiber Residential Gateway (RG) | ||
----------------------------------------------------------------------- | ||
|
||
* How to install the Actiontec Google Fiber RG source code onto the | ||
Linux workstation. | ||
* How to build the Google Fiber RG firmware for Actiontec GFRG110 | ||
Rev-K board. | ||
|
||
NOTE: The following procedures are known to work with recent versions of | ||
Fedora. Along with the Basic Fedora Install you will want to add the | ||
Software Developement packages that are provided with Fedora. | ||
|
||
The Actiontec Google Fiber RG Source Code, i386-jungo-linux-gnu compiler, | ||
arm-fibertec-linux-gnueabi toolchain and jpkg package can be obtained from | ||
the Actiontec support website at http://opensource.actiontec.com. | ||
|
||
1. Download Google Fiber RG source code, i386 GNU compiler, ARM toolchain | ||
and JPKG package. | ||
(4 files) | ||
Source code: actiontec-opensource-gfrg-rev-k-fw-X-Y-Z.tar.gz | ||
i386 GNU compiler: i386-jungo-linux-gnu.tar.gz | ||
ARM Toochain: toolchain-arm-fibertec-linux-gnueabi.jpkg | ||
JPKG package: jpkg.tar.gz | ||
|
||
2. Copy or Move the source code to the HOME directory | ||
$ cp actiontec-opensource-gfrg-rev-k-fw-X-Y-Z.tar.gz $HOME | ||
|
||
3. Change to the Home directory | ||
$ cd $HOME | ||
|
||
4. Extract the contents of the source code | ||
$ tar -zxvf actiontec-opensource-gfrg-rev-k-fw-X-Y-Z.tar.gz | ||
|
||
IMPORTANT: Extracting the source code creates the directory | ||
"opensource-gfrg-rev-k" and the subdirectory "rg". The bulk of the | ||
source code resides in "rg". The Makefiles in the distribution | ||
expects that Jungo's openrg GCC 3.3.2 based compiler will be located | ||
at "/usr/local/openrg". Both the x86 (i386-jungo-linux-gnu) and | ||
ARM (arm-fibertec-linux-gnueabi) compilers should be installed to the | ||
"/usr/local/openrg" directory. | ||
|
||
5. The following commands assume that the User is still in the Home directory. | ||
|
||
6. Change to Super User for the following commands, requires the root password | ||
$ su - | ||
PASSWORD: | ||
|
||
7. Create the "openrg" directory at "/usr/local" | ||
# mkdir /usr/local/openrg | ||
|
||
8. Move the compiler, toolchain and jpkg package to the "openrg" directory | ||
# mv i386-jungo-linux-gnu.tar.gz /usr/local/openrg | ||
# mv jpkg.tar.gz /usr/local/openrg | ||
# mv toolchain-arm-fibertec-linux-gnueabi.jpkg /usr/local/openrg | ||
|
||
9. Change to the "openrg" directory | ||
# cd /usr/local/openrg | ||
|
||
10. Extract the contents of the i386-jungo-linux-gnu compiler | ||
# tar -zxvf i386-jungo-linux-gnu.tar.gz | ||
|
||
11. Extract the contents of the jpkg package | ||
# tar -zxvf jpkg.tar.gz | ||
|
||
12. Install and prepare the toolchain | ||
# ./jpkg -x -C / toolchain-arm-fibertec-linux-gnueabi.jpkg | ||
|
||
13. Change to the original Home directory, the place-holder called <account>, | ||
represents the name of the account you were using before you changed to Super | ||
User, earlier in these directions. If your login is "bobby", then there will | ||
be a directory within the Home directory named "bobby", and that is where you | ||
will find the "/opensource-gfrg-rev-k/rg" directory. If so, the command | ||
would look like this: "cd /home/bobby/opensource-gfrg-rev-k/rg".) | ||
# cd /home/<account>/opensource-gfrg-rev-k/rg | ||
|
||
14. When you have changed to the "rg" directory, the following command will | ||
build the Google Fiber RG source code. | ||
# make config DIST=FIBERTEC_FEROCEON CONFIG_RG_GPL=y LIC=../jpkg_fibertec.lic.gpl && make | ||
|
||
|
||
PLEASE NOTE: The machine-readable software source code provided here is for | ||
programmers who may wish to alter or customize the code, and typically will | ||
not be of use to the vast majority of consumers. The software source code | ||
provided here is subject to Version 2 of the GPL or other GPL or LGPL licenses | ||
which are all included in the download and are available below and also at | ||
"http://www.gnu.org/licenses/" and as such, the software source code is | ||
distributed WITHOUT ANY WARRANTY and subject to the copyrights of the authors. | ||
Compiling errors due to lack of public libraries/tools in the customer's | ||
specific platform/OS are the responsibility of the user of this GPL source code. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
OpenRG 6.0.7.1.4 for feroceon reference board Compilation | ||
-------------------------------------------------- | ||
To build the openrg.img run: | ||
$ cd /home/tranand/rg-6.0.7.1.4/rg | ||
$ make config DIST=FIBERTEC_FEROCEON LIC=/home/tranand/rg-6.0.7.1.4/jpkg_fibertec.lic && make | ||
|
||
|
||
OpenRG 5.4.13.1.24 for feroceon reference board with Marvell Wireless Compilation | ||
--------------------------------------------------------------------------------- | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_MV_WIFI_8764=m LIC=../jpkg_fibertec.lic && make | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_MV_WIFI_8764=m CONFIG_RG_VOIP_MEDIA5=y LIC=../jpkg_fibertec.lic && make | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_RG_PROD_IMG=y CONFIG_MV_WIFI_8764=m LIC=../jpkg_fibertec.lic && make | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_RG_PROD_IMG=y CONFIG_MV_WIFI_8764=m CONFIG_RG_VOIP_MEDIA5=y LIC=../jpkg_fibertec.lic && make | ||
|
||
|
||
OpenRG 5.4.13.1.24 for feroceon reference board with Atheros Wireless Compilation | ||
--------------------------------------------------------------------------------- | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_RG_ATHEROS_FUSION=y LIC=../jpkg_fibertec.lic && make | ||
make config DIST=FIBERTEC_FEROCEON CONFIG_RG_ATHEROS_FUSION=y CONFIG_RG_VOIP_MEDIA5=y LIC=../jpkg_fibertec.lic && make |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
JPKG: rg-base_6.0.7.1.4_src.ejpkg 6ddb0e79e49cfb25 | ||
JPKG: rg-atm_6.0.7.1.4_src.ejpkg 61ecd1b9f428127f | ||
JPKG: rg-build_6.0.7.1.4_src.ejpkg cf5ed301d88e2b9f | ||
JPKG: rg-busybox_6.0.7.1.4_src.ejpkg d41e5a504cf8f3ad | ||
JPKG: rg-dosfstools_6.0.7.1.4_src.ejpkg 1fabd4fa1312be81 | ||
JPKG: rg-e2fsprogs_6.0.7.1.4_src.ejpkg 7e08301365c240d1 | ||
JPKG: rg-flex_6.0.7.1.4_src.ejpkg 920d8a2ad2b01c16 | ||
JPKG: rg-freeswan_6.0.7.1.4_src.ejpkg 44c849486b04df9f | ||
JPKG: rg-gdb_6.0.7.1.4_src.ejpkg 8d233dd3a9f7d0b5 | ||
JPKG: rg-gmp_6.0.7.1.4_src.ejpkg 39783dfd1a459770 | ||
JPKG: rg-iproute2_6.0.7.1.4_src.ejpkg 2aef8543daf0103a | ||
JPKG: rg-kernel-atm_6.0.7.1.4_src.ejpkg b8b8914aa48e956a | ||
JPKG: rg-l2tp_6.0.7.1.4_src.ejpkg e8e563f2b645da0d | ||
JPKG: rg-lzma_6.0.7.1.4_src.ejpkg 94d10c8f07f4a0c3 | ||
JPKG: rg-net-tools_6.0.7.1.4_src.ejpkg 51834da99c28e0d8 | ||
JPKG: rg-openssl_6.0.7.1.4_src.ejpkg 1f545320a56a1322 | ||
JPKG: rg-pppoe-relay_6.0.7.1.4_src.ejpkg fe28b0fc21f2e41a | ||
JPKG: rg-syslog-glibc_6.0.7.1.4_src.ejpkg b2445d05187f1525 | ||
JPKG: rg-termcap_6.0.7.1.4_src.ejpkg abc5f63e59f1c6fe | ||
JPKG: rg-ulibc_6.0.7.1.4_src.ejpkg 71ea3d88d1429336 | ||
JPKG: rg-util-linux_6.0.7.1.4_src.ejpkg 9df5adac1a70187c | ||
JPKG: rg-zlib_6.0.7.1.4_src.ejpkg 86deae30e207362c | ||
JPKG: rg-linux-2.6-arm_6.0.7.1.4_src.ejpkg 3d4558401fdb39c0 | ||
JPKG: rg-linux-2.6_6.0.7.1.4_src.ejpkg 4aa7301db2c1f55d | ||
JPKG: rg-cramfs_6.0.7.1.4_src.ejpkg 9fef9d2f2a8c4242 | ||
JPKG: rg-uclibcxx_6.0.7.1.4_src.ejpkg 0b39cdbf91d08409 | ||
JPKG: rg-u-boot_6.0.7.1.4_src.ejpkg 2af2d61a59515248 | ||
JPKG: rg-librg-gpl_6.0.7.1.4_src.ejpkg be216032363dbfea | ||
JPKG: rg-include-gpl_6.0.7.1.4_src.ejpkg 600411fff11d712a | ||
JPKG: rg-kernel_6.0.7.1.4_src.ejpkg 527fe5c5b0a6edeb | ||
JPKG: rg-ppp-gpl_6.0.7.1.4_src.ejpkg 12fa82b408ae3784 | ||
JPKG: rg-hostapd_6.0.7.1.4_src.ejpkg 5b0af3233278c418 | ||
JPKG: rg-ntfsprogs_6.0.7.1.4_src.ejpkg 87e4d1113ec775ad | ||
JPKG: rg-quagga_6.0.7.1.4_src.ejpkg 76f7970ddc71f639 | ||
JPKG: rg-ntfs-3g_6.0.7.1.4_src.ejpkg 2441e27c630f1f83 | ||
JPKG: rg-vendor-atheros-ar5006-gpl_6.0.7.1.4_src.ejpkg 9dafa6b37b06c389 | ||
JPKG: rg-uboot_6.0.7.1.4_src.ejpkg 3a0fba5a55032e7c | ||
JPKG: rg-kernel-boot_6.0.7.1.4_src.ejpkg de71875ded5c5946 | ||
JPKG: rg-libwbm-js_6.0.7.1.4_src.ejpkg eef1d36096ad5c95 | ||
JPKG: rg-util-jgpl_6.0.7.1.4_src.ejpkg 6eb0d24f15ed7c12 | ||
JPKG: rg-util-lgpl_6.0.7.1.4_src.ejpkg b6a4488e99c1a8a7 | ||
JPKG: rg-mtd-utils_6.0.7.1.4_src.ejpkg 59958a402be5ccda | ||
JPKG: rg-vendor-marvell-feroceon-gpl_6.0.7.1.4_src.ejpkg 4bc26ef678ab70ec | ||
JPKG: rg-libnl_6.0.7.1.4_src.ejpkg 3d588130b2a5b1e0 | ||
JPKG: rg-kernel-fs_6.0.7.1.4_src.ejpkg 7094818a6e7ca9fc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JPKG_SRC |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
LICENSE AGREEMENT | ||
|
||
IMPORTANT - READ CAREFULLY: THIS JUNGO LICENSE AGREEMENT ("AGREEMENT") IS A | ||
LEGAL AGREEMENT BETWEEN YOU AND JUNGO LTD. ("JUNGO"), FOR THE OPENRG / OPENSMB | ||
SOFTWARE PRODUCT ACCOMPANYING THIS LICENSE (THE "SOFTWARE"). BY INSTALLING, | ||
COPYING OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE LEGALLY BOUND BY THE | ||
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS AND | ||
CONDITIONS OF THIS AGREEMENT, DO NOT INSTALL, COPY, OR OTHERWISE USE THE | ||
SOFTWARE. | ||
|
||
1.Commercial License. If, prior to the date of this Agreement, you and Jungo | ||
have executed a written License and Distribution Agreement for the use of the | ||
Software, then your use of the Software is governed strictly by the terms and | ||
conditions of such License and Distribution Agreement. If there is any | ||
conflict between the terms hereof and the terms of the said License and | ||
Distribution Agreement, the terms of the latter shall prevail. | ||
2.Internal Development License. If, prior to the date of this Agreement, you | ||
and Jungo have executed a written Memorandum of Understanding for your use of | ||
the Software, and you have paid Jungo all license fees for the Software, as | ||
specified in the Memorandum of Understanding, then Jungo hereby grants you a | ||
personal, non-exclusive, non-transferable and non-sublicensable license, | ||
during the Development License Term (as defined below), to use the Software, | ||
solely for the limited purpose of internal development, porting and | ||
integration of the Software on your premises (the "Internal Development | ||
License"). This Internal Development License allows you to make copies of the | ||
Software, each copy containing all copyright notices and other proprietary | ||
legends appearing on the original copy of the Software. The Internal | ||
Development License is granted to you for the term of the Memorandum of | ||
Understanding ("Development License Term"), and thereafter shall | ||
automatically expire. | ||
3.Evaluation License. If you do not have effective License and Distribution | ||
Agreement or a Memorandum of Understanding executed between you and Jungo | ||
with respect to your use of the Software, then Jungo hereby grants you a | ||
personal, non-exclusive, non-transferable and non-sublicensable license, | ||
during the Evaluation License Term (as defined below), to use the Software, | ||
solely for the limited purpose of testing, demonstrating and evaluating the | ||
Software internally and on your premises (the "Evaluation License"). Without | ||
derogating from the generality of the aforesaid, you may not: (i) use the | ||
Software for development purposes, (ii) make any commercial use of the | ||
Software, (iii) grant any third party any right to use the Software, or (iv) | ||
provide any services based on the Software, all whether or not for any | ||
consideration. This Evaluation License allows you to download, install and | ||
make one copy of the Software, which copy shall contain all copyright notices | ||
and other proprietary legends appearing on the original copy of the Software. | ||
The Evaluation License is granted to you for a limited term of 30-days, | ||
starting on the date you first download the Software (the "Evaluation License | ||
Term"), and thereafter shall automatically expire. IF, AFTER THE EXPIRATION | ||
OF THE EVALUATION LICENSE TERM, YOU WISH TO OBTAIN A LICENSE TO USE THE | ||
SOFTWARE FOR INTERNAL DEVELOPMENT OR FOR COMMERCIAL PURPOSES PLEASE CONTACT | ||
JUNGO LTD. | ||
4.Restrictions on Use. Except as expressly permitted under the License granted | ||
to you, under Section 1, 2 or 3 above, as applicable, you may not, and may | ||
not permit or aid others to: | ||
4.1.translate, reverse engineer, decompile, disassemble, reproduce, duplicate, | ||
copy, or otherwise disseminate all or any part of the Software, or extract | ||
source code from the object code of the Software; | ||
4.2.make any commercial use of the Software, including without limitation, | ||
assign, distribute, sublicense, transfer, pledge, lease, rent, or share your | ||
rights under this Agreement, all whether or not for any consideration; | ||
4.3.use the Software for demonstration or evaluation by any third parties or | ||
provide any services based on the Software, whether or not for any | ||
consideration; | ||
4.4.incorporate or link any open source software with any open source software | ||
part of the Software, or otherwise take any action which may cause the | ||
Software or any portion thereof to be subjected to the terms of the Free | ||
Software Foundation's General Public License (GPL) or Lesser General Public | ||
License (LGPL), or of any other open source code license; | ||
4.5.allow any third party any use of the Software; or | ||
4.6.grant access to or disclose to any third party the Software or any portion | ||
thereof. | ||
5.Third Party and Open Source License. Any third party software included in the | ||
Software shall be governed by the terms of this Agreement; provided, however, | ||
that any Open Source software included in the Software shall be governed | ||
solely by the terms of the accompanying open source software license | ||
agreement. For purposes of this Agreement, the term "Open Source" means the | ||
Free Software Foundation's General Public License (GPL) or Lesser General | ||
Public License (LGPL). If any open source software is provided hereunder in | ||
object code, and its accompanying license requires that it be provided in | ||
source code as well, you may receive such source code by sending Jungo, via | ||
registered mail, a certified check for US$15.00 to cover our production and | ||
shipping costs. Please send the check to the following address, and a CD with | ||
the appropriate source code will be mailed to you: Jungo Ltd., 1 Hamachshev | ||
St., Poleg Industrial Center, Netanya 42504, Israel. | ||
6.Effects of Termination. Upon expiration or other termination of this | ||
Agreement or the License granted to you hereunder, you will immediately | ||
remove all copies of the Software from your computer(s). | ||
7.Proprietary Rights. All right, title, and interest in and to the Software, | ||
including associated intellectual property rights, are and shall remain with | ||
Jungo and its licensors, and may be protected by copyright, trademark, patent | ||
and trade secret law and international treaties. This Agreement does not | ||
convey to you an interest in or to the Software, but only a limited and | ||
revocable right of use, in accordance with the terms of this Agreement. You | ||
may not remove any proprietary notices and/or any legends from the Software. | ||
8.Confidentiality. The Software contains confidential and proprietary | ||
information of Jungo. Accordingly, you agree that you will not, nor allow any | ||
third party to, disseminate, transfer, grant access to, or otherwise disclose | ||
to any third party the Software or any part thereof or any other confidential | ||
or proprietary information of Jungo provided in connection therewith. You | ||
will maintain all copies of the Software and all related documentation in | ||
confidence. | ||
9.Exclusion of Warranty. THE SOFTWARE IS PROVIDED IN THE FORM OF A | ||
NON-COMMERCIAL TESTING-LEVEL EVALUATION VERSION AND AS SUCH, IS PROVIDED "AS | ||
IS", AND JUNGO HEREBY DISCLAIMS ANY WARRANTIES, WHETHER EXPRESS OR IMPLIED, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. YOU ASSUME ALL | ||
LIABILITY, FINANCIAL OR OTHERWISE, ASSOCIATED WITH YOUR USE OF THE SOFTWARE. | ||
10.Limitation on Liability. IN NO EVENT SHALL JUNGO BE LIABLE FOR ANY DIRECT, | ||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO LOSS OF USE, DATA, OR PROFITS, OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND UNDER ANY THEORY OF LAW, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING OR RELATED IN ANY WAY TO THE USE OF THE SOFTWARE, EVEN IF ADVISED OF | ||
THE POSSIBILITY OF SUCH DAMAGES. | ||
11.Governing Law and Jurisdiction. This Agreement shall be construed and | ||
governed in accordance with the laws of the State of CA, USA, regardless of | ||
its conflict of laws rules, and the competent courts of the State of CA | ||
shall have sole and exclusive jurisdiction over any dispute under this | ||
Agreement or otherwise related to the Software. | ||
12.Miscellaneous. Should any term of this Agreement be declared void or | ||
unenforceable by any court of competent jurisdiction, such declaration shall | ||
have no effect on the remaining terms hereof. The failure of either party to | ||
enforce any rights granted hereunder or to take action against the other | ||
party in the event of any breach hereunder shall not be deemed a waiver by | ||
that party as to subsequent enforcement of rights or subsequent actions in | ||
the event of future breaches. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This is a container to all the special make command goals that does not | ||
# require jmk logic. The real work is done in Makefile.main. | ||
|
||
IN_RGSRC_ROOT=y | ||
|
||
ifndef JMKE_ENV_INCLUDED | ||
JMK_ROOT:=$(PWD) | ||
|
||
ifeq ($(filter test_jpkg,$(MAKECMDGOALS)),) | ||
include $(JMK_ROOT)/jmk/env_root.mak | ||
endif | ||
|
||
endif | ||
|
||
SPECIAL_MAKECMDGOALS=echovar distclean test_jpkg | ||
|
||
echovar: | ||
@echo $($(ECHOVAR)) | ||
|
||
distclean: | ||
rm -rf $(JMKE_BUILDDIR) $(BUILDDIR_LINK) | ||
|
||
test_jpkg: $(JMK_ROOT)/pkg/tools/compile_jpkg.sh | ||
@MAKEFLAGS="$(filter-out LIC=% JPKG_DIST=% CONTINUE=% DATE=%,$(MAKEFLAGS))" $< | ||
@echo | ||
@echo JPKGs compiled succesfully ! | ||
@echo | ||
|
||
|
||
ifeq ($(filter $(SPECIAL_MAKECMDGOALS), $(MAKECMDGOALS)),) | ||
include $(JMK_ROOT)/Makefile.main | ||
endif | ||
|
||
.PHONY: $(SPECIAL_MAKECMDGOALS) |
Oops, something went wrong.