zoukankan      html  css  js  c++  java
  • ID X5 Modem 升级固件并更新opt文件

    ID X5 Modem 升级固件并更新opt文件

    主要使用的命令汇总:

    fis load linux
    exec -c "root=/dev/mtdblock2 console=ttyS1,9600 single"

    passwd
    root / P@55w0rd! service idirect_falcon stop ifconfig | grep inet ifconfig ixp0 192.168.222.220 netmask 255.255.255.0
    mount -t tmpfs -o remount,size=32M /tmp df -h tftp_package.sh 192.168.222.221 evo_x5_bsp-15.0.5.1.pkg mount -t tmpfs -o remount,size=32M /tmp df -h tftp_package.sh 192.168.222.221 evo_x5_rmt-15.0.5.1.pkg /usr/sbin/falcon --version
    grep modem_sn /etc/idirect/falcon/falcon.opt grep generated_by /etc/idirect/falcon/falcon.opt grep addr /etc/idirect/falcon/falcon.opt reboot
    ifconfig | grep inet
    /usr/sbin/falcon --version poweroff

    ===================

    一、连接串口

    二、在启动Linux核心

    将Modem重新加电,终端显示 DRAM Test Successful 后,此时马上按空格键4~5次,进入RedBoot命令行,使用以下命令启动Linux核心。

    > fis load linux

    > exec -c "root=/dev/mtdblock2 console=ttyS1,9600 single"

    DRAM Test 	................................
    DRAM Test Successful
    +Ethernet eth0: MAC address 00:60:43:00:00:00
    IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.2
    Default server: 192.168.0.2
    
    RedBoot(tm) bootstrap and debug environment [ROM]
     release, version "iDirect 1.1" - built 12:55:42, Jun 15 2011
    
    Platform: iDirect iDS Platform (XScale) 
    Copyright (C) 2004, 2005  iDirect Technologies, Inc.
    
    Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
    
    RAM: 0x00000000-0x10000000, [0x0001c540-0x01fd1000] available
    FLASH: 0x50000000 - 0x52000000, 256 blocks of 0x00020000 bytes each.
    == Executing boot script in 5.000 seconds - Press <Space Bar> to abort
    RedBoot> fis load linux                          
    RedBoot> exec -c "root=/dev/mtdblock2 console=ttyS1,9600 single"
    Using base address 0x01600000 and length 0x00100000
    Uncompressing Linux................................................................... done, booting the kernel.
    Linux version 2.4.24-uc0-iDirect0 (root@EmbEserver75) (gcc version 3.3.2) #1 Wed Jun 15 12:44:25 EDT 2011
    CPU: XScale-IXP4xx/IXC11xx revision 2
    Machine: iDirect Phoenix Platform

    使用以下命令修改root用户(默认密码为 iDirect )的新密码为 P@55w0rd!

    passwd

    三、建立IP连接

    使用 ifconfig 临时修改接口的IP地址

    / # ifconfig 
    ixp0      Link encap:Ethernet  HWaddr 00:60:43:67:69:91  
              inet addr:172.26.102.17  Bcast:172.26.102.23  Mask:255.255.255.248
              inet6 addr: fe80::260:43ff:fe67:6991/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
              RX packets:302 errors:0 dropped:0 overruns:0 frame:0
              TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:256 
              RX bytes:21626 (21.1 KiB)  TX bytes:11898 (11.6 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    / # 
    / # 
    / # ifconfig ixp0 192.168.222.220 netmask 255.255.255.0
    / # 
    / # ifconfig ixp0
    ixp0      Link encap:Ethernet  HWaddr 00:60:43:67:69:91  
              inet addr:192.168.222.220  Bcast:192.168.222.255  Mask:255.255.255.0
              inet6 addr: fe80::260:43ff:fe67:6991/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
              RX packets:345 errors:0 dropped:0 overruns:0 frame:0
              TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:256 
              RX bytes:24416 (23.8 KiB)  TX bytes:14070 (13.7 KiB)
    
    / # 
    / # 

    使用 service sshd restart 重启ssh服务

    / # service sshd reload
    Reloading OpenBSD Secure Shell server's configuration.
    / # 
    / # service sshd restart
    Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_ecdsa_key
    Could not load host key: /etc/ssh/ssh_host_ed25519_key
    .
    / # 

    四、重刷PKG固件

    使用tftpd32工具临时搭建TFTP服务

    本地防火墙允许Ping回显

    本地 Windows PC 终端上使用命令 ping 192.168.222.220 -n 3 测试网络连通性

    ping 192.168.222.220 -n 3
    
    正在 Ping 192.168.222.220 具有 32 字节的数据:
    来自 192.168.222.220 的回复: 字节=32 时间=18ms TTL=63
    来自 192.168.222.220 的回复: 字节=32 时间=134ms TTL=63
    来自 192.168.222.220 的回复: 字节=32 时间=6ms TTL=63
    
    192.168.222.220 的 Ping 统计信息:
        数据包: 已发送 = 3,已接收 = 3,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
        最短 = 6ms,最长 = 134ms,平均 = 52ms

    使用ssh工具(推荐使用putty)连接Modem

    使用命令 tftp_package.sh 192.168.222.221 evo_x5_bsp-15.0.5.1.pkg 升级BSD部分固件

    注意:需要增加临时交换分区大小,3.2版本及以上的版本需要扩大空间到32M~50M,不是原先的16M,并且刷入每个PKG包时都要增加临时分区大小。

    # mount -t tmpfs -o remount,size=32M /tmp
    # 
    # tftp_package.sh 192.168.222.221 evo_x5_bsp-15.0.5.1.pkg
    Downloading package evo_x5_bsp-15.0.5.1.pkg
    Extracting package evo_x5_bsp-15.0.5.1.pkg
    Installing package evo_x5_bsp-15.0.5.1.pkg
    ========== Package Installation script starting ==========
    Determining board model/hardware family:            DONE
    Validating board model/hardware family:             DONE
    Remounting /tmp filesystem (6m):                    DONE
    Cleaning up from any previous install:              DONE
    Determining free space on flash filesystem:         DONE
    Ensure all required files can be installed:         DONE
    Determining free space in /tmp/package:             DONE
    Running package preinstall scriptlet:
    Create required directories:                        DONE
    Installing files:                                   DONE
    Create required sym-links:                          DONE
    Saving install_file_map:                            DONE
    Remounting /tmp filesystem (14m):                   DONE
    ========== Package Installation script complete ==========
    Package evo_x5_bsp-15.0.5.1.pkg installed successfully
    # 

    使用命令 tftp_package.sh 192.168.222.221 evo_x5_rmt-15.0.5.1.pkg 升级RMT部分固件

    注意:需要增加临时交换分区大小,3.2版本及以上的版本需要扩大空间到32M~50M,不是原先的16M,并且刷入每个PKG包时都要增加临时分区大小。

    # mount -t tmpfs -o remount,size=32M /tmp
    # 
    # 
    # tftp_package.sh 192.168.222.221 evo_x5_rmt-15.0.5.1.pkg
    Downloading package evo_x5_rmt-15.0.5.1.pkg
    Extracting package evo_x5_rmt-15.0.5.1.pkg
    Installing package evo_x5_rmt-15.0.5.1.pkg
    ========== Package Installation script starting ==========
    Determining board model/hardware family:            DONE
    Validating board model/hardware family:             DONE
    Remounting /tmp filesystem (16m):                   DONE
    Cleaning up from any previous install:              DONE
    Determining free space on flash filesystem:         DONE
    Determining obsoleted file list/space:              DONE
    Determining obsoleted FPGA list/space:              DONE
    Ensure all required files can be installed:         DONE
    Determining free space in /tmp/package:             DONE
    Running package preinstall scriptlet:
      Remove any old package version files:             DONE
    Removing obsolete files and unused FPGA images:     DONE
    Create required directories:                        DONE
    Installing files:                                   DONE
    Create required sym-links:                          DONE
    Running package postinstall scriptlet:
      Ensure busybox links are correct:                 DONE
      Reconfigure modules.conf:                         DONE
      Setting SSHD services on:                         DONE
      Create and lock "admin" user account:             DONE
      Install kernel image:                             DONE
      Running script (create_fpga_devices.sh):          DONE
      Running script (create_cpld_devices.sh):          DONE
      Running script (create_rawio_devices.sh):         DONE
      Running script (create_eeprom_devices.sh):        DONE
      Update module dependencies:                       DONE
      Setting "idirect_falcon" service on:              DONE
    Saving install_file_map:                            DONE
    Remounting /tmp filesystem (6m):                    DONE
    ========== Package Installation script complete ==========
    Package evo_x5_rmt-15.0.5.1.pkg installed successfully
    # 

    使用命令 /usr/sbin/falcon --version 验证版本是否已经升级

    # /usr/sbin/falcon --version
    Using OpenSSL 1.0.1j-fips 15 Oct 2014
    Starting Falcon...
    Code Version: 15.0.5.1
    Build Comment: Final_Build
    Build Label: IDS-15_0_5_1-Build-11
    ~~~~~~~~
    falcon BUILD INFO:  built Fri Feb 5 02:14:37 EST 2016  by root  using g++ version 3.3 on Linux cm-build-rh5101-1 2.6.18-371.3.1.el5PAE #1 SMP Mon Nov 11 03:29:00 EST 2013 i686 i686 i386 GNU/Linux 
    ~~~~~~~~
    # 

    五、重配opt文件

    使用命令 tftp -p -r falcon_X5_232525.opt.bak -l falcon.opt 192.168.222.221 备份配置文件到远程服务器

    使用命令 tftp -g -r _TDMA_Remote#_X5_232525.opt -l falcon_X5_232525.opt.new 192.168.222.221 下载配置文件到本地磁盘

    # cd /etc/idirect/falcon/
    # 
    # ls -alh
    drwxrwxr-x    1 root     root            0 Jan  1 01:41 .
    drwxrwxr-x    1 root     root            0 Jan  1 00:07 ..
    -rw-r--r--    1 root     root         5.2k Jan  1 01:41 falcon.opt
    -rw-r--r--    1 root     root         5.2k Jan  1 01:11 falcon.opt.old
    -rwxr--r--    1 root     root           71 Jan  1 00:09 falcon_state.xml
    # 
    # tftp -p -r falcon_X5_232525.opt.bak -l falcon.opt 192.168.222.221
    # 
    # tftp -g -r _TDMA_Remote#_X5_232525.opt -l falcon_X5_232525.opt.new 192.168.222.221
    # 
    # chmod 644 falcon_X5_232525.opt.new   
    # 
    # ls -alh
    drwxrwxr-x    1 root     root            0 Jan  1 01:44 .
    drwxrwxr-x    1 root     root            0 Jan  1 00:07 ..
    -rw-r--r--    1 root     root         5.2k Jan  1 01:41 falcon.opt
    -rw-r--r--    1 root     root         5.2k Jan  1 01:11 falcon.opt.old
    -rw-r--r--    1 root     root         5.2k Jan  1 01:44 falcon_X5_232525.opt.new
    -rwxr--r--    1 root     root           71 Jan  1 00:09 falcon_state.xml
    # 
    # mv falcon_X5_232525.opt.new falcon.opt
    mv: overwrite 'falcon.opt'? y
    # 
    # ls -alh
    drwxrwxr-x    1 root     root            0 Jan  1 01:44 .
    drwxrwxr-x    1 root     root            0 Jan  1 00:07 ..
    -rw-r--r--    1 root     root         5.2k Jan  1 01:44 falcon.opt
    -rw-r--r--    1 root     root         5.2k Jan  1 01:11 falcon.opt.old
    -rwxr--r--    1 root     root           71 Jan  1 00:09 falcon_state.xml
    # 
    # 

    使用命令 cat falcon.opt 验证配置是否正确,没有额外的字符。

    然后执行 reboot 命令,重启系统。

    # cat falcon.opt
    [ANTENNA]
    	addr = 172.26.102.18
    	connect_timeout = 30
    	dedicated_interface = ixp0
    	manufacturer = OpenAMIP
    	max_skew = 90.000000
    	model = OpenAMIP
    	port = 4002
    
    [BEAMS]
    	beam_123 = MarineSat Network S2
    	maxbeam = 123
    
    [BEAMS_LOCAL]
    	inhibit_tx_ifzero = 0
    	rxonly_enabled = 0                                # !! Custom Parameter !!
    
    [BTP]
    	device_mode = tdma
    	device_name = btp
    	device_path = /dev
    
    [BTP_REQ]
    	device_mode = tdma
    	device_name = btp_req
    	device_path = /dev
    
    [COMPRESSION]
    	Threshold = 90
    
    [DEBUG]
    	cpu_util_test_enabled = 0
    
    [DHCP_149]
    	dhcp_dns_server2_ip = 0.0.0.0
    	dhcp_dns_server_ip = 10.188.147.1
    	dhcp_gateway_ip = 10.188.147.1
    	dhcp_lease_range = 10.188.147.50-10.188.147.254
    	dhcp_lease_seconds = 43200
    	dhcp_mode = 1
    
    [DNS_149]
    	dns_cache_size = 100
    	dns_cache_ttl_max = 86400
    	dns_cache_ttl_min = 300
    	dns_enable = 1
    	dns_forward_queue_size = 1000
    	dns_forward_timeout = 2000
    	dns_primary_server_addr = 202.106.0.20
    	dns_primary_server_name = ns1
    	dns_secondary_server_addr = 114.114.114.114
    	dns_secondary_server_name = ns2
    
    [DVBS2]
    	frame_length = 125.000000
    	frame_size = short
    	mode = acm
    	ncr_interval = 3375000
    	pilot = 1
    	rc_roll_off = 0.200000
    
    [ENC]
    	auth_level_required = 0
    	enc_enabled = 0
    	enc_layer_enabled = 0
    	enc_mode = 0
    	peer_mode = 1
    
    [ETH0]
    	interface = ixp0
    	phy_count = 1
    
    [ETH0_1]
    	address = 172.26.102.17
    	netmask = 255.255.255.248
    	rip_enabled = 0
    	web_server_enabled = 0
    
    [ETH0_149]
    	address = 10.188.147.1
    	group1 = 225.1.2.1
    	netmask = 255.255.255.0
    	rip_enabled = 0
    	web_server_enabled = 0
    
    [FREQ_TRANS]
    	down_translation = 9750.000000
    	up_translation = 12800.000000
    
    [GUI_SERVER_PROXY]
    	port = 14599
    
    [LAN]
    	lan_gw_ip = 0.0.0.0
    	lan_ip = 172.26.102.17
    	lan_subnet_ip = 255.255.255.248
    
    [MAPSERVER_0]
    	hostname = 172.16.126.3
    	port = 5003
    
    [MOBILE]
    	gps_input = 2
    	init_tx_power_offset = 0.000000
    	is_mobile = 1
    	latlong_fail_interval = 10
    	latlong_interval = 300
    	tx_handshake_enabled = 0
    
    [MODEM_INSTALLATION]
    	reflector_offset_angle = 0.000000
    	remote_lat = 0.000000
    	remote_long = 0.000000
    	spacecraft_long = 87.500000
    
    [MODEM_PARAMETERS]
    	ref_carrier_fec_block_size = 170
    	ref_carrier_modcod_coding_rate = 2
    	ref_carrier_modcod_modulation = 1
    	ref_carrier_symbol_rate = 468000.000000
    	rx_acqrange = 70000
    	rx_diff = 0
    	rx_freq = 1441000000
    	rx_mode = 2
    	rx_only = 0
    	rx_scram = 1
    	rx_specinv = 0
    	rx_symrate = 8333000.000000
    	tx_bitrate = 1
    	tx_power_in_dbm = -20.000000
    	tx_specinv = 0
    
    [NET_ENC]
    	id = 3
    	is_encrypted = 0
    
    [NMS]
    	broadcast_ip = 172.16.126.5
    	download_monitor_credentials = 1
    	download_monitor_group = 239.192.0.0
    	download_monitor_port = 9000
    	event_server_ip = 172.16.126.5
    	event_server_port = 2860
    	generated_by = NMS-15.0.5
    	is_nms_managed = 1
    	keep_alive_port_number = 2860
    	NRD_remote_status_port_number = 2859
    	NRD_server_ip = 172.16.126.4
    	server_ip = 172.16.126.5
    	service_monitor_interval = 1000
    	timeout = 20000
    
    [ODU]
    	lnb_dc_voltage = 13
    	lnb_tone_enable = 0
    	music_present = 0
    	odu_disable_tx_pwm = 0
    	odu_rx_10_mhz = 0
    	odu_rx_dc_power = 1
    	odu_tx_10_mhz = 1
    	odu_tx_clk_ref = 10
    	odu_tx_dc_power = 1
    
    [OOB]
    	mem_high_percent = 90
    	mem_low_percent = 75
    
    [OPTIONS_FILE]
    	carrier_type = 0
    	code_version = 15.0.5.4
    	did = 117673037
    	disable_options_flash_command = 0
    	generated_by = NMS-15.0.5
    	is_mesh = 0
    	mobile_remote_type = 1
    	modem_hardware = X5
    	modem_sn = 232525
    	modem_type = Remote
    	product_mode = dvbs2
    	upstream_product_mode = idirect_tdma
    
    [POWER_MANAGEMENT]
    	enable = 0
    	sleep_timeout = 0
    
    [ROUTE_149_0]
    	gateway = 0.0.0.0
    	interface = sat0
    	metric = 1
    	netmask = 0.0.0.0
    	network = 0.0.0.0
    
    [ROUTE_1_0]
    	gateway = 0.0.0.0
    	interface = sat0
    	metric = 1
    	netmask = 0.0.0.0
    	network = 0.0.0.0
    
    [RX1]
    	device_mode = scpc
    	device_name = rx1
    	device_path = /dev
    
    [SAT0_1]
    	address = 10.252.102.17
    	netmask = 255.255.255.0
    	rip_enabled = 0
    	web_server_enabled = 0
    
    [SAT0_149]
    	address = 10.252.102.17
    	netmask = 255.255.255.0
    	rip_enabled = 0
    	web_server_enabled = 0
    
    [SATELLITE]
    	channelname = MarineSat Network S2
    	hunt_bandwidth = 10.000000
    	hunt_frequency = 1441.000000
    	longitude = 87.500000
    	max_lat = 0.000000
    	max_skew = 90.000000
    	min_look_angle = 0.000000
    	name = Chinasat 12
    	noise_reference_frequency = 0.000000
    	pol_skew = 0.000000
    	polarity = V
    	rx_lcl_osc = 9750.000000
    	skew_margin = 90.000000
    	tx_bandwidth = 0.500000
    	tx_frequency = 1091.780000
    	tx_lcl_osc = 12800.000000
    	tx_polarity = H
    
    [SECURITY]
    	admin_password = $idi3$.5fQ65$/njZwHXxJa9NQtOAi.N8bPcgOdRrOH79f38xJIZrdmeP3K9YTU/Zj1QGI0kIfLt6HgXDkLlNir3GJqHMCaTFa6
    	os_password = $1$0CppNk$VY2vgnKsOnee79OI1tgOI/
    	password = $idi3$1Z3fZ5$/7NGF5kb029RzILehP2NV3sjkfu9Zb3QPfb69shTneOJi1i6ZuSdQGoaRAYZ3Tn2WTqbwiEIv8yjw3/3dZYdkE
    
    [SOF]
    	device_mode = tdma
    	device_name = sof
    	device_path = /dev
    
    [SYSTEM_TRAY]
    	interval = 5000
    	mode = 1
    	port = 2859
    	server = 172.16.126.4
    	service_monitor_group = 239.255.255.1
    	service_monitor_port = 9001
    
    [TDMA]
    	tx_watchdog_timeout_in_frames = 2
    
    [TX]
    	device_mode = tdma
    	device_name = tx
    	device_path = /dev
    
    [TX_SOF]
    	device_mode = tdma
    	device_name = tx_sof
    	device_path = /dev
    
    [UCP]
    	max_power_level_in_db = -15.000000
    	power_uplink_control_processing = 1
    
    [UDP]
    	force_rtp_fullheader = 1
    	force_udp_fullheader = 1
    	max_hdr_comp_packet_size = 180
    	passthru = 1
    	payload_comp = 0
    
    [VLAN]
    	mode = 1
    	vid = 149
    
    # 
    # reboot
    #

    ======================

    步骤适用于 3000系列、5000系列、X3、X5 类型的小站,对于X1与X7不适用。

    配置文件必须是 Unix(LF) 的编码,且末尾不能有特殊的字符。

    如果文件换行格式为 Window(CR LF) ,则可以使用 Notepad++ 软件来进行转码。

    由于opt文件的原因,可能文件不完整,或者写入的opt文件版本不正确的原因都会导致Modem重启后出现下面的故障现象:

    小站Status亮红灯

    小站反复重启

    此时,需要更新Modem中的opt文件了。但是iSite又不能正常连接Modem导入opt文件,此时只能通过console的方式来手动更新opt文件。在修复前,需要弄清楚Modem当前的版本以及准备好正确的opt文件。

    1. 通过SSH或者串口以root用户名进入Modem。SSH的方式是使用putty等支持SSH的软件通过网络直连modem。

    2. 按照提示输入用户名root和密码

    3. 输入下面的命令停掉falcon应用,防止Modem重启

    # service idirect_falcon stop

    4. 进入到opt在modem中存放目录/etc/idirect/falcon,可以通过ls查看当前目录下的文件,通过mv等命令备份当前的opt文件

    # cd /etc/idirect/falcon
    # 
    # ls -l
    # 

    5. 在电脑上使用记事本打开已经准备好的该Modem对应版本的opt文件,并复制到剪切板

    6. 使用cat命令打开或者创建一个新的falcon.opt文件

    # cat > /etc/idirect/falcon/falcon.opt

    此时进入到falcon.opt文件的编辑模式,并且falcon.opt文件中的内容被清空。

    7.将剪切板中的内容复制到falcon.opt文件

    8. 复制结束后回车,同时按下ctrl+d键退出编辑模式

    9. 通过ls命令查看目录下是否有falcon.opt文件存在

    # ls -l /etc/idirect/falcon

    10. 使用cat命令查看falcon.opt文件内容

    # cat /etc/idirect/falcon/falcon.opt

    11.重新启动falcon应用,观察status LED是否恢复正常

    service idirect_falcon restart

    ==========================

    系统启动输出信息

    # dmesg 
    Linux version 2.4.24-uc0-iDirect0 (root@EmbEserver75) (gcc version 3.3.2) #1 Wed Jun 15 12:44:25 EDT 2011
    CPU: XScale-IXP4xx/IXC11xx revision 2
    Machine: iDirect Phoenix Platform
    alloc_bootmem_low
    memtable_init
    Security risk: creating user accessible mapping for 0x51000000 at 0xf1000000
    On node 0 totalpages: 32768
    zone(0): 16384 pages.
    zone(1): 16384 pages.
    zone(2): 0 pages.
    Kernel command line: console=ttyS1,9600 root=/dev/mtdblock2
    Relocating machine vectors to 0xffff0000
    Calibrating delay loop... 532.48 BogoMIPS
    Memory: 128MB = 128MB total
    Memory: 127388KB available (1680K code, 477K data, 72K init)
    Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
    Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
    Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
    POSIX conformance testing by UNIFIX
    PCI: bus0: Fast back to back transfers enabled
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
    i2c-core.o: i2c core module
    i2c-dev.o: i2c /dev entries driver module
    i2c-core.o: driver i2c-dev dummy driver registered.
    i2c-algo-bit.o: i2c bit algorithm module
    i2c-proc.o version 2.6.1 (20010825)
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0xff000003 (irq = 15) is a XScale UART
    ttyS01 at 0xff001003 (irq = 13) is a XScale UART
    Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    ixp425_init: Window Size = 33554432
    IXP425 Flash: Found 1 x16 devices at 0x1000000 in 16-bit mode
    cfi_cmdset_0001: Suspend erase on write disabled.
    0: offset=0x0,size=0x20000,blocks=128
    1: offset=0x1000000,size=0x20000,blocks=128
    Using buffer write method
    Creating 6 MTD partitions on "IXP425 Flash":
    0x00000000-0x00040000 : "RedBoot"
    0x00060000-0x00160000 : "Linux"
    0x00160000-0x01fe0000 : "RootFS"
    0x01fe0000-0x01fff000 : "FIS directory"
    mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
    0x01fff000-0x02000000 : "RedBoot config"
    mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
    0x01fe0000-0x02000000 : "FIS Overlap"
    Board has 65nm flash part
    pktgen.c: v1.3: Packet Generator for packet performance testing.
    pktgen: Error: your machine does not have working cycle counter.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 1024 buckets, 8Kbytes
    TCP: Hash tables configured (established 8192 bind 16384)
    IPv4 over IPv4 tunneling driver
    GRE over IPv4 tunneling driver
    Linux IP multicast router 0.06 plus PIM-SM
    ip_conntrack version 2.1 (1024 buckets, 8192 max) - 320 bytes per conntrack
    ip_conntrack_pptp version $Revision: 1.1.1.1 $ loaded
    ip_nat_pptp version $Revision: 1.1.1.1 $ loaded
    ip_tables: (C) 2000-2002 Netfilter core team
    ipt_time loading
    ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
    arp_tables: (C) 2002 David S. Miller
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    IPv6 v0.8 for NET4.0
    IPv6 over IPv4 tunneling driver
    ip6_tables: (C) 2000-2002 Netfilter core team
    registering ipv6 mark target
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    Other stuff added by David S. Miller <davem@redhat.com>
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 72K
    Module init.
    ixp425_eth: 
    Initializing IXP425 NPE Ethernet driver software v. 0.1.9 (1_4)
    ixp425_eth: ixp0 is using the PHY at address 0
    ixp425_eth: ixp1 is using the PHY at address 1
    ixp425_eth: CPU clock speed (approx) = 532 MHz
    fpga: Feb  5 2016 01:46:43
    cpld: Feb  5 2016 01:46:41
    rawio: Feb  5 2016 01:46:56
    fpga: Exit
    fpga: Feb  5 2016 01:46:43
    ixp0: no IPv6 routers present
    i2c-dev.o: Registered 'FPGA-I2C Adapter' as minor 0
    i2c-core.o: adapter FPGA-I2C Adapter registered as adapter 0.
    i2c-opencore: __DATE__   __TIME__  
    i2c-core.o: driver stv0900 registered.
    i2c-core.o: client [stv0900] registered to adapter [FPGA-I2C Adapter](pos. 0).
    stv0900: Feb  5 2016 01:46:58
    i2c-core.o: driver stb6100 registered.
    i2c-core.o: client [stb6100] registered to adapter [FPGA-I2C Adapter](pos. 1).
    stb6100: Feb  5 2016 01:46:57
    PCI: enabling device 00:0e.0 (0000 -> 0002)
    ixp425_eth: ixp0: Entering promiscuous mode
    device ixp0 entered promiscuous mode

     CPU和内存以及系统版本信息

    # cat /proc/cpuinfo 
    Processor    : XScale-IXP4xx/IXC11xx rev 2 (v5b)
    BogoMIPS    : 532.48
    Features    : swp half thumb fastmult edsp 
    
    Hardware    : iDirect Phoenix Platform
    Revision    : 0000
    Serial        : 0000000000000000
    # 
    # cat /proc/meminfo 
            total:    used:    free:  shared: buffers:  cached:
    Mem:  130519040 30400512 100118528        0        0 15392768
    Swap:        0        0        0
    MemTotal:       127460 kB
    MemFree:         97772 kB
    MemShared:           0 kB
    Buffers:             0 kB
    Cached:          15032 kB
    SwapCached:          0 kB
    Active:           7948 kB
    Inactive:         8736 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:       127460 kB
    LowFree:         97772 kB
    SwapTotal:           0 kB
    SwapFree:            0 kB
    # 
    # cat /etc/idirect-release 
    iDirect Linux-BSP Release 15.0.5.1
    # 
    # uname -a
    Linux iDirect 2.4.24-uc0-iDirect0 #1 Wed Jun 15 12:44:25 EDT 2011 armv5b unknown
    # 

    ================ End

  • 相关阅读:
    display的几种常用取值
    css五种定位方式介绍
    单行文字超过某个宽度时,显示省略号
    点击鼠标右键弹出错误提示:CrashHandler initialization error
    基于jquery 的find()函数和children()函数的区别
    跨域问题,前端主动向后台发送cookie
    Boolean()值为false的五个特殊值
    如何把select默认的小三角替换成自己的图片
    如何将网页的title前面的图标替换成自己的图标
    C#阿里云 移动推送 接入
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/13711334.html
Copyright © 2011-2022 走看看