您尚未登录。

楼主 # 2024-12-27 10:10:23

wdawd
会员
注册时间: 2023-12-19
已发帖子: 7
积分: 17

V3S nor flash 接入4G模块 配置menuconfig 没有ttyUSB描述符,但是又有USB0网卡这个问题怎么解决

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 26 2024 - 01:19:55 +0000) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dfffd9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero+ (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #23 SMP Fri Dec 27 09:31:57 CST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55060K/65536K available (6144K kernel code, 285K rwdata, 1676K rodata, 1024K init, 252K bss, 10476K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000201] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000444] Console: colour dummy device 80x30
[    0.000497] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000515] pid_max: default: 32768 minimum: 301
[    0.000676] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000693] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001493] CPU: Testing write buffer coherency: ok
[    0.001999] /cpus/cpu@0 missing clock-frequency property
[    0.002029] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002815] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003027] rcu: Hierarchical SRCU implementation.
[    0.003553] smp: Bringing up secondary CPUs ...
[    0.003575] smp: Brought up 1 node, 1 CPU
[    0.003585] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003592] CPU: All CPU(s) started in SVC mode.
[    0.004656] devtmpfs: initialized
[    0.008171] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008484] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008514] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008757] pinctrl core: initialized pinctrl subsystem
[    0.009781] NET: Registered protocol family 16
[    0.010386] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011660] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011677] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.036027] SCSI subsystem initialized
[    0.036319] usbcore: registered new interface driver usbfs
[    0.036376] usbcore: registered new interface driver hub
[    0.036479] usbcore: registered new device driver usb
[    0.036722] mc: Linux media interface: v0.10
[    0.036761] videodev: Linux video capture interface: v2.00
[    0.038222] clocksource: Switched to clocksource arch_sys_counter
[    0.049974] NET: Registered protocol family 2
[    0.050774] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.050813] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050838] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.050860] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051008] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051391] NET: Registered protocol family 1
[    0.053259] Initialise system trusted keyrings
[    0.053631] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.059840] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.096638] Key type asymmetric registered
[    0.096658] Asymmetric key parser 'x509' registered
[    0.096774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.096789] io scheduler mq-deadline registered
[    0.096797] io scheduler kyber registered
[    0.097816] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.101754] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.168097] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.170586] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.171648] printk: console [ttyS0] disabled
[    0.191955] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.704525] printk: console [ttyS0] enabled
[    0.734605] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.746286] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[    0.751455] 4 cmdlinepart partitions found on MTD device spi0.0
[    0.757371] Creating 4 MTD partitions on "spi0.0":
[    0.762190] 0x000000000000-0x000000100000 : "uboot"
[    0.767860] 0x000000100000-0x000000110000 : "dtb"
[    0.773191] 0x000000110000-0x000000510000 : "kernel"
[    0.778748] 0x000000510000-0x000002000000 : "rootfs"
[    0.784777] libphy: Fixed MDIO Bus: probed
[    0.789535] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.795340] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.801601] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[    0.811083] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.818323] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.825538] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.830512] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.837292] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.842957] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.848864] libphy: stmmac: probed
[    0.852978] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    0.859331] libphy: mdio_mux: probed
[    0.862934] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    0.869336] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    0.876481] libphy: mdio_mux: probed
[    0.880528] PPP generic driver version 2.4.2
[    0.885157] PPP BSD Compression module registered
[    0.889963] PPP Deflate Compression module registered
[    0.895030] PPP MPPE Compression module registered
[    0.899844] NET: Registered protocol family 24
[    0.904417] usbcore: registered new interface driver cdc_ether
[    0.910349] usbcore: registered new interface driver rndis_host
[    0.916300] usbcore: registered new interface driver zaurus
[    0.921908] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.928446] ehci-platform: EHCI generic platform driver
[    0.933963] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.939634] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.947591] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.978212] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.985421] hub 1-0:1.0: USB hub found
[    0.989388] hub 1-0:1.0: 1 port detected
[    0.994025] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.000351] ohci-platform: OHCI generic platform driver
[    1.005892] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.012613] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.020612] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.093317] hub 2-0:1.0: USB hub found
[    1.097157] hub 2-0:1.0: 1 port detected
[    1.104459] usbcore: registered new interface driver cdc_acm
[    1.110225] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.118312] usbcore: registered new interface driver cdc_wdm
[    1.124084] usbcore: registered new interface driver usbserial_generic
[    1.130742] usbserial: USB Serial support registered for generic
[    1.136790] usbcore: registered new interface driver option
[    1.142419] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.149576] usbcore: registered new interface driver usb_serial_simple
[    1.156137] usbserial: USB Serial support registered for carelink
[    1.162304] usbserial: USB Serial support registered for zio
[    1.167983] usbserial: USB Serial support registered for funsoft
[    1.174035] usbserial: USB Serial support registered for flashloader
[    1.180438] usbserial: USB Serial support registered for google
[    1.186377] usbserial: USB Serial support registered for libtransistor
[    1.192942] usbserial: USB Serial support registered for vivopay
[    1.198983] usbserial: USB Serial support registered for moto_modem
[    1.205265] usbserial: USB Serial support registered for motorola_tetra
[    1.211917] usbserial: USB Serial support registered for novatel_gps
[    1.218304] usbserial: USB Serial support registered for hp4x
[    1.224065] usbserial: USB Serial support registered for suunto
[    1.230014] usbserial: USB Serial support registered for siemens_mpi
[    1.236981] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    1.246684] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.256521] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.261705] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.266319] i2c /dev entries driver
[    1.271309] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.281119] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.289845] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.326323] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.333629] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.370034] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.378079] usbcore: registered new interface driver usbhid
[    1.383745] usbhid: USB HID core driver
[    1.388120] Initializing XFRM netlink socket
[    1.392516] NET: Registered protocol family 17
[    1.397581] Registering SWP/SWPB emulation handler
[    1.403616] Loading compiled-in X.509 certificates
[    1.414892] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.426464] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.432320] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.441731] hub 3-0:1.0: USB hub found
[    1.445690] hub 3-0:1.0: 1 port detected
[    1.450937] using random self ethernet address
[    1.455430] using random host ethernet address
[    1.460585] usb0: HOST MAC ce:0b:ef:4c:ed:d6
[    1.464909] usb0: MAC c2:73:c1:0a:a4:88
[    1.468868] using random self ethernet address
[    1.473314] using random host ethernet address
[    1.477862] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    1.484521] g_ether gadget: g_ether ready
[    1.489046] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:17:04 UTC (1024)
[    1.497531] vcc5v0: disabling
[    1.502907] random: fast init done
[    1.524563] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.551436] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.560858] random: crng init done
[    1.571385] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.583208] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.593894] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.603483] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.612158] mmc1: new high speed SDIO card at address 0001
[    7.543223] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    7.550615] devtmpfs: mounted
[    7.554776] Freeing unused kernel memory: 1024K
[    7.559536] Run /sbin/init as init process
Starting logging: OK
Starting mdev...
/etc/init.d/S10mdev: line 21: can't create /proc/sys/kernel/hotplug: nonexistent directory
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK

离线

#1 2024-12-27 10:15:24

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,350
积分: 9202

Re: V3S nor flash 接入4G模块 配置menuconfig 没有ttyUSB描述符,但是又有USB0网卡这个问题怎么解决

8.8元的 ML307R-DL 4G CAT.1 模块
https://whycan.com/t_11701.html


第4个文件里面找:


3. Linux环境下拨号





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn