version
This is an old revision of the document!
uboot版本
uboot的LOG中可以找到如下打印:
Widora by mango,V1.0.7
代表是1.0.7版本
Ralink UBoot Version: 4.3.0.0
表示该uboot基于联发科的4300版本构建
Linux内核版本
Linux内核解压缩完打印的第一句就可以找到linux版本:
[ 0.000000] Linux version 3.18.29 (mango@localhost) (gcc version 4.8.3 (Open7
Linux3.18.29版本
WIFI驱动版本
WIFI驱动作为一个独立加载的软件栈,有自己的版本:
[ 24.050000] |--------------------------------------------------------| [ 24.050000] |------------Widora wifi driver--version:1.2-------------| [ 24.060000] |Copyright 2016-2017 by YuanChenMang. All rights reserved| [ 24.070000] | This Driver licensing-only runs on Widora! | [ 24.070000] | Found bug? Please contact widora@qq.com , thanks! | [ 24.080000] |--------------------------------------------------------|
代表是1.2版本
[ 13.610000] PandoraBox MT76X8 AP Driver Version-4.1.0.0(May 17 2017 15:16:06.
表示该驱动基于Pandorabox的4.1.0.0版本构建
OpenWrt版本
_ ___ __ | | / (_)___/ /___ _________ _ | | /| / / / __ / __ \/ ___/ __ `/ | |/ |/ / / /_/ / /_/ / / / /_/ / |__/|__/_/\__,_/\____/_/ \__,_/ ----------------------------------------------------- CHAOS CALMER (Chaos Calmer, r49378) Version:0.1.7 by mango ----------------------------------------------------- * 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 -----------------------------------------------------
可以看到我们维护的版本是:0.1.7,而CHAOS CALMER则是OpenWrt的CC15.05代号,基于此版本构建。
完整启动LOG
Widora by mango,V1.0.7 Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fb4000 *********************** Watchdog Reset Occurred *********************** flash manufacture id: c2, device id 20 18 find flash: MX25L12805D *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 1024 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 128 MBytes Flash component: SPI Flash Date:Dec 26 2017 Time:20:59:50 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =128 Mbytes RESET MT7628 PHY!!!!!!MT7688 gpio init : wled and wdt by mango if you press the WPS button will automatically enter the Update mode 0 * * * 9 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. 5: Entr ALL LED test mode. 6: Entr Web failsafe mode. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-3.18.29 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1240442 Bytes = 1.2 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 128 Starting kernel ... [ 0.000000] Linux version 3.18.29 (mango@localhost) (gcc version 4.8.3 (Open7 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Widora-NEO [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff] [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bys [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jf2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0007cff8 [ 0.000000] Readback ErrCtl register=0007cff8 [ 0.000000] Memory: 126004K/131072K available (2727K kernel code, 139K rwdat) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource_of_init: no matching clocksources found [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070000] pinctrl core: initialized pinctrl subsystem [ 0.080000] NET: Registered protocol family 16 [ 0.100000] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.110000] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.110000] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.120000] vgaarb: loaded [ 0.120000] Switched to clocksource MIPS [ 0.130000] NET: Registered protocol family 2 [ 0.130000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.140000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.150000] TCP: reno registered [ 0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.170000] NET: Registered protocol family 1 [ 0.170000] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.190000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.190000] jffs2: version 2.2 (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c). [ 0.200000] msgmni has been set to 246 [ 0.220000] io scheduler noop registered [ 0.230000] io scheduler deadline registered (default) [ 0.230000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[336] [ 0.240000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[350] [ 0.250000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.250000] console [ttyS0] disabled [ 0.260000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baudA [ 0.270000] console [ttyS0] enabled [ 0.270000] console [ttyS0] enabled [ 0.270000] bootconsole [early0] disabled [ 0.270000] bootconsole [early0] disabled [ 0.280000] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = A [ 0.290000] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = A [ 0.300000] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.310000] m25p80 spi32766.0: found mx25l12805d, expected w25q128 [ 0.320000] m25p80 spi32766.0: mx25l12805d (16384 Kbytes) [ 0.320000] m25p80 spi32766.0: using chunked io [ 0.330000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.330000] Creating 4 MTD partitions on "spi32766.0": [ 0.340000] 0x000000000000-0x000000030000 : "u-boot" [ 0.350000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.350000] 0x000000040000-0x000000050000 : "factory" [ 0.360000] 0x000000050000-0x000001000000 : "firmware" [ 0.390000] 2 uimage-fw partitions found on MTD device firmware [ 0.400000] 0x000000050000-0x00000017edba : "kernel" [ 0.410000] 0x00000017edba-0x000001000000 : "rootfs" [ 0.410000] mtd: device 5 (rootfs) set to be root filesystem [ 0.420000] 1 squashfs-split partitions found on MTD device rootfs [ 0.420000] 0x000000640000-0x000001000000 : "rootfs_data" [ 0.430000] fbtft_of_value: buswidth = 8 [ 0.440000] fbtft_of_value: rotate = 0 [ 0.440000] fbtft_of_value: fps = 10 [ 0.440000] fbtft_of_value: txbuflen = 16 [ 1.230000] Console: switching to colour frame buffer device 16x20 [ 1.240000] graphics fb0: fb_st7735r frame buffer, 128x160, 40 KiB video memz [ 1.260000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq5 [ 1.270000] TCP: cubic registered [ 1.270000] NET: Registered protocol family 17 [ 1.280000] bridge: automatic filtering via arp/ip/ip6tables has been deprec. [ 1.290000] 8021q: 802.1Q VLAN Support v1.8 [ 1.300000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.310000] Freeing unused kernel memory: 212K (8035b000 - 80390000) [ 2.560000] init: Console is alive [ 4.910000] usbcore: registered new interface driver usbfs [ 4.920000] usbcore: registered new interface driver hub [ 4.920000] usbcore: registered new device driver usb [ 4.930000] reg_opt_init [ 4.940000] exFAT: Version 1.2.9 [ 4.980000] SCSI subsystem initialized [ 4.990000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.000000] ehci-platform: EHCI generic platform driver [ 5.160000] U2PHY P0 set SRCTRL calibration value: 6 [ 5.160000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.170000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bu1 [ 5.170000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.200000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.200000] hub 1-0:1.0: USB hub found [ 5.210000] hub 1-0:1.0: 1 port detected [ 5.210000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.220000] ohci-platform: OHCI generic platform driver [ 5.230000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.240000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bu2 [ 5.240000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.310000] hub 2-0:1.0: USB hub found [ 5.310000] hub 2-0:1.0: 1 port detected [ 5.330000] MTK MSDC device init. [ 5.370000] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.370000] sdhci: Secure Digital Host Controller Interface driver [ 5.380000] sdhci: Copyright(c) Pierre Ossman [ 5.380000] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.390000] usbcore: registered new interface driver usb-storage [ 5.630000] init: - preinit - [ 6.240000] rt305x-esw 10110000.esw: link changed 0x00 [ 6.370000] random: procd urandom read with 10 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 [ 9.680000] mount_root: loading kmods from internal overlay [ 10.090000] jffs2: notice: (456) jffs2_build_xattr_subsystem: complete build. [ 10.110000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.120000] block: extroot: not configured [ 10.210000] jffs2: notice: (453) jffs2_build_xattr_subsystem: complete build. [ 10.470000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.480000] block: extroot: not configured [ 10.480000] mount_root: switching to jffs2 overlay [ 10.510000] procd: - early - [ 11.270000] procd: - ubus - [ 12.280000] procd: - init - Please press Enter to activate this console. [ 13.310000] NET: Registered protocol family 10 [ 13.390000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.410000] i2c /dev entries driver [ 13.610000] PandoraBox MT76X8 AP Driver Version-4.1.0.0(May 17 2017 15:16:06. [ 13.650000] i2c-ralink 10000900.i2c: loaded [ 13.680000] Linux video capture interface: v2.00 [ 13.710000] Enable Ralink GDMA Controller Module [ 13.720000] GDMA IP Version=3 [ 13.750000] *******Enter codec_wm8960_i2c_probe******** [ 13.760000] soc-audio soc-audio: ASoC: machine MTK APSoC I2S should use snd_) [ 13.760000] wm8960 0-001a: No platform data supplied [ 13.770000] ****** wm8960_preinit ****** [ 14.280000] soc-audio soc-audio: wm8960-hifi <-> mt76xx-i2s mapping ok [ 14.290000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.320000] nf_conntrack version 0.5.0 (1972 buckets, 7888 max) [ 14.380000] usbcore: registered new interface driver uvcvideo [ 14.390000] USB Video Class driver (1.1.1) [ 14.420000] xt_time: kernel timezone is -0000 [ 14.440000] PPP generic driver version 2.4.2 [ 14.450000] NET: Registered protocol family 24 [ 19.730000] device eth0 entered promiscuous mode [ 19.790000] br-lan: port 1(eth0) entered forwarding state [ 19.790000] br-lan: port 1(eth0) entered forwarding state [ 21.790000] br-lan: port 1(eth0) entered forwarding state [ 23.920000] ===================================================== [ 23.920000] Channel 1 : Busy Time = 21849, Skip Channel = FALSE [ 23.930000] Channel 2 : Busy Time = 11012, Skip Channel = FALSE [ 23.930000] Channel 3 : Busy Time = 8873, Skip Channel = FALSE [ 23.940000] Channel 4 : Busy Time = 5601, Skip Channel = FALSE [ 23.950000] Channel 5 : Busy Time = 8448, Skip Channel = FALSE [ 23.950000] Channel 6 : Busy Time = 11624, Skip Channel = FALSE [ 23.960000] Channel 7 : Busy Time = 6848, Skip Channel = FALSE [ 23.960000] Channel 8 : Busy Time = 8716, Skip Channel = FALSE [ 23.970000] Channel 9 : Busy Time = 15633, Skip Channel = FALSE [ 23.980000] Channel 10 : Busy Time = 21951, Skip Channel = FALSE [ 23.980000] Channel 11 : Busy Time = 15756, Skip Channel = FALSE [ 23.990000] Channel 12 : Busy Time = 8200, Skip Channel = TRUE [ 23.990000] Channel 13 : Busy Time = 4956, Skip Channel = TRUE [ 24.000000] ===================================================== [ 24.010000] Rule 3 Channel Busy time value : Min Channel Busy ==> Select Ch [ 24.010000] Min Channel Busy = 5601 [ 24.020000] BW = 20 [ 24.050000] |--------------------------------------------------------| [ 24.050000] |------------Widora wifi driver--version:1.2-------------| [ 24.060000] |Copyright 2016-2017 by YuanChenMang. All rights reserved| [ 24.070000] | This Driver licensing-only runs on Widora! | [ 24.070000] | Found bug? Please contact widora@qq.com , thanks! | [ 24.080000] |--------------------------------------------------------| [ 24.860000] device ra0 entered promiscuous mode [ 24.860000] br-lan: port 2(ra0) entered forwarding state [ 24.870000] br-lan: port 2(ra0) entered forwarding state [ 26.870000] br-lan: port 2(ra0) entered forwarding state BusyBox v1.23.2 (2017-12-14 10:42:59 CST) built-in shell (ash) _ ___ __ | | / (_)___/ /___ _________ _ | | /| / / / __ / __ \/ ___/ __ `/ | |/ |/ / / /_/ / /_/ / / / /_/ / |__/|__/_/\__,_/\____/_/ \__,_/ ----------------------------------------------------- CHAOS CALMER (Chaos Calmer, r49378) Version:0.1.7 by mango ----------------------------------------------------- * 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 -----------------------------------------------------
version.1523513725.txt.gz · Last modified: (external edit)
