找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5561|回复: 22

新手求助更换FLASH后刷OP

[复制链接]
发表于 2013-3-14 20:52 | 显示全部楼层 |阅读模式
1.DIR-615C1 自己手动换了64M内存启动正常
2.打算把4M FLASH 更换为8M 的网购同型号的8M FLASH
3. 下载OP源码自己编译了一份 ,
问题。编译器应该刷入那个文件。factory.bin 还是 sysupgrade.bin
常看见的 uboot是怎么回事!
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2013-3-15 09:14 | 显示全部楼层
编译器刷入后 无法启动 问题错在哪里  ?
求高手
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-3-15 09:41 | 显示全部楼层
把4M的复制出来刷到8M里
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-3-15 09:47 | 显示全部楼层
kcnmbb 发表于 2013-3-15 09:14
编译器刷入后 无法启动 问题错在哪里  ?
求高手

需要把u-boot,firmware,art写在对应的区域,你是不是没写u-boot,肯定启动不了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-3-15 10:58 | 显示全部楼层
tomine 发表于 2013-3-15 09:47
需要把u-boot,firmware,art写在对应的区域,你是不是没写u-boot,肯定启动不了

我是新手请问如何具体操作  现在看了教程把   4M 的  128k u-boot 和 64的  art部分保存下来了
用 winhex打开编译器备份的4M固件  头文件 128K为 u-boot
art为 64K 然后怎么做啊  OP编译出来的固件如何把 上面的 U-BOOT 和 ART合成上去 ?

还有 4M和8M的识别在什么部分的  U-BOOT吗?

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

使用道具 举报

 楼主| 发表于 2013-3-15 11:00 | 显示全部楼层
zy900114 发表于 2013-3-15 09:41
把4M的复制出来刷到8M里

直接用编译器出来的刷进8M? 这样可以启动吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-3-15 11:05 | 显示全部楼层
kcnmbb 发表于 2013-3-15 11:00
直接用编译器出来的刷进8M? 这样可以启动吗?

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

使用道具 举报

发表于 2013-3-15 11:08 | 显示全部楼层
kcnmbb 发表于 2013-3-15 10:58
我是新手请问如何具体操作  现在看了教程把   4M 的  128k u-boot 和 64的  art部分保存下来了
用 winh ...

1. 原厂的u-boot可能不支持8M的固件,如果不支持的话,你就只能换成支持8M的u-boot,论坛里很多的,自己搜一搜
2. 你用winhex新建一个8M的空白文件,然后把u-boot写在文件开头的128k,art写在末尾64k,然后把factory.bin写在u-boot之后,再把文件写入flash应该就可以启动了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-3-15 11:15 | 显示全部楼层
tomine 发表于 2013-3-15 11:08
1. 原厂的u-boot可能不支持8M的固件,如果不支持的话,你就只能换成支持8M的u-boot,论坛里很多的,自己搜 ...

好的 我操作下
你说的第一点8M 的u-boot需要对应的型号我这个是 615C1 ar9130的cpu  可以和 AR71XX通用的吧
论坛上也有人用这个 615C1 他们的UBOOT 是用 841V3改来的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-3-15 11:17 | 显示全部楼层
zy900114 发表于 2013-3-15 11:05
可以

这样可以刷 8M 固件吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-3-15 11:19 | 显示全部楼层
我发你网盘地址了,直接刷吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-3-15 11:33 | 显示全部楼层
zy900114 发表于 2013-3-15 11:19
我发你网盘地址了,直接刷吧

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

使用道具 举报

 楼主| 发表于 2013-3-15 11:41 | 显示全部楼层
OP编译出来的不是完整的固件?
还需要组合才能使用吗?
我用OP编译出来的这个是 u-boot吧 怎么比 128K大啊

本帖子中包含更多资源

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

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

使用道具 举报

 楼主| 发表于 2013-3-15 12:11 | 显示全部楼层
zy900114 发表于 2013-3-15 11:19
我发你网盘地址了,直接刷吧

刷上去了 ~不过无法进入系统  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-3-15 16:48 | 显示全部楼层
刷了8M的给出U-BOOT帮忙看下

U-Boot 1.1.4 (Sep 30 2011 - 15:28:56)

AP81 (ar7100) U-boot
DRAM:
sri
64 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 177k for U-Boot at: 81fd0000
Reserving 192k for malloc() at: 81fa0000
Reserving 44 Bytes for Board Info at: 81f9ffd4
Reserving 36 Bytes for Global Data at: 81f9ffb0
Reserving 128k for boot params() at: 81f7ffb0
Stack Pointer at: 81f7ff98
Now running in RAM - U-Boot at: 83fd8000
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
Fetching MAC Address from 0x83fef370
eth0: 00:03:7f:e0:02:20
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 3.8.2 (loveisblue@debian) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Fri Mar 15 10:23:56 CST 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9130 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    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: 16256
[    0.000000] Kernel command line:  board=TL-WR941ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61408k/65536k available (2145k kernel code, 4128k reserved, 578k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-WR941ND
[    0.360000] bio: create slab <bio-0> at 0
[    0.370000] Switching to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.380000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.380000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.390000] TCP: Hash tables configured (established 512 bind 512)
[    0.390000] TCP: reno registered
[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] NET: Registered protocol family 1
[    0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.450000] msgmni has been set to 119
[    0.450000] io scheduler noop registered
[    0.450000] io scheduler deadline registered (default)
[    0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.490000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.490000] console [ttyS0] enabled, bootconsole disabled
[    0.490000] console [ttyS0] enabled, bootconsole disabled
[    0.510000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.510000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.520000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.530000] 5 tp-link partitions found on MTD device spi0.0
[    0.530000] Creating 5 MTD partitions on "spi0.0":
[    0.540000] 0x000000000000-0x000000020000 : "u-boot"
[    0.540000] 0x000000020000-0x000000116000 : "kernel"
[    0.550000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.560000] 0x000000116000-0x0000007f0000 : "rootfs"
[    0.570000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.580000] mtd: partition "rootfs" set to be root filesystem
[    0.590000] mtd: partition "rootfs_data" created automatically, ofs=550000, len=2A0000
[    0.590000] 0x000000550000-0x0000007f0000 : "rootfs_data"
[    0.600000] 0x0000007f0000-0x000000800000 : "art"
[    0.610000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.640000] switch0: Atheros AR8216 switch registered on ag71xx-mdio.0
[    0.660000] libphy: ag71xx_mdio: probed
[    0.670000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RMII
[    0.980000] TCP: cubic registered
[    0.980000] NET: Registered protocol family 17
[    0.980000] Distributed Switch Architecture driver version 0.1
[    0.990000] eth0[0]: could not detect attached switch
[    0.990000] eth0[0]: couldn't create dsa switch instance (error -22)
[    1.000000] 8021q: 802.1Q VLAN Support v1.8
[    1.010000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.020000] Freeing unused kernel memory: 216k freed
[    3.940000] eth0: link up (100Mbps/Full duplex)
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.310000] jffs2: notice: (482) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 14 of xref (0 dead, 0 orphan) found.
[    8.180000] SCSI subsystem initialized
[    8.310000] usbcore: registered new interface driver usbfs
[    8.320000] usbcore: registered new interface driver hub
[    8.330000] usbcore: registered new device driver usb
[    8.800000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.820000] ehci-platform: EHCI generic platform driver
[    8.820000] ehci-platform ehci-platform: EHCI Host Controller
[    8.830000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.830000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    8.860000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.860000] hub 1-0:1.0: USB hub found
[    8.870000] hub 1-0:1.0: 1 port detected
[    8.880000] Initializing USB Mass Storage driver...
[    8.890000] usbcore: registered new interface driver usb-storage
[    8.900000] USB Mass Storage support registered.

switching to jffs2
- init -
[   29.360000] eth0: link down

Please press Enter to activate this console.

BusyBox v1.19.4 (2013-03-15 09:49:55 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r35977)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 10:04

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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