设为首页收藏本站

恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: hackpascal

【2017-09-21】AR/QCA/MTK Breed,功能强大的多线程 Bootloader

    [复制链接]
发表于 2015-10-20 11:43 | 显示全部楼层
本帖最后由 hello_limin 于 2015-10-20 11:46 编辑
xqxcn 发表于 2015-10-20 11:20
我用8兆闪存刷了breed-ar724x.bin,应用unmt固件6.57MB左右使用没有问题,breed控制台里面有备份固件的功能 ...

没玩过,帮不了你了。不过,既然能进breed里刷新固件,何必还要再备份出来一次?再说了,备份数据当然要通过恢复功能实现的,再当新固件刷新恐怕是行不通的吧?估计你们都是闲的蛋疼才有这样玩的吧 →_→,

点评

既然你说自己没玩过又不懂,你就该靠边站,边看边学少费话。  发表于 2015-10-20 13:50
“估计你们都是闲的蛋疼才有这样玩的吧”你这话是说给软件开发设计者听的?还是给使用者听的?控制台里每个功能都有其存在的意义,就像你所言“备份数据当然要通过恢复功能实现”那好从哪里恢复呢?一个成熟的软件需  详情 回复 发表于 2015-10-20 13:48
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 13:48 | 显示全部楼层
hello_limin 发表于 2015-10-20 11:43
没玩过,帮不了你了。不过,既然能进breed里刷新固件,何必还要再备份出来一次?再说了,备份数据当然要 ...

“估计你们都是闲的蛋疼才有这样玩的吧”你这话是说给软件开发设计者听的?还是给使用者听的?控制台里每个功能都有其存在的意义,就像你所言“备份数据当然要通过恢复功能实现”那好从哪里恢复呢?一个成熟的软件需要不断的从应用中找问题才能不断的提高。既然你说自己没玩过又不懂,你就该靠边站,边看边学少费话。

点评

我确实没有玩过你所玩的这个,不过,uboot大同小异,你备份出来的固件最好也只能通过恢复功能来刷机,而不是当成新固件一样,重新开始刷机,明白我的意思吧?听你的描述,完全感觉你是没事找事,才会将备份的固件当  详情 回复 发表于 2015-10-20 14:39
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 14:39 | 显示全部楼层
xqxcn 发表于 2015-10-20 13:48
“估计你们都是闲的蛋疼才有这样玩的吧”你这话是说给软件开发设计者听的?还是给使用者听的?控制台里每 ...

我确实没有玩过你所玩的这个,不过,uboot大同小异,你备份出来的固件最好也只能通过恢复功能来刷机,而不是当成新固件一样,重新开始刷机,明白我的意思吧?听你的描述,完全感觉你是没事找事,才会将备份的固件当做新固件重新开始刷机?你电脑备份的系统能够当全新系统安装使用么?

点评

正如你所说只能通过恢复功能来刷机,只是目前breed没有明确的恢复按钮,不过我已经咨询楼主解决了,需要在更新固件里选择“TPLINK”之后进行刷写固件。备份系统其实并不是你所说的没事找事,就跟系统Ghost类似就是想  详情 回复 发表于 2015-10-20 15:01
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 15:01 | 显示全部楼层
hello_limin 发表于 2015-10-20 14:39
我确实没有玩过你所玩的这个,不过,uboot大同小异,你备份出来的固件最好也只能通过恢复功能来刷机,而 ...

正如你所说只能通过恢复功能来刷机,只是目前breed没有明确的恢复按钮,不过我已经咨询楼主解决了,需要在更新固件里选择“TPLINK”之后进行刷写固件。备份系统其实并不是你所说的没事找事,就跟系统Ghost类似就是想做到一键还原,这样我可以把几种不同种类的固件设置好不同的用处,然后一键还原。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 15:49 | 显示全部楼层
本帖最后由 路边浮尘 于 2015-10-20 15:52 编辑

那楼主能不能帮忙做一个9531的17和11的gpio复位键(有两个机型),拜托了我输入autoboot貌似也不对
breed> autoboot
Trying to boot firmware from 0x9f020000 ...
TP-LINK firmware image header detected.
    Image Name:   08410009
    Data Size:    1135496 Bytes
    Load Address: 80060000
    Entry Point:  80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80060000...

竟然从缓存里启动了?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 18:17 | 显示全部楼层
724X,740 v4刷ubnt正常了,但刷op,无线无法打开!

点评

本帖开头的红色最大号字你到底看了没有  发表于 2015-10-20 18:20
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 19:23 | 显示全部楼层
本帖最后由 wyxmh6311 于 2015-10-20 20:34 编辑

老大,原来如此,修改了mac地址后,一切正常了!!!!!!谢谢!!!!!!!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 22:28 | 显示全部楼层
有个网友 发表于 2015-10-14 18:03
wr842n v4.0开机直接进了breed

和我一样  2个都变砖了
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-20 23:16 | 显示全部楼层
太感谢楼主了
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-21 15:35 | 显示全部楼层
大师辛苦了   newifi mini 更新了
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-21 17:07 | 显示全部楼层
感谢楼主,
修复 MT7620 + SDRAM (FIR300M/302M) 自 r645 开始出现的不稳定的 BUG
以前R645以后的版本在FIR300M上一直不稳定,这次更新后,重启等操作均无任何问题,看来并不完全是固件的问题。

点评

和固件有一定的原因,和重启方式有关  发表于 2015-10-21 18:16
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-21 21:12 | 显示全部楼层
hackpascal 发表于 2015-3-21 22:38
更新日志

[2015-10-18 r777]

不知道什么时候可以支持 品胜300M 云路由(mini型) WPR003N ?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-22 08:59 | 显示全部楼层
楼主,希望可以增加一个内存扫描检测功能!我想我的内存可能有问题。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-22 10:51 | 显示全部楼层
这个更新有点慢了{:soso_e103:},不过可能也没什么bug了
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-10-22 11:55 | 显示全部楼层
本帖最后由 smilemoon 于 2015-10-22 12:02 编辑

wr800n v1 能刷842ND V2,今天刷了H大神的最新的 Breed r777 [2015-10-18],可以正常启动了,但是用842NDV2官方的uboot和大神的不死uboot,就是偶尔启动成功
今天刷了Breed 测试了800N V1的 RESET GPIO#18
breed> btntst
Press Ctrl+C to stop.

GPIO#18 changed to 0
GPIO#18 changed to 1

breed> gpio led
GPIO    status  name
11      off     usb
12      off     lan4
13      off     wlan
14      on      sys
15      off     qss
18      off     wan
19      off     lan1
20      off     lan2
21      off     lan3


启动TTL信息
===================================
Boot and Recovery Environment for EmbeddedDevices
Copyright (C) 2015 HackPascal<[email protected]>
Build date 2015-10-18 [git-bb5218f]
Version 1.0 (r777)

DRAM: 32MB
Platform: Atheros AR9341 rev 3
Board: Atheros AP123 reference board
Clocks: CPU: 560MHz, DDR: 400MHz, AHB:200MHz, Ref: 25MHz
Flash: Winbond W25Q64 (8MB) on ath79-spi
ag71xx-eth: MAC address is invalid, usingdefault settings.
ag71xx-eth: Using MAC address00:13:74:00:00:01
eth0: Atheros AR8228/AR8229 rev 1

Network started on eth0, inet addr192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ...0   

Trying to boot firmware from 0x9f020000 ...
TP-LINK firmware image header detected.
   Image Name:   08420002
   Data Size:    845472 Bytes
   Load Address: 80002000
   Entry Point:  801aeb70
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x801aeb70...

Booting Atheros AR934x
Linux version 2.6.31--LSDK-9.2.0_U5.508([email protected]) (gcc version 4.3.3 (GCC) ) #3 Fri Jun 28 10:10:08CST 2013
flash_size passed from bootloader = 8
Ram size passed from bootloader =33554432
CPU revision is: 0001974c (MIPS 74Kc)
ath_sys_frequency: cpu srif ddr srif cpu560 ddr 400 ahb 200
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Zone PFN ranges:
Normal   0x00000000 ->0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
   0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobilitygrouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200root=31:2 rootfstype=squashfs init=/sbin/initmtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(art)mem=32M
PID hash table entries: 128 (order: 7, 512bytes)
Dentry cache hash table entries: 4096(order: 2, 16384 bytes)
Inode-cache hash table entries: 2048(order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT,4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cachealiases, linesize 32 bytes
Writing ErrCtl register=000000c0
Readback ErrCtl register=000000c0
Memory: 30036k/32768k available (1742kkernel code, 2732k reserved, 498k data, 116k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 279.55 BogoMIPS(lpj=559104)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024(order: 0, 4096 bytes)
TCP established hash table entries: 1024(order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order:0, 4096 bytes)
TCP: Hash tables configured (established1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) PhillipLougher
msgmni has been set to 58
alg: No test for cipher_null(cipher_null-generic)
alg: No test for ecb(cipher_null)(ecb-cipher_null)
alg: No test for digest_null(digest_null-generic)
alg: No test for compress_null(compress_null-generic)
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
alg: No test for stdrng (ansi_cprng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQsharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq= 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
5 cmdlinepart partitions found on MTDdevice ath-nor0
Creating 5 MTD partitions on"ath-nor0":
0x000000000000-0x000000020000 :"u-boot"
0x000000020000-0x000000120000 :"kernel"
0x000000120000-0x0000007e0000 :"rootfs"
0x0000007e0000-0x0000007f0000 :"config"
0x0000007f0000-0x000000800000 :"art"
->Oops: flash id 0xef4017 .
Ooops, why the devices couldn't beeninitialed?
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear<[email protected]>
All bugs added by David S. Miller<[email protected]>
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
ath_clksw_init: Registering Clock SwitchInterface success
VFS: Mounted root (squashfs filesystem)readonly on device 31:2.
Freeing unused kernel memory: 116k freed
init started:  BusyBox v1.01 (2013.06.28-02:15+0000)multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (512 buckets,5120 max)
CONFIG_NF_CT_ACCT is deprecated and will beremoved soon. Please use
nf_conntrack.acct=1 kernel parameter,acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 toenable it.
ip_tables: (C) 2000-2006 Netfilter CoreTeam
insmod: cannot open module`/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module`/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module`/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory
NET: Registered protocol family 15
Initializing XFRM netlink socket
/proc/sys/vfs_c
Now flash open!
(none) mips #3 Fri Jun 28 10:10:08 CST 2013(none)
(none) login: Now flash open!
ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
ATHR_GMAC: RX TASKLET - Pkts per Intr:32
mac:1 Registering S27....
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   128
ATHR_GMAC: Mac capability flags    :  2D82
ATHR_GMAC: RX TASKLET - Pkts per Intr:32
mac:0 Registering S27....
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   128
ATHR_GMAC: Mac capability flags    :  2582
athr_gmac_ring_alloc Allocated 640 at0x81ebc800
athr_gmac_ring_alloc Allocated 2048 at0x81cb7000
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
ATHRS27: resetting s27
ATHRS27: s27 reset done
++++ athrs27_igmp_setup once
port0 vid is 0xb000b
port1 vid is 0x30003
port2 vid is 0x50005
port3 vid is 0x70007
port4 vid is 0x90009
++ PVID: 0x0000000b, bitmap: 0x0000001f
++ PVID: 0x00000003, bitmap: 0x0000001f
++ PVID: 0x00000005, bitmap: 0x0000001f
++ PVID: 0x00000007, bitmap: 0x0000001f
++ PVID: 0x00000009, bitmap: 0x0000001f
vtable vid: 0x00000002, bitmap 0x00000003
vtable vid: 0x00000004, bitmap 0x00000005
vtable vid: 0x00000006, bitmap 0x00000007
vtable vid: 0x00000008, bitmap 0x00000009
vtable vid: 0x0000000a, bitmap 0x0000000b
vtable vid: 0x0000000c, bitmap 0x0000000d
vtable vid: 0x0000000e, bitmap 0x0000000f
vtable vid: 0x00000010, bitmap 0x00000011
vtable vid: 0x00000012, bitmap 0x00000013
vtable vid: 0x00000014, bitmap 0x00000015
vtable vid: 0x00000016, bitmap 0x00000017
vtable vid: 0x00000018, bitmap 0x00000019
vtable vid: 0x0000001a, bitmap 0x0000001b
vtable vid: 0x0000001c, bitmap 0x0000001d
vtable vid: 0x0000001e, bitmap 0x0000001f
vtable vid: 0x00000020, bitmap 0x00000021
Setting PHY...
athr_gmac_ring_alloc Allocated 640 at0x81e30c00
athr_gmac_ring_alloc Allocated 2048 at0x81e3e000
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
Setting PHY...
device eth0 entered promiscuous mode
athr_gmac_ring_free Freeing at 0x81e30c00
athr_gmac_ring_free Freeing at 0x81e3e000
athr_gmac_ring_alloc Allocated 640 at0x81e30c00
athr_gmac_ring_alloc Allocated 2048 at0x81f0d800
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
Setting PHY...
Now flash open!
athr_gmac_ring_free Freeing at 0x81ebc800
athr_gmac_ring_free Freeing at 0x81cb7000
athr_gmac_ring_alloc Allocated 640 at0x81ebc800
athr_gmac_ring_alloc Allocated 2048 at0x81ea0800
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
Setting PHY...
enet1 port4 up
ATHR_GMAC: Enet Unit:1 PHY:4 is UP RGMii100Mbps full duplex
ATHR_GMAC: done cfg2 0x7215 ifctl 0x0miictrl  
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
br0: port 1(eth0) entering forwarding state
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
asf: module license 'Proprietary' taintskernel.
Disabling lock debugging due to kerneltaint
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC,WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 AtherosCommunications, Inc, All Rights Reserved
ath_ahb: 9.2.0_U10.1020 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
Restoring Cal data from Flash
ath_get_caps[5113] rx chainmask mismatchactual 3 sc_chainmak 0
ath_get_caps[5088] tx chainmask mismatchactual 3 sc_chainmak 0
wifi0: Atheros 9340: mem=0xb8100000, irq=2
wlan_vap_create : enter.devhandle=0x80d682c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit.devhandle=0x80d682c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath0 created


***********************************

DESSSID SET=TP-LINK_137B00
ieee80211_ioctl_siwmode:imr.ifm_active=131712, new mode=3, valid=1


***********************************
athr_gmac_ring_free Freeing at 0x81ebc800
athr_gmac_ring_free Freeing at 0x81ea0800
br0: port 1(eth0) entering disabled state
athr_gmac_ring_alloc Allocated 640 at0x81ebc800
athr_gmac_ring_alloc Allocated 2048 at0x81ea0000
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
Setting PHY...


***********************************
device ath0 entered promiscuous mode
br0: port 2(ath0) entering forwarding state
ieee80211_ioctl_siwmode:imr.ifm_active=1442432, new mode=3, valid=1
br0: port 2(ath0) entering disabled state

DESSSID SET=TP-LINK_137B00


***********************************
br0: port 2(ath0) entering forwarding state
enet1 port4 up
ATHR_GMAC: Enet Unit:1 PHY:4 is UP RGMii100Mbps full duplex
ATHR_GMAC: done cfg2 0x7215 ifctl 0x0miictrl  
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames andLength Error frames
br0: port 1(eth0) entering forwarding state
fuse init (API version 7.12)
usbcore: registered new interface driverusbfs
usbcore: registered new interface driverhub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' HostController (EHCI) Driver
Port Status 1c000004
ath-ehci ath-ehci.0: ATH EHCI
ath-ehci ath-ehci.0: new USB busregistered, assigned bus number 1
ehci_reset Intialize USB CONTROLLER in hostmode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: irq 3, io mem0x1b000000
ehci_reset Intialize USB CONTROLLER in hostmode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: USB 2.0 started, EHCI1.00
usb usb1: configuration #1 chosen from 1choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driverusb-storage
USB Mass Storage support registered.
kcg 323 :GPL NetUSB up!
kc  90 : run_telnetDBGDServer start
kc 227 : init_DebugD end
INFO17B7: NetUSB 1.02.29, 0002061F : Dec 112012 10:20:50
INFO17B9: AUTH ISOC
INFO17BA: filterAudio
usbcore: registered new interface driver KCNetUSB General Driver
INFO0110: init proc : PAGE_SIZE 4096
INFO1819: Check mac address
INFO168B: infomap c0f5bf20
INFO168E: sleep to wait br0 to wake up
INFO02D0: use dev Name br0
INFO1697: sleep to wait br0 end.
INFO16B0: UDP_BROAD 7437 tcpPort:625868800
INFO02D0: use dev Name br0
INFO1597: tcpConnector() started...
ATHR_GMAC: GE0 RX DMA ENABLE
INFO1474: Bind to br0



点评

Restarting system. Boot and Recovery Environment for Embedded Devices Copyright (C) 2015 HackPascal Build date 2015-10-18 [git-bb5218f] Version 1.0 (r777) DRAM: 32MB Platform: Atheros AR934  详情 回复 发表于 2015-10-26 21:27
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|手机APP版|恩山无线论坛 ( 苏ICP备05084872号-1 )  

GMT+8, 2017-10-21 09:19

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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