V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
shangjiyu
V2EX  ›  OpenWrt

如意云固件分享: RY-1 的 OpenWrt 的 trunk 固件 Ver: OpenWrt Chaos Calmer r44245 / LuCI (git-15.030.11829-7952ad5)

  •  
  •   shangjiyu · 2015-02-06 12:29:46 +08:00 · 3607 次点击
    这是一个创建于 3610 天前的主题,其中的信息可能已经有所发展或是发生改变。
    貌似很少有人做这个固件了? 前些天有人找我问, 我就顺便放一个出来

    固件地址Dropbox: https://www.dropbox.com/s/837riw7mbwpn23k/openwrt-ramips-mt7620-ry-1-squashfs-sysupgrade.bin?dl=0

    固件包含了shadosocks, chinadns, dns2sock, dnscypt-proxy redsocks2 privoxy 迅雷远程,全功能aria2等

    最终解释权归本人所有(听说这句话没有法律效应)
    disclaimer: 请正确刷入固件,刷坏我也没有办法(刷的坏才怪)...
    第 1 条附言  ·  2015-02-06 15:37:18 +08:00
    原生固件默认没有开启wifi, 已知led灯显示不正确(应该是dts不正确吧), 不爱折腾的还是别刷吧, 稳定版本是不是更好?
    第 2 条附言  ·  2015-03-27 17:00:12 +08:00
    由于修正了OpenWrt 上 add_xCloud-RY-1A_support.patch, 添加了独立的DTeam RY-1A profile并修正的gpio引脚 led灯 可以点亮了..(授之予鱼不如授人于渔 -_- ).导致就的dropbox链接失效.. 这里贴上新的地址:
    https://www.dropbox.com/s/ass8afy1epkpbvd/openwrt-ramips-mt7620-ry-1a-squashfs-sysupgrade.bin?dl=0

    刚刚更新到trunk最新Changeset 45056
    add:
    python 环境 可以安装Sync-Y
    sxplugin(新版闪讯 singleNet) 低调使用 呵呵
    SQM QoS 据说很强大, 不会用...

    any other ...

    again: 免责声明...
    33 条回复    2015-06-12 09:05:36 +08:00
    lazycat
        1
    lazycat  
       2015-02-06 13:29:34 +08:00
    感谢。。。一直用着N14U的固件。。。
    能不能集成一个带802.1x验证的固件呢?
    shangjiyu
        2
    shangjiyu  
    OP
       2015-02-06 13:57:06 +08:00
    @lazycat full版的wpad?
    mozutaba
        3
    mozutaba  
       2015-02-06 14:24:25 +08:00
    先感谢,再问:
    系统升级刷入?
    有什么已知bug?
    ss会不会卡住?
    riaqn
        4
    riaqn  
       2015-02-06 15:31:44 +08:00
    一般我不用trunk,更新太快,不稳定。
    比如strongswan在trunk上就连不上,在Break barrier上就没问题。
    shangjiyu
        5
    shangjiyu  
    OP
       2015-02-06 15:33:20 +08:00
    @mozutaba uboot下刷入, bug待反馈(不知道,我自己用在自己设置下没有问题)... ss卡住?这只是个客户端, 具体还需自己设置服务器, 代理规则...
    tyhunter
        6
    tyhunter  
       2015-02-06 16:16:23 +08:00
    Mark,等回学校刷下试试
    mozutaba
        7
    mozutaba  
       2015-02-06 19:54:08 +08:00
    @shangjiyu 以前给装上了goagent,cpu和内存会爆满。然后单装adbyby,页面速度也太慢了。
    shangjiyu
        8
    shangjiyu  
    OP
       2015-02-06 21:56:35 +08:00 via iPhone
    @mozutaba 具体也看问题,这个固件没有python
    lazycat
        9
    lazycat  
       2015-02-10 13:05:41 +08:00 via Android
    @shangjiyu 嗯。。。要是能有图形界面配置就更好了。。。
    ivyswen
        10
    ivyswen  
       2015-02-27 10:49:04 +08:00
    能否分享一下,BB版增加ry-1支持的方法?
    shangjiyu
        11
    shangjiyu  
    OP
       2015-02-27 19:40:41 +08:00
    @ivyswen 这个patch 你可以参考下

    Index: target/linux/ramips/dts/RY-01.dts
    ===================================================================
    --- target/linux/ramips/dts/RY-01.dts (revision 0)
    +++ target/linux/ramips/dts/RY-01.dts (revision 0)
    @@ -0,0 +1,130 @@
    +/dts-v1/;
    +
    +/include/ "mt7620n.dtsi"
    +
    +/ {
    + compatible = "xcloud,ry-01", "ralink,mt7620n-soc";
    + model = "XCloud RY-01";
    +
    + palmbus@10000000 {
    + gpio0: gpio@600 {
    + status = "okay";
    + };
    +
    + gpio2: gpio@660 {
    + status = "okay";
    + };
    +
    + gpio3: gpio@688 {
    + status = "okay";
    + };
    +
    + spi@b00 {
    + status = "okay";
    +
    + m25p80@0 {
    + #address-cells = <1>;
    + #size-cells = <1>;
    + #compatible = "mx25l6405d";
    + compatible = "w25q128";
    + reg = <0 0>;
    + linux,modalias = "m25p80", "w25q128";
    + spi-max-frequency = <10000000>;
    +
    + partition@0 {
    + label = "u-boot";
    + reg = <0x0 0x30000>;
    + read-only;
    + };
    +
    + partition@30000 {
    + label = "u-boot-env";
    + reg = <0x30000 0x10000>;
    + read-only;
    + };
    +
    + factory: partition@40000 {
    + label = "factory";
    + reg = <0x40000 0x10000>;
    + read-only;
    + };
    +
    + partition@50000 {
    + label = "firmware";
    + reg = <0x50000 0xfb0000>;
    + };
    + };
    + };
    + };
    +
    + ehci@101c0000 {
    + status = "okay";
    + };
    +
    + ohci@101c1000 {
    + status = "okay";
    + };
    +
    + ethernet@10100000 {
    + mtd-mac-address = <&factory 0x4>;
    + ralink,port-map = "wllll";
    + };
    +
    + wmac@10180000 {
    + ralink,mtd-eeprom = <&factory 0>;
    + };
    +
    + pinctrl {
    + state_default: pinctrl0 {
    + default {
    + ralink,group = "ephy", "wled";
    + ralink,function = "gpio";
    + };
    + };
    + };
    +
    + gpio-leds {
    + compatible = "gpio-leds";
    + wan {
    + label = "xcloud:red:wan";
    + gpios = <&gpio2 0 1>;
    + };
    + lan4 {
    + label = "xcloud:red:lan4";
    + gpios = <&gpio2 1 1>;
    + };
    + lan3 {
    + label = "xcloud:red:lan3";
    + gpios = <&gpio2 2 1>;
    + };
    + lan2 {
    + label = "xcloud:red:lan2";
    + gpios = <&gpio2 3 1>;
    + };
    + lan1 {
    + label = "xcloud:red:lan1";
    + gpios = <&gpio2 3 1>;
    + };
    + air {
    + label = "xcloud:red:air";
    + gpios = <&gpio3 0 1>;
    + };
    + };
    +
    + gpio-keys-polled {
    + compatible = "gpio-keys-polled";
    + #address-cells = <1>;
    + #size-cells = <0>;
    + poll-interval = <20>;
    + reset {
    + label = "reset";
    + gpios = <&gpio0 1 1>;
    + linux,code = <0x198>;
    + };
    + wps {
    + label = "wps";
    + gpios = <&gpio0 2 1>;
    + linux,code = <0x211>;
    + };
    + };
    +};
    Index: target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk
    ===================================================================
    --- target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk (revision 0)
    +++ target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk (revision 0)
    @@ -0,0 +1,18 @@
    +#
    +# Copyright (C) 2011 OpenWrt.org
    +#
    +# This is free software, licensed under the GNU General Public License v2.
    +# See /LICENSE for more information.
    +#
    +
    +define Profile/XCloud-RY-01
    + NAME:=XCloud RY 01
    + PACKAGES:=\
    + kmod-usb-core kmod-usb2 kmod-usb-ohci \
    + kmod-ledtrig-usbdev
    +endef
    +
    +define Profile/Default/Description
    + Support for XCloud RY 01
    +endef
    +$(eval $(call Profile,XCloud-RY-01))

    Property changes on: target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk
    ___________________________________________________________________
    Added: svn:executable
    + *

    Index: target/linux/ramips/base-files/etc/board.d/01_leds
    ===================================================================
    --- target/linux/ramips/base-files/etc/board.d/01_leds (revision 44550)
    +++ target/linux/ramips/base-files/etc/board.d/01_leds (working copy)
    @@ -202,6 +202,11 @@
    set_wifi_led "asus:blue:air"
    set_usb_led "asus:blue:usb"
    ;;
    + ry-01)
    + ucidef_set_led_default "power" "power" "xcloud:red:power" "1"
    + set_wifi_led "xcloud:red:wifi"
    + set_usb_led "xcloud:red:usb"
    + ;;
    rp-n53)
    ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0"
    set_wifi_led "asus:blue:wifi"
    Index: target/linux/ramips/base-files/etc/board.d/02_network
    ===================================================================
    --- target/linux/ramips/base-files/etc/board.d/02_network (revision 44550)
    +++ target/linux/ramips/base-files/etc/board.d/02_network (working copy)
    @@ -154,6 +154,7 @@
    f5d8235-v2 | \
    hg255d | \
    rt-n14u | \
    + ry-01 | \
    wrtnode | \
    wt3020 | \
    ur-326n4g | \
    Index: target/linux/ramips/base-files/lib/ramips.sh
    ===================================================================
    --- target/linux/ramips/base-files/lib/ramips.sh (revision 44550)
    +++ target/linux/ramips/base-files/lib/ramips.sh (working copy)
    @@ -172,6 +172,9 @@
    *"Asus RT-N14U")
    name="rt-n14u"
    ;;
    + *"XCloud RY-01")
    + name="ry-01"
    + ;;
    *"Asus RT-N13U")
    name="rt-n13u"
    ;;
    Index: target/linux/ramips/base-files/lib/upgrade/platform.sh
    ===================================================================
    --- target/linux/ramips/base-files/lib/upgrade/platform.sh (revision 44550)
    +++ target/linux/ramips/base-files/lib/upgrade/platform.sh (working copy)
    @@ -78,6 +78,7 @@
    rt-n10-plus | \
    rt-n13u | \
    rt-n14u | \
    + ry-01 | \
    rt-n15 | \
    rt-n56u | \
    rut5xx | \
    Index: target/linux/ramips/image/Makefile
    ===================================================================
    --- target/linux/ramips/image/Makefile (revision 44550)
    +++ target/linux/ramips/image/Makefile (working copy)
    @@ -858,6 +858,7 @@
    Image/Build/Profile/MLWG2=$(call BuildFirmware/Default16M/$(1),$(1),mlwg2,MLWG2)
    Image/Build/Profile/WMR300=$(call BuildFirmware/Default8M/$(1),$(1),wmr-300,WMR300)
    Image/Build/Profile/RT-N14U=$(call BuildFirmware/Default8M/$(1),$(1),rt-n14u,RT-N14U)
    +Image/Build/Profile/RY-01=$(call BuildFirmware/Default16M/$(1),$(1),ry-01,RY-01)
    Image/Build/Profile/WR8305RT=$(call BuildFirmware/Default8M/$(1),$(1),wr8305rt,WR8305RT)
    Image/Build/Profile/WRTNODE=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode,WRTNODE)
    Image/Build/Profile/WT3020=$(call BuildFirmware/PorayDualSize/$(1),$(1),wt3020,WT3020)
    @@ -887,12 +888,12 @@
    $(call Image/Build/Profile/MLWG2,$(1))
    $(call Image/Build/Profile/WMR300,$(1))
    $(call Image/Build/Profile/RT-N14U,$(1))
    + $(call Image/Build/Profile/RY-01,$(1))
    $(call Image/Build/Profile/WR8305RT,$(1))
    $(call Image/Build/Profile/WRTNODE,$(1))
    $(call Image/Build/Profile/WT3020,$(1))
    $(call Image/Build/Profile/XIAOMI-MIWIFI-MINI,$(1))
    $(call Image/Build/Profile/ZBT-WA05,$(1))
    - $(call Image/Build/Profile/ArcherC20i,$(1))
    endef
    endif
    shangjiyu
        12
    shangjiyu  
    OP
       2015-02-27 19:48:16 +08:00
    @ivyswen 这个贴的好点。。 dts这里不对,你可以参考原生固件bootmsg 里修改
    http://gist.github.com/shangjiyu/c25b847c5f0e62c428b3
    shangjiyu
        13
    shangjiyu  
    OP
       2015-02-27 19:51:32 +08:00
    ivyswen
        14
    ivyswen  
       2015-03-02 06:35:52 +08:00 via Android
    非常感谢!
    guanyongxin
        15
    guanyongxin  
       2015-03-09 08:24:02 +08:00
    qos v4 正常了吗?git-15.020.45040-a46d203这个版本的QOS v4无效额..
    guanyongxin
        16
    guanyongxin  
       2015-03-09 15:08:58 +08:00
    可以集成个qos-emong功能吗,原版的QOS功能用着实在蛋疼,想单IP限速都不行
    guanyongxin
        17
    guanyongxin  
       2015-03-09 16:54:32 +08:00
    启动pdnsd显示错误

    root@OpenWrt:~# /etc/init.d/pdnsd start
    Starting proxy DNS server: pdnsdError: Bad config file permissions: file /etc/pdnsd.conf must be only writeable by the user.
    shangjiyu
        18
    shangjiyu  
    OP
       2015-03-09 23:49:56 +08:00 via Android
    @guanyongxin 权限问题自己修改下好了,有空再折腾下QoS。 另981213大大的分支貌似有2860v2的优化和QoS补丁
    guanyongxin
        19
    guanyongxin  
       2015-03-10 08:05:51 +08:00
    @shangjiyu 981213?有链接么?981213是V2EX的用户名吗
    shangjiyu
        20
    shangjiyu  
    OP
       2015-03-10 08:46:15 +08:00
    tyhunter
        21
    tyhunter  
       2015-03-27 13:00:10 +08:00
    LZ你好,我刷了你的固件之后,发现shadowsocks始终无法启动,试着用SSH连接路由器后手动开启SS也是没有反应,这是什么原因?
    shangjiyu
        22
    shangjiyu  
    OP
       2015-03-27 16:27:57 +08:00
    @tyhunter 看下日志歪,
    tyhunter
        23
    tyhunter  
       2015-03-27 18:13:46 +08:00
    @shangjiyu dnsmasq和SS都没办法使用
    Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: reading /tmp/resolv.conf.auto
    Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using local addresses only for domain lan
    Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using nameserver 10.80.96.250#53
    Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using nameserver 202.96.104.17#53
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 1)
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5727
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 2)
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5729
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 3)
    Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5731
    Fri Mar 27 18:10:32 2015 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 4)
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5756
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 5)
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5757
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 6)
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5758
    Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:35 2015 daemon.info privoxy[3180]: Restart request due to 'ifup' of interface 'wan'
    Fri Mar 27 18:10:35 2015 user.info autossh[5723]: starting ssh (count 7)
    Fri Mar 27 18:10:35 2015 user.info autossh[5723]: ssh child pid is 5840
    Fri Mar 27 18:10:35 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:10:36 2015 daemon.notice privoxy[3180]: Shutdown successfully
    Fri Mar 27 18:10:38 2015 daemon.notice privoxy[6090]: Started successfully
    Fri Mar 27 18:10:38 2015 user.notice ddns-scripts[6108]: myddns_ipv4: PID '6108' started at 2015-03-27 18:10
    Fri Mar 27 18:10:38 2015 user.warn ddns-scripts[6108]: myddns_ipv4: Service section disabled! - TERMINATE
    Fri Mar 27 18:10:38 2015 user.warn ddns-scripts[6108]: myddns_ipv4: PID '6108' exit WITH ERROR '1' at 2015-03-27 18:10\n
    Fri Mar 27 18:10:43 2015 user.info autossh[5723]: starting ssh (count 8)
    Fri Mar 27 18:10:43 2015 user.info autossh[5723]: ssh child pid is 6159
    Fri Mar 27 18:10:43 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    Fri Mar 27 18:11:01 2015 user.info autossh[5723]: starting ssh (count 9)
    Fri Mar 27 18:11:01 2015 user.info autossh[5723]: ssh child pid is 6267
    Fri Mar 27 18:11:01 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh
    shangjiyu
        24
    shangjiyu  
    OP
       2015-03-27 18:52:38 +08:00
    @tyhunter .... 一点有用的信息都没有... 你先关闭不需要的程序(autossh, privoxy 等等), 然后重启ss 看下log... (可能没有/etc/ipset 这个目录..) dnsmasq的话 默认是启用chinadns的(忽然发现默认配置里面有个172.16.7. 的内网ip... 失误)
    折腾还是需要点知识的..
    yuhaaitao
        25
    yuhaaitao  
       2015-03-31 13:39:55 +08:00
    多谢,原来如意云1还可以刷这么多功能
    ivyswen
        26
    ivyswen  
       2015-04-12 14:06:54 +08:00
    我用你最新的补丁编译出来了,但是lan口、USB的灯都不亮。但是在luci里讲lan1-4、USB分别指向别的设备是可以亮的。

    配置如下


    config led 'led_power'
    option name 'power'
    option default '1'
    option sysfs 'dteam:red:power'

    config led 'led_wan'
    option name 'wan'
    option default '0'
    option sysfs 'dteam:red:wan'
    option trigger 'heartbeat'

    config led 'led_wifi_led'
    option name 'wifi'
    option trigger 'netdev'
    option mode 'link tx rx'
    option default '0'
    option dev 'ra0'
    option sysfs 'dteam:red:wifi'

    config led 'led_usb'
    option name 'USB'
    option trigger 'usbdev'
    option dev '1-1'
    option interval '50'
    option sysfs 'dteam:red:usb'
    option default '0'
    hero18688
        27
    hero18688  
       2015-05-06 00:41:49 +08:00
    LZ你好,我用的型号是zbt-wa05,看上去led数量和分布跟如意云一样,但我把flash从8m改成16m后系统灯 无线灯就不亮了,请教下你是怎么修改的
    hero18688
        28
    hero18688  
       2015-05-06 16:30:51 +08:00
    刷过楼主的固件里,网线插哪个口都是wan灯亮,其他不亮,但是通过gpio命令,网口灯都可以设置亮灭的,是因为每个灯没有关联到对应网口吗?希望修正

    我看到如意云官方固件插拔网线会有对应网口提示
    [ 68.390000] ESW: Link Status Changed - Port3 Link UP
    [ 69.260000] ESW: Link Status Changed - Port3 Link Down
    [ 73.370000] ESW: Link Status Changed - Port2 Link UP
    [ 74.240000] ESW: Link Status Changed - Port2 Link Down
    楼主固件没有。
    stcode
        29
    stcode  
       2015-06-01 20:19:11 +08:00
    RY-1刚刷了,无线设置页面打不开,提示网关错误,
    shangjiyu
        30
    shangjiyu  
    OP
       2015-06-01 20:50:40 +08:00
    stcode
        31
    stcode  
       2015-06-02 10:07:09 +08:00
    @shangjiyu 那我重刷试试。
    stcode
        32
    stcode  
       2015-06-02 22:59:43 +08:00
    @shangjiyu RY-1刷了,基本正常,无线发射速率最高只有54 Mbit/s,还有无线那个信道没有12,13,有时会出现12,13信道选择项,但是选择保存之后,无线就会关闭。辛苦了,
    stcode
        33
    stcode  
       2015-06-12 09:05:36 +08:00
    对比了几个固件才发现,原来楼主编译的是RY-1A这个型号,难怪无线只有54MB呢,无线驱动不匹配,
    楼主能否帮忙帮忙编译一个RY-1的固件,配置了好久的编译环境都不成功.先谢谢了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2486 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 15:59 · PVG 23:59 · LAX 07:59 · JFK 10:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.