Coder Social home page Coder Social logo

jinenge / padavan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hanwckf/rt-n56u

0.0 0.0 0.0 1.1 GB

Padavan固件自编译3.4内核,fork到您的仓库后,点击Actions进行编译

Shell 1.01% JavaScript 0.09% C++ 0.38% Python 0.07% Perl 0.25% C 94.26% Arc 0.01% Java 0.01% Lua 0.02% Verilog 0.01% C# 0.02% Assembly 1.74% Scilab 0.01% Awk 0.01% XSLT 0.13% CSS 0.15% UnrealScript 0.01% TeX 0.08% Makefile 0.67% HTML 1.12%

padavan's Introduction

padavan 中文

简体中文 & 路由器适配

GitHub release


padavan 是一个优秀的路由器固件,支持采用 RT3883/MT7620/MT7621/MT7628 等系列 CPU 的路由器

说明

本项目旨在使 padavan 实现更好的中文本地化,以方便更多的用户

项目主要包含两部分:简体中文 dict 文件,部分常见路由器的适配文件

已适配的路由器型号如下:

  • 联想 newifi mini (NEWIFI-MINI)

  • 联想 newifi2 (NEWIFI-D1)

  • 联想 newifi y1s (NEWIFI-Y1S)

  • 优酷路由宝 L1 (YK-L1)

  • 斐讯 K2 (PSG1218)


image

使用方法

使用编译好的固件

提供部分已编译好的固件 (仅供测试),仅针对路由器进行适配并加入简体中文。

可直接下载对应型号固件,通过 uboot 或 breed 刷入(请务必确保与路由器型号一致)。

固件下载地址: http://pan.baidu.com/s/1o8jLp9o 密码: 4y9d

手动编译固件

若需要更多定制功能,请自己修改源码编译固件。

编译步骤

环境准备

官方建议使用 ubuntu 16.04 LTS,你也可以使用 debian 衍生的其他 Linux 系统。

安装 git

sudo apt-get update
sudo apt-get install git

安装依赖

sudo apt-get install autoconf automake autopoint bison build-essential flex gawk gettext git gperf libtool pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev texinfo python-docutils

获取 padavan 固件源码

cd /opt
sudo git clone https://bitbucket.org/padavan/rt-n56u

如果下载比较慢,也可以从 oschina 镜像下载

cd /opt
sudo git clone https://gitee.com/gorden5566/rt-n56u.git

安装简体中文

下载简体中文源码

cd ~/
git clone https://github.com/gorden5566/padavan.git

安装

cd ~/padavan
sudo sh ./install.sh

依次输入 1 和 2 复制文件到项目目录

编译交叉编译工具链

交叉编译工具链只需要编译一次即可

cd /opt/rt-n56u/toolchain-mipsel
sudo ./clean_sources
sudo ./build_toolchain

配置修改

方法一: 手动编辑 /opt/rt-n56u/trunk/.config

修改路由器型号相关配置(例如 NEWIFI-D1)

### Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)
CONFIG_VENDOR=Ralink
CONFIG_PRODUCT=MT7621

### Target ProductID (board select, max 12 symbols)
CONFIG_FIRMWARE_PRODUCT_ID="NEWIFI-D1"

修改语言配置

CONFIG_FIRMWARE_INCLUDE_LANG_CN=y

方法二: 使用编辑好的配置文件

cd /opt/rt-n56u/trunk/
sudo cp configs/templates/newifi_d1_full.config .config

编译固件

执行如下命令编译固件

cd /opt/rt-n56u/trunk
sudo ./clear_tree
sudo ./build_firmware

文件说明

├── configs
│   ├── boards
│   │   └── NEWIFI-D1 ---newifi-d1适配文件
│   │       ├── board.h
│   │       ├── board.mk
│   │       ├── kernel-3.4.x.config
│   │       └── libc.config -> ../uclibc-mipsel.config
│   └── templates
│       ├── newifi_d1_base.config ---newifi-d1简版配置
│       └── newifi_d1_full.config ---newifi-d1完整版配置
└── user
    └── www
        ├── dict
        │   └── CN.dict ---简体中文语言文件
        └── Makefile

贡献列表

详见 contributors


gorden5566

💻

Hongfei Xu

💻

关注趋势

Stargazers over time

请参阅

padavan's People

Contributors

andy-padavan avatar hanwckf avatar eagle23 avatar yonsm avatar ryzhovau avatar bmork avatar tytso avatar yh793 avatar paulusmack avatar dnlplm avatar jinenge avatar linaro1985 avatar ebiggers avatar bleissem avatar alanstern avatar richardweinberger avatar klassert avatar vegard avatar congwang avatar lintel avatar peterhurley avatar oneukum avatar herbertx avatar davem330 avatar bwhacks avatar xairy avatar 1715173329 avatar jankara avatar jhovold avatar paulburton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.