Користувальницькькі налаштування

Налаштування сайту


dir-300b1

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

dir-300b1 [2014/11/23 14:31]
wombat створено
dir-300b1 [2014/11/23 14:32] (поточний)
wombat
Рядок 1: Рядок 1:
 +====== DIR-300 rev. B1 ======
 +
 +Скачиваем прошивку FIXME
 +
 +http://​downloads.openwrt.org/​barrier_breaker/​14.07/​ramips/​rt305x/​openwrt-ramips-rt305x-dir-300-b1-squashfs-factory.bin
 +
 +  minicom -b57600
 +
 +<​file>​
 +Welcome to minicom 2.6.1                                                       
 +                                                                               
 +OPTIONS: I18n                                                                  ​
 +Compiled on Feb 11 2012, 18:​12:​55. ​                                            
 +Port /​dev/​ttyS0 ​                                                               ​
 +                                                                               
 +Press CTRL-A Z for help on special keys                                        ​
 +                                                                               
 +                                                                               
 +                                                                               
 +U-Boot 1.1.3 (Jan 13 2009 - 17:40:14) (Alpha) - SVN revision : 105             
 +                                                                               
 +Model: WRGN23 ​                                                                 ​
 +                                                                               
 +Board: RT2880 DRAM:  32 MB                                                     
 +twe0 set to <​NULL> ​                                                            
 +toe0 set to <​NULL> ​                                                            
 +============================================ ​                                  
 +Ralink UBoot Version: 3.1 Alpha                                                ​
 +-------------------------------------------- ​                                  
 +ASIC 3052_MP2 (MAC to GigaMAC Mode)                                            ​
 +DRAM COMPONENT: 256Mbits ​                                                 ​
 +DRAM BUS: 16BIT                                                                ​
 +Total memory: 32Mbytes
 +Date:Jan 13 2009  Time:​17:​40:​14
 +============================================ ​
 +icache: sets:128, ways:4, linesz:32 ,​total:​16384
 +dcache: sets:128, ways:4, linesz:32 ,​total:​16384 ​
 +
 +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.
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 +  0 seconds ...
 +
 +Eth0 (10/100-M) :  ethaddr = (1c:​af:​f7:​14:​6e:​3a) 1C AF F7 14 6E 3A 
 +
 +3: System Boot system code via Flash.
 +## Powering down port 0 ~ 3.
 +## Booting image at bf050000 ...
 +Bad Magic Number,​48445230 ​
 +Entering HTTP server.
 +Mac to giga Mac mode
 +Using Eth0 (10/100-M) device
 +Start HTTP server on port 80, 192.168.0.1
 +Running ...
 +</​file>​
 +
 +Открываем в браузере http://​192.168.0.1
 +
 +Загружаем прошивку. Видим сообщение в браузере:​
 +
 +<​file>​
 +IMAGE UPLOADED SUCCESSFULLY
 +
 +3407972 bytes uploaded.
 +
 +The WEB server is shuting down and the firmware updating will start immediately. Please DO NOT POWER OFF the device. And please wait for seconds...
 +</​file>​
 +
 +При этом в консоли minicom наблюдаем следующее:​
 +
 +<​file>​
 +mpfd_decode:​ UPLOADED, upsize = 3407972
 +IMGHDR========================================
 + ​signature ​     : wrgn23_dlwbr_dir300b
 + ​magic ​         : 20040220
 +==============================================
 +IMGBLOCK======================================
 + ​maigc ​         : 20040220
 + ​size ​          : 3407876
 + ​offset ​        : 0
 + ​devname ​       : /​dev/​mtdblock/​2
 + ​digest ​        : F341A39E5A728B773CB3A4A6A0ED8610
 +==============================================
 +Erase linux block (0xbf050000 ~ 0xbf39ffff)
 +
 +*******************Erased 53 sectors
 +Copy linux image [3407876 bytes] to Flash [0xBF050000] ...
 +Copy 3407876 byte to Flash ...done
 +## Booting image at bf050000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.10.49
 +   ​Created: ​     2014-10-01 ​ 14:33:48 UTC
 +
 + ​System Control Status = 0x03400000 ​
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    1054546 Bytes =  1 MB
 +   Load Address: 80000000
 +   Entry Point: ​ 80000000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/4
 +[    0.000000] SoC Type: Ralink RT3350 id:1 rev:2
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
 +[    0.000000] MIPS: machine is D-Link DIR-300 B1
 +[    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] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bys
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa8
 +[    0.000000] Kernel command line: console=ttyS0,​57600 rootfstype=squashfs,​jff2
 +[    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=00066ad0
 +[    0.000000] Readback ErrCtl register=00066ad0
 +[    0.000000] Memory: 29160k/​32768k available (2284k kernel code, 3608k reserv)
 +[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0,​ CPUs=1, Nodes=1
 +[    0.000000] NR_IRQS:256
 +[    0.000000] CPU Clock: 320MHz
 +[    0.000000] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
 +[    0.080000] pid_max: default: 32768 minimum: 301
 +[    0.080000] Mount-cache hash table entries: 512
 +[    0.090000] pinctrl core: initialized pinctrl subsystem
 +[    0.100000] NET: Registered protocol family 16
 +[    0.160000] bio: create slab <​bio-0>​ at 0
 +[    0.170000] rt2880_gpio 10000600.gpio:​ registering 24 gpios
 +[    0.180000] rt2880_gpio 10000600.gpio:​ registering 24 irq handlers
 +[    0.200000] Switching to clocksource MIPS
 +[    0.210000] NET: Registered protocol family 2
 +[    0.220000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.230000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.240000] TCP: Hash tables configured (established 512 bind 512)
 +[    0.260000] TCP: reno registered
 +[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.290000] NET: Registered protocol family 1
 +[    0.300000] rt-timer 10000100.timer:​ maximum frequncy is 6510Hz
 +[    0.360000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.380000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORI.
 +[    0.400000] msgmni has been set to 56
 +[    0.410000] io scheduler noop registered
 +[    0.410000] io scheduler deadline registered (default)
 +[    0.430000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 +[    0.460000] 10000c00.uartlite:​ ttyS0 at MMIO 0x10000c00 (irq = 20) is a 1655A
 +[    0.480000] console [ttyS0] enabled, bootconsole disabled
 +[    0.480000] console [ttyS0] enabled, bootconsole disabled
 +[    0.510000] 1f000000.cfi:​ Found 1 x16 devices at 0x0 in 16-bit bank. Manufac8
 +[    0.530000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.540000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    0.550000] number of CFI chips: 1
 +[    0.560000] 4 ofpart partitions found on MTD device 1f000000.cfi
 +[    0.570000] Creating 4 MTD partitions on "​1f000000.cfi":​
 +[    0.580000] 0x000000000000-0x000000030000 : "​u-boot"​
 +[    0.590000] 0x000000030000-0x000000040000 : "​devdata"​
 +[    0.610000] 0x000000040000-0x000000050000 : "​devconf"​
 +[    0.620000] 0x000000050000-0x000000400000 : "​firmware"​
 +[    0.640000] 0x000000151792-0x000000400000 : "​rootfs"​
 +[    0.650000] mtd: partition "​rootfs"​ must either start or end on erase block y
 +[    0.680000] mtd: device 4 (rootfs) set to be root filesystem
 +[    0.690000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=0x3700000
 +[    0.710000] 0x000000370000-0x000000400000 : "​rootfs_data"​
 +[    0.740000] eth0: done loading
 +[    0.750000] rt2880_wdt 10000120.watchdog:​ Initialized
 +[    0.760000] TCP: cubic registered
 +[    0.770000] NET: Registered protocol family 17
 +[    0.780000] Bridge firewalling registered
 +[    0.790000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.810000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
 +[    0.830000] Freeing unused kernel memory: 212K (802cb000 - 80300000)
 +procd: Console is alive
 +procd: - watchdog -
 +[    3.840000] usbcore: registered new interface driver usbfs
 +[    3.850000] usbcore: registered new interface driver hub
 +[    3.860000] usbcore: registered new device driver usb
 +[    3.890000] dwc_otg: version 2.72a 24-JUN-2008
 +[    3.900000] leds-gpio gpio-leds.4:​ pins are not configured from the driver
 +procd: - preinit -
 +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
 +jffs2 is not ready - marker found
 +procd: - early -
 +procd: - watchdog -
 +procd: - ubus -
 +procd: - init -
 +Please press Enter to activate this console.
 +[   ​11.310000] NET: Registered protocol family 10
 +[   ​11.340000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
 +[   ​11.370000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​11.400000] Loading modules backported from Linux version master-2014-05-22-a
 +[   ​11.420000] Backport generated by backports.git backports-20140320-37-g5c33d0
 +[   ​11.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​11.540000] xt_time: kernel timezone is -0000
 +[   ​11.600000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​11.670000] cfg80211: World regulatory domain updated:
 +[   ​11.680000] cfg80211: ​ DFS Master region: unset
 +[   ​11.680000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_ga)
 +[   ​11.700000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 )
 +[   ​11.720000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 )
 +[   ​11.740000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 )
 +[   ​11.750000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000)
 +[   ​11.770000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000)
 +[   ​11.790000] cfg80211: ​  ​(5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000)
 +[   ​11.800000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 )
 +[   ​11.820000] cfg80211: ​  ​(57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0)
 +[   ​11.900000] PPP generic driver version 2.4.2
 +[   ​11.910000] NET: Registered protocol family 24
 +[   ​11.970000] ieee80211 phy0: rt2x00_set_rt:​ Info - RT chipset 2872, rev 0200 d
 +[   ​11.990000] ieee80211 phy0: rt2x00_set_rf:​ Info - RF chipset 0005 detected
 +[   ​25.230000] jffs2_scan_eraseblock():​ End of filesystem marker found at 0x0
 +[   ​25.340000] jffs2_build_filesystem():​ unlocking the mtd device... done.
 +[   ​25.350000] jffs2_build_filesystem():​ erasing all blocks after the end markee
 +[   ​30.120000] device eth0 entered promiscuous mode
 +[   ​30.140000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​30.150000] br-lan: port 1(eth0.1) entered forwarding state
 +done.
 +[   ​30.180000] jffs2: notice: (862) jffs2_build_xattr_subsystem:​ complete build.
 +[   ​32.150000] br-lan: port 1(eth0.1) entered forwarding state
 +procd: - init complete -
 +
 +
 +
 +BusyBox v1.22.1 (2014-09-21 10:15:39 CEST) 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 (14.07, r42625)
 + ​-----------------------------------------------------
 +  * 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
 + ​-----------------------------------------------------
 +root@OpenWrt:/#​
 +</​file>​
 +
 +====== Ссылки ======
 +
 +http://​wiki.openwrt.org/​toh/​d-link/​dir-300revb
 +
 +http://​infodepot.wikia.com/​wiki/​D-Link_DIR-300_vB1
 +
 +
  
dir-300b1.txt · В останнє змінено: 2014/11/23 14:32 by wombat