找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3340|回复: 35

分享DW33D转移到ath79主线编译的固件

[复制链接]
本帖最后由 fgwang 于 2020-9-2 11:32 编辑

注意:该固件为新分区格式,需要按commit修改分区以后才可以刷。
不可以在breed的web页面更新,可以telnet进breed后执行sysupgrade命令来更新。
刷之前需要按官网教程修改分区格式。
分区格式如下:
dev:    size   erasesize  name
mtd0: 00500000 00020000 "kernel"
mtd1: 05b00000 00020000 "ubi"
mtd2: 02000000 00020000 "oem-backup"
mtd3: 00040000 00010000 "u-boot"
mtd4: 00010000 00010000 "u-boot-env"
mtd5: 00fa0000 00010000 "oem-firmware"
mtd6: 00010000 00010000 "art"

刷之前务必确认!!!
https://share.weiyun.com/AEBEmFaH
新编译带JD签到的固件,版本号:20.7.20
https://share.weiyun.com/vFGRRjVP

我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
感觉好难      
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

是啊,大佬,整个详细的教程呗,现在的lean大的源码编译不出固件了,手里这四台大麦只能看着了

点评

https://github.com/openwrt/openwrt/pull/2523 shanpo commented on 31 Oct 2019 This commit porting the device from ar71xx to the ath79 target and modifies the partition layout. Firmware is insta  详情 回复 发表于 2020-8-15 19:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wifiway 发表于 2020-8-14 17:48
是啊,大佬,整个详细的教程呗,现在的lean大的源码编译不出固件了,手里这四台大麦只能看着了

https://github.com/openwrt/openwrt/pull/2523

shanpo commented on 31 Oct 2019
This commit porting the device from ar71xx to the ath79 target
and modifies the partition layout.

Firmware is installed to nand flash.
Modify the uboot-env parameter to boot from the nand flash.
The kernel size is extended to 5M.
4.nor flash retains the oem firmware.
oem partition layout
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e30000 00010000 "rootfs"
mtd3: 00170000 00010000 "kernel"
mtd4: 00010000 00010000 "art"
mtd5: 00f90000 00010000 "firmware"
mtd6: 06000000 00020000 "rootfs_data"
mtd7: 02000000 00020000 "backup"

new partition layout
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00fa0000 00010000 "oem-firmware"
mtd3: 00010000 00010000 "art"
mtd4: 00500000 00020000 "kernel"
mtd5: 07b00000 00020000 "ubi"

oem u-boot-env
bootcmd=bootm 0x9fe80000

new u-boot-env
bootcmd=nboot 0x8050000 0;bootm || bootm 0x9fe80000

installation guide
1.Upload openwrt firmware to the device
scp openwrt-snapshot-r11365-df60a0852c-ath79-nand-domywifi_dw33d-
squashfs-factory.bin root@192.168.10.1:/tmp
2.modify uboot-env.
ssh login to the device:
fw_setenv bootcmd 'nboot 0x8050000 0;bootm || bootm 0x9fe80000'
Run the fw_printenv command to check if the settings are correct.
3.Write openwrt firmware.
ssh login to the device:
mtd -r write /tmp/openwrt-snapshot-r11365-df60a0852c-ath79-nand-
domywifi_dw33d-squashfs-factory.bin /dev/mtd6
The device will restart automatically and the openwrt firmware
installation is complete.

Restore oem firmware.just erase the kernel partition and the ubi partition.
ssh login to the device:
mtd erase /dev/mtd4
mtd -r erase /dev/mtd5
Reboot the device

Thanks for your contribution to OpenWrt!

To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches

Please remove this message before posting the pull request.

点评

说白了就是修改uboot加载内核的地址,要在原厂固件下修改原厂uboot breed不支持dw33d修改  详情 回复 发表于 2020-8-15 19:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 fengchen 于 2020-8-15 20:10 编辑

说白了就是修改uboot加载内核的地址,要在原厂固件下修改原厂uboot
  1. fw_setenv bootcmd 'nboot 0x8050000 0;bootm || bootm 0x9fe80000'
复制代码

breed不支持dw33d修改

点评

写大佬,刷会原厂修改后,还用刷回breed吗,还是有breed踏实  详情 回复 发表于 2020-9-1 21:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fengchen 发表于 2020-8-15 19:02
https://github.com/openwrt/openwrt/pull/2523

shanpo commented on 31 Oct 2019

Dw33d  新固件  19.07底包 要的联系260276029
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wifiway 发表于 2020-8-14 17:48
是啊,大佬,整个详细的教程呗,现在的lean大的源码编译不出固件了,手里这四台大麦只能看着了

16m新固件。可以联系我qq260276029

点评

dw33d有个奇葩的收费群,要的钱贼贵。  发表于 2020-9-2 11:21
不需要!!!!!!!!!  详情 回复 发表于 2020-8-17 12:00
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
底包和原厂固件在 OP官网就有。麻烦的地方是改分区,操作不当就砖。改之前手头最好备一套ttl

点评

我看楼上大佬说的是原厂下刷,楼主是telnet进breed刷,小白没教程不敢动啊,,拜求教程  详情 回复 发表于 2020-9-1 21:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

7733279 发表于 2020-8-16 05:26
16m新固件。可以联系我qq260276029

不需要!!!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fengchen 发表于 2020-8-15 19:06
说白了就是修改uboot加载内核的地址,要在原厂固件下修改原厂uboot
breed不支持dw33d修改

写大佬,刷会原厂修改后,还用刷回breed吗,还是有breed踏实

点评

可以刷回breed的。我的就是用的breed。  发表于 2020-9-2 11:20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fgwang 发表于 2020-8-16 07:03
底包和原厂固件在 OP官网就有。麻烦的地方是改分区,操作不当就砖。改之前手头最好备一套ttl

我看楼上大佬说的是原厂下刷,楼主是telnet进breed刷,小白没教程不敢动啊,,拜求教程

点评

我是从breed退回原厂uboot刷机的时候,操作失误成砖了。ttl进去救砖的时候,刷了一个breed。分区修改以后,无论uboot还是breed都可以用,只是在breed下不能直接用web页面更新固件,需要telnet进去执行命令操作。  发表于 2020-9-2 11:19
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您能给我份原厂uboot吗,我下载shanpo大神的包里有uboot,但不是uboot.bin。。。不知道能不能刷,没敢刷
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我也成功了,我自己编译了一个固件,但是测试5g只能搜索到我自己的网络(以前很多,)信号也不稳定,是不是驱动没加载对,我是用lean的4.19内核,除了app选择了外其他都是默认的,请教大佬,问题出在哪

点评

没有测试无线,一会儿我打开看看信号如何。  发表于 2020-9-3 11:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 wifiway 于 2020-9-3 18:54 编辑

还有就是breed进不去了
大佬你的固件轻盈速度很快,您知道怎么刷回去吗,我的5g总是有问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我怎么尝试也是无法生成固件,

点评

选ath79就有了  详情 回复 发表于 2020-9-3 18:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 21:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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