设为首页收藏本站

恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: hackpascal

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

    [复制链接]
发表于 2015-3-24 19:21 | 显示全部楼层
taicligh 发表于 2015-3-24 19:19
楼主,TTL信息来了,小米路由器MINI刷OPENWRT固件,小米路由器MINI   openwrt
刷好后无限重启到BREED,下 ...

一些字符奇怪的编码也不知道怎么弄,刷了最近的几个固件,都没办法启动
发表于 2015-3-24 19:29 | 显示全部楼层
支持楼主  给力 方便
发表于 2015-3-24 19:31 | 显示全部楼层
反馈下,ubuntu系统,telnet,字符显示重复,比如输入abcd,显示aabbccdd,实际执行没有问题,只是显示上的

点评

breed的telnet在linux下不太兼容,没有办法。不可能兼容每种telnet客户端 最好用windows的telnet或者putty 这个不作修复  详情 回复 发表于 2015-3-29 21:06
发表于 2015-3-24 19:33 | 显示全部楼层
taicligh 发表于 2015-3-24 19:19
楼主,TTL信息来了,小米路由器MINI刷OPENWRT固件,小米路由器MINI   openwrt
刷好后无限重启到BREED,下 ...

使用openwrt的UBOOT,TTL输出如下。


U-Boot ±®±.3 (Jun 24 2014 - ±¶:35:31)

óïÃoíådiaTek MT7620
DRáM:  Memory Testing..131072K OK. ió 128 MB
åîable ephy clock...done. rf reg 29 = 5
SSC disabled.Šóeéßwait_nsec: 14
spi device id: ef 40 18 0 0 (401800°°©ŠÆlash: W25Q128BV
*** Warning - bad CRC, using default environment
Š __________________________ßßßßßß_______________________________
|    ____                 _                 ____               |
|   |  _ ü ßß ß _ __   __| | ___  _ __ __ _| __ )  _____  __   |
ü   ü |_) / _` | '_ \ / _` |/ _ \| '__/ _` |  _ \ / _ \ \/ ˉ   |
|   |  __/ (_| | | | | (_| | (_) | | | (_| | |_) ü ¨ß© >  <    |
|   |_|   \__,_|_| |_|\__,_|\___/|_|  \_߬ßüßß__/ \___/_/\_\   |
|                                                              |
|                  RaliîëˉíÔË SDK Plantform                    |
|                    Copyright 2005-2014                       |
|                    Board:Xiaomi mini                         üŠü                                                              |
|                 lintel<[email protected]í¾               |
|____________________________________ßßßßßß____________________|

===============System Info½½½½½½============
ASIC 7620_MP (Port5<->None)
DRAM coíeïîåît: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Flash ãïíeïnent: SPI Flash
CPU Speed: 580 MHZ
RAM Size:128 MaùôåóŠ
Build Date:Jun 24 2014  Time:16:35:31
=========½½½½½½=============================

GSW VLANLLW
GPIO_MÏÄÅ éîit:
        I2C:GPIO
        SPI:GPIO
        SPI_REFCLK:GPIO
        GE1:GPIODéÏŠ
        GE2:GPIO
        NAND/SD:GPIO
GPIO_MODE_REGóo °ø±a371f

Please choose the operation:
   1: Load óùóôåí code to SDRAM via TFTP.
   2: Load system code thåî ÷òéte to Flash via TFTP.
   3: Boot system code via Æìáóè (default).
   4: Entr boot command line interface.Š   ·: Load Boot Loader code then write to Flash via Seriáì® Š   9: Load Boot Loader code then write to Flash via ÔÆÔD®
0
   
3: System Boot óùóôåí code via Flash.

Press Reset button enter upgradå íïäå!
## Booting image at bc050000 ...
   Image Name:   DáîäoraBox Linux-3.10.64
   Image Type:   MIPS Linux Kåòîåì Image (lzma compressed)
   Data Size:    1101007 Bùôåó ½  1.1 MB
   Load Address: 80000000
   Entry Point:  ¸°°°0000
   Verifying Checksum ... OK
   Uncompressinç Ëåònel Image ... OK
No initr䊍££ Transferring control to Linux (at address 80000000) ®®®Š## Giving linux memsize in MB, 128

Starting kernåì ®®®


PandoraBox Foò òáìénk/MTK APSoC. Copyright 2013-2014 D-Team Technology óú Š

LINUX started...

THIS IS ASIC
[    0.000000] Linux version 3.10.64 ([email protected]) (gcc version 4.8.3 (PandoraBox/Linaro GCC 4.8-2014.04 svn-r347) ) #20 Wed Jan 14 00:19:50 CST 2015
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] Board has DDR2
[    0.000000] MediaTek MT7620A Revsion:0x6 CPU:580MHz, Bus:193MHz Uart:40MHz
[    0.000000] Boot form:SPI FLASH
[    0.000000] prom memory:128MB
[    0.000000]  PCIE: bypass PCIe DLL.
[    0.000000]  PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
[    0.000000]  disable all power about PCIe
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] Software DMA cache coherency
[    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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS1,115200n8 board=XIAOMI_MINI rootfstype=squashfs,jffs2
[    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=0000500f
[    0.000000] Readback ErrCtl register=0000500f
[    0.000000] Memory: 126440k/131072k available (2402k kernel code, 4632k reserved, 590k data, 204k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS1] enabled
[    0.130000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.190000] pid_max: default: 32768 minimum: 301
[    0.190000] Mount-cache hash table entries: 512
[    0.200000] pinctrl core: initialized pinctrl subsystem
[    0.200000] NET: Registered protocol family 16
[    0.210000] Ralink/MTK BootROM maped.
[    0.210000] General GPIO Driver for MediaTek MT7620A Board. Copyright lintel 2005-2013
[    0.220000] MT7620-GPIO0:registering 24 irq handlers
[    0.220000] MT7620-GPIO1:registering 16 irq handlers
[    0.230000] MT7620-GPIO2:registering 32 irq handlers
[    0.230000] MT7620-GPIO3:registering 1 irq handlers
[    0.240000] MIPS: machine is Xiaomi mini Board
[    0.240000] ralink_register_flash:SPI Flash.
[    0.250000] Ralink/MTK PinCtrl registered.
[    0.250000] General PINCTRL Driver for MediaTek MT7620A Board. Copyright lintel 2005-2014
[    0.260000] PINCTRL:add 24 pins for MT7620-PINCTRL0.
[    0.260000] PINCTRL:add 16 pins for MT7620-PINCTRL1.
[    0.270000] PINCTRL:add 32 pins for MT7620-PINCTRL2.
[    0.270000] PINCTRL:add 1 pins for MT7620-PINCTRL3.
[    0.280000] GPIO_MODE_REG:0x5A371F
[    0.490000] bio: create slab <bio-0> at 0
[    0.500000] PCI host bridge to bus 0000:00
[    0.500000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.510000] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.510000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.520000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.530000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    0.530000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[    0.540000] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[    0.540000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.550000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[    0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[    0.560000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.560000] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    0.570000] pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
[    0.570000] PCI Bus 0 slot 0 mapping IRQ -1 Fail. fixed to IRQ13.
[    0.580000] PCI Bus 1 slot 0 mapping to IRQ13.
[    0.580000] Switching to clocksource Ralink/MTK 50kHz Systick timer
[    0.590000] NET: Registered protocol family 2
[    0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.610000] TCP: reno registered
[    0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] NET: Registered protocol family 1
[    0.640000] Ralink SoC clocks api init.
[    0.640000] mips hpt frequency:290000000HZ
[    0.640000] Ralink/MTK APSoC GPIO Resource maped.
[    0.650000] Load Ralink Timer0 Module
[    0.650000] Load Ralink Timer1 Module
[    0.660000] MTK/Ralink EHCI/OHCI init.
[    0.680000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.680000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.700000] msgmni has been set to 246
[    0.700000] io scheduler noop registered
[    0.700000] io scheduler deadline registered (default)
[    0.710000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.720000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[    0.720000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[    0.730000] Enable Ralink GDMA Controller Module
[    0.740000] GDMA IP Version=3
[    0.750000] brd: module loaded
[    0.760000] otp: otp device registered with major 252
[    0.760000] Ralink SPI flash Driver for PandoraBox.
[    0.770000] device id : ef 40 18 0 0 (40180000)
[    0.770000] Found WinBond Serial flash.
[    0.780000] W25Q128BV(ef 40180000) (16384 Kbytes)
[    0.780000] mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
[    0.790000] Creating 8 MTD partitions on "raspi":
[    0.800000] 0x000000000000-0x000000030000 : "u-boot"
[    0.800000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.810000] 0x000000040000-0x000000050000 : "Factory"
[    0.820000] 0x000000000000-0x000001000000 : "fullflash"
[    0.830000] 0x000000050000-0x000000fd0000 : "firmware"
[    0.840000] PandoraBox OOPS is ready!
[    0.840000] 3 uimage-fw partitions found on MTD device firmware
[    0.850000] 0x000000050000-0x000000160000 : "kernel"
[    0.860000] 0x000000160000-0x000000fb0000 : "rootfs"
[    0.860000] mtd: device 6 (rootfs) set to be root filesystem
[    0.870000] 1 squashfs-split partitions found on MTD device rootfs
[    0.870000] 0x0000006f0000-0x000000fb0000 : "rootfs_data"
[    0.880000] 0x000000fb0000-0x000000fd0000 : "panic_oops"
[    0.890000] mtdoops: Attached to MTD device 8
[    0.890000] 0x000000fd0000-0x000000fe0000 : "culiang-crash"
[    0.900000] 0x000000fe0000-0x000000ff0000 : "culiang-reserved"
[    0.910000] 0x000000ff0000-0x000001000000 : "culiang-Bdata"
[    0.920000] rdm_major = 251
[    0.920000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[    0.930000] SMACCR1 -- : 0x00002071
[    0.930000] SMACCR0 -- : 0x932a628c
[    0.940000] Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
[    0.950000] Feature:{PDMA} {HW_TSO_IPv4} {HW_TSO_IPv6} {HW_CSO} {HW_TSO} {HW_VLAN_TX} {SKB_RECYCLE_2K}
[    0.960000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[    0.960000] SMACCR1 -- : 0x00002071
[    0.970000] SMACCR0 -- : 0x932a628c
[    0.970000] PROC INIT OK!
[    0.970000] mt762x-gsw switch driver registered.
[    0.980000] mt762x-gsw default vlans:llllw
[    0.980000] Ralink APSoC Hardware Watchdog Timer
[    0.990000] TCP: cubic registered
[    0.990000] NET: Registered protocol family 17
[    1.000000] 8021q: 802.1Q VLAN Support v1.8
[    1.000000] PandoraBox Mass Storage accelerater v1.1.
[    1.010000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    1.020000] Freeing unused kernel memory: 204K (802ed000 - 80320000)
procd: Console i[    2.140000] Started WatchDog Timer.
s alive
procd: - watchdog -
[    4.290000] usbcore: registered new interface driver usbfs
[    4.290000] usbcore: registered new interface driver hub
[    4.300000] usbcore: registered new device driver usb
[    4.310000] exFAT: Version 1.2.9
[    4.350000] ufsd: module license 'Commercial product' taints kernel.
[    4.360000] Disabling lock debugging due to kernel taint
[    4.380000] ufsd: driver (8.6, Jan 14 2015 00:17:22, LBD=ON, delalloc, ioctl, bdi) loaded at 86c80000
[    4.380000] NTFS (with native replay) support included
[    4.380000] optimized: speed
[    4.380000] Built for PandoraBox 2013-12-27
[    4.380000]
[    4.410000] SCSI subsystem initialized
[    4.420000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.430000] ehci-platform: EHCI generic platform driver
[    4.450000] ehci-platform ehci-platform: EHCI Host Controller
[    4.460000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.470000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000
[    4.490000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.490000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.500000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.510000] usb usb1: Product: EHCI Host Controller
[    4.510000] usb usb1: Manufacturer: Linux 3.10.64 ehci_hcd
[    4.520000] usb usb1: SerialNumber: ehci-platform
[    4.520000] hub 1-0:1.0: USB hub found
[    4.530000] hub 1-0:1.0: 1 port detected
[    4.530000] leds-gpio leds-gpio: pins are not configured from the driver
[    4.550000] mtk-sd: MediaTek MT76xx MSDC Driver
[    4.560000] usbcore: registered new interface driver usb-storage
procd: - preinit -
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
kmod: ran 1 iterations
[    9.030000] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 149 of xref (0 dead, 32 orphan) found.
block: extroot: no root or overlay mount defined
jffs2 is ready
jffs2 is ready
[    9.110000] jffs2: notice: (372) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 149 of xref (0 dead, 32 orphan) found.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   11.920000] NET: Registered protocol family 10
[   11.960000] gre: GRE over IPv4 demultiplexor driver
[   11.970000] ip_gre: GRE over IPv4 tunneling driver
[   11.980000] gpiodev: gpio device registered with major 250
[   12.010000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max)
[   12.030000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.050000] Netfilter messages via NETLINK v0.30.
[   12.070000] ip_set: protocol 6
[   12.140000] Ralink I2C Init
[   12.180000] u32 classifier
[   12.180000]     input device check on
[   12.180000]     Actions configured
[   12.210000] Mirror/redirect action on
[   12.820000]
[   12.820000]
[   12.820000] === pAd = c0698000, size = 1890088 ===
[   12.820000]
[   12.830000] <-- RTMPAllocTxRxRingMemory, Status=0
[   12.840000] <-- RTMPAllocAdapterBlock, Status=0
[   12.840000] PandoraBox RT2860v2 AP Driver version-3.0.3.2(Jan 14 2015 00:17:31).
[   13.480000] register rt2860
[   13.500000]
[   13.500000]
[   13.500000] === pAd = c0b81000, size = 2188224 ===
[   13.500000]
[   13.510000] <-- RTMPAllocTxRxRingMemory, Status=0
[   13.520000] <-- RTMPAllocAdapterBlock, Status=0
[   13.520000] pAd->CSRBaseAddress =0xc0a80000, csr_addr=0xc0a80000!
[   13.530000] device_id =0x7662
[   13.530000] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
[   13.540000] PandoraBox MT76X2E AP Driver version-3.0.3.2(Jan 14 2015 00:17:37).
[   13.550000] RtmpChipOpsEepromHook::e2p_type=0, inf_Type=5
[   13.550000] RtmpEepromGetDefault::e2p_dafault=2
[   13.560000] NVM is FLASH mode
[   13.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.710000] xt_time: kernel timezone is -0000
[   13.730000] PPP generic driver version 2.4.2
[   13.740000] NET: Registered protocol family 24
procd: - init complete -
procd: Instance sysntpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
Mar 23 16:57:38 miniupnpd[1769]: could not open lease file: /var/upnp.leases
Mar 23 16:57:38 miniupnpd[1769]: Why did you run me anyway?
发表于 2015-3-24 19:55 | 显示全部楼层
每日一顶
发表于 2015-3-24 19:59 | 显示全部楼层
怎样做到的e?!
发表于 2015-3-24 20:08 | 显示全部楼层
那个男人 发表于 2015-3-23 10:11
任意刷  楼主告诉我的

Hi,哥们,1166d的ttl是怎么接的?

点评

方口下面依次是GRT  详情 回复 发表于 2015-3-24 20:33
发表于 2015-3-24 20:31 | 显示全部楼层
大哥,大神,你这个没有超频功能的?感觉不如uboot哟。

点评

MT7620 最大超频 620MHz breed 默认 600MHz 你觉得超频有意义? 以一个超频功能来判断一个 Bootloader 的功能,有意义?  详情 回复 发表于 2015-3-24 20:46
发表于 2015-3-24 20:33 | 显示全部楼层
hamajun 发表于 2015-3-24 20:08
Hi,哥们,1166d的ttl是怎么接的?

方口下面依次是GRT
发表于 2015-3-24 20:35 | 显示全部楼层
感谢大神分享,我的是网件pr2000,这个需要用编辑器刷入的吗?
 楼主| 发表于 2015-3-24 20:46 | 显示全部楼层
piaofen 发表于 2015-3-24 20:31
大哥,大神,你这个没有超频功能的?感觉不如uboot哟。

MT7620 最大超频 620MHz
breed 默认 600MHz
你觉得超频有意义?

以一个超频功能来判断一个 Bootloader 的功能,有意义?
发表于 2015-3-24 22:11 | 显示全部楼层
好东西,mark下。
发表于 2015-3-24 22:33 | 显示全部楼层
更新好快……努力赚金币……
发表于 2015-3-24 23:19 | 显示全部楼层
r372

MW300R V6 改

LAN WAN 口已经可以使用,LED 显示不对,WAN口正常亮一灯,LAN 4口插线亮同一灯
发表于 2015-3-25 00:01 | 显示全部楼层
恩山币全都贡献出来了
发表于 2015-3-25 00:21 | 显示全部楼层
谢谢分享
发表于 2015-3-25 00:59 来自手机 | 显示全部楼层
大婶更新的好频繁,赞一个
发表于 2015-3-25 01:50 | 显示全部楼层
支持H大神!!!
发表于 2015-3-25 01:54 | 显示全部楼层
楼主V5
发表于 2015-3-25 07:40 | 显示全部楼层
越来越强大了,感谢LZ
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2017-2-22 14:08

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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