Ticket #13009: ea-n66-boot.txt

File ea-n66-boot.txt, 9.6 KB (added by me@…, 3 years ago)

EA-N66 boot on stock firmware

Line 
1
2
3
4U-Boot 1.1.3 (Jun  7 2012 - 15:51:58)
5
6
7Board: Ralink APSoC DRAM:  32 MB
8
9relocate_code Pointer at: 81b7c000
10
11flash_protect ON: from 0xBC000000 to 0xBC02166B
12
13flash_protect ON: from 0xBC030000 to 0xBC030FFF
14
15*** Warning - bad CRC, using default environment
16
17
18  Scan PHY Finish, set Addr to 00
19
20
21 Realtek 8211 phy
22
23reg 5 is 8b84
24
25reg 6 is 52b
26
27============================================
28
29Ralink UBoot Version: 3.6.0.0
30
31--------------------------------------------
32
33ASIC 3883_MP (MAC to GigaPHY Mode)
34
35DRAM component: 256 Mbits DDR, width 16
36
37DRAM bus: 16 bit
38
39Total memory: 32 MBytes
40
41Flash component: NOR Flash
42
43Date:Jun  7 2012  Time:15:51:58
44
45============================================
46
47icache: sets:512, ways:4, linesz:32 ,total:65536
48
49dcache: sets:256, ways:4, linesz:32 ,total:32768
50
51
52 ##### The CPU freq = 500 MHZ ####
53
54 estimate memory size =32 Mbytes
55
56
57Please choose the operation:
58
59   0: Load Boot Loader code to SDRAM via Serial.
60
61   1: Load system code to SDRAM via TFTP.
62
63   2: Load system code then write to Flash via TFTP.
64
65   3: Boot system code via Flash (default).
66
67   4: Entr boot command line interface.
68
69   7: Load Boot Loader code then write to Flash via Serial.
70
71   8: Load Boot Loader code to SDRAM via TFTP.
72
73   9: Load Boot Loader code then write to Flash via TFTP.
74
75 1 0
76
77   
78
793: System Boot system code via Flash.
80
81
82before LEDON:
83
84data:1f
85
86Do bootm
87
88## Booting image at bc050000 ...
89
90   Image Name:   
91
92   Created:      2012-11-27   7:42:52 UTC
93
94   Image Type:   MIPS Linux Kernel Image (lzma compressed)
95
96   Data Size:    3770169 Bytes =  3.6 MB
97
98   Load Address: 80000000
99
100   Entry Point:  8025d000
101
102   Verifying Checksum ... OK
103
104   Uncompressing Kernel Image ... OK
105
106No initrd
107
108## Transferring control to Linux (at address 8025d000) ...
109
110## Giving linux memsize in MB, 32
111
112
113Starting kernel ...
114
115
116
117LINUX started...
118
119 THIS IS ASIC
120Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #128 Tue Nov 27 15:42:34 CST 2012
121
122 The CPU frequency set to 500 MHz
123CPU revision is: 0001974c
124Determined physical RAM map:
125 memory: 02000000 @ 00000000 (usable)
126Initrd not found or empty - disabling initrd
127Built 1 zonelists.  Total pages: 8128
128Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
129Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
130Primary data cache 32kB, 4-way, linesize 32 bytes.
131Synthesized TLB refill handler (20 instructions).
132Synthesized TLB load handler fastpath (32 instructions).
133Synthesized TLB store handler fastpath (32 instructions).
134Synthesized TLB modify handler fastpath (31 instructions).
135cause = c0808000, status = 11000000
136PID hash table entries: 128 (order: 7, 512 bytes)
137calculating r4koff... 001e8480(2000000)
138CPU frequency 500.00 MHz
139Using 250.000 MHz high precision timer.
140Console: colour dummy device 80x25
141Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
142Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
143Memory: 26932k/32768k available (2087k kernel code, 5836k reserved, 328k data, 2960k init, 0k highmem)
144Mount-cache hash table entries: 512
145NET: Registered protocol family 16
146NET: Registered protocol family 2
147Time: MIPS clocksource has been installed.
148IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
149TCP established hash table entries: 1024 (order: 1, 8192 bytes)
150TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
151TCP: Hash tables configured (established 1024 bind 1024)
152TCP reno registered
153detected lzma initramfs
154detected lzma initramfs
155initramfs: LZMA lc=3,lp=0,pb=2,dictSize=4194304,origSize=11295744
156LZMA initramfs by Ming-Ching Tiew <mctiew@yahoo.com>.............................................................................................................................................................................<5>ralink flash device: 0x400000 at 0x1c000000
157Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
158 Amd/Fujitsu Extended Query Table at 0x0040
159number of CFI chips: 1
160cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
161Creating 5 MTD partitions on "Ralink SoC physically mapped flash":
1620x00000000-0x00400000 : "ALL"
1630x00000000-0x00030000 : "Bootloader"
1640x00030000-0x00040000 : "Config"
1650x00040000-0x00050000 : "Factory"
1660x00050000-0x00400000 : "Kernel"
167squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
168squashfs: LZMA suppport for slax.org by jro
169io scheduler noop registered (default)
170Ralink gpio driver initialized
171spidrv_major = 217
172HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
173N_HDLC line discipline registered.
174Serial: 8250/16550 driver $Revision: 1.8 $ 2 ports, IRQ sharing disabled
175serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
176serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
177RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
178rdm_major = 253
179
180eth2 mii.o query= phy_id:0, address:1 retval:7969
181
182eth2 mii.o query= phy_id:0, address:15 retval:3000
183Ralink APSoC Ethernet Driver Initilization. v2.1  256 rx/tx descriptors allocated, mtu = 1500!
184MAC_ADRH -- : 0x0000000c
185MAC_ADRL -- : 0x43288029
186PROC INIT OK!
187PPP generic driver version 2.4.2
188PPP Deflate Compression module registered
189PPP BSD Compression module registered
190PPP MPPE Compression module registered
191NET: Registered protocol family 24
192PPPoL2TP kernel driver, V0.17
193PPTP driver version 0.8.4
194block2mtd: version $Revision: 1.1.1.1 $
195nf_conntrack version 0.5.0 (16384 buckets, 8192 max)
196ipt_time loading
197ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
198ipt_time loading
199arp_tables: (C) 2002 David S. Miller
200TCP cubic registered
201NET: Registered protocol family 1
202NET: Registered protocol family 17
203802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
204All bugs added by David S. Miller <davem@redhat.com>
205Freeing unused kernel memory: 2960k freed
206Algorithmics/MIPS FPU Emulator v1.5
207switch register base addr to 0xb0000000
208write offset 0x60, value 0x1c5c
209
210phy_tx_ring = 0x017fb000, tx_ring = 0xa17fb000
211
212phy_rx_ring0 = 0x017fc000, rx_ring0 = 0xa17fc000
213 ** Found Realtek PHY, set PHY addr to 00, phy_id1:[0000c915]
214  Scan PHY Finish, set Addr to 00
215
216 Realtek 8211 phy
217MAC_ADRH -- : 0x0000000c
218MAC_ADRL -- : 0x43288029
219CDMA_CSG_CFG = 81000007
220GDMA1_FWD_CFG = C0710000
221ra2880stop()...Done
222Free TX/RX Ring Memory!
223[ra setdir]: 1401
224[ra setdir24_39]: 1
225devpts: called with bogus options
226mount: mounting none on /proc/bus/usb failed: No such file or directory
227precheck wan_proto of sw_mode()(4)
228[rc] router-mode set 3g flag
229track ok:201
230***# value_str
231validate subfs: f
232[rc Chk sw_mode/ex] [4][]
233--- init_switch_switch register base addr to 0xb0000000
234mode ---
235***# value_str
236validate subfs: f
237--- Adapter mode write offset 0x34, value 0x100000
238---
239chk mac 50465DAF5B26
240now mac is:
241[50] [46] [5d] [af] [5b] [26]
242mac is 50465DAF5B26
243--- start to gen sta config. ---
244write offset 0x34, value 0x0
245rt2860v2_sta: module license 'unspecified' taints kernel.
246
247
248=== pAd = c0047000, size = 582256 ===
249
250<-- RTMPAllocTxRxRingMemory, Status=0
251<-- RTMPAllocAdapterBlock, Status=0
252matb init:(0)
253no need to set in first init!
254[rc] main_loop: state= 2
255vconfig...
256waitpid: No child process
257phy_tx_ring = 0x01232000, tx_ring = 0xa1232000
258
259phy_rx_ring0 = 0x01233000, rx_ring0 = 0xa1233000
260 ** Found Realtek PHY, set PHY addr to 00, phy_id1:[0000c915]
261  Scan PHY Finish, set Addr to 00
262
263 Realtek 8211 phy
264MAC_ADRH -- : 0x00005046
265MAC_ADRL -- : 0x5daf5b26
266es
267waitpid: No CDMA_CSG_CFG = 81000007
268child processes
269GDMA1_FWD_CFG = C0710000
270
271RX DESC a1213000  size = 2048
272Key1Str is Invalid key length(0) or Type(0)
273Key2Str is Invalid key length(0) or Type(0)
274Key3Str is Invalid key length(0) or Type(0)
275Key4Str is Invalid key length(0) or Type(0)
2761. Phy Mode = 8
2772. Phy Mode = 8
278Read EEPROM, EthCloneMac is 50:46:5d:af:5b:26!
2793. Phy Mode = 8
280RTMPSetPhyMode: channel is out of range, use first channel=36
281MCS Set = ff ff ff 00 01
282<==== rt28xx_init, Status=0
2830x1300 = 00064300
284ra0 up!!!
285
286eth2 mii.o query= phy_id:1, address:4 retval:ffff
287
288eth2 mii.o query= phy_id:1, address:9 retval:ffff
289
290eth2 mii.o query= phy_id:1, address:0 retval:ffff
291
292eth2 mii.o query= phy_id:1, address:5 retval:ffff
293
294eth2 mii.o query= phy_id:1, address:9 retval:ffff
295
296eth2 mii.o query= phy_id:1, address:10 retval:ffff
297device eth2 entered promiscuous mode
298waitpid: No child processes
299device ra0 entered promiscuous mode
300waitpid: No child processes
301## [rc] seSET DUT MAC<50:46:5D:AF:5B:26>
302t lan_if as 10.0br0: port 2(ra0) entering learning state
303.1.1/255.255.255br0: port 1(eth2) entering learning state
304.0
305waitpid: No child processes
306track ok:901
307sta connect!!!
308waitpid: No child processes
309start_wan
310start services...
311[rc] start services
312
313***** g_wl_interface = ra0 ******
314
315--- START: Wait to start wanduck ---
316
317Delay run wanduck 3 seconds
318cannot get proto entry: No such file or directory
319cannot get proto entry: No such file or directory
320[wanduck]: under sw_mode:4(f_bruse:0)
321track ok:660
322set ipaddr=101000a
323track ok:661
324track ok:601
325track ok:605
326del static_ip.inf !!!
327upnp will be delayed 10 secs
328
329
330BusyBox v1.12.1 (2012-08-15 11:51:21 CST) built-in shell (ash)
331Enter 'help' for a list of built-in commands.
332
333#
334# Enable direct rule
335[wd] change dhcp mode:1
336Set: phy[0].reg[0] = 1940
337killall: dnsmasq: no process killed
338start dnsmasq
339br0: topology change detected, propagating
340br0: port 2(ra0) entering forwarding state
341br0: topology change detected, propagating
342br0: port 1(eth2) entering forwarding state
343Set: phy[0].reg[0] = 1140
344track set 101, 0,
345track ok:101
346track set 100, 0,
347track ok:100
348