wrtnode 2p按照要求重刷了usb摄像头固件,可刷完后ls /dev里还是没有video选项

按照文档 http://wiki.wrtnode.cc/index.php?title=%E6%B7%BB%E5%8A%A0%E7%9B%B8%E5%85%B3USB%E8%AE%BE%E5%A4%87%EF%BC%883G%E7%BD%91%E5%8D%A1%E3%80%81U%E7%9B%98%E3%80%81usb%E6%91%84%E5%83%8F%E5%A4%B4%EF%BC%89#.E6.8C.82.E8.BD.BDusb.E6.91.84.E5.83.8F.E5.A4.B4
 
重刷了usb摄像头固件:openwrt-ramips-mt7628-wrtnode2p-squashfs-sysupgrade.bin
 
可ls /dev里还是没有video0?
 
什么原因呢?
 
 
已邀请:

YIWA

赞同来自:

内核日志:
 
[    3.970000] usbcore: registered new interface driver usbfs
[    3.970000] usbcore: registered new interface driver hub
[    3.980000] usbcore: registered new device driver usb
[    3.990000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.000000] ehci-platform: EHCI generic platform driver
[    4.170000] U2PHY P0 set SRCTRL calibration value: 6
[    4.170000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.180000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.180000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.210000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.210000] usb usb1: no of_node; not parsing pinctrl DT
[    4.210000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    4.210000] hub 1-0:1.0: USB hub found
[    4.220000] hub 1-0:1.0: 1 port detected
[    4.220000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.230000] ohci-platform: OHCI generic platform driver
[    4.240000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.240000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.250000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.320000] usb usb2: no of_node; not parsing pinctrl DT
[    4.320000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    4.320000] hub 2-0:1.0: USB hub found
[    4.320000] hub 2-0:1.0: 1 port detected
[    4.520000] init: - preinit -
[    4.550000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    4.980000] usb 1-1: no of_node; not parsing pinctrl DT

xzmu - 10w

赞同来自:

你自己编译的固件?你日志给多一些也没事。。你这个日志太少了,不具有诊断性

YIWA

赞同来自:

感谢回复
 
对,固件是自己编译的。从github clone下来,然后make menu选了几项(完全按照官方文档)。固件刷完后,ls /dev 看不到video0。以为自己弄错了什么地方。可反复搞了一下午,还是如此。所以在此求解。以下是完整的内核日志,感谢!
 
[    0.000000] Linux version 3.18.29 (office-2-ubuntu@office2ubuntu-virtual-machine) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Tue Apr 16 17:15:58 CST 2019
[    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 WRTnode2P
[    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] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 802fe0d0, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    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=0002bbd9
[    0.000000] Readback ErrCtl register=0002bbd9
[    0.000000] Memory: 126340K/131072K available (2514K kernel code, 126K rwdata, 516K rodata, 160K init, 186K bss, 4732K reserved)
[    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: 575MHz
[    0.000000] clocksource_of_init: no matching clocksources found
[    0.050000] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    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.090000] rt2880-pinmux pinctrl: try to register 47 pins ...
[    0.090000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.090000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.090000] pinctrl core: add 3 pinmux maps
[    0.090000] rt2880-pinmux pinctrl: found group selector 4 for i2c
[    0.090000] rt2880-pinmux pinctrl: found group selector 14 for gpio
[    0.090000] rt2880-pinmux pinctrl: found group selector 19 for p2led_an
[    0.090000] rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
[    0.090000] rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
[    0.090000] rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
[    0.090000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
[    0.090000] rt2880-pinmux pinctrl: failed to lookup the sleep state
[    0.190000] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000
[    0.340000] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[    0.350000] mt7620-pci: probe of 10140000.pcie failed with error -1
[    0.360000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.370000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.370000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.380000] Switched to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.390000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.400000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP: reno registered
[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    0.420000] PCI: CLS 0 bytes, default 32
[    0.420000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.430000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.450000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.470000] msgmni has been set to 246
[    0.470000] io scheduler noop registered
[    0.470000] io scheduler deadline registered (default)
[    0.480000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[336]
[    0.490000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[350]
[    0.490000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.500000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.500000] pinctrl core: add 1 pinmux maps
[    0.500000] rt2880-pinmux pinctrl: found group selector 10 for uart0
[    0.500000] rt2880-pinmux pinctrl: request pin 12 (io12) for 10000c00.uartlite
[    0.500000] rt2880-pinmux pinctrl: request pin 13 (io13) for 10000c00.uartlite
[    0.500000] console [ttyS0] disabled
[    0.500000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.510000] console [ttyS0] enabled
[    0.520000] bootconsole [early0] disabled
[    0.530000] pinctrl core: add 1 pinmux maps
[    0.530000] rt2880-pinmux pinctrl: found group selector 3 for uart1
[    0.530000] rt2880-pinmux pinctrl: request pin 45 (io45) for 10000d00.uart1
[    0.530000] rt2880-pinmux pinctrl: request pin 46 (io46) for 10000d00.uart1
[    0.530000] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[    0.540000] pinctrl core: add 1 pinmux maps
[    0.540000] rt2880-pinmux pinctrl: found group selector 8 for spi
[    0.540000] rt2880-pinmux pinctrl: request pin 7 (io7) for 10000b00.spi
[    0.540000] rt2880-pinmux pinctrl: request pin 8 (io8) for 10000b00.spi
[    0.540000] rt2880-pinmux pinctrl: request pin 9 (io9) for 10000b00.spi
[    0.540000] rt2880-pinmux pinctrl: request pin 10 (io10) for 10000b00.spi
[    0.540000] MT7628/7688 SPI Driver By WRTnode Team !
[    0.540000] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.550000] m25p80 spi32766.0: found w25q128, expected w25q256
[    0.560000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.560000] m25p80 spi32766.0: using chunked io
[    0.570000] 4 ofpart partitions found on MTD device spi32766.0
[    0.570000] Creating 4 MTD partitions on "spi32766.0":
[    0.580000] 0x000000000000-0x000000030000 : "u-boot"
[    0.590000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.590000] 0x000000040000-0x000000050000 : "factory"
[    0.600000] 0x000000050000-0x000002000000 : "firmware"
[    0.600000] mtd: partition "firmware" extends beyond the end of device "spi32766.0" -- size truncated to 0xfb0000
[    0.680000] 2 uimage-fw partitions found on MTD device firmware
[    0.680000] 0x000000050000-0x00000016611a : "kernel"
[    0.690000] 0x00000016611a-0x000001000000 : "rootfs"
[    0.690000] mtd: device 5 (rootfs) set to be root filesystem
[    0.700000] 1 squashfs-split partitions found on MTD device rootfs
[    0.710000] 0x000000370000-0x000001000000 : "rootfs_data"
[    0.720000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.730000] mt7621_wdt 10000120.watchdog: Initialized
[    0.740000] TCP: cubic registered
[    0.740000] NET: Registered protocol family 17
[    0.750000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.760000] 8021q: 802.1Q VLAN Support v1.8
[    0.780000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.780000] Freeing unused kernel memory: 160K (80318000 - 80340000)
[    2.520000] init: Console is alive
[    2.520000] init: - watchdog -
[    3.970000] usbcore: registered new interface driver usbfs
[    3.980000] usbcore: registered new interface driver hub
[    3.980000] usbcore: registered new device driver usb
[    3.990000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.000000] ehci-platform: EHCI generic platform driver
[    4.180000] U2PHY P0 set SRCTRL calibration value: 6
[    4.180000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.190000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.190000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.220000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.220000] usb usb1: no of_node; not parsing pinctrl DT
[    4.220000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    4.220000] hub 1-0:1.0: USB hub found
[    4.230000] hub 1-0:1.0: 1 port detected
[    4.230000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.240000] ohci-platform: OHCI generic platform driver
[    4.250000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.250000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.260000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.330000] usb usb2: no of_node; not parsing pinctrl DT
[    4.330000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    4.330000] hub 2-0:1.0: USB hub found
[    4.330000] hub 2-0:1.0: 1 port detected
[    4.520000] init: - preinit -
[    5.290000] rt305x-esw 10110000.esw: link changed 0x00
[    5.340000] random: procd urandom read with 8 bits of entropy available
[    8.810000] jffs2: notice: (319) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.830000] mount_root: switching to jffs2 overlay
[    8.860000] procd: - early -
[    8.870000] procd: - watchdog -
[    9.780000] procd: - ubus -
[   10.790000] procd: - init -
[   11.490000] NET: Registered protocol family 10
[   11.500000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.520000] Ralink/MTK WiFi EEPROM API Build for MT7620. 
[   11.570000] WRTnode AP Driver version: 4.1.0.0
[   11.580000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.600000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
[   11.670000] xt_time: kernel timezone is -0000
[   11.690000] PPP generic driver version 2.4.2
[   11.700000] NET: Registered protocol family 24
[   16.680000] device eth0.1 entered promiscuous mode
[   16.680000] device eth0 entered promiscuous mode
[   16.750000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   17.180000] br-lan: port 1(eth0.1) entered forwarding state
[   17.190000] br-lan: port 1(eth0.1) entered forwarding state
[   17.190000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   17.340000] EEPROM:Read from [factory] offset 0x0,length 0x400.
[   19.190000] br-lan: port 1(eth0.1) entered forwarding state
[   20.400000]  ch1 bssid=4c:d1:a1:78:04:c9
[   20.400000]  ch1 bssid=4c:d1:a1:78:04:c5
[   20.400000]  ch1 bssid=4c:d1:a1:78:04:c4
[   20.410000]  ch4 bssid=84:a9:c4:25:72:84
[   20.410000]  ch5 bssid=18:69:da:77:1e:ee
[   20.410000]  ch6 bssid=0c:70:4a:ca:13:d8
[   20.420000]  ch6 bssid=f4:83:cd:5f:b5:9b
[   20.420000]  ch6 bssid=9c:a6:15:ad:ac:0d
[   20.430000]  ch7 bssid=78:11:dc:35:da:5e
[   20.430000]  ch8 bssid=f0:2f:a7:e4:82:e4
[   20.430000]  ch8 bssid=38:21:87:31:5a:b7
[   20.440000]  ch9 bssid=70:89:cc:8f:01:72
[   20.440000]  ch11 bssid=78:44:fd:9a:cf:f9
[   20.450000] =====================================================
[   20.450000] Channel 1 : Dirty = 314, False CCA = 0, Busy Time = 9024, Skip Channel = FALSE
[   20.460000] Channel 2 : Dirty = 208, False CCA = 0, Busy Time = 8451, Skip Channel = FALSE
[   20.470000] Channel 3 : Dirty = 236, False CCA = 0, Busy Time = 2978, Skip Channel = FALSE
[   20.480000] Channel 4 : Dirty = 322, False CCA = 0, Busy Time = 3571, Skip Channel = FALSE
[   20.490000] Channel 5 : Dirty = 354, False CCA = 0, Busy Time = 3217, Skip Channel = FALSE
[   20.500000] Channel 6 : Dirty = 382, False CCA = 0, Busy Time = 7494, Skip Channel = FALSE
[   20.500000] Channel 7 : Dirty = 330, False CCA = 0, Busy Time = 4811, Skip Channel = FALSE
[   20.510000] Channel 8 : Dirty = 366, False CCA = 0, Busy Time = 1901, Skip Channel = FALSE
[   20.520000] Channel 9 : Dirty = 282, False CCA = 0, Busy Time = 1713, Skip Channel = FALSE
[   20.530000] Channel 10 : Dirty = 204, False CCA = 0, Busy Time = 1925, Skip Channel = FALSE
[   20.540000] Channel 11 : Dirty = 166, False CCA = 0, Busy Time = 2367, Skip Channel = FALSE
[   20.550000] =====================================================
[   20.550000] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 11 
[   20.560000] Min Dirty = 166
[   20.560000] ExChannel = 0 , 0
[   20.570000] BW        = 20
[   20.600000] IPv6: ADDRCONF(NETDEV_UP): apcli0: link is not ready
[   21.130000] IPv6: ADDRCONF(NETDEV_UP): apcli0: link is not ready
[   24.020000] device ra0 entered promiscuous mode
[   24.020000] br-lan: port 2(ra0) entered forwarding state
[   24.030000] br-lan: port 2(ra0) entered forwarding state
[   26.030000] br-lan: port 2(ra0) entered forwarding state
[   59.000000] random: nonblocking pool is initialized
 

要回复问题请先登录注册