切换到宽版
爱科技/爱创意/爱折腾/爱极致;技术知识分享平台,点击进入新版数码之家网站
  • 13932阅读
  • 17回复

[网络]CM5100千兆猫拆,遇神奇固件! 创维Skyworth Cable Modem [复制链接]

上一主题 下一主题
离线cdnaa
 
发帖
24
M币
231
专家
0
粉丝
8
只看楼主 倒序阅读 我要置顶 楼主  发表于: 2018-10-10

朋友的广电宽带到期了,换成了联通的融合光宽带,原来的创维CM5100同轴猫就闲置了,拆开看看~


外观的话忘记拍了,在官网找到一个同型号的。
但朋友的这个是纯桥接,没有WIFI,外观是一样只是没有天线...


其实拆开以后,里面的主板很小,只占1/2不到,跟TP差不多 哈哈哈


【正面】



高频头屏蔽罩和散热片都是焊死的 拆不下来
接口也很简单:RF头,复位键,LAN口,12V电源
网变是G24107MN,测试了一下是千兆口,旁边有一个TTL接口,看了一下是BCM3383的CPU
支持广电Docisis3.0 千兆妥妥的,只是电缆稳定性和延时没有光缆好


【背面】比较简单,能看到就一个ROM芯片




【电源IC】FR9809 中规中矩




【RAM】ESMT M15T1G1664A 128MB




【ROM】比较常见的华邦W25Q64 8MB




正好有TTL和编程器,连接验证一下,波特率115200,ok~
【TTL开机界面】
  1. [BEGIN]
  2. BCM3383F2 Minimum AVS ADC = 849 (938 mv)
  3. Closure_VAVS = 853
  4. AVSThresholds low: ro_h = 819, ro_s = 1000
  5. AVSThresholds high: ro_h = 828, ro_s = 1009
  6. Sync: 0
  7. MemSize:            128 M
  8. Chip ID:     BCM3383MR-B0
  9. BootLoader Version: 2.4.0mp1 caizhongpeng spiboot reduced DDR drive avs
  10. Build Date: Nov 17 2017
  11. Build Time: 11:05:07
  12. SPI flash ID 0xef4017, size 8MB, block size 64KB, write buffer 256, flags 0x0
  13. Cust key size 128
  14. Signature/PID: 3383
  15. Image 1 Program Header:
  16.    Signature: 3383
  17.      Control: 0005
  18.    Major Rev: 0007
  19.    Minor Rev: 0000
  20.   Build Time: 2017/01/17 03:05:08 Z
  21. File Length: 1577708 bytes
  22. Load Address: 80004000
  23.     Filename: sto.bin
  24.          HCS: b079
  25.          CRC: 12313b65
  26. Found image 1 at offset 20000
  27. Enter '1', '2', or 'p' within 1 seconds or take default...
  28. Performing CRC on Image 1...
  29. CRC time = 54264451
  30. Detected LZMA compressed image... decompressing...
  31. Target Address: 0x80004000
  32. decompressSpace is 0x8000000
  33. Elapsed time 1217444230
  34. Decompressed length: 7566404
  35. Executing Image 1...
  36. eCos - hal_diag_init
  37. Ecos memory map:
  38. BLOCK    OWNER        MIPS      SIZE      MEM
  39. Block 0: Owner: 0 - 0x00000000 0x07e00000 0x00000000
  40. Block 0: Owner: 0 - 0 MB 126 MB 0 MB
  41. Block 1: Owner: 3 - 0x07e00000 0x00200000 0x07e00000
  42. Block 1: Owner: 3 - 126 MB 2 MB 126 MB
  43. 126MB (129024KB) remaining for eCos
  44. BcmHeapInitialize starts
  45. Init device '/dev/BrcmTelnetIoDriver'
  46. Init device '/dev/ttydiag'
  47. Init tty channel: 8073ae18
  48. Init device '/dev/tty0'
  49. Init tty channel: 8073ae38
  50. Init device '/dev/haldiag'
  51. HAL/diag SERIAL init
  52. Init device '/dev/ser0'
  53. BCM 33XX SERIAL init - dev: b4e00500.2
  54. Set output buffer - buf: 0x807d1098 len: 4096
  55. Set input buffer - buf: 0x807d2098 len: 4096
  56. BCM 33XX SERIAL config...


是BCM3383的CPU 128M+8M 引导的应该是eCos Linux

输入指令居然木有没反应,只对?做出反应(例如he?),其它指令都不行,很神奇有木有啊!!!其它指令应该是被屏蔽了
  1. CM> system_time
  2. CM> show all
  3. CM> he?
  4. COMMAND:  help
  5. USAGE:  help  [-t|-l|-s|-i|-a|-lr] [command [...]{126}]
  6. DESCRIPTION:
  7. {compiled out}
  8. EXAMPLES:
  9. {compiled out}
  10. ---------------------------------------------------------------------------
  11. CM> help -l
  12. CM>aaa
  13. CM>

好吧,既然有编程器,那就上编程器吧!!!!
连接,提取BIN
binwalk分析,怎么看不到分区~~~~郁闷
  1. root[url=u.php?uid=1837416]@centos[/url]  :~/Downloads# binwalk -v cm5100fix.bin
  2. Scan Time:     2018-10-10 01:19:24
  3. Target File:   /root/Downloads/cm5100fix.bin
  4. MD5 Checksum:  d9442421780b0f8a03fc07bb867f3ba6
  5. Signatures:    344
  6. DECIMAL       HEXADECIMAL     DESCRIPTION
  7. --------------------------------------------------------------------------------
  8. 66262         0x102D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  9. 66288         0x102F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  10. 67169         0x10661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  11. 68077         0x109ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  12. 74454         0x122D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  13. 74480         0x122F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  14. 75361         0x12661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  15. 76269         0x129ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  16. 90838         0x162D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  17. 90864         0x162F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  18. 91745         0x16661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  19. 92653         0x169ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  20. 99030         0x182D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  21. 99056         0x182F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  22. 99937         0x18661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  23. 100845        0x189ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  24. 107222        0x1A2D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  25. 107248        0x1A2F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  26. 108129        0x1A661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  27. 109037        0x1A9ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  28. 115414        0x1C2D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  29. 115440        0x1C2F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  30. 116321        0x1C661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  31. 117229        0x1C9ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  32. 123606        0x1E2D6         Private key in DER format (PKCS header length: 4, sequence length: 629
  33. 123632        0x1E2F0         Private key in DER format (PKCS header length: 4, sequence length: 603
  34. 124513        0x1E661         Certificate in DER format (x509 v3), header length: 4, sequence length: 902
  35. 125421        0x1E9ED         Certificate in DER format (x509 v3), header length: 4, sequence length: 1089
  36. root[url=u.php?uid=1837416]@centos[/url]  :~/Downloads#

编程器固件下载
链接: https://pan.baidu.com/s/1jtrm6emXzh0f0FFOfGS_NQ
提取码: j5nv


问题来了,怎么解包这个固件啊?
本文内容包含图片或附件,获取更多资讯,请 登录 后查看;或者 注册 成为会员获得更多权限
本帖提到的人: @centos
本帖最近打赏记录:共1条打赏M币+5
应试教育 M币 +5 原創內容 2018-10-11
离线邪恶海盗

发帖
10697
M币
8643
专家
6
粉丝
74
只看该作者 1楼 发表于: 2018-10-10
请登录后查看
离线yyglxc

发帖
4659
M币
1528
专家
1
粉丝
39
只看该作者 2楼 发表于: 2018-10-10
请登录后查看
离线cdnaa
发帖
24
M币
231
专家
0
粉丝
8
只看该作者 3楼 发表于: 2018-10-10
回 邪恶海盗 的帖子
请登录后查看
离线iamhunter

发帖
177
M币
-321
专家
1
粉丝
2
只看该作者 4楼 发表于: 2018-10-10
请登录后查看
离线cdnaa
发帖
24
M币
231
专家
0
粉丝
8
只看该作者 5楼 发表于: 2018-10-10
回 yyglxc 的帖子
请登录后查看
离线cdnaa
发帖
24
M币
231
专家
0
粉丝
8
只看该作者 6楼 发表于: 2018-10-10
回 iamhunter 的帖子
请登录后查看
离线aishiweiyi

发帖
158
M币
247
专家
2
粉丝
12
只看该作者 7楼 发表于: 2018-10-10
请登录后查看
离线syskonnect

发帖
1509
M币
2422
专家
0
粉丝
7
只看该作者 8楼 发表于: 2018-10-10
请登录后查看
离线邪恶海盗

发帖
10697
M币
8643
专家
6
粉丝
74
只看该作者 9楼 发表于: 2018-10-10
回 cdnaa 的帖子
请登录后查看
快速回复
限80 字节
温馨提示:所有技术区严禁灌水,“沙发”“顶”字样;禁止广告贴;以免被删除
 
上一个 下一个