找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: hackpascal

【2022-07-26】AR/QCA/MTK Breed,功能强大的多线程 Bootloader

   火... [复制链接]
发表于 2017-6-1 10:22 | 显示全部楼层
hackpascal 发表于 2015-3-21 22:38
环境变量说明

Breed 中的环境变量需要先进行设置后方能使用

麻烦给k2p做个breed。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-1 17:12 | 显示全部楼层
FWR310 V4 硬改后 刷7620 REST1  刷老毛子固件启动不了,其他固件没有试,换了u-boot-mw305r-64m-115200.bin 这个u-boot 再刷固件可以启动,请老大修复一下,谢谢,u-boot不是太会用,而且找不到修改MAC地方
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-1 22:45 | 显示全部楼层
下次更新的时候个人认为没必要每个型号都出一个,可以考虑搞通用的,比如同样方案的集中一下,唯一一点不能的只是GPIO定义不同而已
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-2 10:00 | 显示全部楼层
楼主  斐讯的K2P出来了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-2 11:19 | 显示全部楼层
本帖最后由 三胖无线 于 2017-6-2 11:24 编辑

请教H大一个问题,一个flash芯片,不含otp区域的,普通flash芯片,比如16M的,通过breed写入一个16M的编程器固件,以及通过编程器写入,这两种写入方式最终获得的固件内容有啥不同么??

我测试信锐的AP两种方式写入的固件最终编程器写入的可用,Breed完全写入的丢失mac地址
通过Breed全盘写入的
U-Boot 1.1.4 (May 29 2013 - 14:50:55)

U-boot DB120
DRAM:  
sri
Wasp 1.2
wasp_ddr_initial_config(249): (32bit) ddr2 init
wasp_ddr_initial_config(426): Wasp ddr init done
Tap value selected = 0xe [0x0 - 0x1c]
Setting 0xb8116290 to 0x20402d0f
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 229k for U-Boot at: 87fc4000
Reserving 184k for malloc() at: 87f96000
Reserving 44 Bytes for Board Info at: 87f95fd4
Reserving 36 Bytes for Global Data at: 87f95fb0
Reserving 128k for boot params() at: 87f75fb0
Stack Pointer at: 87f75f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
pci_init_board: PCIe PLL not set for 40MHz refclk
Board cal is not 0xa55a or 0x5aa5 flag.
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Imginfo mac address is invalid, use default.
wasp  reset mask:c03300
WASP  ----> F1 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
F1Phy reg init
ATHR_AUTONEG_ADVERT:FFFF
ATHR_1000BASET_CONTROL:FFFF
ATHR_PHY_CONTROL:FFFF
ATHRSF1_PHY: Port 4, Negogiation timeout
ATHRSF1_PHY: unit 0 phy addr 4 eth0 up
eth0
Uboot ether macaddr(from imginfo) is 00:00:00:00:00:00 mac地址丢失
通过编程器写入的,mac地址有保留
U-boot DB120
DRAM:  
sri
Wasp 1.2
wasp_ddr_initial_config(249): (32bit) ddr2 init
wasp_ddr_initial_config(426): Wasp ddr init done
Tap value selected = 0xe [0x0 - 0x1d]
Setting 0xb8116290 to 0x20402d0f
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 229k for U-Boot at: 87fc4000
Reserving 184k for malloc() at: 87f96000
Reserving 44 Bytes for Board Info at: 87f95fd4
Reserving 36 Bytes for Global Data at: 87f95fb0
Reserving 128k for boot params() at: 87f75fb0
Stack Pointer at: 87f75f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Imginfo: product type is AP.
*** Warning - bad CRC, using default environment

pci_init_board: PCIe PLL not set for 40MHz refclk
Board cal is not 0xa55a or 0x5aa5 flag.
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Use imginfo mac address 10:0d:0e:20:57:5e.
wasp  reset mask:c03300
WASP  ----> F1 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 10:0d:0e:20:57:5e
F1Phy reg init
ATHR_AUTONEG_ADVERT:FFFF
ATHR_1000BASET_CONTROL:FFFF
ATHR_PHY_CONTROL:FFFF
ATHRSF1_PHY: Port 4, Negogiation timeout
ATHRSF1_PHY: unit 0 phy addr 4 eth0 up
eth0
Uboot ether macaddr(from imginfo) is 10:0d:0e:20:57:5e
Hit any key to stop autoboot:  0




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

使用道具 举报

发表于 2017-6-2 15:30 | 显示全部楼层
螃蟹 RTL8196C 是6月份出吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-2 17:42 | 显示全部楼层
期待h大能出一个K2P适配的版本,辛苦了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-2 19:09 | 显示全部楼层
麻烦给k2p做个breed。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 20:13 | 显示全部楼层
期待H大的k2p的breed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 21:55 | 显示全部楼层
sl5253 发表于 2017-4-23 14:06
四海众联牌子的路由,跟普通的没啥区别呀!又没看到有另外的闪存

四海的产品的确不少有看门狗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 22:06 | 显示全部楼层
H大 AR9344_Blank版本的Breed在1009版本的时候就给您上报过说对RTL8211E检测不出来,现在R1010版本依然检测不出来,板子您是有的我手里的和您的都是一样的,麻烦您抽空再看一下,谢谢


Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal <hackpascal@gmail.com>
Build date 2017-04-16 [git-47a2563]
Version 1.1 (r1010)

DRAM: 128MB
Platform: Atheros AR9344 rev 2
Board: Blank
Clocks: CPU: 560MHz, DDR: 450MHz, AHB: 225MHz, Ref: 40MHz
Flash: Winbond W25Q128 (16MB) 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 ... Timed out
eth0: Atheros AR8228/AR8229 rev 1

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 3   
Autoboot aborted due to key press.

Starting breed built-in shell

breed>





本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 00:18 来自手机 | 显示全部楼层
(><)大佬适配一下K2P吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 03:07 | 显示全部楼层
麻烦大神有时间的情况下适配下K2P!!!MTK的!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 13:26 | 显示全部楼层
大神,没事弄个K2P呗,拜谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 13:34 | 显示全部楼层
老大,适配下K2P~!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 01:16

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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