您尚未登录。

楼主 # 2024-06-06 23:08:58

sunamoon
会员
注册时间: 2024-06-02
已发帖子: 3
积分: 3

求助:v3s以太网驱动,不识别eth0

v3s参照荔枝派文档适配以太网,目前设备启动后,找不到eth0。换成出厂测试固件没问题,虚心请教。设备启动信息如下:
U-Boot 2019.10-rc2 (Jun 06 2024 - 02:09:16 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   failed to get TX clock
eth-1: ethernet@1c30000
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
292 bytes read in 7 ms (40 KiB/s)
## Executing script at 41900000
4170472 bytes read in 194 ms (20.5 MiB/s)
9041 bytes read in 8 ms (1.1 MiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dff350 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.5 (root@ubuntu) (gcc version 9.3.0 (Buildroot 2020.11.4)) #1 SMP Thu Jun 6 06:07:47 PDT 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] cma: Reserved 16 MiB at 0x41c00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30412 r8192 d22836 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 38516K/65536K available (6144K kernel code, 431K rwdata, 1668K rodata, 1024K init, 242K bss, 10636K reserved, 16384K 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 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] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x498 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    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.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000212] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000441] Console: colour dummy device 80x30
[    0.000766] printk: console [tty0] enabled
[    0.000820] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000851] pid_max: default: 32768 minimum: 301
[    0.001018] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001050] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001927] CPU: Testing write buffer coherency: ok
[    0.002483] /cpus/cpu@0 missing clock-frequency property
[    0.002535] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003368] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003626] rcu: Hierarchical SRCU implementation.
[    0.004142] smp: Bringing up secondary CPUs ...
[    0.004184] smp: Brought up 1 node, 1 CPU
[    0.004202] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.004218] CPU: All CPU(s) started in HYP mode.
[    0.004231] CPU: Virtualization extensions available.
[    0.005079] devtmpfs: initialized
[    0.008116] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008464] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008515] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.009345] pinctrl core: initialized pinctrl subsystem
[    0.010804] NET: Registered protocol family 16
[    0.011996] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013259] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.013306] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.028935] SCSI subsystem initialized
[    0.029648] usbcore: registered new interface driver usbfs
[    0.029742] usbcore: registered new interface driver hub
[    0.029854] usbcore: registered new device driver usb
[    0.030232] pps_core: LinuxPPS API ver. 1 registered
[    0.030263] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.030300] PTP clock support registered
[    0.030610] Advanced Linux Sound Architecture Driver Initialized.
[    0.031951] clocksource: Switched to clocksource arch_sys_counter
[    0.043248] thermal_sys: Registered thermal governor 'step_wise'
[    0.043591] NET: Registered protocol family 2
[    0.044303] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.044373] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.044411] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.044446] TCP: Hash tables configured (established 1024 bind 1024)
[    0.044610] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.044677] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.044940] NET: Registered protocol family 1
[    0.045862] RPC: Registered named UNIX socket transport module.
[    0.045910] RPC: Registered udp transport module.
[    0.045926] RPC: Registered tcp transport module.
[    0.045939] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.047983] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.056034] NFS: Registering the id_resolver key type
[    0.056116] Key type id_resolver registered
[    0.056135] Key type id_legacy registered
[    0.056264] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.056292] io scheduler mq-deadline registered
[    0.056307] io scheduler kyber registered
[    0.057230] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.061063] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128190] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130647] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.131829] printk: console [ttyS0] disabled
[    0.152187] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a U6_16550A
[    0.722649] printk: console [ttyS0] enabled
[    0.752184] libphy: Fixed MDIO Bus: probed
[    0.756325] CAN device driver interface
[    0.760636] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.767254] ehci-platform: EHCI generic platform driver
[    0.772654] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.778874] ohci-platform: OHCI generic platform driver
[    0.785262] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.794490] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.799581] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.804391] i2c /dev entries driver
[    0.809112] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.817801] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.854444] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.861742] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    0.896599] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    0.904731] usbcore: registered new interface driver usbhid
[    0.910334] usbhid: USB HID core driver
[    0.916387] NET: Registered protocol family 17
[    0.920894] can: controller area network core (rev 20170425 abi 9)
[    0.927318] NET: Registered protocol family 29
[    0.931783] can: raw protocol (rev 20170425)
[    0.936103] can: broadcast manager protocol (rev 20170425 t)
[    0.941775] can: netlink gateway (rev 20170425) max_hops=1
[    0.947618] Key type dns_resolver registered
[    0.952118] Registering SWP/SWPB emulation handler
[    0.965451] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.977088] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    0.982979] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    0.992751] hub 1-0:1.0: USB hub found
[    0.996699] hub 1-0:1.0: 1 port detected
[    1.002243] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T04:12:39 UTC (15159)
[    1.010862] ALSA device list:
[    1.013958]   No soundcards found.
[    1.017852] Waiting for root device /dev/mmcblk0p2...
[    1.023097] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.034384] mmc0: new high speed SDHC card at address aaaa
[    1.041776] mmcblk0: mmc0:aaaa SD32G 29.7 GiB
[    1.047662] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.054911]  mmcblk0: p1 p2
[    1.065000] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.073628] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.080916] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.087233] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.093636] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.099830] mmc1: new high speed SDIO card at address 0001
[    1.238595] random: fast init done
[    1.304439] EXT4-fs (mmcblk0p2): recovery complete
[    1.311362] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.319663] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.326002] devtmpfs: mounted
[    1.330481] Freeing unused kernel memory: 1024K
[    1.335246] Run /sbin/init as init process
[    1.411510] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    1.584662] random: dd: uninitialized urandom read (512 bytes read)
[    1.697331] random: dhcpcd: uninitialized urandom read (120 bytes read)

Welcome to Buildroot for the LicheePi Zero
licheepi-zero login: root
# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  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)

离线

楼主 #1 2024-06-07 14:01:09

sunamoon
会员
注册时间: 2024-06-02
已发帖子: 3
积分: 3

Re: 求助:v3s以太网驱动,不识别eth0

已解决,内核问题。

离线

#2 2024-06-27 15:25:34

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

Re: 求助:v3s以太网驱动,不识别eth0

大佬知不知道的USB转以太网怎么调啊

离线

页脚

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

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