0% found this document useful (0 votes)
21 views

iQ Modem Migration Steps - Evolution to Velocity - Using Terminal Console 1

Uploaded by

Luis Felipe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

iQ Modem Migration Steps - Evolution to Velocity - Using Terminal Console 1

Uploaded by

Luis Felipe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

iQ_Remote_Software_Manual_Procedure without using WUI:

1. Use a NMS server (EVO or VEL), to un-package the iq image:


[root@NMS1 tmp]# ls

iqseries_rootfs_urt_1.7.0.0-467.pkg

[root@NMS1 tmp]# package -mx -a iqseries_rootfs_urt_1.7.0.0-467.pkg


SavePackage: [7FC5] boardModel.xlate (37)...Saved.
SavePackage: [40E7] falcon_factory.json (2432)...Saved.
SavePackage: [4052] idirect-release (34)...Saved.
SavePackage: [856F] install_file_map (315)...Saved.
SavePackage: [C9D4] package.signatures (5978)...Saved.
SavePackage: [4151] package_install.sh (50244)...Saved.
SavePackage: [4DC4] package_summary.xml (1081)...Saved.
SavePackage: [2847] postinstall (9700)...Saved.
SavePackage: [F4C0] rootfs.tar.bz2 (15066254)...Saved.
SavePackage: [CFF5] sw_compat (2)...Saved.
SavePackage: [2344] version (28)...Saved.
SUCCESS saved package contents to ./

[root@NMS1 tmp]# ls
boardModel.xlate package.signatures rootfs.tar.bz2
falcon_factory.json package_install.sh sw_compat
idirect-release package_summary.xml version
install_file_map postinstall

2. Create the temporary installation folder and Winscp the un-packaged files to iQ modem
under “/run/Sabine_Pkg_Download_iQoDjt/”

root@iq-linux:active1:~] > cd /run/

[root@iq-linux:active1:~] > mkdir Sabine_Pkg_Download_iQoDjt

[root@iq-linux:active1:~] > cd /run/Sabine_Pkg_Download_iQoDjt/

 Winscp the files to the temporary installation folder

[root@iq-linux:active1:/run/Sabine_Pkg_Download_iQoDjt] > ls
boardModel.xlate package.signatures rootfs.tar.bz2
falcon_factory.json package_install.sh sw_compat
idirect-release package_summary.xml version
install_file_map postinstall
3. Install the package to active0 (for this example)
[root@iq-linux:active1:/run/Sabine_Pkg_Download_iQoDjt] > chmod +x
package_install.sh

[root@iq-linux:active1:/run/Sabine_Pkg_Download_iQoDjt]
> ./package_install.sh active0

========= Base Rootfs Package Installation script starting =========


Determining board model/hardware family: DONE
Ensure we have all required files: DONE
Delete /common/pkgDb/active0: DONE
Skipping mount of /mnt partition: DONE
Recreating /mnt/active0: DONE
Checking free space: DONE
Hard linking /mnt/active1 to /mnt/active0: DONE
Installing tar archive: rootfs.tar.bz2: DONE
Running the latest u-boot upgrade: SKIPPED
Running the latest bootloader upgrade: SKIPPED
Create directories in /mnt/active0. NONE
Installing files in /mnt/active0.
/etc/idirect-release DONE
/pkg/iqseries_rootfs_urt_1.7.0.0-467/version DONE
/pkg/iqseries_rootfs_urt_1.7.0.0-467/package_summary.xml DONE
Install factory options file: SKIPPED
Install default options file: SKIPPED
Create required sym-links: NONE
Running package postinstall scriptlet: DONE
Saving install_file_map: DONE
Update /common/pkgDb/active0: DONE
========= Base Rootfs Package Installation script complete =========

 Below messages will be shown, but it is normal as the temperary folder is deleted automatically at
this point!)

-sh: getcwd: No such file or directory


[root@iq-linux:active1:(unknown)] >
-sh: getcwd: No such file or directory

4. Check installation status:


[root@iq-linux:active1:] > cat /common/pkgDb/active1/status

Update complete, package status: iqseries_rootfs_urt_1.7.0.0-479-Success, 


this should be the results after console installation is done!

5. Check the disk space:


 Normal usage is about 65% under /mnt folder with 2 partitions are installed
[root@iq-linux:active1:(unknown)] > df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 123680 0 123680 0% /dev
tmpfs 124032 48352 75680 39% /tmp
/dev/ubi0_0 101036 65776 35260 65% /
/dev/ubi0_0 101036 65776 35260 65% /sysopt
/dev/ubi0_0 101036 65776 35260 65% /common
tmpfs 124032 0 124032 0% /dev/shm
tmpfs 124032 48 123984 0% /run
/dev/ubi0_0 101036 65776 35260 65% /mnt
tmpfs 124032 48 123984 0% /run/netns

6. Set boot partition and reboot (depend on the remote is under EVO or VEL mode):

In EVO mode:
root@iq-linux:active0:~] > fw_printenv
baudrate=115200
bootdelay=1
ethact=dwmac.bd4e0000
finalcpus=1
ipaddr=192.168.1.3
kernaddr=0x803fffc0
loadaddr=0x803fffc0
netmask=255.255.255.0
serverip=192.168.1.18
stderr=serial
stdin=serial
stdout=serial
ethaddr=8c:57:9b:a2:71:e8
eth1addr=8c:57:9b:a2:71:e9
startcpus=4
setboot=setenv bootargs console=ttyS0,115200n8 init=/bin/sh
debug,earlyprintk=serial,ttyS0,115200n8,keep partition=$fspart
maxcpus=$startcpus finalcpus=$finalcpus isolcpus=1-3
fdt_high=0xffffffff
fdtaddr=0x06000000
initrd_high=0xffffffff
ramfsaddr=0x07ffffc0
bootcmd=run setboot; bootm $kernaddr $ramfsaddr $fdtaddr
gps=0
fspart=active1

[root@iq-linux:active1:~] > fw_setenv fspart active0 (or active1, factory)

[root@iq-linux:active0:~] > reboot


In VEL Mode:
[root@iq-linux:active1:~] > flashdbmgr --get summary file

current partition: 3
main partition: 3
backup partition: 2
factory partition: 1
update count: 1

[root@iq-linux:active1:~] > flashdbmgr --set 2 3

[root@iq-linux:active1:~] > reboot

---------------------------------------------------------END------------------------------------------------------

[email protected]

You might also like