openwrt_4M_flash启动log

 U-Boot 1.1.3 (Aug 11 2011 - 14:34:31)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42 
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
raspi_read: from:30000 len:1000 
.raspi_read: from:30000 len:1000 
.============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: SDRAM 
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Aug 11 2011  Time:14:34:31
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384 

 ##### The CPU freq = 360 MHZ #### 
 estimate memory size =32 Mbytes

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 

You choosed 2

 0 
raspi_read: from:40028 len:6 
.
   
2: System Load Linux Kernel then write to Flash via TFTP. 
 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
 Please Input new ones /or Ctrl-C to discard
        Input device IP (192.168.1.128) ==:192.168.1.128
        Input server IP (192.168.1.118) ==:192.168.1.118
        Input Linux Kernel filename (openwrt-ramips-rt305x-mpr-a2-squashfs-sysupgrade.bin) ==:openwrt2                                            

 netboot_common, argc= 3 

 NetTxPacket = 0x81FE59C0 

 KSEG1ADDR(NetTxPacket) = 0xA1FE59C0 

 NetLoop,call eth_halt ! 

 NetLoop,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !! 

 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
TFTP from server 192.168.1.118; our IP address is 192.168.1.128
Filename 'openwrt2'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: *
ArpTimeoutCheck 
T T T T Got ARP REPLY, set server/gtwy eth addr (54:a0:50:53:72:1b)
Got it
Got ARP REQUEST, return our IP
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##
done
Bytes transferred = 3670020 (380004 hex)
NetBootFileXferSize= 00380004
raspi_erase_write: offs:50000, count:380004
raspi_erase: offs:50000 len:380000
........................................................
raspi_write: to:50000 len:380000 
........................................................
raspi_read: from:50000 len:10000 
.raspi_read: from:60000 len:10000 
.raspi_read: from:70000 len:10000 
.raspi_read: from:80000 len:10000 
.raspi_read: from:90000 len:10000 
.raspi_read: from:a0000 len:10000 
.raspi_read: from:b0000 len:10000 
.raspi_read: from:c0000 len:10000 
.raspi_read: from:d0000 len:10000 
.raspi_read: from:e0000 len:10000 
.raspi_read: from:f0000 len:10000 
.raspi_read: from:100000 len:10000 
.raspi_read: from:110000 len:10000 
.raspi_read: from:120000 len:10000 
.raspi_read: from:130000 len:10000 
.raspi_read: from:140000 len:10000 
.raspi_read: from:150000 len:10000 
.raspi_read: from:160000 len:10000 
.raspi_read: from:170000 len:10000 
.raspi_read: from:180000 len:10000 
.raspi_read: from:190000 len:10000 
.raspi_read: from:1a0000 len:10000 
.raspi_read: from:1b0000 len:10000 
.raspi_read: from:1c0000 len:10000 
.raspi_read: from:1d0000 len:10000 
.raspi_read: from:1e0000 len:10000 
.raspi_read: from:1f0000 len:10000 
.raspi_read: from:200000 len:10000 
.raspi_read: from:210000 len:10000 
.raspi_read: from:220000 len:10000 
.raspi_read: from:230000 len:10000 
.raspi_read: from:240000 len:10000 
.raspi_read: from:250000 len:10000 
.raspi_read: from:260000 len:10000 
.raspi_read: from:270000 len:10000 
.raspi_read: from:280000 len:10000 
.raspi_read: from:290000 len:10000 
.raspi_read: from:2a0000 len:10000 
.raspi_read: from:2b0000 len:10000 
.raspi_read: from:2c0000 len:10000 
.raspi_read: from:2d0000 len:10000 
.raspi_read: from:2e0000 len:10000 
.raspi_read: from:2f0000 len:10000 
.raspi_read: from:300000 len:10000 
.raspi_read: from:310000 len:10000 
.raspi_read: from:320000 len:10000 
.raspi_read: from:330000 len:10000 
.raspi_read: from:340000 len:10000 
.raspi_read: from:350000 len:10000 
.raspi_read: from:360000 len:10000 
.raspi_read: from:370000 len:10000 
.raspi_read: from:380000 len:10000 
.raspi_read: from:390000 len:10000 
.raspi_read: from:3a0000 len:10000 
.raspi_read: from:3b0000 len:10000 
.raspi_read: from:3c0000 len:10000 
.raspi_read: from:3d0000 len:10000 
.raspi_erase: offs:3d0000 len:10000
.
raspi_write: to:3d0000 len:10000 
.
raspi_read: from:3d0000 len:10000 
.Done!
## Booting image at bc050000 ...
raspi_read: from:50000 len:40 
.   Image Name:   Linux Kernel Image
   Created:      2015-08-19   0:51:59 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1087594 Bytes =  1 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:10986a 
.................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.18.20 (chenqy@smarthome) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46682) ) #5 Wed Aug 19 08:51:09 CST 2015
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is HAME MPR-A1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=000008f0
[    0.000000] Readback ErrCtl register=000008f0
[    0.000000] Memory: 29016K/32768K available (2410K kernel code, 122K rwdata, 480K rodata, 180K init, 181K bss, 3752K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 360MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.010000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.090000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110000] pinctrl core: initialized pinctrl subsystem
[    0.120000] NET: Registered protocol family 16
[    0.130000] rt2880-pinmux pinctrl: invalid group "rgmii" for function "gpio"
[    0.140000] rt2880-pinmux pinctrl: invalid group "mdio" for function "gpio"
[    0.180000] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.190000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.200000] rt2880_gpio 10000660.gpio: registering 6 gpios
[    0.210000] rt2880_gpio 10000660.gpio: registering 6 irq handlers
[    0.220000] Switched to clocksource systick
[    0.230000] NET: Registered protocol family 2
[    0.240000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.250000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.280000] TCP: reno registered
[    0.280000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.310000] NET: Registered protocol family 1
[    0.320000] rt-timer 10000100.timer: maximum frequency is 7324Hz
[    0.330000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.360000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.370000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.390000] msgmni has been set to 56
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.450000] gpio-export gpio_export: 2 gpio(s) exported
[    0.470000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.480000] console [ttyS0] disabled
[    0.490000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.510000] console [ttyS0] enabled
[    0.510000] console [ttyS0] enabled
[    0.520000] bootconsole [early0] disabled
[    0.520000] bootconsole [early0] disabled
[    0.550000] m25p80 spi32766.0: found mx25l3205d, expected s25fl064k
[    0.560000] m25p80 spi32766.0: mx25l3205d (4096 Kbytes)
[    0.570000] 4 ofpart partitions found on MTD device spi32766.0
[    0.590000] Creating 4 MTD partitions on "spi32766.0":
[    0.600000] 0x000000000000-0x000000030000 : "u-boot"
[    0.610000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.620000] 0x000000040000-0x000000050000 : "factory"
[    0.630000] 0x000000050000-0x000000400000 : "firmware"
[    0.690000] 2 uimage-fw partitions found on MTD device firmware
[    0.700000] 0x000000050000-0x0000001598aa : "kernel"
[    0.710000] 0x0000001598aa-0x000000400000 : "rootfs"
[    0.720000] mtd: device 5 (rootfs) set to be root filesystem
[    0.730000] 1 squashfs-split partitions found on MTD device rootfs
[    0.750000] 0x0000003a0000-0x000000400000 : "rootfs_data"
[    0.770000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.790000] rt2880_wdt 10000120.watchdog: Initialized
[    0.800000] TCP: cubic registered
[    0.810000] NET: Registered protocol family 17
[    0.820000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.840000] 8021q: 802.1Q VLAN Support v1.8
[    0.870000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.890000] Freeing unused kernel memory: 180K (802f3000 - 80320000)
[    4.430000] init: Console is alive
[    4.440000] init: - watchdog -
[    7.320000] usbcore: registered new interface driver usbfs
[    7.330000] usbcore: registered new interface driver hub
[    7.340000] usbcore: registered new device driver usb
[    7.360000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.370000] ehci-platform: EHCI generic platform driver
[    7.590000] phy phy-usbphy.0: remote usb device wakeup disabled
[    7.600000] phy phy-usbphy.0: UTMI 16bit 30MHz
[    7.610000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    7.620000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    7.630000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    7.670000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    7.680000] hub 1-0:1.0: USB hub found
[    7.690000] hub 1-0:1.0: 1 port detected
[    7.700000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.720000] ohci-platform: OHCI generic platform driver
[    7.730000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    7.740000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    7.760000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    7.830000] hub 2-0:1.0: USB hub found
[    7.840000] hub 2-0:1.0: 1 port detected
[    8.650000] init: - preinit -
[   10.240000] rt305x-esw 10110000.esw: link changed 0x00
[   10.580000] random: procd urandom read with 16 bits of entropy available
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
[   12.030000] rt305x-esw 10110000.esw: link changed 0x10
[   13.950000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   14.000000] procd: - early -
[   14.010000] procd: - watchdog -
[   14.950000] procd: - ubus -
[   15.970000] procd: - init -
Please press Enter to activate this console.
[   17.350000] NET: Registered protocol family 10
[   17.370000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.410000] Loading modules backported from Linux version master-2015-07-21-0-g47cd203
[   17.430000] Backport generated by backports.git backports-20150626-0-gc1a4168
[   17.450000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.480000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   17.560000] xt_time: kernel timezone is -0000
[   17.630000] cfg80211: World regulatory domain updated:
[   17.640000] cfg80211:  DFS Master region: unset
[   17.650000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   17.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   17.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   17.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   17.710000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.730000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   17.750000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   17.770000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   17.790000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   17.930000] PPP generic driver version 2.4.2
[   17.940000] NET: Registered protocol family 24
[   18.000000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   18.020000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   25.010000] rt305x-esw 10110000.esw: link changed 0x00
[   26.810000] rt305x-esw 10110000.esw: link changed 0x10
[   29.950000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   29.980000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   29.990000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   34.230000] device eth0.1 entered promiscuous mode
[   34.240000] device eth0 entered promiscuous mode
[   34.280000] br-lan: port 1(eth0.1) entered forwarding state
[   34.290000] br-lan: port 1(eth0.1) entered forwarding state
[   35.820000] done.
[   35.820000] jffs2: notice: (918) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   36.290000] br-lan: port 1(eth0.1) entered forwarding state
[   41.190000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   41.210000] device wlan0 entered promiscuous mode
[   42.030000] br-lan: port 2(wlan0) entered forwarding state
[   42.040000] br-lan: port 2(wlan0) entered forwarding state
[   42.050000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   44.040000] br-lan: port 2(wlan0) entered forwarding state
[   64.700000] random: nonblocking pool is initialized


BusyBox v1.23.2 (2015-08-19 00:33:19 CST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r46682)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/# 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
原贴 http://www.right.com.cn/forum/thread-91571-1-1.html 20120905版4M固件: 1. 720N固件,基于703N修改。TP-Link原厂固件请刷factory,已经是OpenWrt了就刷sysupgrade。 且刷此固件后可直刷OpenWrt 703N、OpenWrt 720N、TP-Link 703N、TP-Link 720N固件,不用改固件头。 2. 4M固件,当然8M的flash也可以刷。 3. 支持MentoHUST(锐捷认证)、3G、NAS(仅支持ext4,不支持ntfs)、共享手机网络、MWAN2负载均衡、打印服务器、 远程唤醒、8187 3070、瑞银网卡,剩余200多K空间,具体见截图。 因试过4M空间集成脱机、NAS等有难度,故不再出4M的脱机固件,请用extroot扩展后自行安装。 4. MentoHUST没有条件测试,如不能自动获取IP,请把Web界面的DHCP script的值由“udhcpc -i”改成“udhcpc -renew”试试。 5. 关于extroot(既用U盘引导系统),没想到现在这么简单了。 简单说下:先把U盘在电脑里格式化成ext3或ext4。插上U盘,命令行运行blkid得到U盘的UUID值,复制到管理界面的相应UUID, 挂载选项“rw,sync”删掉后面的umask=000。然后勾上extroot和启用,文件系统选对应的ext3或ext4,保存应用OK。 重启下,看看剩余空间大了没,呵呵。 (umask=000只是为了让samba可写而加的参数。挂载USB存储设备时,如果不用samba请删之。) 6. 按住reset键30秒后led闪烁,60秒之前松开reset键则恢复出厂设置。 7. LAN/WAN两个网口正常。 8. 默认开启WiFi,无密码。 9. 支持模式切换开关,定义如下: AP: 开启共享手机网络、开启无线 3G: 关闭共享手机网络、开启无线 Router:关闭共享手机网络、关闭无线 10.解释下共享手机网络,OpenWrt官方称为USB Tethering,指openwrt路由器通过USB连接智能手机, 而智能手机的网络共享给openwrt使用。 目前固件只支持Android系统共享网络功能,而支持iPhone需要集成的软件太多,空间有限,如果出8M固件 再考虑吧。 Android本来就支持WiFi热点,可能有点画蛇添足吧,呵呵。我是偶然发现openwrt还支持这个功能, 所以就研究了下,也许在某些情况下这个功能还是有用的吧。 使用方法: a. 路由器模式开关切换至AP位置。 b. 用USB线连接路由器与手机。 c. 手机USB连接管理里面,选择 除了“内存卡读取”的其他模式,比如:选择“仅充电”; 然后在“设置”--“系统”里面找到“共享手机网络”,开启“USB绑定”就好了。 回到openwrt界面,会发现有个usb0的接口,已经自动获取了IP,这样openwrt就能使用手机 的网络了。 11.关于MWAN2负载均衡,效率还不错,还支持基于session的负载均衡,使用方法见/etc/config/mwan2里面的注释。 mwan2的作者新出了mwan3,有兴趣可以去看看:https://forum.openwrt.org/viewtopic.php?id=39052 12.703n可刷本固件,但是刷完后lan口不能用。需先用无线连接,然后编辑/etc/config/network , 删除其中wan口配置,把lan的eth0改成eth1后,lan就可以用了。 如703n原厂固件web界面请刷factory,且需要先把固件标识改成07030101才能刷。 13.再说下打印服务器,没有测试,不知道这个版本能不能用,但20120803版有人试过可用,有需求请自行下载。 trunk就是不稳定啊,没办法~~

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值