设为首页收藏本站

恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: hackpascal

【2018-01-08】AR/QCA/MTK Breed,功能强大的多线程 Bootloader

    [复制链接]
发表于 2017-2-2 12:17 | 显示全部楼层
感谢楼主的辛勤劳动,膜拜大神
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2017-2-2 15:49 | 显示全部楼层
vs2 发表于 2017-2-2 05:05
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal
Build date 201 ...

另外说一下
你能使路由的一个led进行一定规律的闪烁就说明breed已经中止了启动
至于不能访问breed页面是因为ar7240有硬件bug,网络模块造成的,这个是没法修复的

点评

H大,能否出一个网络接口为eth1的breed-ar7161-blank.bin。  详情 回复 发表于 2017-2-5 14:01
vs2
测试过 GPIO11 是RESET GPIO12 是WPS按键 ,刷了网盘上提供的R1008 目录下的Breed-ar724x11.bin 也是一样的,按住Reset 或者wps 按钮上电都是和第一个一样,启动到Breed 就停了. 要是Breed 在ar7240上有bug不能用,  详情 回复 发表于 2017-2-2 16:12
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-2 16:12 | 显示全部楼层
hackpascal 发表于 2017-2-2 15:49
另外说一下
你能使路由的一个led进行一定规律的闪烁就说明breed已经中止了启动
至于不能访问breed页面 ...

测试过 GPIO11 是RESET  GPIO12 是WPS按键  ,刷了网盘上提供的R1008 目录下的Breed-ar724x11.bin 也是一样的,按住Reset 或者wps 按钮上电都是和第一个一样,启动到Breed 就停了.

要是Breed 在ar7240上有bug不能用,网盘上又提供下载的是Breed, Uboot 历史版本也没提供下载了,没办法回滚到有效的上个版本,原本的Uboot控制台没备份的话,这如何是好.
如果有Breed 的历史版本有提供下载 还可以试试到底哪个版本的可以用了.  
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-2 19:52 | 显示全部楼层
hackpascal 发表于 2015-3-21 22:38
更新日志

[2017-01-16 r1008]

牛逼的大神 ,老不死U-BOOT更新是选更新U-BOOT,还是选更新固件,谢谢
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-2 20:15 | 显示全部楼层
H大能不能增加智博通3526的breed支持呢。我愿意提供机子给研究
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-4 19:07 | 显示全部楼层
楼主 请问支持极路由4增强版吗
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-5 11:14 | 显示全部楼层
萌新入门来看看大佬
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-5 14:01 | 显示全部楼层
本帖最后由 huangchao222 于 2017-2-5 15:30 编辑
hackpascal 发表于 2017-2-2 15:49
另外说一下
你能使路由的一个led进行一定规律的闪烁就说明breed已经中止了启动
至于不能访问breed页面 ...

H大,什么时候有空能否出一个网络接口为eth1的breed-ar7161-blank.bin,或者能通过env配置就更好了。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-5 18:32 | 显示全部楼层
下载了,等下用。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-5 19:32 | 显示全部楼层
Breed可以用在只有一个WAN口的极路由GO上吗? 配置是MT7628,和极1S应该是一样的
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-6 08:30 | 显示全部楼层
非常好的资源。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-6 23:32 来自手机 | 显示全部楼层
厉害了。。,
我的恩山、我的无线 The best wifi forum is right here.
头像被屏蔽
发表于 2017-2-7 14:57 | 显示全部楼层
H大人,一直是您uboot breed的忠实用户之一,最近看到您居然出了ar7161的breed,高兴呀;但是碰到了一个问题,希望您百忙之中能给予解决我现在使用的AR7161版本的breed,进入openwrt后网口好用,但是在breed下网口不通,有朋友告诉我说我的网口是eth1不是eth0所以不通,所以请问H大,您是否方便做一个像9344 8035那样能自动侦测的呀,因为我刷过9344的breed,他不管8035是port几,他都能自动侦测出来,我用过好多不同port的9344 8035,breed都是好用的,唯独现在这个7161的碰到了这个breed下网口不通,进入op系统又通了的问题,希望您有空给看看,如何能解决,谢谢


Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal <[email protected]>
Build date 2017-01-16 [git-7e65927]
Version 1.1 (r1008)

DRAM: 128MB
Platform: Atheros AR7161 rev 2
Board: Blank
Clocks: CPU: 680MHz, DDR: 340MHz, AHB: 170MHz, Ref: 40MHz
Environment variables @ 00020000 on flash bank 0, size 00010000
Flash: Spansion S25FL064P (8MB) on ath79-spi.0
ag71xx-eth: MAC address is invalid, using default settings.
ag71xx-eth: Using MAC address 00:13:74:00:00:01
Waiting for auto-negotiation complete ... OK
eth0: Atheros AR8035

Network started on eth0, inet addr 192.168.1.2, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0   

Trying to boot firmware from 0x00030000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
    Image Name:   MIPS OpenWrt Linux-3.18.45
    Data Size:    1157004 Bytes
    Load Address: 80060000
    Entry Point:  80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80060000...

[    0.000000] Linux version 3.18.45 ([email protected]) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49389) ) #61 Tue Feb 7 10:20:35 CST 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7161 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=AP96 console=ttyS0,115200 mtdparts=spi0.0:128k(u-boot),64k(u-boot-env),1280k(kernel),6656k(rootfs),64k(mac),[email protected](firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00067850
[    0.000000] Readback ErrCtl register=00067850
[    0.000000] Memory: 125856K/131072K available (2523K kernel code, 143K rwdata, 540K rodata, 240K init, 188K bss, 5216K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is Atheros AP96
[    0.590000] registering PCI controller with io_map_base unset
[    0.600000] PCI host bridge to bus 0000:00
[    0.600000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[    0.610000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.610000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.620000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[    0.620000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[    0.630000] pci 0000:00:11.0: using irq 40 for pin 1
[    0.630000] pci 0000:00:12.0: using irq 41 for pin 1
[    0.640000] Switched to clocksource MIPS
[    0.640000] NET: Registered protocol family 2
[    0.650000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.650000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.660000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.660000] TCP: reno registered
[    0.670000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.670000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.680000] NET: Registered protocol family 1
[    0.690000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.700000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.700000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.710000] msgmni has been set to 245
[    0.730000] io scheduler noop registered
[    0.730000] io scheduler deadline registered (default)
[    0.740000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.740000] console [ttyS0] disabled
[    0.770000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
[    0.780000] console [ttyS0] enabled
[    0.780000] console [ttyS0] enabled
[    0.780000] bootconsole [early0] disabled
[    0.780000] bootconsole [early0] disabled
[    0.790000] m25p80 spi0.0: found s25sl064p, expected m25p80
[    0.800000] m25p80 spi0.0: s25sl064p (8192 Kbytes)
[    0.800000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.810000] Creating 6 MTD partitions on "spi0.0":
[    0.820000] 0x000000000000-0x000000020000 : "u-boot"
[    0.820000] 0x000000020000-0x000000030000 : "u-boot-env"
[    0.830000] 0x000000030000-0x000000170000 : "kernel"
[    0.830000] 0x000000170000-0x0000007f0000 : "rootfs"
[    0.840000] mtd: device 3 (rootfs) set to be root filesystem
[    0.840000] 1 squashfs-split partitions found on MTD device rootfs
[    0.850000] 0x0000003b0000-0x0000007f0000 : "rootfs_data"
[    0.860000] 0x0000007f0000-0x000000800000 : "mac"
[    0.860000] 0x000000030000-0x0000007f0000 : "firmware"
[    0.880000] libphy: ag71xx_mdio: probed
[    1.280000] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:05 [uid=004dd072, driver=Atheros 8035 ethernet]
[    1.290000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[    1.290000] TCP: cubic registered
[    1.300000] NET: Registered protocol family 17
[    1.300000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.310000] 8021q: 802.1Q VLAN Support v1.8
[    1.320000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.330000] Freeing unused kernel memory: 240K (80384000 - 803c0000)
[    2.240000] init: Console is alive
[    2.250000] init: - watchdog -
[    3.270000] usbcore: registered new interface driver usbfs
[    3.280000] usbcore: registered new interface driver hub
[    3.280000] usbcore: registered new device driver usb
[    3.290000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.300000] ehci-platform: EHCI generic platform driver
[    3.310000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.310000] ohci-platform: OHCI generic platform driver
[    4.260000] init: - preinit -
[    4.700000] random: procd urandom read with 7 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.900000] jffs2: notice: (310) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    7.920000] mount_root: switching to jffs2 overlay
[    7.950000] procd: - early -
[    7.960000] procd: - watchdog -
[    8.630000] procd: - ubus -
[    9.660000] procd: - init -
Please press Enter to activate this console.
[   10.320000] NET: Registered protocol family 10
[   10.330000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.340000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   10.350000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   10.360000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.370000] nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
[   10.410000] xt_time: kernel timezone is -0000
[   10.470000] PPP generic driver version 2.4.2
[   10.480000] NET: Registered protocol family 24
[   10.520000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
[   11.330000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.360000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[   12.170000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
[   19.000000] device eth0 entered promiscuous mode
[   19.000000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.400000] ar71xx: pll_reg 0xb8050014: 0x110000
[   19.400000] eth0: link up (1000Mbps/Full duplex)
[   19.500000] br-lan: port 1(eth0) entered forwarding state
[   19.500000] br-lan: port 1(eth0) entered forwarding state
[   19.510000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.460000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.480000] device wlan0 entered promiscuous mode
[   20.670000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   20.700000] device wlan1 entered promiscuous mode
[   20.700000] br-lan: port 3(wlan1) entered forwarding state
[   20.710000] br-lan: port 3(wlan1) entered forwarding state
[   20.740000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   21.500000] br-lan: port 1(eth0) entered forwarding state
[   22.710000] br-lan: port 3(wlan1) entered forwarding state
[   47.740000] random: nonblocking pool is initialized
[   80.670000] br-lan: port 2(wlan0) entered forwarding state
[   80.670000] br-lan: port 2(wlan0) entered forwarding state
[   80.680000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   82.670000] br-lan: port 2(wlan0) entered forwarding state



BusyBox v1.23.2 (2017-02-04 20:13:44 CST) built-in shell (ash)

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r49389)
-----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
-----------------------------------------------------


点评

breed里面能显示出ar8035说明已经识别了,跟eth0 eth1没有一点关系 网络不通只能说明breed里面设置的rgmii参数跟你固件里的设置不同 现阶段breed里面的这些参数是不能改的,所以没有办法 以后可能会出修改这些参  详情 回复 发表于 2017-2-7 18:53
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-2-7 18:35 | 显示全部楼层
感谢大神分享!!!!!!!!!!!!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2017-2-7 18:53 | 显示全部楼层
龙爷无线 发表于 2017-2-7 14:57
H大人,一直是您uboot breed的忠实用户之一,最近看到您居然出了ar7161的breed,高兴呀;但是碰到了一个问题 ...

breed里面能显示出ar8035说明已经识别了,跟eth0 eth1没有一点关系
网络不通只能说明breed里面设置的rgmii参数跟你固件里的设置不同
现阶段breed里面的这些参数是不能改的,所以没有办法
以后可能会出修改这些参数的功能

另外我也不知道你的固件里面设置的参数是什么

点评

9344+8035+9382的ap,误刷了breed-ar9344.bin(应该是ar934x-blank.bin),导致breed webui 出不来、breedenter中断不了启动和putty 下wget 链接失败,好像只能上编程器了。 能不能开发一组breed环境下TTL/UART 命令  详情 回复 发表于 2017-5-1 16:41
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2018-1-23 06:04

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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