龙芯1C ls1c300b的openwrt以及安装过程

最近折腾完了龙芯1C300B的4.14内核,正好openwrt 19.07版本使用的内核为4.14,就突然想尝试下openwrt,折腾完了分享给大家。
下载地址
由于智龙V3.0的默认内存为32M,这里提供了两个版本的openwrt文件系统:32M基本系统以及64M完整系统
在这里插入图片描述

一、默认智龙32M内存的版本(ls1c-openwrt-32M-base-bin),内核、文件系统以及ipk安装包,在ls1c-openwrt-32M-base-bin文件夹下,tftpd和httpd工具请定位至此目录下操作
1.刷内核
mtd_erase /dev/mtd0
devcp tftp://192.168.101.2/vmlinuz /dev/mtd0
2.刷文件系统
mtd_erase /dev/mtd1
devcp tftp://192.168.101.2/openwrt_rootfs_ls1x.img /dev/mtd1 yaf nw
3.修改启动参数 参考如下 注意无需init参数
set append “console=ttyS2,115200 root=/dev/mtdblock1 rw rootfstype=yaffs2 video=ls1bfb:vga800x480-16@60 panic=10 noswap”
4.reboot进入openwrt,首次启动系统会慢一些,做一些初始化设置,1分钟左右后,内存占用以及ifconfig –a情况如下
在这里插入图片描述

说明:
系统默认的wan口为eth0,即板子自带的网口,默认配置为自动获取wan ip。内核已经编译了rtl8152 usb网卡,插入后为eth1。没有usb网卡也没关系,可以继续测试。

5.ifconfig –a 查看wan以及br-lan是否有ip,我这里是wan:192.168.101.233,br-lan(局域网ip):192.168.1.1
到这里,现在板子就是一个没有LUCI的路由器了。
下面操作可能会导致智龙板子系统crash,请多次尝试!!

6.下载安装LUCI组件,32M内存跑openwrt会有点痛苦,
6.1使用httpd工具hfs创建opkg源服务器
将ls1c-openwrt-32M-base-bin拖入hfs,并选择"real folder"
在这里插入图片描述

使用电脑访问网页测试httpd服务,并记下地址
http://192.168.1.101:86/ls1c-openwrt-32M-base-bin/
6.2 修改智龙系统openwrt的opkg源,替换自己的httpd网址
cat /etc/opkg/distfeeds.conf
我的如下
在这里插入图片描述

6.3 智龙系统openwrt与源同步
opkg update
6.4 智龙系统openwrt安装luci组件
opkg install luci-base uhttpd luci-theme-bootstrap luci-mod-status luci-mod-system haveged luci-mod-network luci-app-opkg luci-app-firewall luci-app-firewall kmod-libphy kmod-phy-realtek
说明:顺带编译了一些网卡驱动,安装完luci可在网页界面根据需要继续安装

6.5 没有usb网卡需要把wan口访问luci的防火墙红圈处设置下,红圈处改为ACCEPT!
vi /etc/config/firewall
在这里插入图片描述

6.6 现在可以访问luci页面了 无usb网卡并设置防火墙后,访问wan口ip,luci默认无密码
在这里插入图片描述

至于怎么玩openwrt,这里就不罗嗦了

二、我改造了智龙的内存为64M,请按照上述步骤操作完整版ls1c-openwrt-64M-full-bin路径下的文件即可,包含了较为完整的LUCI以及有关驱动。我这里测试用的usb hub+rtl8152有线网卡+rt5370无线网卡。输入重启即可
内存占用情况
在这里插入图片描述

64M截图若干
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

三、结语:
1.没有安装luci组件的测速结果如下,性能真感人_,话说1系列的QFP或BGA封装的 CPU性能太弱,要能达到类似于MT7620或MT7621的性能就好了。测速如下

在这里插入图片描述

2.为什么32M不编译成这样?内存太小,初始化直接就挂!基本系统初始化没问题,安装一些基本的luci组件运气好的话,也能稳定运行!_
3. 64M Kernel boot Msg如下
CPU:LS1C300B
sdram.csize:4K error, now try 2K
CPU:LS1C300B
sdram.csize:2K error, now try 1K
CPU:LS1C300B
msize=0x04000000
NAND detect
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 917 at 0x072a0000
in envinit
NVRAM@801f93c0 nvram pos:0x56000 naram_bak pos:0x6f000
80100000: memory between 801f7000-80200000 is already been allocated,heap is already above this point
Creat MTD partitions on “ls1x-nand”: name=“mtd0(kernel)” offset=0Byte size=14680064Byte
Creat MTD partitions on “ls1x-nand”: name=“mtd1(rootfs)” offset=14680064Byte size=104857600Byte
Creat MTD partitions on “ls1x-nand”: name=“mtd2(data)” offset=119537664Byte size=14680064Byte
Creat MTD partitions on “spi-flash”: name=“mtd3(pmon)” offset=0Byte size=524288Byte
Creat MTD partitions on “spi-flash”: name=“mtd4(nvram)” offset=520192Byte size=4096Byte
in fb_init
cfb_console init, fb=0xa3108000
in configure
mainbus0 (root)
localbus0 at mainbus0
syn0 at localbus0
phy id = 181 b8b1
in if attach
in sdcard match.
sdcard0 at localbus0
in sdcard attach.
ohci0 at localbus0
usb lohci init
OHCI 83283c00 initialized ok
drive at ohci0 devnum 3, Product USB 10/100 LAN
not configured
drive at ohci0 devnum 4, Product 802.11 n WLAN
not configured
drive at ohci0 devnum 2, Product USB 2.0 Hub
not configured
drive at ohci0 devnum 1, Product OHCI Root Hub
not configured
loopdev0 at mainbus0
out configure
devconfig done.
network configure ‘syn0:192.168.101.16’
bootp=8000bbb8
Bus Mode Reg after reset: 0x00020101
Version = 0x1237
MacAddr = FE:FF:FF:FF:FF:FF

Configuration [FCR,EL,NET]
Git:
Commit Id:
Commit Date: 2022-07-15 00:00:00
MakeTime: 2022-07-15 18:41:51 +0800.
Supported loaders [txt, srec, elf, bin]
Supported filesystems [sdcard, mtd, net, fs/yaffs2, fat, fs, disk, socket, tty, ram]
This software may be redistributed under the BSD copyright.
Copyright 2000-2002, Opsycon AB, Sweden.
Copyright 2005, ICT CAS.
CPU Loongson 1C300 OpenLoongson @ 252.00 MHz / Bus @ 126.00 MHz
Memory size 64 MB ( 64 MB Low memory, 0 MB High memory) .
Primary Instruction cache size 16kb (32 line, 4 way)
Primary Data cache size 16kb (32 line, 4 way)

BEV in SR set to zero.
Press to execute loading image:mtd0
Press any other key to abort.
00
Loading file: mtd0 (elf)
Attempt to read non page aligned data
0x80840000/3375184 + 0x80b78050/5251104(z) Attempt to read non page aligned data
+
Entry address is 80840000
g console=ttyS2,115200 root=/dev/mtdblock1 rw rootfstype=yaffs2 video=ls1bfb:vga800xx480-16@60 panic=10 noswap
zero at v0 v1 a0 a1 a2 a3
00000000 00000000 00000000 00000000 00000009 a30ffb20 a30ffb48 800af104
t0 t1 t2 t3 t4 t5 t6 t7
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
s0 s1 s2 s3 s4 s5 s6 s7
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
t8 t9 k0 k1 gp sp s8 ra
00000000 00000000 00000000 00000000 00000000 a30ffb00 00000000 8006b720
[ 0.000000] Linux version 4.14.285 (dstling@debian-dst) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11431-83b0e20711)) #0 PREEMPT Sat Jun 18 20:14:29 2022
[ 0.000000] memsize=64MB, highmemsize=0MB
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00004220 (Loongson 1C)
[ 0.000000] FPU revision is: 00330501
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS2,115200 root=/dev/mtdblock1 rw rootfstype=yaffs2 video=ls1bfb:vga800xx480-16@60 panic=10 noswap mtdparts=ls1x-nand:14M@0(kernel),100M@14M(rootfs),14M@114M(data);spi-flash:512K@0(pmon),4K@520192(nvram)
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Cache parity protection disabled
[ 0.000000] Memory: 56284K/65536K available (5712K kernel code, 234K rwdata, 1240K rodata, 228K init, 179K bss, 9252K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 320
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 15168733708 ns
[ 0.000041] sched_clock: 32 bits at 126MHz, resolution 7ns, wraps every 17043521020ns
[ 0.008534] Console: colour dummy device 80x25
[ 0.013218] Calibrating delay loop… 250.62 BogoMIPS (lpj=501248)
[ 0.051776] pid_max: default: 32768 minimum: 301
[ 0.057251] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.064054] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.079870] Hierarchical SRCU implementation.
[ 0.090485] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.101782] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.113632] NET: Registered protocol family 16
[ 0.146345] set gpio2,fun2,addr=[0xbfd011d0] 00000000 | 00000004 = 00000004
[ 0.162828] set gpio3,fun2,addr=[0xbfd011d0] 00000004 | 00000008 = 0000000c
[ 0.479961] SCSI subsystem initialized
[ 0.495198] usbcore: registered new interface driver usbfs
[ 0.503395] usbcore: registered new interface driver hub
[ 0.510763] usbcore: registered new device driver usb
[ 0.520599] pps_core: LinuxPPS API ver. 1 registered
[ 0.527520] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.538002] PTP clock support registered
[ 0.555511] clocksource: Switched to clocksource MIPS
[ 0.717150] NET: Registered protocol family 2
[ 0.724727] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.734629] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.742013] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.748717] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.756059] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.762166] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.769569] NET: Registered protocol family 1
[ 0.776669] RPC: Registered named UNIX socket transport module.
[ 0.783008] RPC: Registered udp transport module.
[ 0.787883] RPC: Registered tcp transport module.
[ 0.792710] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.813312] Crashlog allocated RAM at address 0x3f00000
[ 0.821797] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 1.064886] io scheduler noop registered
[ 1.069486] io scheduler deadline registered
[ 1.077230] io scheduler cfq registered (default)
[ 1.083924] io scheduler mq-deadline registered
[ 1.088815] io scheduler kyber registered
[ 1.108946] Warning: Resolution is out of range.MAX resolution is 1920x1080@60Hz
[ 1.133645] VESA:800x600-16@60
[ 1.164624] Console: switching to colour frame buffer device 100x37
[ 1.231078] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.255055] serial8250.0: ttyS0 at MMIO 0x1fe40000 (irq = 10, base_baud = 7875000) is a 16550A
[ 1.268308] serial8250.0: ttyS1 at MMIO 0x1fe44000 (irq = 12, base_baud = 7875000) is a 16550A
[ 1.282487] serial8250.0: ttyS2 at MMIO 0x1fe48000 (irq = 13, base_baud = 7875000) is a 16550A
[ 1.293473] console [ttyS2] enabled
[ 1.293473] console [ttyS2] enabled
[ 1.300879] bootconsole [early0] disabled
[ 1.300879] bootconsole [early0] disabled
[ 1.402066] loop: module loaded
[ 1.414479] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.426119] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 1.433789] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 1.439310] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.447935] Scanning device for bad blocks
[ 1.661235] Bad eraseblock 917 at 0x0000072a0000
[ 1.690414] 3 cmdlinepart partitions found on MTD device ls1x-nand
[ 1.697077] Creating 3 MTD partitions on “ls1x-nand”:
[ 1.702460] 0x000000000000-0x000000e00000 : “kernel”
[ 1.720249] 0x000000e00000-0x000007200000 : “rootfs”
[ 1.737474] mtd: device 1 (rootfs) set to be root filesystem
[ 1.745007] mtdsplit: no squashfs found in “rootfs”
[ 1.753187] 0x000007200000-0x000008000000 : “data”
[ 1.774462] ls1x_spi_probe hw->clk rate:126000000.
[ 1.796867] m25p80 spi0.0: w25x40 (512 Kbytes)
[ 1.801893] 2 cmdlinepart partitions found on MTD device spi-flash
[ 1.808553] Creating 2 MTD partitions on “spi-flash”:
[ 1.813942] 0x000000000000-0x000000080000 : “pmon”
[ 1.831352] 0x00000007f000-0x000000080000 : “nvram”
[ 1.851199] spi_ls1x spi_ls1x.0: base bfe80000, irq -1
[ 1.862223] stmmac - user ID: 0x12, Synopsys ID: 0x37
[ 1.869886] stmmaceth stmmaceth.0: Ring mode enabled
[ 1.875450] stmmaceth stmmaceth.0: DMA HW capability register supported
[ 1.883380] stmmaceth stmmaceth.0: Normal descriptors
[ 1.888974] stmmaceth stmmaceth.0 (unnamed net_device) (uninitialized): device MAC address fe:ff:ff:ff:ff:ff
[ 1.899286] stmmaceth stmmaceth.0: stmmac_dvr_probe: warning: maxmtu having invalid value (0)
[ 1.908089] stmmaceth stmmaceth.0: Enable RX Mitigation via HW Watchdog Timer
[ 1.934692] mdio_bus stmmac-0:13: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:13, irq=POLL)
[ 1.954648] usbcore: registered new interface driver r8152
[ 1.962311] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.969389] ehci-platform: EHCI generic platform driver
[ 1.975444] ehci-platform ehci-platform: EHCI Host Controller
[ 1.982705] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 1.991860] ehci-platform ehci-platform: irq 40, io mem 0x1fe20000
[ 2.011714] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 2.020031] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.027145] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.034639] usb usb1: Product: EHCI Host Controller
[ 2.039786] usb usb1: Manufacturer: Linux 4.14.285 ehci_hcd
[ 2.045615] usb usb1: SerialNumber: ehci-platform
[ 2.054439] hub 1-0:1.0: USB hub found
[ 2.060587] hub 1-0:1.0: 1 port detected
[ 2.071132] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 2.080781] ohci-platform: OHCI generic platform driver
[ 2.086927] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 2.095948] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 2.104780] ohci-platform ohci-platform: irq 41, io mem 0x1fe28000
[ 2.174610] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.181735] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.189222] usb usb2: Product: Generic Platform OHCI controller
[ 2.195405] usb usb2: Manufacturer: Linux 4.14.285 ohci_hcd
[ 2.202189] usb usb2: SerialNumber: ohci-platform
[ 2.211114] hub 2-0:1.0: USB hub found
[ 2.217224] hub 2-0:1.0: 1 port detected
[ 2.233354] usbcore: registered new interface driver usb-storage
[ 2.244116] ls1x-toy ls1x-toy.0: rtc core: registered ls1x-toy as rtc0
[ 2.254741] i2c /dev entries driver
[ 2.278209] ls1x-wdt ls1x-wdt: Loongson1 Watchdog driver registered
[ 2.294846] usbcore: registered new interface driver usbhid
[ 2.302314] usbhid: USB HID core driver
[ 2.323253] NET: Registered protocol family 10
[ 2.328457] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 2.354251] Segment Routing with IPv6
[ 2.360564] NET: Registered protocol family 17
[ 2.393962] UBI error: no valid UBI magic found inside mtd2
[ 2.401375] ls1x-toy ls1x-toy.0: hctosys: unable to read the hardware clock
[ 2.412949] yaffs: dev is 32505857 name is “mtdblock1” rw
[ 2.419250] yaffs: passed flags “”
[ 2.498976] usb 1-1: New USB device found, idVendor=14cd, idProduct=8601
[ 2.506673] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 2.515198] usb 1-1: Product: USB 2.0 Hub
[ 2.521528] usb 1-1: Manufacturer: USB Device
[ 2.541986] hub 1-1:1.0: USB hub found
[ 2.552706] hub 1-1:1.0: 4 ports detected
[ 2.589644] VFS: Mounted root (yaffs2 filesystem) on device 31:1.
[ 2.598770] Freeing unused kernel memory: 228K
[ 2.603741] This architecture does not have kernel memory protection.
[ 2.855824] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 2.977662] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=8152
[ 2.985348] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.993664] usb 1-1.1: Product: USB 10/100 LAN
[ 3.000054] usb 1-1.1: Manufacturer: Realtek
[ 3.005569] usb 1-1.1: SerialNumber: 00E04C360BA9
[ 3.119900] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[ 3.197003] init: Console is alive
[ 3.202367] init: - watchdog -
[ 3.264871] usb 1-1.4: New USB device found, idVendor=148f, idProduct=5370
[ 3.272616] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.280883] usb 1-1.4: Product: 802.11 n WLAN
[ 3.286321] usb 1-1.4: Manufacturer: Ralink
[ 3.291437] usb 1-1.4: SerialNumber: 1.0
[ 3.323912] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[ 3.632057] usb 1-1.1: device descriptor read/64, error -71
[ 3.940309] r8152 1-1.1:1.0 eth1: v1.09.9
[ 4.167108] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.240874] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.261107] init: - preinit -
[ 5.268678] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.442811] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.602769] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.800258] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
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.373981] mount_root: mounting /dev/root
[ 9.396669] urandom-seed: Seeding with /etc/urandom.seed
[ 9.637718] procd: - early -
[ 9.641897] procd: - watchdog -
[ 11.245517] procd: - watchdog -
[ 11.251276] procd: - ubus -
[ 11.313469] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.408785] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.417796] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.433440] procd: - init -
Please press Enter to activate this console.
[ 12.442096] urandom_read_iter: 5 callbacks suppressed
[ 12.442140] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.498683] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.506842] random: ubus: uninitialized urandom read (4 bytes read)
[ 13.664797] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.861881] ip6_tables: © 2000-2006 Netfilter Core Team
[ 13.977672] Loading modules backported from Linux version v4.19.237-0-ga6e4a1818efa
[ 13.995694] Backport generated by backports.git v4.19.237-1-0-gffb89fd9
[ 14.018464] ip_tables: © 2000-2006 Netfilter Core Team
[ 14.055391] lib80211: common routines for IEEE802.11 drivers
[ 14.086198] lib80211_crypt_tkip: Unknown symbol wireless_send_event (err 0)
[ 14.160511] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 14.169229] urngd: v1.0.2 started.
[ 14.651380] xt_time: kernel timezone is -0000
[ 14.956171] random: crng init done
[ 15.039379] PPP generic driver version 2.4.2
[ 15.057685] NET: Registered protocol family 24
[ 15.099065] usbcore: registered new interface driver rt73usb
[ 15.122366] usbcore: registered new interface driver zd1211rw
[ 15.259734] usb 1-1.4: reset high-speed USB device number 4 using ehci-platform
[ 15.388637] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 15.489227] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 15.555434] usbcore: registered new interface driver rt2800usb
[ 15.580626] lib80211_crypt_tkip: Unknown symbol wireless_send_event (err 0)
[ 15.597182] kmodloader: 1 module could not be probed
[ 15.608569] kmodloader: - lib80211_crypt_tkip - 0

BusyBox v1.30.1 () built-in shell (ash)


| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|
_____|| |
||||___||| |____|
|
| W I R E L E S S F R E E D O M

OpenWrt 19.07-SNAPSHOT, r11431-83b0e20711

=== WARNING! =====================================
There is no root password defined on this device!
Use the “passwd” command to set up a new password
in order to prevent unauthorized SSH logins.

root@OpenWrt:/# [ 54.760966] br-lan: port 1(eth1) entered blocking state
[ 54.775779] br-lan: port 1(eth1) entered disabled state
[ 54.803917] device eth1 entered promiscuous mode
[ 54.864994] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 55.316476] Generic PHY stmmac-0:13: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:13, irq=POLL)
[ 55.434009] stmmaceth stmmaceth.0 eth0: RX IPC Checksum Offload disabled
[ 55.508101] stmmaceth stmmaceth.0 eth0: No MAC Management Counters available
[ 55.560023] stmmaceth stmmaceth.0 eth0: PTP not supported by HW
[ 55.674871] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 56.625404] stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 56.639934] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 71.014347] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file ‘rt2870.bin’
[ 71.068459] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[ 72.497197] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 72.645747] br-lan: port 2(wlan0) entered blocking state
[ 72.687885] br-lan: port 2(wlan0) entered disabled state
[ 72.730108] device wlan0 entered promiscuous mode
[ 73.522837] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 73.537383] br-lan: port 2(wlan0) entered blocking state
[ 73.543258] br-lan: port 2(wlan0) entered forwarding state
[ 73.605080] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

root@OpenWrt:/# free
total used free shared buff/cache available
Mem: 56512 17456 25760 0 13296 20900
Swap: 0 0 0
root@OpenWrt:/# ifconfig -a
br-lan Link encap:Ethernet HWaddr 00:E0:4C:36:0B:A9
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd98:63c3:2bf0:4::1/62 Scope:Global
inet6 addr: fe80::2e0:4cff:fe36:ba9/64 Scope:Link
inet6 addr: fd09:bc1d:434d::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:11247 (10.9 KiB)

eth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet addr:192.168.101.233 Bcast:192.168.101.255 Mask:255.255.255.0
inet6 addr: fd98:63c3:2bf0::726/128 Scope:Global
inet6 addr: fd98:63c3:2bf0:0:fcff:ffff:feff:ffff/64 Scope:Global
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:108 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9904 (9.6 KiB) TX bytes:13427 (13.1 KiB)
Interrupt:43

eth1 Link encap:Ethernet HWaddr 00:E0:4C:36:0B:A9
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3426 (3.3 KiB) TX bytes:3426 (3.3 KiB)

wlan0 Link encap:Ethernet HWaddr 7C:DD:90:A2:09:A0
inet6 addr: fe80::7edd:90ff:fea2:9a0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:14589 (14.2 KiB)

root@OpenWrt:/#

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

卫士斯基

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值