Open Source Software Code Test Procedure

1. Firmware: v1.0.0.42

2. Contents:
	Untar Open Source Software "EX6110_v1.0.0.42.tar.gz", you will get following files.
	use command:
	# tar -zxvf EX6110_v1.0.0.42.tar.gz

    a) EX6110_source.tar.bz2: The source tree directory.
    b) toolschain.tar.bz2: The toolchains used to build the firmware.
    c) EX6110_v1.0.0.42_README.txt: Instructions of building firmware.

3. How to install the system?
    a) The compile environment we used is CentOS release 6.8 (Final) with i386 cpu and we only support 32-bit system.
    b) Make sure the system time of the compilation OS is same with real time.

4. How to make?
    a) When the system installation is complete we need to install the compiler tool chain and make Open Source Software file, you can follow the steps below.
        1) Login system with root user.

        2) Copy the file "toolchains.tar.bz2" to the "/opt" folder and "EX6110_source.tar.bz2" to the "/home" folder from you external device.

        3) Open a terminal and untar toolchains.tar.bz2.
            Untar the cross compiler file at directory "/opt"
            # cd /opt
            # tar -jxvf toolchains.tar.bz2
	    Then you will get a directory called "buildroot-gcc342".
            
        4) Go to directory "/home/".
            use command:
            # cd /home/

        5) Untar Open Source Software "EX6110_source.tar.bz2".
            use command:
            # tar -jxvf EX6110_source.tar.bz2

        6) Set execute permissions.
            use command:
            # chmod 777 EX6110_source -R

        7) Go to directory "EX6110_source/".
            use command:
            # cd EX6110_source/

        8) Make Open Source Software.
            use command:
            # make prepare && make

    b) The final image is under directory: /home/EX6110_source/build/romfs/image.img.(image.bin include the image.img and boot-loader.)

5.How to install?
    a) Upgrade image.img via router's Web UI. (please refer your user manual)

	   *NOTE*, I have to say, if you modified something and cause some errors,
	   the device may not be able to restart again.
	   
	   So, PLEASE MAKE SURE YOU REALLY KNOW WHAT YOU ARE DOING BEFORE YOU
	   UPGRADE ANY UNOFFICIAL FIRMWARE.
	   
6.Some hints
	The plateform we used on this project is mips, yeah, you might have
	known that after unpacking the cross compiler.
	It means, every change you want to make, could be verified in PC
	first. It's important, or you may need to restore the flash image
	much often.
	
7.Modules developed by us
	apps --- it is in the path : EX6110_source/src/apps
	
