找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 11657|回复: 24

关于868L刷梅林的一些疑问

[复制链接]
双十一入手DIR 868L一台,查参数配置和6300V2一样,遂搜是否有梅林固件,一共找到2个有帮助的帖子1、Dlink dir868L软改梅林教程7.22更新,见4楼

https://www.right.com.cn/forum/thread-329994-1-1.html
2、{教程}DIR-868L硬改梅林教程
https://www.right.com.cn/forum/thread-315463-1-2.html

研究半天原版CFE和EA6700 CFE之后发现问题如下
一、

如图,关于LED的问题,原版CFE是直接以PCI/1/0、PCI/1/1进行定义,EA6700则是分别定义了devpath0=pci/1/1、devpath1=pci/2/1、用0、1定义的LED,所以CFE同样有定义的LED只有pci/1/1,似乎这就是868L刷完只亮一个灯的原因,而且位置还是错的。
对EA6700的CFE进行更正devpath0=pci/0/1、devpath1=pci/1/1不知道能不能解决问题
二、关于WIFI芯片驱动以及功放驱动的问题
不太清楚CFE中对WIFI的定义,猜测类似pa2gw0a0这种应该就是,但是EA6700和868L的2.4G功放不一样,所以在CFE中应该有分别;
另外从EA6700的CFE中提取的1:pa5ga0=0xff2b,0x1898,0xfcf2,0xff2c,0x1947,0xfcda,0xff33,0x18f9,0xfcec,0xff2d,0x18ef,0xfce4,这应该是5G的PA功放?在868L中却没有这项信息,甚至搜不到任何与5g有关的字符
三、868L个体之间的CFE似乎一样
自己拆焊了2M flash,编程器读出来与网上给的DIR-868L-FAC-CFE.bin内容一样,包括et0macaddr,似乎D LINK的MAC并不在CFE中?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
查个眼,也想买个这个
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

@nxh1129   可以试着让大佬出来看看,造福一下广大小白
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

指出的问题,我记得改过,改过之后,依然灯不亮,没有发现有什么变化
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

devpath0=pci/0/1、devpath1=pci/1/1

这个没有试过,有编程器可以试一试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你一可以参考一下dir880L硬改的帖子,我刷过880L的cfe,无线部分正常,有线部分不正常,获取不到ip,手动设置ip也不行,似乎二者无线模块相同,有线部分不同
https://www.right.com.cn/forum/f ... read&tid=212129
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nxh1129 发表于 2018-11-18 21:03
你一可以参考一下dir880L硬改的帖子,我刷过880L的cfe,无线部分正常,有线部分不正常,获取不到ip,手动设 ...

无线芯片不同吧,868L是4331加4360,880L好像和AC15、AC68U一样,是4360*2。

点评

记错了,是868L原厂的cfe下,直接刷入880L的原厂固件,无线正常,可以进入web页面,有线不行  详情 回复 发表于 2018-11-18 23:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

jock89 发表于 2018-11-18 23:18
无线芯片不同吧,868L是4331加4360,880L好像和AC15、AC68U一样,是4360*2。

记错了,是868L原厂的cfe下,直接刷入880L的原厂固件,无线正常,可以进入web页面,有线不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nxh1129 发表于 2018-11-18 23:26
记错了,是868L原厂的cfe下,直接刷入880L的原厂固件,无线正常,可以进入web页面,有线不行

谢了,我放弃梅林了,刷了advanced tomato,挺不错,就是没中文,可以挂载jffs,似乎以后还可以通过某些方法装梅林软件中心,稳定性挺好

点评

tomato,868L装不了软件中心  详情 回复 发表于 2018-11-18 23:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

jock89 发表于 2018-11-18 23:32
谢了,我放弃梅林了,刷了advanced tomato,挺不错,就是没中文,可以挂载jffs,似乎以后还可以通过某些 ...

tomato,868L装不了软件中心
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ssh开不了,阉割了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

868L的原厂cfe中NVRAM是32k的,所以ssh阉割掉了,必须是64k才行,所以要修改cfe
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
后续更新:868L本机的MAC不在CFE中,至少不在前256KB中,对比自己读取的2M FLASH中前256KB,所有数据和网上的868L factory CFE一样,实在研究不透这个CFE,谷歌查资料发现可以刷advancedtomato,按教程先刷DD变砖,救砖,miniweb直刷advancedtomato成功启动,界面设计不错,至少我很喜欢,稳定性也不错,可以挂载jffs,以后似乎能装软件中心,至此已经很满意了,梅林等完美了我再折腾吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼主,868L的5G nvram数据是通过init0.S52wlan.sh脚本在写入的,不是直接由cfe生成的
#!/bin/sh

xmldbc -P /etc/services/WIFI/rtcfg.php -V ACTION="INIT" > /var/init_wifi_mod.sh

# set initial arguments for module 2.4g 4360b0 (it has no srom values)
nvram set devpath0=pci/1/1
nvram set 0:boardvendor=0x14e4
nvram set 0:devid=0x43a1
nvram set 0:sromrev=11
nvram set 0:boardflags=0x1000
nvram set 0:boardflags2=0x100002
nvram set 0:venvid=0x14e4
nvram set 0:boardflags3=0x3
nvram set 0:regrev=0
nvram set 0:aa2g=7
nvram set 0:agbg0=71
nvram set 0:agbg1=71
nvram set 0:agbg2=71
nvram set 0:txchain=7
nvram set 0:rxchain=7
nvram set 0:antswitch=0
nvram set 0:femctrl=3
nvram set 0:tssiposslope2g=1
nvram set 0:epagain2g=0
nvram set 0:pdgain2g=14
nvram set 0:tworangetssi2g=0
nvram set 0:papdcap2g=0
nvram set 0:gainctrlsph=0
nvram set 0:tempthresh=255
nvram set 0:tempoffset=255
nvram set 0:rawtempsense=0x1ff
nvram set 0:measpower=0x7f
nvram set 0:xtalfreq=65535
nvram set 0:phycal_tempdelta=255
nvram set 0:measpower1=0x7f
nvram set 0:measpower2=0x7f
nvram set 0:tssifloor2g=0x3ff
nvram set 0:pdoffset2g40ma0=15
nvram set 0:pdoffset2g40ma1=15
nvram set 0:pdoffset2g40ma2=15
nvram set 0:pdoffset2g40mvalid=1
nvram set 0:pdoffset40ma0=0
nvram set 0:pdoffset40ma1=0
nvram set 0:pdoffset40ma2=0
nvram set 0:pdoffset80ma0=0
nvram set 0:pdoffset80ma1=0
nvram set 0:pdoffset80ma2=0
nvram set 0:cckbw202gpo=0
nvram set 0:cckbw20ul2gpo=0
# nvram set 0:mcsbw202gpo=0xFFFDA800
nvram set 0:mcsbw202gpo=0x0
# nvram set 0:mcsbw402gpo=0xFFFFFFFF
nvram set 0:mcsbw402gpo=0x0
# nvram set 0:dot11agofdmhrbw202gpo=0xDB97
nvram set 0:dot11agofdmhrbw202gpo=0x0
nvram set 0fdmlrbw202gpo=0
nvram set 0:sb40and80lr5ghpo=0
nvram set 0:dot11agduphrpo=0
nvram set 0:dot11agduplrpo=0
nvram set 0:sar2g=18
nvram set 0:rxgainerr2ga0=63
nvram set 0:rxgainerr2ga1=31
nvram set 0:rxgainerr2ga2=31
# nvram set 0:maxp2ga0=106
nvram set 0:maxp2ga0=102
# nvram set 0:pa2ga0=0xFF35,0x18F7,0xFCF5
nvram set 0:pa2ga0=0xFF29,0x1b86,0xFCa9
nvram set 0:rxgains2gelnagaina0=4
nvram set 0:rxgains2gtrisoa0=7
nvram set 0:rxgains2gtrelnabypa0=1
# nvram set 0:maxp2ga1=106
nvram set 0:maxp2ga1=102
# nvram set 0:pa2ga1=0xFF36,0x18D1,0xFCF9
nvram set 0:pa2ga1=0xFF2e,0x1c4d,0xFC99
nvram set 0:rxgains2gelnagaina1=4
nvram set 0:rxgains2gtrisoa1=7
nvram set 0:rxgains2gtrelnabypa1=1
# nvram set 0:maxp2ga2=106
nvram set 0:maxp2ga2=102
# nvram set 0:pa2ga2=0xFF3E,0x1912,0xFCF7
nvram set 0:pa2ga2=0xFF27,0x1ac0,0xFcc0
nvram set 0:rxgains2gelnagaina2=4
nvram set 0:rxgains2gtrisoa2=7
nvram set 0:rxgains2gtrelnabypa2=1
# ledbh#, # is gpio number, 0x80 is low active, 0x3 is behavior, more detail in wlioctl.h (WL_LED_RADIO)
# nvram set 0:ledbh0=0x8B
# nvram set 0:ledbh1=0x8B
# nvram set 0:ledbh2=0x8B
# nvram set 0:ledbh13=0x83
# nvram set 0:ledbh13=0x8B

#implict txbf calibration data for 2G
nvram set 0:rpcal2g=0
TXBFCAL=`devdata get -e rpcal2g`
[ $TXBFCAL != "" ] && nvram set 0:rpcal2g=$TXBFCAL


# set initial arguments for module 5g 4360b0 (it has no srom values)
nvram set devpath1=pci/2/1
nvram set 1:boardvendor=0x14e4
nvram set 1:devid=0x43a2
nvram set 1:sromrev=11
nvram set 1:boardflags=0x30000000
nvram set 1:boardflags2=0x300002
nvram set 1:venid=0x14e4
nvram set 1:boardflags3=0x0
nvram set 1:regrev=0
nvram set 1:aa5g=7
nvram set 1:aga0=71
nvram set 1:aga1=133
nvram set 1:aga2=133
nvram set 1:txchain=7
nvram set 1:rxchain=7
nvram set 1:antswitch=0
nvram set 1:femctrl=3
nvram set 1:tssiposslope5g=1
nvram set 1:epagain5g=0
nvram set 1:pdgain5g=4
nvram set 1:tworangetssi5g=0
nvram set 1:papdcap5g=0
nvram set 1:gainctrlsph=0
nvram set 1:measpower=0x7f
nvram set 1:xtalfreq=65535
nvram set 1:phycal_tempdelta=255
nvram set 1:measpower1=0x7f
nvram set 1:measpower2=0x7f
nvram set 1:pdoffset40ma0=4369
nvram set 1:pdoffset40ma1=4369
nvram set 1:pdoffset40ma2=4369
nvram set 1:pdoffset80ma0=0
nvram set 1:pdoffset80ma1=0
nvram set 1:pdoffset80ma2=0
nvram set 1:subband5gver=0x4
nvram set 1:mcsbw205glpo=0
nvram set 1:mcsbw405glpo=0
nvram set 1:mcsbw805glpo=0
nvram set 1:mcsbw1605glpo=0
# nvram set 1:mcsbw205gmpo=0xFFFDA800
nvram set 1:mcsbw205gmpo=0x0
# nvram set 1:mcsbw405gmpo=0xFFFDA800
nvram set 1:mcsbw405gmpo=0x0
# nvram set 1:mcsbw805gmpo=0xFFFDA844
nvram set 1:mcsbw805gmpo=0x0
nvram set 1:mcsbw1605gmpo=0
# nvram set 1:mcsbw205ghpo=0xFFFDA800
nvram set 1:mcsbw205ghpo=0x0
# nvram set 1:mcsbw405ghpo=0xFFFDA800
nvram set 1:mcsbw405ghpo=0x0
# nvram set 1:mcsbw805ghpo=0xFFFDA844
nvram set 1:mcsbw805ghpo=0x0
nvram set 1:mcsbw1605ghpo=0
nvram set 1:mcslr5glpo=0
nvram set 1:mcslr5gmpo=0
nvram set 1:mcslr5ghpo=0
nvram set 1:sb40and80lr5ghpo=0
nvram set 1:dot11agduphrpo=0
nvram set 1:dot11agduplrpo=0
nvram set 1:pcieingress_war=15
nvram set 1:sar5g=15
nvram set 1:rxgainerr5ga0=63,63,63,63
nvram set 1:rxgainerr5ga1=31,31,31,31
nvram set 1:rxgainerr5ga2=31,31,31,31
nvram set 1:rxgains5gmelnagaina0=2
nvram set 1:rxgains5gmtrisoa0=5
nvram set 1:rxgains5gmtrelnabypa0=1
nvram set 1:rxgains5ghelnagaina0=2
nvram set 1:rxgains5ghtrisoa0=5
nvram set 1:rxgains5ghtrelnabypa0=1
nvram set 1:rxgains5gelnagaina0=1
nvram set 1:rxgains5gtrisoa0=7
nvram set 1:rxgains5gtrelnabypa0=1
# nvram set 1:maxp5ga0=54,90,90,106
nvram set 1:maxp5ga0=102,102,102,102
# nvram set 1:pa5ga0=0xff4c,0x18df,0xfd12,0xff52,0x195d,0xfd11,0xff49,0x1a47,0xfcdc,0xff48,0x1a85,0xfcce
# nvram set 1:pa5ga0=0xff3b,0x1a0d,0xfcd1,0xff34,0x19c0,0xfcd7,0xff30,0x18c7,0xfcf1,0xff32,0x194d,0xfce5
# nvram set 1:pa5ga0=0xff40,0x1a47,0xfcd0,0xff3d,0x1a7a,0xfccd,0xff4b,0x1af2,0xfccc,0xff2a,0x18b6,0xfcf0
nvram set 1:pa5ga0=0xff45,0x1b8f,0xfcb4,0xff3d,0x1af7,0xfcbe,0xff46,0x1b8a,0xfcb4,0xff43,0x1b06,0xfcc1
nvram set 1:rxgains5gmelnagaina1=2
nvram set 1:rxgains5gmtrisoa1=4
nvram set 1:rxgains5gmtrelnabypa1=1
nvram set 1:rxgains5ghelnagaina1=2
nvram set 1:rxgains5ghtrisoa1=4
nvram set 1:rxgains5ghtrelnabypa1=1
nvram set 1:rxgains5gelnagaina1=1
nvram set 1:rxgains5gtrisoa1=6
nvram set 1:rxgains5gtrelnabypa1=1
# nvram set 1:maxp5ga1=54,90,90,106
nvram set 1:maxp5ga1=102,102,102,102
# nvram set 1:pa5ga1=0xff5c,0x19ba,0xfd12,0xff3e,0x1932,0xfcf5,0xff4d,0x1a9f,0xfcdd,0xff47,0x1a5d,0xfcda
# nvram set 1:pa5ga1=0xff27,0x189d,0xfcea,0xff46,0x1a57,0xfcd3,0xff34,0x1958,0xfce2,0xff26,0x1845,0xfcfa
# nvram set 1:pa5ga1=0xff34,0x19a4,0xfcd8,0xff26,0x186a,0xfcf8,0xff3e,0x1a8d,0xfcca,0xff2f,0x19ce,0xfcd2
nvram set 1:pa5ga1=0xff3c,0x1acd,0xfcc1,0xff45,0x1b14,0xfcc5,0xff42,0x1b04,0xfcc5,0xff3f,0x1aab,0xfccc
nvram set 1:rxgains5gmelnagaina2=3
nvram set 1:rxgains5gmtrisoa2=4
nvram set 1:rxgains5gmtrelnabypa2=1
nvram set 1:rxgains5ghelnagaina2=3
nvram set 1:rxgains5ghtrisoa2=4
nvram set 1:rxgains5ghtrelnabypa2=1
nvram set 1:rxgains5gelnagaina2=1
nvram set 1:rxgains5gtrisoa2=5
nvram set 1:rxgains5gtrelnabypa2=1
# nvram set 1:maxp5ga2=54,90,90,106
nvram set 1:maxp5ga2=102,102,102,102
# nvram set 1:pa5ga2=0xff38,0x18f3,0xfcef,0xff4f,0x1a3d,0xfcef,0xff4a,0x1ade,0xfcd1,0xff43,0x1aca,0xfcc0
# nvram set 1:pa5ga2=0xff24,0x1864,0xfcf0,0xff2c,0x18ba,0xfcf2,0xff24,0x17eb,0xfd05,0xff2b,0x18af,0xfcf5
# nvram set 1:pa5ga2=0xff3b,0x1a91,0xfcc7,0xff38,0x1a52,0xfcd0,0xff35,0x19e3,0xfcd6,0xff28,0x18b6,0xfcf3
nvram set 1:pa5ga2=0xff3d,0x1aee,0xfcc1,0xff33,0x1a56,0xfcc4,0xff3f,0x1b04,0xfcc1,0xff47,0x1b48,0xfcc2
# ledbh#, # is gpio number, 0x80 is low active, 0x3 is behavior, more detail in wlioctl.h (WL_LED_RADIO)
# nvram set 1:ledbh0=0x8B
# nvram set 1:ledbh1=0x8B
# nvram set 1:ledbh2=0x8B
# nvram set 1:ledbh14=0x83
# nvram set 1:ledbh14=0x8B

#implict txbf calibration data for 5G
nvram set 1:rpcal5gb0=0
TXBFCAL=`devdata get -e rpcal5gb0`
[ $TXBFCAL != "" ] && nvram set 1:rpcal5gb0=$TXBFCAL
nvram set 1:rpcal5gb1=0
TXBFCAL=`devdata get -e rpcal5gb1`
[ $TXBFCAL != "" ] && nvram set 1:rpcal5gb1=$TXBFCAL
nvram set 1:rpcal5gb2=0
TXBFCAL=`devdata get -e rpcal5gb2`
[ $TXBFCAL != "" ] && nvram set 1:rpcal5gb2=$TXBFCAL
nvram set 1:rpcal5gb3=0
TXBFCAL=`devdata get -e rpcal5gb3`
[ $TXBFCAL != "" ] && nvram set 1:rpcal5gb3=$TXBFCAL


#we only insert wifi modules in init.
xmldbc -P /etc/services/WIFI/init_wifi_mod.php >> /var/init_wifi_mod.sh
chmod +x /var/init_wifi_mod.sh
/bin/sh /var/init_wifi_mod.sh

#initial wifi interfaces
service PHYINF.WIFI start
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不过这货温度确实高,我有2台都热死了。正在研究ac68u的cfe,重新编译一下68u的cfe,看能不能让灯亮起来,好完美一点。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 14:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表