移远官网

EC200U的Linux移植问题

我在按照 KBA_EC200&UC200_Linux&Android_USB_driver_移植说明.docx 的操作进行移植后,并没在/dev里发现ttyUSB0,tyUSB1,tyUSB2。dmesg log中也没有。
这应该是什么原因导致呢?

[ 0.000000] pcpu-alloc: s34764 r8192 d22580 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rootwait rw rootfstype=ext4
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 493020K/524288K available (6144K kernel code, 240K rwdata, 1616K rodata, 1024K init, 153K bss, 14884K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0900000 - 0xc0a00000 (1024 kB)
.data : 0xc0a00000 - 0xc0a3c080 ( 241 kB)
.bss : 0xc0a3c080 - 0xc0a62544 ( 154 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] efuse mapped to e0800000
[ 0.000000] slcr mapped to e0802000
[ 0.000000] L2C: platform modifies aux control register: 0x72360000 → 0x72760000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x72360000 → 0x72760000
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
[ 0.000000] zynq_clock_init: clkc starts at e0802100
[ 0.000000] Zynq clock init
[ 0.000010] sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
[ 0.000028] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
[ 0.000054] Switching to timer-based delay loop, resolution 3ns
[ 0.000151] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
[ 0.000183] timer #0 at e080a000, irq=17
[ 0.000731] Console: colour dummy device 80x30
[ 0.000750] Calibrating delay loop (skipped), value calculated using timer frequency… 666.66 BogoMIPS (lpj=3333333)
[ 0.000766] pid_max: default: 32768 minimum: 301
[ 0.000905] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000916] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001466] CPU: Testing write buffer coherency: ok
[ 0.001662] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.040332] Setting up static identity map for 0x100000 - 0x100060
[ 0.060293] Hierarchical SRCU implementation.
[ 0.100293] smp: Bringing up secondary CPUs …
[ 0.170628] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.170741] smp: Brought up 1 node, 2 CPUs
[ 0.170754] SMP: Total of 2 processors activated (1333.33 BogoMIPS).
[ 0.170760] CPU: All CPU(s) started in SVC mode.
[ 0.171661] devtmpfs: initialized
[ 0.175971] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.176295] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.176315] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.177295] pinctrl core: initialized pinctrl subsystem
[ 0.178198] NET: Registered protocol family 16
[ 0.180449] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.181467] cpuidle: using governor menu
[ 0.191284] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.191296] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.191417] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0840000
[ 0.191796] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[ 0.192267] e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 28, base_baud = 6249999) is a xuartps
[ 0.557043] console [ttyPS0] enabled
[ 0.559790] e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 29, base_baud = 6249999) is a xuartps
[ 0.590974] XGpio: /amba_pl/gpio@41200000: registered, base is 1021
[ 0.597371] vgaarb: loaded
[ 0.599084] SCSI subsystem initialized
[ 0.601820] usbcore: registered new interface driver usbfs
[ 0.606055] usbcore: registered new interface driver hub
[ 0.610131] usbcore: registered new device driver usb
[ 0.614163] media: Linux media interface: v0.10
[ 0.617425] Linux video capture interface: v2.00
[ 0.621510] pps_core: LinuxPPS API ver. 1 registered
[ 0.625161] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.633043] PTP clock support registered
[ 0.635703] EDAC MC: Ver: 3.0.0
[ 0.640552] FPGA manager framework
[ 0.642872] fpga-region fpga-full: FPGA Region probed
[ 0.646846] Advanced Linux Sound Architecture Driver Initialized.
[ 0.652501] clocksource: Switched to clocksource arm_global_timer
[ 0.666678] NET: Registered protocol family 2
[ 0.670375] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.676210] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.681410] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.686607] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.691149] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.696283] NET: Registered protocol family 1
[ 0.699676] RPC: Registered named UNIX socket transport module.
[ 0.704362] RPC: Registered udp transport module.
[ 0.707750] RPC: Registered tcp transport module.
[ 0.711135] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.716292] PCI: CLS 0 bytes, default 64
[ 0.716783] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
[ 0.723608] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.731957] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.737774] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 0.744253] io scheduler noop registered
[ 0.746864] io scheduler deadline registered
[ 0.749873] io scheduler cfq registered (default)
[ 0.753376] io scheduler mq-deadline registered
[ 0.756593] io scheduler kyber registered
[ 0.761264] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.766697] dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[ 0.774500] xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
[ 0.789002] brd: module loaded
[ 0.796129] loop: module loaded
[ 0.800438] m25p80 spi0.0: failed to read ear reg
[ 0.803877] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 0.807297] 4 ofpart partitions found on MTD device spi0.0
[ 0.811482] Creating 4 MTD partitions on “spi0.0”:
[ 0.815094] 0x000000000000-0x000000500000 : “boot”
[ 0.819433] 0x000000500000-0x000000520000 : “bootenv”
[ 0.823987] 0x000000520000-0x000000fa0000 : “kernel”
[ 0.828412] 0x000000fa0000-0x000002000000 : “spare”
[ 0.833724] libphy: Fixed MDIO Bus: probed
[ 0.837342] CAN device driver interface
[ 0.841811] libphy: MACB_mii_bus: probed
[ 0.845033] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 31 (00:0a:35:00:1e:53)
[ 0.853699] RTL8211E Gigabit Ethernet e000b000.ethernet-ffffffff:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:01, irq=POLL)
[ 0.893191] libphy: MACB_mii_bus: probed
[ 0.896487] macb e000c000.ethernet eth1: Cadence GEM rev 0x00020118 at 0xe000c000 irq 32 (00:0a:35:00:11:55)
[ 0.905055] Generic PHY e000c000.ethernet-ffffffff:19: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000c000.ethernet-ffffffff:19, irq=POLL)
[ 0.917376] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 0.921894] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.927352] usbcore: registered new interface driver asix
[ 0.931504] usbcore: registered new interface driver ax88179_178a
[ 0.936368] usbcore: registered new interface driver cdc_ether
[ 0.940938] usbcore: registered new interface driver net1080
[ 0.945354] usbcore: registered new interface driver rndis_host
[ 0.950005] usbcore: registered new interface driver cdc_subset
[ 0.954681] usbcore: registered new interface driver zaurus
[ 0.959005] usbcore: registered new interface driver cdc_ncm
[ 0.963863] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 0.969080] ehci-pci: EHCI PCI platform driver
[ 0.972335] usbcore: registered new interface driver usb-storage
[ 0.977213] usbcore: registered new interface driver usbserial
[ 0.981779] usbcore: registered new interface driver option
[ 0.986106] usbserial: USB Serial support registered for GSM modem (1-port)
[ 0.992023] chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
[ 0.999822] ULPI transceiver vendor/product ID 0x0424/0x0007
[ 1.004186] Found SMSC USB3320 ULPI transceiver.
[ 1.007496] ULPI integrity check: passed.
[ 1.010658] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.014271] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.042533] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 1.047336] hub 1-0:1.0: USB hub found
[ 1.049801] hub 1-0:1.0: 1 port detected
[ 1.054739] i2c /dev entries driver
[ 1.058309] at24 0-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 1.069612] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 1.076090] cdns-i2c e0004000.i2c: 100 kHz mmio e0004000 irq 24
[ 1.081517] cdns-i2c e0005000.i2c: 100 kHz mmio e0005000 irq 25
[ 1.086609] IR NEC protocol handler initialized
[ 1.089827] IR RC5(x/sz) protocol handler initialized
[ 1.093587] IR RC6 protocol handler initialized
[ 1.096804] IR JVC protocol handler initialized
[ 1.100016] IR Sony protocol handler initialized
[ 1.103344] IR SANYO protocol handler initialized
[ 1.106735] IR Sharp protocol handler initialized
[ 1.110120] IR MCE Keyboard/mouse protocol handler initialized
[ 1.114655] IR XMP protocol handler initialized
[ 1.118313] xilinx-video amba_pl:xlnx_vipp: device registered
[ 1.124673] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at e0972000 with timeout 10s
[ 1.132016] EDAC MC: ECC not enabled
[ 1.134530] Xilinx Zynq CpuIdle Driver started
[ 1.138150] sdhci: Secure Digital Host Controller Interface driver
[ 1.143042] sdhci: Copyright(c) Pierre Ossman
[ 1.146081] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.212528] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
[ 1.258218] mmc0: new SDHC card at address 0001
[ 1.261750] mmcblk0: mmc0:0001 ASTC 7.44 GiB
[ 1.266886] mmcblk0: p1 p2
[ 1.272552] mmc1: SDHCI controller on e0101000.mmc [e0101000.mmc] using ADMA
[ 1.279559] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.284646] usbcore: registered new interface driver usbhid
[ 1.288944] usbhid: USB HID core driver
[ 1.293396] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[ 1.300057] NET: Registered protocol family 10
[ 1.304543] Segment Routing with IPv6
[ 1.306989] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.312228] NET: Registered protocol family 17
[ 1.315482] can: controller area network core (rev 20170425 abi 9)
[ 1.320404] NET: Registered protocol family 29
[ 1.323580] can: raw protocol (rev 20170425)
[ 1.326540] can: broadcast manager protocol (rev 20170425 t)
[ 1.330895] can: netlink gateway (rev 20170425) max_hops=1
[ 1.335438] Registering SWP/SWPB emulation handler
[ 1.340375] input: keys as /devices/soc0/keys/input/input0
[ 1.346180] rtc-pcf8563 0-0051: setting system clock to 2023-10-20 03:03:13 UTC (1697770993)
[ 1.353363] of_cfs_init
[ 1.354575] of_cfs_init: OK
[ 1.356816] ALSA device list:
[ 1.358489] No soundcards found.
[ 1.371610] mmc1: new high speed MMC card at address 0001
[ 1.376137] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[ 1.379514] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[ 1.384321] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[ 1.389083] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[ 1.394374] mmcblk1: p1 p2
[ 1.432550] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 1.635127] hub 1-1:1.0: USB hub found
[ 1.637970] hub 1-1:1.0: 4 ports detected
[ 1.788404] EXT4-fs (mmcblk0p2): recovery complete
[ 1.795735] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.802573] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.807394] devtmpfs: mounted
[ 1.812169] Freeing unused kernel memory: 1024K
[ 1.972547] usb 1-1.1: new full-speed USB device number 3 using ci_hdrc
[ 2.123218] usb 1-1.1: not running at top speed; connect to a high speed hub
[ 2.133518] cdc_ether 1-1.1:1.0 usb0: register ‘cdc_ether’ at usb-ci_hdrc.0-1.1, CDC Ethernet Device, 02:4b:b3:b9:eb:e5
[ 2.668676] udevd[850]: starting version 3.2.2
[ 2.832826] udevd[851]: starting eudev-3.2.2
[ 4.206397] EXT4-fs (mmcblk1p2): recovery complete
[ 4.209903] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.317938] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 4.780269] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 4.875268] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 5.708972] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 666.122768] macb e000b000.ethernet eth0: link up (1000/Full)
[ 666.127134] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 684.842700] macb e000b000.ethernet eth0: link down

option 已经加载了。
两个方法:

  1. 改option.c 将EC 200U的VID PID加进去。
    2.临时命令
    echo 2C7C 0901 FF > /sys/bus/usb-serial/drivers/option1/new_id

能发下相关的文档吗,使用的是EC200U-CN,我手里linux 移植文档只有这个。
KBA_EC200&UC200_Linux&Android_USB_driver_移植说明.zip (60.3 KB)