Professional Documents
Culture Documents
SGTK-MMC 13aug
SGTK-MMC 13aug
SGTK-MMC 13aug
su -
Password ::root123 (or “cdot123” :::five the password of the root.)
MAXNG login=root
Passwd=root
$cd /jffs2/conf/
vi net
(You have to create a file structure if conf is not there in /jffs2, then create net file)
Do the following entries, first confirm Gateway IP, Netmask IP, SGTK IP.
$ reboot
Requirements
LAPTOP/PC should be in same network and above file should be in following path Linux OS ,
/tftpboot
$ cd /tftpboot
$ cp /root/Desktop/MAXNG_IMG_V02R05-TRIAL /tftpboot
Procedure
Type "printenv" to see all the set parameter:::SGTK-U-BOOT-8280=> printenv , following data will appear
===============================
bootdelay=10
baudrate=115200
ethact=FCC1 ETHERNET
bootcmd=bootm 0xfe800000
bootargs=root=/dev/ram rw
ethaddr=00:0b:17:00:04:08
ipaddr=192.168.103.210
bootfile= MAXNG_IMG_V02R05-TRIAL
serverip=192.168.103.59
stdin=serial
stdout=serial
stderr=serial
================================
As by name it is shown boot file image is MAXNG_IMG_V02R05-TRIAL,
SGTK-U-BOOT>> load_cflash
Erasing the code flash
Starting Flash Programming
This will burn the desired image to RAMDISK.
SGTK-U-BOOT>> lboot
=============================================================
Image Name: Multi File Image (Kernel+Ramdisk
Image Type: PowerPC Linux Multi-File Image (gzip compressed)
Data Size: Bytes =7.4 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 781454 Bytes = 763.1 kB
Image 1:3266209 Bytes = 3.1 MB
Verifying Checksum ... OK
==========================================================
7.4 MB file size will confirm the MAXNG_IMG_V02R05-TRIAL image.
**************************************************
if the above command is not working the n do the following
$cd /bin
$./format_mmc
************************************************
Requirements
DATE Setting
The date can be verified by “date” command given at “$” prompt of Ramdisk. The date can be set
permanently ( will not be reset by reboot also) in the following way:
The example is shown to set date 13 july2010, thursday, and UTC time 13:35:50
$ setrtc
********************************************
Year (YY) :10
Hours (HH) :13 ( Note : Time should be in UTC , can be seen from p.c by “date -u” command)
$ chroot mmc
sh-3.00# ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
Requirements
ems2.1.2_17.1-lagsgtk.tar
lagconf_1.4tar
lagrel_1.4tar
Procedure
$cd /root/Desktop/SGTK/LAG
Since this release contains PATCH for AGENT so we have to copy the AGENT PATCH by using the
following command.
cp /usr/local/bin/lag/lag_mount/SGTK/EMS/AGENT/agent_patch/lagagent
/usr/local/bin/lag/AGENT/lagagent/bin/.
Sh exit
Requirements
Newalltones_digits_srec.srec
dsptonefuse.ko
Procedure
Copy tone file (Newalltones_digits_srec_srec) in the machine (In this case
Newalltones_digits_srec_srec
is copied in /home/cdot/Desktop/tones/ ...in lenlin52)
1) Telnet <PIC> (PIC where tone is to be fused)
Shutdown the processes running on the system (PIC/DSP) by the command:
./lag_shutdown.sh
Exit from disk_on_chip and give system command “reboot”
2) lsmod
Give command when DSP driver is not running.
3) rmmod dsp (DSPDTMF....) driver
4)copy tone fusing file and dsp driver in /disk_on_chip/tmp of PIC/DSP.
5)From /disk_on_chip/tmp
* insmod <dsp driver name>
6) Obscure "DSP MINICOM" (..in this case DSP minicom obscured in lenlin52)
after connecting minicom (connector starts from 7th pin) \
then in monitor ..
* <prompt> su
* password : root
* <prompt> minicom
7) In DSP MINICOM, DSP TST main menu will be displayed
8)There type 1 (option 1) then press return key.
9)Then type 4 (option 4) and press return key.
10) Then type 1 (option1 ) and press return key.
11) Then type 1 (option 1) and press return key.
12) Press <cntrl a z> and press return key.
13) Type s and select “ASCII”
14) Select GOTO button and press return key.
15) A space appears on the screen . There type the path from where tone file is to be
extracted. For example : type the path : </home/cdot/Desktop/tones>
16) select the tone file Newalltones_digits_srec_srec in the path defined.
17) After loading message appears on the screen press return key.
18) Tones start fusing and takes about 45 minutes .
19) Once completed then restart the system after removing present dsp driver (rmmod dsp
driver)