Please follow the steps to create upg file for upgrading.

  step1: Please reserve free disk spaces about 10GB on Linux PC and copy all CD files into it (We take Ubuntu v14.04.1)

  step2: login as root

  step3: install applications for compiling source code
	~# apt-get install patch gawk zlib1g-dev libexpat1-dev libgcrypt11-dev libffi-dev libdbus-1-dev flex bison libtool libglib2.0-dev intltool gettext g++ texinfo libncurses5-dev bsdiff

  step4: run command below and select "No" to disable dash
	~# dpkg-reconfigure dash

  step5: untar ENRG2-GPL-V4.05.03.tar.bz2
	~# tar xvf ENRG2-GPL-V4.05.03.tar.bz2

  step6: compile source code
	~# cd ENRG2-GPL-V4.05.03/N0/ && source set_env_kronos.sh && make && ./pack_fw_upgrade.sh allYES

After compiling finish, you could find that the upg file is located in ~/ENRG2-GPL-V4.05.03/N0/build/fw-upgrade/
	
	