极1S自制固件

来自IPTV爱好者
跳转至: 导航搜索

下载固件

访问链接:https://cloud.turboer.com/api/latest_rom?model=HC5661,获取固件信息。

{"id":2765,"model":"HC5661","level":0,"branch":"","version":"0.9006.2.6020s 140911-211346","url":"http://ur.ikcd.net/HC5661-sysupgrade-20140911-95d8bc22.bin","md5":"4d85e6585016d31b32d1ed46a6ac4eb7","size":11075588,"changelog":"
本次升级由兄弟公司台湾联发科(MTK)特约发布:芯好,信号更好
本次升级还由秋收服务队特约发布:极路由真是爽,家里安装,田里上网!
本次升级还由天秤座的极小咩特约发布:极路由是好用呢,好用呢?还是好用呢?我很纠结...
【版本特性】
1、升级SD卡驱动,提升运行稳定性
2、增强无线驱动的稳定性
3、网络诊断全新改版,诊断效果更精准
4、智能QoS移植进ROM,优化交互体验,提升使用效果
5、WAN口模式增加双工/半双工选项,精准设置后可以明显提升上网体验
6、优化PPTP交互,提示文案通俗易懂
7、新增锐捷和华三认证功能(第三方提供)
【解决问题】
1、解决关灯之后,internet灯还有可能变亮的问题
2、解决热插拔WAN口,导致无线中继无法获取IP问题
3、解决SD卡与硬盘在个别情况下挂载失败的问题
4、解决插件在个别情况下安装失败的问题
5、解决UPNP检测异常导致部分下载软件偶尔工作异常的问题
6、解决某些情况下无法导出诊断信息的问题
7、解决复位后,管理后台页面会出现“系统忙”的问题
8、解决拔掉外置存储后,手机版后台未及时显示存储提示的问题
9、解决后台高级设置,局域网IP地址值未作很好判断的问题
10、解决首次安装时,后台密码位数不一致的问题"}

从返回的json中获取固件下载链接:http://ur.ikcd.net/HC5661-sysupgrade-20140911-95d8bc22.bin

返回:极路由 极1S固件降级 极2自制固件 极2固件降级

固件修改

极1S固件结构:

9008以后

0x00000000 - 0x0002FFFF (0x030000): u-boot
0x00030000 - 0x0004FFFF (0x020000): boardinfo预留空间
0x00050000 - 0x001AFFFF (0x160000): kernel
0x001B0000 - 0x???????? (0x??????): squashfs

9007以前

0x00000000 - 0x0002FFFF (0x030000): u-boot
0x00030000 - 0x0004FFFF (0x020000): boardinfo预留空间
0x00050000 - 0x0018FFFF (0x140000): kernel
0x00190000 - 0x???????? (0x??????): squashfs

在Linux操作系统中运行下面命令:

9007固件:

wget http://ur.ikcd.net/HC5661-sysupgrade-2014041502.bin
wget http://ur.ikcd.net/HC5661-sysupgrade-20141105-3abb3bf3.bin
dd if=HC5661-sysupgrade-2014041502.bin of=uboot.bin bs=1k count=320
dd if=HC5661-sysupgrade-20141105-3abb3bf3.bin of=kernel.bin bs=1k skip=320 count=1280
dd if=HC5661-sysupgrade-20141105-3abb3bf3.bin of=rootfs.bin bs=1k skip=1600
unsquashfs rootfs.bin
cd squashfs-root/etc/rc.d
ln -s ../init.d/dropbear S50dropbear
cd ../../..
mksquashfs squashfs-root rootfs.img -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2  -b 256k
cat uboot.bin kernel.bin rootfs.img > recovery.bin
echo -ne '\xde\xad\xc0\xde' >> recovery.bin

9006固件:

wget http://ur.ikcd.net/HC5661-sysupgrade-2014041502.bin
wget http://ur.ikcd.net/HC5661-sysupgrade-20140911-95d8bc22.bin
dd if=HC5661-sysupgrade-2014041502.bin of=uboot.bin bs=1k count=320
dd if=HC5661-sysupgrade-20140911-95d8bc22.bin of=kernel.bin bs=1k skip=320 count=1280
dd if=HC5661-sysupgrade-20140911-95d8bc22.bin of=rootfs.bin bs=1k skip=1600
unsquashfs rootfs.bin
cd squashfs-root/etc/rc.d
ln -s ../init.d/dropbear S50dropbear
cd ../../..
mksquashfs squashfs-root rootfs.img -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2  -b 256k
cat uboot.bin kernel.bin rootfs.img > recovery.bin
echo -ne '\xde\xad\xc0\xde' >> recovery.bin

已经打开SSH的9007自制固件:http://www.iptvfans.cn/hiwifi/HC5661-sysupgrade-20141105-3abb3bf3-ssh.zip

已经打开SSH的9006自制固件:http://www.iptvfans.cn/hiwifi/HC5661-sysupgrade-20140911-95d8bc22-ssh.zip

返回:极路由

固件升级

将上一步得到的recovery.bin放在tftp服务器根目录中,将tftp服务器IP地址修改为:192.168.1.88。断开极1路由器电源,将网线的一端插入极1路由器的任一LAN口,另一端插入tftp服务器或与之相连的交换机。用回形针捅极1路由器的RESET,然后插上电源,数秒后放开RESET按钮,等待极1路由器下载固件。升级过程持续几分钟,期间不要断开电源。

返回:极路由

引导信息

U-Boot 1.1.3 (Apr 15 2014 - 21:07:34)

Board: Ralink APSoC DRAM:  128 MB
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29 
spi device id: ef 40 18 0 0 (40180000)
find flash: w25q128
*** Warning - bad CRC, using default environment

============================================ 
ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Flash component: SPI Flash
Date:Apr 15 2014  Time:21:07:34
============================================ 
 0 
## Booting image at bc050000 ...
   Image Name:   HC5661
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1289839 Bytes =  1.2 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (build@DEV-9-1-243) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Thu Sep 11 21:17:26 CST 2014
[    0.000000] 
[    0.000000]  The CPU feqenuce set to 580 MHz
[    0.000000] 
[    0.000000]  MIPS CPU sleep mode enabled.
[    0.000000]  PCIE: bypass PCIe DLL.
[    0.000000]  PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
[    0.000000]  disable all power about PCIe
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=HC5661 console=ttyS1,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0006c2c1
[    0.000000] Readback ErrCtl register=0006c2c1
[    0.000000] Memory: 126228k/131072k available (2559k kernel code, 4844k reserved, 575k data, 308k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] MTK/Ralink System Tick Counter init... cd:802ffae0, m:214748, s:32
[    0.000000] console [ttyS1] enabled
[    0.010000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is Hiwifi Wireless HC5661 Board
[    0.090000] gpiochip_add: registered GPIOs 0 to 23 on device: MT7620-GPIO0
[    0.090000] gpiochip_add: registered GPIOs 24 to 39 on device: MT7620-GPIO1
[    0.100000] gpiochip_add: registered GPIOs 40 to 71 on device: MT7620-GPIO2
[    0.100000] gpiochip_add: registered GPIOs 72 to 72 on device: MT7620-GPIO3
[    1.300000] PCIE0 no card, disable it(RST&CLK)
[    1.310000] bio: create slab <bio-0> at 0
[    1.320000] PCI host bridge to bus 0000:00
[    1.320000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    1.330000] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    1.330000] Switching to clocksource Ralink external timer
[    1.340000] NET: Registered protocol family 2
[    1.340000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.360000] TCP: Hash tables configured (established 4096 bind 4096)
[    1.370000] TCP reno registered
[    1.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.390000] NET: Registered protocol family 1
[    1.630000] RT3xxx EHCI/OHCI init.
[    1.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.670000] msgmni has been set to 246
[    1.680000] io scheduler noop registered
[    1.680000] io scheduler deadline registered (default)
[    1.690000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.690000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[    1.700000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[    1.720000] brd: module loaded
[    1.730000] deice id : ef 40 18 0 0 (40180000)
[    1.730000] chip info: w25q128(ef 40180000)
[    1.730000] mtd name = raspi, size = 0x01000000 (16M) erasesize = 0x00010000 (64K)
[    1.740000] raspi: squash filesystem found at block 25
[    1.760000] Creating 9 MTD partitions on "raspi":
[    1.760000] 0x000000000000-0x000000030000 : "u-boot"
[    1.770000] mtdchar alloc 0x10000 memory success
[    1.780000] 0x000000030000-0x000000040000 : "hw_panic"
[    1.780000] 0x000000040000-0x000000050000 : "Factory"
[    1.790000] 0x000000050000-0x000000190000 : "kernel"
[    1.800000] 0x000000190000-0x000000fd0000 : "rootfs"
[    1.800000] mtd: partition "rootfs" set to be root filesystem
[    1.810000] mtd: partition "rootfs_data" created automatically, ofs=A70000, len=560000 
[    1.820000] 0x000000a70000-0x000000fd0000 : "rootfs_data"
[    1.820000] 0x000000fd0000-0x000000fe0000 : "hwf_config"
[    1.830000] 0x000000fe0000-0x000000ff0000 : "bdinfo"
[    1.840000] 0x000000ff0000-0x000001000000 : "backup"
[    1.840000] 0x000000050000-0x000000fd0000 : "firmware"
[    1.850000] Stopped WatchDog Timer.
[    1.860000] Ralink APSoC Hardware Watchdog Timer
[    1.870000] TCP cubic registered
[    1.870000] NET: Registered protocol family 17
[    1.870000] 8021q: 802.1Q VLAN Support v1.8
[    1.880000] Freeing unused kernel memory: 308k freed
-HiWiFi initrd-
[    1.970000] mmc0: new high speed SDHC card at address 0007
[    1.970000] mmcblk0: mmc0:0007 SD8GB 7.42 GiB 
[    1.990000]  mmcblk0: p1 p2
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
keypressed: 1
- regular preinit -
[    7.130000] JFFS2 notice: (518) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 72 of xref (0 dead, 57 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [    9.470000] Uniform Multi-Platform E-IDE driver
[    9.640000] NET: Registered protocol family 10
[    9.860000] SCSI subsystem initialized
[   10.000000] usbcore: registered new interface driver usbfs
[   10.000000] usbcore: registered new interface driver hub
[   10.010000] usbcore: registered new device driver usb
[   10.770000] 
[   10.770000] 
[   10.770000] === pAd = c04dc000, size = 1056192 ===
[   10.770000] 
[   10.780000] <-- RTMPAllocTxRxRingMemory, Status=0
[   10.780000] <-- RTMPAllocAdapterBlock, Status=0
[   10.790000] AP Driver version-2.7.1.6
[   10.890000] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[   11.200000] loop: module loaded
[   11.370000] PPP generic driver version 2.4.2
[   11.410000] PPP MPPE Compression module registered
[   11.430000] IPv6 over IPv4 tunneling driver
[   11.540000] exFAT: Core Version 1.2.4
[   11.560000] exFAT: FS Version 1.2.4
[   11.580000] GRE over IPv4 demultiplexor driver
[   11.660000] GRE over IPv4 tunneling driver
[   11.740000] ide-gd driver 1.18
[   11.980000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.180000] NET: Registered protocol family 24
[   12.360000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.390000] rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
[   12.390000] rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
[   12.430000] rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
[   12.450000] rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
[   12.450000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   12.460000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.470000] usb usb1: Product: Ralink EHCI Host Controller
[   12.470000] usb usb1: Manufacturer: Linux 3.3.8 ehci_hcd
[   12.480000] usb usb1: SerialNumber: rt3xxx
[   12.480000] hub 1-0:1.0: USB hub found
[   12.490000] hub 1-0:1.0: 1 port detected
[   12.580000] nf_conntrack version 0.5.0 (1977 buckets, 7908 max)
[   12.890000] PPTP driver version 0.8.5
[   13.110000] xt_time: kernel timezone is -0000
[   13.730000] nf_conntrack_rtsp v0.6.21 loading
[   13.740000] nf_nat_rtsp v0.6.21 loading
[   13.850000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.430000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.460000] rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
[   14.470000] rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
[   14.470000] rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
[   14.540000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[   14.550000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.550000] usb usb2: Product: RT3xxx OHCI Controller
[   14.560000] usb usb2: Manufacturer: Linux 3.3.8 ohci_hcd
[   14.560000] usb usb2: SerialNumber: rt3xxx-ohci
[   14.570000] hub 2-0:1.0: USB hub found
[   14.570000] hub 2-0:1.0: 1 port detected
[   14.790000] Initializing USB Mass Storage driver...
[   14.800000] usbcore: registered new interface driver usb-storage
[   14.810000] USB Mass Storage support registered.
[   14.940000] fuse init (API version 7.18)
[   21.790000] ethernet: port1 linkdown
[   21.800000] device eth2.1 entered promiscuous mode
[   21.800000] device eth2 entered promiscuous mode
[   21.830000] br-lan: port 1(eth2.1) entered forwarding state
[   21.830000] br-lan: port 1(eth2.1) entered forwarding state
[   22.830000] ADDRCONF(NETDEV_CHANGE): eth2.1: link becomes ready
[   23.830000] br-lan: port 1(eth2.1) entered forwarding state
[   24.120000] ethernet: port1 linkup
[   24.900000] RX DESC a69a7000  size = 4096
[   25.060000] default ApCliAPSDCapable[0]=0
[   25.260000] Key1Str is Invalid key length(0) or Type(0)
[   25.270000] Key2Str is Invalid key length(0) or Type(0)
[   25.270000] Key3Str is Invalid key length(0) or Type(0)
[   25.280000] Key4Str is Invalid key length(0) or Type(0)
[   25.490000] 3f:38:bc:1b:c5:07:55:bc:e8:ae:20:35:9e:7e:b1:99:
[   25.490000] fd:3e:c5:91:e2:ae:d1:33:6e:0d:5f:10:3e:0c:b9:48:
[   25.500000] 
[   25.510000] EntryLifeCheck=256
[   25.520000] 1. Phy Mode = 9
[   25.520000] 2. Phy Mode = 9
[   25.520000] eeFlashId: 0x7620
[   25.530000] E2PROM: D0 target power=0xff20 
[   25.530000] E2PROM: 40 MW Power Delta= 0 
[   25.530000] 3. Phy Mode = 9
[   25.540000] AntCfgInit: primary/secondary ant 0/1
[   25.540000] Initialize RF Central Registers for E2 !!!
[   25.550000] Initialize RF Central Registers for E3 !!!
[   25.550000] Initialize RF Channel Registers for E2 !!!
[   25.560000] Initialize RF Channel Registers for E3 !!!
[   25.560000] Initialize RF DCCal Registers for E2 !!!
[   25.570000] Initialize RF DCCal Registers for E3 !!!
[   25.570000] D1 = 1, D2 = 7, CalCode = 14 !!!
[   25.580000] RT6352_Temperature_Init : BBPR49 = 0x1
[   25.590000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff7
[   25.590000] Current Temperature from BBP_R49=0xfffffff7
[   25.600000] RT6352_TssiTableAdjust: upper_bound = 0x7F decimal: 127
[   25.610000] RT6352_TssiTableAdjust: lower_bound = 0xFFFFFF80 decimal: -128
[   25.610000] *** RT6352_TssiTableAdjust: G Tssi[-7 .. +7] = -128 -1 -1 -1 -128 -1 -1
[   25.610000]  - -1 - -1 -1 -1 -1 -1 -1 -1, offset=-9, tuning=0
[   25.630000] RT6352_TssiTableAdjust: G Tssi[-7 .. +7] = -128 -10 -10 -10 -128 -10 -10 - -10 - -10 -10 -10 -10 -10 -10 -10, offset=-9, tuning=0
[   25.640000] mp_temperature=0x00, step = +7
[   25.640000] E2PROM: G Tssi[-7 .. +7] = -128 -10 -10 -10 -128 -10 -10 - -10 - -10 -10 -10 -10 -10 -10 -10, offset=-9, tuning=0
[   25.660000]  TX BW Filter Calibration !!!
[   25.770000]  RX BW Filter Calibration !!!
[   25.990000] LOFT Calibration Done!
[   25.990000] IQCalibration Start!
[   26.010000] IQCalibration Done! CH = 0, (gain= 0, phase=3d)
[   26.010000] IQCalibration Start!
[   26.030000] IQCalibration Done! CH = 1, (gain= f, phase= 2)
[   26.030000] TX IQ Calibration Done!
[   26.080000] bAutoTxAgcG = 0
[   26.080000] MCS Set = ff ff 00 00 01
[   26.170000] Main bssid = d4:ee:07:10:51:6c
[   26.170000] <==== rt28xx_init, Status=0
[   26.180000] 0x1300 = 00064320
[   26.200000] device ra0 entered promiscuous mode
[   26.200000] br-lan: port 2(ra0) entered forwarding state
[   26.210000] br-lan: port 2(ra0) entered forwarding state
[   26.240000] rt28xx_set_apcli_mac_addr -------->
[   26.240000] rt28xx_set_apcli_mac_addr ---> (net_dev->dev_addr  d6:ee:07:11:00:00) (ffffffd4:ffffffee:07:10:00:00) !!!!
[   26.250000] Write ApCliTab[0]->CurrentAddress (d4:ee:07:10:00:00) to HW 0x6d51
[   26.260000] ApCliTab[0]->CurrentAddress updated to (d4:ee:07:10:00:00) , user input:(ffffffd4:ffffffee:07:10:00:00)
[   27.360000] Simple address matching list for Netfilter - HiWiFi
[   28.210000] br-lan: port 2(ra0) entered forwarding state
[   31.600000] EXT4-fs (dm-0): warning: mounting unchecked fs, running e2fsck is recommended
[   31.620000] EXT4-fs (dm-0): mounted filesystem without journal. Opts: nouser_xattr,data=writeback
[   36.800000] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: nouser_xattr,data=writeback
[   40.670000] [NOTICE] <HWF-Kproxy> (hwf_kproxy_init:1819) kproxy hook prioriy -101
[   40.680000] [NOTICE] <HWF-Kproxy> (hwf_kproxy_init:1837) Module is inserted
[   41.670000] [NOTICE] <HWF-SQOS> (hwf_sqos_lan_init:120) lan: 192.168.199.1, lan1: 0.0.0.0
[   41.670000] [NOTICE] <HWF-SQOS> (hwf_sqos_init:186) Module is inserted
[   42.740000] [NOTICE] <HWF-SQOS> (hwf_sqos_qdisc_init:343) tc direction  1
[   42.750000] [NOTICE] <HWF-SQOS> (hwf_sqos_qdisc_init:344) tc queue len max 4000
[   42.810000] [NOTICE] <HWF-SQOS> (hwf_sqos_qdisc_init:343) tc direction  0
[   42.820000] [NOTICE] <HWF-SQOS> (hwf_sqos_qdisc_init:344) tc queue len max 4000


BusyBox v1.19.4 (2014-09-11 21:06:25 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

***********************************************************
              __  __  _              _   ____  _   TM
             / / / / (_) _      __  (_) / __/ (_)
            / /_/ / / / | | /| / / / / / /_  / / 
           / __  / / /  | |/ |/ / / / / __/ / /  
          /_/ /_/ /_/   |__/|__/ /_/ /_/   /_/   
                  http://www.hiwifi.com/
***********************************************************
root@Hiwifi:/#