|
楼主 |
发表于 2015-7-10 08:10
|
显示全部楼层
本帖最后由 老子本姓天 于 2015-8-5 20:39 编辑
TTL 折腾在先来上官网TTL
http://pan.baidu.com/s/1pJsXrBl 这个里面都有上面同样地分区名字。。。有个是无线分区是我地。这个无线要到UBOOT不死里面刷
U-Boot 1.1.4 (Jun 3 2011 - 09:35:42)
AP99 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(0x5300): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0x8804e8: 0x8016a050]
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 266k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
Device ID 0xc22017
Detected flash is not SST : 0x17
id read 0x100000ff
sector count = 128
Flash: 8 MB 官网闪存 就是SST芯片 CH341A编程器 读。了 用老款地可以。就是太慢38分钟。。
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
Fetching MAC Address from 0x81fea870
Fetching MAC Address from 0x81fea870
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:14:06:84
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:14:06:85
eth0, eth1
Hit any key to stop autoboot: 0
Check Booting Partition : #### 3 ####
OK
## Booting image at 9f280100 ...
Image Name: Linux Kernel Image
Created: 2012-06-12 13:01:30 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 786042 Bytes = 767.6 kB
Load Address: 80002000
Entry Point: 80217000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80217000) ...
## Giving linux memsize in bytes, 33554432
Starting kernel ...
Booting AR7240(Python)...
Linux version 2.6.15--LSDK-7.3.1.52 (swmoon@localhost.localdomain) (gcc version 3.4.4) #1 Thu Jun 7 09:39:14 KST 2012
flash_size passed from bootloader = 8
arg 1: console=ttyS0,115200
arg 2: root=31:04
arg 3: rootfstype=jffs2
arg 4: init=/sbin/init
arg 5: mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2240k(emergency),768k(uImage),4416k(rootfs),320k(sysconf),64k(NVRAM),64k(ART)
arg 6: mem=32M
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2240k(emergency),768k(uImage),4416k(rootfs),320k(sysconf),64k(NVRAM),64k(ART) mem=32M
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29444k/32768k available (1756k kernel code, 3308k reserved, 371k data, 140k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
PCI init:ar7240_pcibios_init
SCSI subsystem initialized
Returning IRQ 48
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
AR7240 GPIOC major 0
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
Serial: 8250/16550 driver $Revision: #2 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
8 cmdlinepart partitions found on MTD device ar7240-nor0
Creating 8 MTD partitions on "ar7240-nor0":
0x00000000-0x00040000 : "u-boot"
0x00040000-0x00050000 : "u-boot-env"
0x00050000-0x00280000 : "emergency"
0x00280000-0x00340000 : "uImage"
0x00340000-0x00790000 : "rootfs"
0x00790000-0x007e0000 : "sysconf"
0x007e0000-0x007f0000 : "NVRAM"
0x007f0000-0x00800000 : "ART"
GACT probability on
u32 classifier
Perfomance counters on
input device check on
Actions configured
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
FNAT Initialize ...
Hash Size: 32768
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
arch/mips/ar7240/gpio.c (ar7240_simple_config_init) JUMPSTART_GPIO: 11
ar7240wdt_init(Jun 7 2012): Registering WDT (Minor:130)success
ar7240wdt_init(YWHWANG_PATCH): last is 1,ar7240_ahb_freq is 200000000Hz,SETTIME_MAX_VAL is 21474836 us
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 140k freed
init started: BusyBox v1.01 (2012.06.07-00:39+0000) multi-call binary
init started: BusyBox v1.01 (2012.06.07-00:39+0000) multi-call binary
AG7240: Length per segment 1536
AG7240: Max segments per packet 1
AG7240: Max tx descriptor count 40
AG7240: Max rx descriptor count 252
AG7240: fifo cfg 3 01f00140
AG7240CHH: Mac address for unit 0
AG7240CHH: 00:40:5a:ca:2e:23
AG7240CHH: Mac address for unit 1
AG7240CHH: 00:40:5a:ca:2e:20
## Spurious link interrupt:ar7240_s26_intr,status:0
## Spurious link interrupt:ar7240_s26_intr,status:0
lnxnvram: module license 'unspecified' taints kernel.
NVRAM-driver Rev : 1.0.1, LG Electorinics.
ath_hal: 0.9.17.1 (AR5416, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
wifi0: Atheros 9287: mem=0x10000000, irq=48 hw_base=0xb0000000
wlan: mac acl policy registered
wlan_me: Version 0.1
Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved
### Soft rest!!!! mac:eth0 unit:0 (637)ag7240_hw_setup
### Soft rest!!!! mac:eth1 unit:1 (637)ag7240_hw_setup
device ath0 entered promiscuous mode
device ath1 entered promiscuous mode
device eth1 entered promiscuous mode
br0: port 2(ath1) entering learning state
br0: port 1(ath0) entering learning state
syslog: [rc.makelease] :start
syslog: [rc.makelease] :end
syslog: arpspoof disable
NVLIB: hostapd_config()->ath0/wlan0
NVLIB: hostapd_config()->ath1/wlan0_0
disabled Member SSID
disabled Sponsor SSID
disabled 5th SSID
disabled 6th SSID
br0: topology change detected, propagating
br0: port 2(ath1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ath0) entering forwarding state
HTTPd(pid=259):starting..
LINK UP - Port 2:1402
AG7240 AN dev:eth1 port_status:00b00 enet unit:1 phy:2 is up... Mii 100Mbps full duplex
### MAC dev:eth1 is up, flags:1(mac up), 1(running), 1(carrier)
br0: port 3(eth1) entering learning state
br0: topology change detected, propagating
br0: port 3(eth1) entering forwarding state
HTTPd(pid=270):start..daemonized
healthCheckMon:pid=283
pid283: nvramReInit?_?(4)
dbg option is WAN:0 PROC:0 MEM:0 WLAN:0 WDT:0
timing nvramVals are HEALTHreboot:last=0,between=86400
timing nvramVals are HOSTAPD:60 80 MEM:120 240 6500 WLAN:50 60 300
timing nvramVals are WAN:600 60 300 120 PROC:60 120 5
WAN MAC is 0040.5aca.2e23
br0: port 2(ath1) entering disabled state
br0: port 1(ath0) entering disabled state
[DEBUG] hywmon_register_sock start
[DEBUG] hywmon_register_sock end
[DEBUG] memory_mon_register
[DEBUG] WAN_check_register
[DEBUG] WLAN_check_register
[DEBUG] PROC_check_register
[DEBUG] EVENTLOG_check_register
qms_domain[0]=acnqms.lgqps.com
pvs: [info ] pvs started
pvs: loads detection->at first(102208)/last(102208),time(0),(170000)(70)
[D] file open error for read htck_time_info
[D] file open error for read htck_htch_log_send
wlan_txpower: /sbin/iwconfig ath0 freq 2447M
wlan_txpower: /sbin/iwconfig ath1 freq 2447M
On_gethostbyname_ext_async_res_for_QMS(0+0/1)
br0: port 1(ath0) entering learning state
br0: topology change detected, propagating
br0: port 1(ath0) entering forwarding state
On_gethostbyname_ext_async_res_for_QMS(0+1/1)
br0: port 2(ath1) entering learning state
syslog: channel is static 8
br0: topology change detected, propagating
br0: port 2(ath1) entering forwarding state
On_gethostbyname_ext_async_res_for_QMS(0+2/1)
On_gethostbyname_ext_async_res_for_QMS(0+3/1)
On_gethostbyname_ext_async_res_for_QMS(0+4/1)
qms_ip[0]=180.225.21.21
qms_port1=4050
qms_port2=14050
NAPL-5000 mips #1 Thu Jun 7 09:39:14 KST 2012 (none)
NAPL-5000 login:
=========================================================================================================================
==================== https://www.right.com.cn/forum/fo ... 61&page=1#pid964545 ===========================
U-Boot + TTL 刷机方法
完=========================美=======================分===========================线
下没面是不成功地TTL 刷u-boot
U-Boot 1.1.4 (Jun 3 2011 - 09:35:42)
AP99 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(0x5300): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0x8804e8: 0x8016a050]
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 266k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
Device ID 0xc22017
Detected flash is not SST : 0x17
id read 0x100000ff
sector count = 128
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
Fetching MAC Address from 0x81fea870
Fetching MAC Address from 0x81fea870
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:14:06:84
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:14:06:85
eth0, eth1
Hit any key to stop autoboot: 0 这里按按键 就终止了uboot 启动
ar7240> tftp 0x80000000 u-boot.bin 这是自己打的
Trying eth0
eth0 link down
FAIL
Trying eth1
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.27; our IP address is 192.168.1.10 &这里是TFTP 要设置 地IP 我不懂 求指导。
Filename 'u-boot.bin'.
Load address: 0x80000000
Loading: T T T T T T T T T
|
|