{"id":13647884,"url":"https://github.com/libc0607/Realtek_switch_hacking","last_synced_at":"2025-04-22T06:32:24.670Z","repository":{"id":41165387,"uuid":"73797011","full_name":"libc0607/Realtek_switch_hacking","owner":"libc0607","description":"折腾交换机","archived":false,"fork":false,"pushed_at":"2025-02-10T17:44:10.000Z","size":94737,"stargazers_count":479,"open_issues_count":12,"forks_count":139,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-02-10T18:34:41.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libc0607.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-15T09:19:24.000Z","updated_at":"2025-02-10T17:44:14.000Z","dependencies_parsed_at":"2024-08-09T22:07:16.313Z","dependency_job_id":null,"html_url":"https://github.com/libc0607/Realtek_switch_hacking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libc0607%2FRealtek_switch_hacking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libc0607%2FRealtek_switch_hacking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libc0607%2FRealtek_switch_hacking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libc0607%2FRealtek_switch_hacking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libc0607","download_url":"https://codeload.github.com/libc0607/Realtek_switch_hacking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250183349,"owners_count":21388701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:03:49.194Z","updated_at":"2025-04-22T06:32:19.656Z","avatar_url":"https://github.com/libc0607.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"\n## Realtek Switch Hacking\n本 Repo 试图收集基于 Realtek 芯片的家用交换机/路由器的相关信息。  \n包括但不限于：改造成网管机的教程、数据手册等各类文档、硬件设计、软件驱动等各类相关代码等。  \n如果你想要贡献一些信息，欢迎 PR/issue。\n\n## 已有内容   \n### 改造教程  \n\n[RTL8370N 芯片的 8 千兆交换机改网管](https://github.com/libc0607/RTL8370N_switch_hacking/blob/master/RTL8370N-SR8808M.md)  \n[RTL8367N 芯片的 5 千兆交换机改网管](https://github.com/libc0607/RTL8370N_switch_hacking/blob/master/RTL8367N-GS105Ev2.md)  \n注：RTL8370N/RTL8367N 等内置 8051 内核的交换芯片疑似需对内部 ROM 烧写代码后才能使用（见 [Issue #1](https://github.com/libc0607/Realtek_switch_hacking/issues/1)），而这段代码目前没有找到相关资料，意味着它可能不会从 Flash 启动。有大概率会翻，谨慎上车。  \n[RTL8382L+RTL8218B 芯片的 16 千兆交换机改网管](https://github.com/libc0607/RTL8370N_switch_hacking/blob/master/RTL8382L.md)   \nRTL8372/3 改网管机，相关脚本：[up-n-atom/SWTG118AS](https://github.com/up-n-atom/SWTG118AS)，[中文视频教程 zh-cn video tutorial](https://www.bilibili.com/video/BV1DM4m117gC) by B站 兔子雪球（aliemeng）   \n\n### 各类 Datasheet\n注：这部分 Datasheet 全部来自于互联网，出处见 files 分支。 \n\n#### 交换机\n[RTL8305NB](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8305NB-CG_Datasheet_1.0_for_B-Link.pdf)  \n[RTL8305SB](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/documents-switch-rtl8305sb-RTL8305SB-VD_Datasheet_1.5.pdf)   \n[RTL8305SC](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8305SC-LF_PDF_C129791_2018-01-05.pdf)  \n[RTL8306SD](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8306SD-GR_PDF_C21656_2014-03-19.pdf)  \n[RTL8309G](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8309G-GR_PDF_C71951_2016-11-19.pdf)  \n[RTL8363SB](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8363SB-CG_1.0.pdf)  \n[RTL8366_8369](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8366_8369_DataSheet_1.1.pdf)  \n[RTL8367N](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8367N-VB-CG_Datasheet_1.0.pdf)  \n[RTL8367RB](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8367RB.pdf)  \n[RTL8367S](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8367S-CG_Datasheet.pdf)  \n[RTL8370(M)](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8370(M).pdf)  \n[RTL8376](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8376_Datasheet_1.3.pdf)  \n[RTL8380M_RTL8382M_RTL8382L](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8380M_RTL8382M_RTL8382L.PDF)  \nto-do: 许愿一个泄露的8372/8373  \n \n#### 路由器\n[RTL8196E](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/REALTEK-RTL8196E.pdf)  \n[RTL8196C](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8196C-GR_Datasheet_0.7.pdf)  \n[RTL8196E-VEx](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8196E-VEx-CG_Datasheet_1.1.pdf)  \n[RTL8197D](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8197D%20DataSheet.pdf)  \n[RTL8198](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/RTL8198_Datasheet_Cleaned_0.91.pdf)  \n\n#### 驱动代码  \n注：驱动代码和芯片之间的对应关系通常因为马甲的存在而不容易确定  \n注2：这些除了 RTL8370 的几个 API 以外，我都没试过  \n[RTL8325D](https://github.com/libc0607/RTL8370N_switch_hacking/blob/files/rtl8325d.zip)  \n[BootingUp/Realtek_Unmanaged_Switch_API_V1.3.12_20171124](https://github.com/BootingUp/Realtek_Unmanaged_Switch_API_V1.3.12_20171124)  \n其他的文档可以到 files 分支，或是 [Telegram channel](https://t.me/Realtek_Switch_Hacking) 下载  \n\n### 其他研究 \n[我自己搞的 RTL8370 板子](https://github.com/libc0607/RTL8370N_switch_hacking/blob/master/RTL8370N-Demo.md)    \n[用 ESP8266 + NodeMCU 通过 SMI 控制 RTL8370 的尝试](https://github.com/libc0607/RTL8370N_switch_hacking/blob/master/RTL8370-ESP8266.md)  \n[我自己搞的 RTL8367RB + ESP8266 板 (硬件全部开源在 LCEDA)](https://lceda.cn/libc0607/rtl8367rb-switch_copy)  \n[我自己搞的 RTL8382L 8口交换 (LCEDA)](https://lceda.cn/libc0607/rtl8382l-big-switch)  \n[Yakigani: RTL8370 iROM programmer](https://github.com/libc0607/Yakigani)  \n8372 分析: [0](https://forums.servethehome.com/index.php?threads/horaco-2-5gbe-managed-switch-8-x-2-5gbe-1-10gb-sfp.41571), [1](https://github.com/libc0607/Realtek_switch_hacking/issues/10), [2](https://github.com/libc0607/Yakigani/issues/1), [3](https://github.com/up-n-atom/SWTG118AS/issues/4), [Discord](https://discord.com/channels/886329492438671420/1178935426451525682) \\(*Thanks to FanFansfan, up-n-atom, giver3, and error404 (from STH)) \n\n## License 协议\n本 Repo 下个人做出的研究分析，和那个 PCB 及其相关设计：遵从 CC BY-NC-SA 3.0 协议。  \n各家的固件，数据手册，资料等： 他们说了算（如果让我删我会的  。。  \n本项目意在研究学习，请在下载使用后的 24 小时内停止运行并删除，如果拿去当奸商的话那后果自负。。   \n如果有侵犯到你的权益，请通知我删除。   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibc0607%2FRealtek_switch_hacking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibc0607%2FRealtek_switch_hacking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibc0607%2FRealtek_switch_hacking/lists"}