Firefly开源社区

打印 上一主题 下一主题

RK3128 網路無法正常啟動

39

积分

0

威望

0

贡献

技术小白

积分
39

RK3128 網路無法正常啟動

发表于 2019-12-16 13:53:34      浏览:4544 | 回复:6        打印      只看该作者   [复制链接] 楼主
各位先進好,
目前正在開發RK3128網路功能,遇到網路只有在開機第一次會做初始化的動作,查看系統中的carriar沒有變化,不知道是哪邊沒有做好設定,導致插拔網路線不會重新初始化。

其相關log如下
-------------------------
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.104 (@75cc5c0421a2) (gcc version 4.6.x-google 20120106 (prereleas206 SMP PREEMPT Fri Dec 6 01:22:22 UTC 2019
[    0.000000] cpu_do_switch_mm is 0xc001bca8
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3128, model: rockchip,rk3128
[    0.000000] rockchip_ion_reserve
[    0.000000] ion heap(cma): base(0) size(800000) align(0)
[    0.000000] ion heap(vmalloc): base(0) size(0) align(0)
[    0.000000] cma: CMA: reserved 8 MiB at 7f800000
[    0.000000] ion_reserve: cma reserved base 7f800000 size 8388608
[    0.000000] cma: CMA: reserved 16 MiB at 7e800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c072d740, node_mem_map c0840000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 9 pages/cpu @c0c85000 s13376 r8192 d15296 u36864
[    0.000000] pcpu-alloc: s13376 r8192 d15296 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: vmalloc=496M rockchip_jtag console=ttyFIQ0,115200 quiet rootfstin/init  mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x),0x00010000@0x0000E000(boot),0x00200000@0x0001E000(rootfs_one),0x00200000@0x0021E000(rootfs_two),0000(log),-@0x0042E000(shield) isolcpus=1-3 storagemedia=emmc loader.timestamp=2019-12-06_01:20:33
[    0.000000] rockchip jtag enabled
[    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: 512MB = 512MB total
[    0.000000] Memory: 483568k/483568k available, 40720k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
                   vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0684318   (6641 kB)
                     .init : 0xc0685000 - 0xc06ca440   ( 278 kB)
                     .data : 0xc06cc000 - 0xc07329e0   ( 411 kB)
                      .bss : 0xc07329e0 - 0xc083f1dc   (1074 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  Experimental no-CBs CPU 0
[    0.000000]  Experimental no-CBs CPUs: 0.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] rk_clk_tree_init start!
[    0.000000] rk_get_uboot_display_flag: uboot_logo_on = 1
[    0.000000] rkclk_init_clks: cnt_parent = 25
[    0.000000] rkclk_init_clks: cnt_rate = 17
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] process version: 0
[    0.000000] channel:0, lkg:21
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:21
[    0.000000] channel:0, lkg:21
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.170790] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 Bog)
[    0.170819] pid_max: default: 32768 minimum: 301
[    0.171089] Mount-cache hash table entries: 512
[    0.172315] CPU: Testing write buffer coherency: ok
[    0.172815] /cpus/cpu@0 missing clock-frequency property
[    0.172844] /cpus/cpu@1 missing clock-frequency property
[    0.172865] /cpus/cpu@2 missing clock-frequency property
[    0.172886] /cpus/cpu@3 missing clock-frequency property
[    0.172968] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.173041] Setting up static identity map for 0xc053a478 - 0xc053a4d0
[    0.175138] last_log: 0x7e100000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early 0x)
[    0.228717] CPU1: Booted secondary processor
[    0.228776] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.248415] CPU2: Booted secondary processor
[    0.248460] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.268159] CPU3: Booted secondary processor
[    0.268203] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.268381] Brought up 4 CPUs
[    0.268435] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.268452] CPU: All CPU(s) started in SVC mode.
[    0.269612] devtmpfs: initialized
[    0.277147] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.278885] pinctrl core: initialized pinctrl subsystem
[    0.279373] regulator-dummy: no parameters
[    0.307575] NET: Registered protocol family 16
[    0.310255] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.311111] ion_snapshot: 0x7e2d0000 map to 0xe0907000 and copy to 0xc081ec0c (version 0.1)
[    0.311304] Registered FIQ tty driver
[    0.313294] console [ttyFIQ0] enabled
[    0.313639] Registered fiq debugger ttyFIQ0
[    0.314665] rockchip_get_bank_data:name=/pinctrl@20008000/gpio0@2007c000 start=0x2007c000,end=0x
[    0.314800] rockchip_get_bank_data:name=/pinctrl@20008000/gpio1@20080000 start=0x20080000,end=0x
[    0.314885] rockchip_get_bank_data:name=/pinctrl@20008000/gpio2@20084000 start=0x20084000,end=0x
[    0.314967] rockchip_get_bank_data:name=/pinctrl@20008000/gpio3@20088000 start=0x20088000,end=0x
[    0.315059] rockchip_get_bank_data:name=/pinctrl@20008000/gpio15@2008A000 start=0x20086000,end=0
[    0.315137] rockchip_pinctrl_probe:name=rk312x-GPIO,type=5
[    0.315165] rockchip_pinctrl_probe:name=base start=0x20008000,end=0x200080a7
[    0.315191] rockchip_pinctrl_probe:name=mux start=0x200080a8,end=0x200080f3
[    0.315217] rockchip_pinctrl_probe:name=pull start=0x20008118,end=0x20008137
[    0.315242] rockchip_pinctrl_probe:name=drv start=0x20008100,end=0x20008103
[    0.315410] gpiochip_add: registered GPIOs 0 to 31 on device: gpio0
[    0.315561] gpiochip_add: registered GPIOs 32 to 63 on device: gpio1
[    0.315697] gpiochip_add: registered GPIOs 64 to 95 on device: gpio2
[    0.315832] gpiochip_add: registered GPIOs 96 to 127 on device: gpio3
[    0.315979] gpiochip_add: registered GPIOs 128 to 159 on device: gpio15
[    0.318610] rockchip_pinctrl_probe:init ok
[    0.322687] syscon 20008000.syscon: regmap [mem 0x20008000-0x200083ff] registered
[    0.328990] rk_iommu 1010e300.vop_mmu: (vop) Enter
[    0.329042] rk_iommu 1010e300.vop_mmu: skip request vop mmu irq
[    0.329129] rk_iommu 1010e300.vop_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.329153] rk_iommu 1010e300.vop_mmu: (vop) Initialized
[    0.329459] rk_iommu 10104440.hevc_mmu: (hevc) Enter
[    0.329604] rk_iommu 10104440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.329631] rk_iommu 10104440.hevc_mmu: (hevc) Initialized
[    0.329935] rk_iommu 10106800.vpu_mmu: (vpu) Enter
[    0.330064] rk_iommu 10106800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.330089] rk_iommu 10106800.vpu_mmu: (vpu) Initialized
[    0.330373] rk_iommu 10108800.iep_mmu: (iep) Enter
[    0.330500] rk_iommu 10108800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.330525] rk_iommu 10108800.iep_mmu: (iep) Initialized
[    0.331894] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.331916] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.332212] DDR DEBUG: version 1.02 20140828
[    0.332233] DDR DEBUG: DRAM Type:DDR3
[    0.332256] DDR DEBUG: 1 CS, ROW=14, Bank=8, COL=10, Total Capability=512MB
[    0.332298] DDR DEBUG: init success!!! freq=300MHz
[    0.370765] bio: create slab <bio-0> at 0
[    0.372450] SCSI subsystem initialized
[    0.372811] usbcore: registered new interface driver usbfs
[    0.372914] usbcore: registered new interface driver hub
[    0.373157] usbcore: registered new device driver usb
[    0.374248] of_get_named_gpio_flags exited with status 116
[    0.375545] of_get_named_gpio_flags exited with status 1
[    0.375592] of_get_named_gpio_flags exited with status 0
[    0.377258] rockchip_i2c 20072000.i2c: i2c-0: Rockchip I2C adapter
[    0.377501] of_get_named_gpio_flags exited with status 3
[    0.377547] of_get_named_gpio_flags exited with status 2
[    0.377813] rockchip_i2c 20056000.i2c: i2c-1: Rockchip I2C adapter
[    0.378007] of_get_named_gpio_flags exited with status 7
[    0.378048] of_get_named_gpio_flags exited with status 6
[    0.378315] rockchip_i2c 2005e000.i2c: i2c-3: Rockchip I2C adapter
[    0.378470] media: Linux media interface: v0.10
[    0.378560] Linux video capture interface: v2.00
[    0.378658] pps_core: LinuxPPS API ver. 1 registered
[    0.378677] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux
[    0.378721] PTP clock support registered
[    0.379853] Rockchip ion module is successfully loaded (v1.1)
[    0.380119] Advanced Linux Sound Architecture Driver Initialized.
[    0.381755] rk818_i2c_probe,line=1385
[    0.382093] rk818_pre_init,line=1300
[    0.389775] of_get_named_gpio_flags exited with status 118
[    0.389812] of_get_named_gpio_flags exited with status 113
[    0.389864] rk818_i2c_probe: rk818_pmic_sleep=0
[    0.393873] vdd_arm: 712 <--> 1500 mV at 1100 mV
[    0.398246] vdd_logic: 712 <--> 1500 mV at 1100 mV
[    0.402370] rk818_dcdc3: 1200 mV
[    0.406717] vccio: 1800 <--> 3300 mV at 3000 mV
[    0.410833] rk818_ldo1: 3300 mV
[    0.414942] rk818_ldo2: 3000 mV
[    0.419180] rk818_ldo3: 1100 mV
[    0.423308] rk818_ldo4: 2800 mV
[    0.427426] rk818_ldo5: 3300 mV
[    0.431541] rk818_ldo6: 1100 mV
[    0.435641] rk818_ldo7: 1800 mV
[    0.439795] rk818_ldo8: 1800 mV
[    0.442696] vcc_sd: 1800 <--> 3000 mV at 3000 mV
[    0.444194] rk818_ldo10: at 3000 mV
[    0.446018] rk818_irq_init: rk818_pmic_irq=1
[    0.463643] i2c-core: driver [rk818] using legacy suspend method
[    0.463666] i2c-core: driver [rk818] using legacy resume method
[    0.464336] rk818_rtc_probe,line=586
[    0.467801] rk_battery_charger_detect_cb , battery_charger_detect 1
[    0.477794] rk818-rtc rk818-rtc: rtc core: registered rk818 as rtc0
[    0.480169] rk818_rtc_probe:ok
[    0.482003] Switching to clocksource arch_sys_counter
[    0.512916] rga 1010c000.rga: rga ion client create success!
[    0.513212] rga: Driver loaded succesfully
[    0.513326] rga: Module initialized.
[    0.513722] fb disp policy is box
[    0.513742] uboot-logo-on:1
[    0.513803] rk-fb rockchip-fb: rk fb ion client create success!
[    0.513826] rk-fb rockchip-fb: rockchip framebuffer driver probe
[    0.514373] can't find screen_init node
[    0.521526] rk-screen rk_screen.11: rockchip screen probe success
[    0.548457] NET: Registered protocol family 2
[    0.549853] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.549977] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.550086] TCP: Hash tables configured (established 4096 bind 4096)
[    0.550166] TCP: reno registered
[    0.550193] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.550237] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.550630] NET: Registered protocol family 1
[    0.551260] RPC: Registered named UNIX socket transport module.
[    0.551285] RPC: Registered udp transport module.
[    0.551301] RPC: Registered tcp transport module.
[    0.551318] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.551717] Unpacking initramfs...
[    0.852930] Freeing initrd memory: 2632K (c5bf0000 - c5e82000)
[    0.853676] hw perfevents: enabled with ARMv7_Cortex_A7 PMU driver, 5 counters available
[    0.854153] rknandbase v1.0 2014-03-31
[    0.858352] rknand: probe of 10500000.nandc0 failed with error -1
[    0.859318] rknand_driver:ret = 0
[    0.875186] NFS: Registering the id_resolver key type
[    0.875297] Key type id_resolver registered
[    0.875317] Key type id_legacy registered
[    0.875379] NTFS driver 2.1.30 [Flags: R/W].
[    0.875878] fuse init (API version 7.22)
[    0.880074] io scheduler noop registered
[    0.880100] io scheduler deadline registered
[    0.880338] io scheduler cfq registered (default)
[    0.880642] gpio- 26, i(HW_Ver_0)
[    0.880688] gpio- 27, i(HW_Ver_1)
[    0.880717] gpio- 28, i(HW_Ver_2)
[    0.880744] gpio- 39, i(HW_Ver_3)
[    0.880770] gpio- 34, i(3128_TDI)
[    0.880796] gpio- 33, i(3128_TDO)
[    0.880821] gpio- 37, i(3128_TCK)
[    0.880847] gpio- 36, i(3128_TMS)
[    0.880873] gpio- 25, o(914_PDB)
[    0.880895] gpio- 25, low
[    0.880919] gpio-123, o(913_PDB)
[    0.880942] gpio-123, low
[    0.880963] gpio- 32, o(D12V_EXTSPK_EN)
[    0.880985] gpio- 32, low
[    0.881006] gpio- 35, o(D5V_EXTSPK_EN)
[    0.881028] gpio- 35, high
[    0.881049] gpio-116, o(FPGA_RST)
[    0.881067] _gpio_request: gpio-116 (FPGA_RST) status -16
[    0.881084] FAIL@  gpio-116 request
[    0.881098] gpio-116, high
[    0.881118] gpio- 30, o(FPGA_DATA_EN)
[    0.881140] gpio- 30, high
[    0.881161] gpio-117, o(SDON)
[    0.881182] gpio-117, low
[    0.881203] gpio- 74, o(CLASSD_RST)
[    0.881225] gpio- 74, low
[    0.882650] iep ion client create success!
[    0.882675] IEP Power ON
[    0.883220] rk_iommu 10108800.iep_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgt
[    0.883241] IEP Power OFF
[    0.883291] IEP Driver loaded succesfully
[    0.883426] Module initialized.
[    0.886369] dma-pl330 20078000.pdma: Loaded driver for PL330 DMAC-2364208
[    0.886402] dma-pl330 20078000.pdma:         DBUFF-64x8bytes Num_Chans-8 Num_Peri-16 Num_Events-
[    0.887020] rk_serial.c v2.0 2017-06-30
[    0.887361] 20060000.serial: ttyS0 at MMIO 0x20060000 (irq = 52) is a rk29_serial.0
[    0.887794] serial 20060000.serial: membase e0934000
[    0.888013] 20064000.serial: ttyS1 at MMIO 0x20064000 (irq = 53) is a rk29_serial.1
[    0.888412] serial 20064000.serial: membase e0936000
[    0.888601] 20068000.serial: ttyS2 at MMIO 0x20068000 (irq = 54) is a rk29_serial.2
[    0.888980] serial 20068000.serial: membase fed60000
[    0.895314] loop: module loaded
[    0.896181] zram: Created 1 device(s)
[    0.897882] vmac_init.
[    0.899024] stmmac_probe_config_dt: Can not read property: pmu_regulator.
[    0.905783] stmmac_probe_config_dt: clock input/output? (input).
[    0.905810] stmmac_probe_config_dt: TX delay(0x30).
[    0.905829] stmmac_probe_config_dt: RX delay(0x10).
[    0.905846] stmmac_probe_config_dt: Can not read property: phy-type.
[    0.905881] of_get_named_gpio_flags: can't parse gpios property
[    0.905923] of_get_named_gpio_flags exited with status 88
[    0.905941] of_get_named_gpio_flags: can't parse gpios property
[    0.905960] of_get_named_gpio_flags: can't parse gpios property
[    0.905977] of_get_named_gpio_flags: can't parse gpios property
[    0.905994] stmmc_pltfr_init:
[    0.906009] stmmc_pltfr_init: ERROR: Get power-gpio failed.
[    0.906044] stmmc_pltfr_init: ERROR: Get link-gpio failed.
[    0.906064] stmmc_pltfr_init: ERROR: Get led-gpio failed.
[    0.906083] stmmc_pltfr_init: init for RGMII
[    0.906100] tx delay=0x30
               rx delay=0x10
[    0.906127] tx delay=0x30
               rx delay=0x10
[    0.906343] gmac_clk_init: warning: cannot get mac_clkin clock
[    0.906372] gmac_clk_init: warning: cannot get phy_50m_out clock
[    0.906403] gmac_clk_init: warning: cannot get clk_macphy clock
[    0.906471] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.906489]  Normal descriptors
[    0.906503]  Ring mode enabled
[    0.906519]  DMA HW capability register supported
[    0.906536]  RX Checksum Offload Engine supported (type 2)
[    0.906551]  TX Checksum insertion supported
[    0.906566]  Wake-Up On Lan supported
[    0.906646]  Enable RX Mitigation via HW Watchdog Timer
[    0.907774] usbcore: registered new interface driver catc
[    0.907858] usbcore: registered new interface driver kaweth
[    0.907878] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    0.907954] usbcore: registered new interface driver pegasus
[    0.908032] usbcore: registered new interface driver rtl8150
[    0.908108] usbcore: registered new interface driver r8152
[    0.908221] usbcore: registered new interface driver asix
[    0.908299] usbcore: registered new interface driver ax88179_178a
[    0.908377] usbcore: registered new interface driver cdc_ether
[    0.908454] usbcore: registered new interface driver cdc_eem
[    0.908530] usbcore: registered new interface driver dm9601
[    0.908605] usbcore: registered new interface driver dm9620
[    0.908717] usbcore: registered new interface driver smsc75xx
[    0.908822] usbcore: registered new interface driver smsc95xx
[    0.908900] usbcore: registered new interface driver gl620a
[    0.908978] usbcore: registered new interface driver net1080
[    0.909054] usbcore: registered new interface driver plusb
[    0.909133] usbcore: registered new interface driver rndis_host
[    0.909212] usbcore: registered new interface driver cdc_subset
[    0.909303] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    0.909451] usbcore: registered new interface driver cdc_ncm
[    0.909530] usbcore: registered new interface driver cdc_mbim
[    0.909550] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.909571] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[    0.909841] rockchip_ehci_host 101c0000.usb: ehci_rk probe!
[    0.911588] EHCI: ehci_rk_probe e0980000 e0980010
[    0.911614] rockchip_ehci_host 101c0000.usb: EHCI Host Controller
[    0.911663] rockchip_ehci_host 101c0000.usb: new USB bus registered, assigned bus number 1
[    0.911710] rockchip_ehci_host 101c0000.usb: reset hcs_params 0x1111 dbg=0 cc=1 pcc=1 ordered po
[    0.911741] rockchip_ehci_host 101c0000.usb: reset hcc_params a026 thresh 2 uframes 256/512/1024
[    0.925348] rockchip_ehci_host 101c0000.usb: park 0
[    0.925393] rockchip_ehci_host 101c0000.usb: reset command 0080b02  park=3 ithresh=8 period=1024
[    0.925456] rockchip_ehci_host 101c0000.usb: irq 43, io mem 0x101c0000
[    0.925493] rockchip_ehci_host 101c0000.usb: init command 0010005 (park)=0 ithresh=1 period=512
[    0.944673] rockchip_ehci_host 101c0000.usb: USB 2.0 started, EHCI 1.00
[    0.944891] usb usb1: default language 0x0409
[    0.944953] usb usb1: udev 1, busnum 1, minor = 0
[    0.944979] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.945004] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.945027] usb usb1: Product: EHCI Host Controller
[    0.945048] usb usb1: Manufacturer: Linux 3.10.104 ehci_hcd
[    0.945070] usb usb1: SerialNumber: 101c0000.usb
[    0.945893] usb usb1: usb_probe_device
[    0.945922] usb usb1: configuration #1 chosen from 1 choice
[    0.946000] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[    0.946203] hub 1-0:1.0: usb_probe_interface
[    0.946227] hub 1-0:1.0: usb_probe_interface - got id
[    0.946257] hub 1-0:1.0: USB hub found
[    0.946301] hub 1-0:1.0: 1 port detected
[    0.946324] hub 1-0:1.0: standalone hub
[    0.946344] hub 1-0:1.0: individual port power switching
[    0.946364] hub 1-0:1.0: individual port over-current protection
[    0.946386] hub 1-0:1.0: power on to power good time: 20ms
[    0.946427] hub 1-0:1.0: local power source is good
[    0.946546] hub 1-0:1.0: enabling power on all ports
[    0.946832] EHCI: ehci_rk_probe ok
[    0.946982] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.947003] ohci_hcd: block sizes: ed 64 td 64
[    0.947263] ohci-rockchip 101e0000.usb: ohci_hcd_rk_probe
[    0.947327] ohci-rockchip 101e0000.usb: RK OHCI Host Controller
[    0.947376] ohci-rockchip 101e0000.usb: new USB bus registered, assigned bus number 2
[    0.947413] ohci-rockchip 101e0000.usb: starting OHCI controller
[    0.947490] ohci-rockchip 101e0000.usb: created debug files
[    0.947549] ohci-rockchip 101e0000.usb: irq 64, io mem 0x101e0000
[    1.007615] ohci-rockchip 101e0000.usb: OHCI controller state
[    1.007647] ohci-rockchip 101e0000.usb: OHCI 1.0, NO legacy support registers, rh state running
[    1.007675] ohci-rockchip 101e0000.usb: control 0x283 RWC HCFS=operational CBSR=3
[    1.007700] ohci-rockchip 101e0000.usb: cmdstatus 0x00000 SOC=0
[    1.007725] ohci-rockchip 101e0000.usb: intrstatus 0x00000004 SF
[    1.007751] ohci-rockchip 101e0000.usb: intrenable 0x8000005a MIE RHSC UE RD WDH
[    1.007775] ohci-rockchip 101e0000.usb: hcca frame #0005
[    1.007803] ohci-rockchip 101e0000.usb: roothub.a 02001201 POTPGT=2 NOCP NPS NDP=1(1)
[    1.007828] ohci-rockchip 101e0000.usb: roothub.b 00000000 PPCM=0000 DR=0000
[    1.007853] ohci-rockchip 101e0000.usb: roothub.status 00008000 DRWE
[    1.007880] ohci-rockchip 101e0000.usb: roothub.portstatus [0] 0x00000100 PPS
[    1.007972] usb usb2: default language 0x0409
[    1.008032] usb usb2: udev 1, busnum 2, minor = 128
[    1.008057] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.008081] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.008103] usb usb2: Product: RK OHCI Host Controller
[    1.008124] usb usb2: Manufacturer: Linux 3.10.104 ohci_hcd
[    1.008145] usb usb2: SerialNumber: 101e0000.usb
[    1.008803] usb usb2: usb_probe_device
[    1.008832] usb usb2: configuration #1 chosen from 1 choice
[    1.008894] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[    1.009090] hub 2-0:1.0: usb_probe_interface
[    1.009115] hub 2-0:1.0: usb_probe_interface - got id
[    1.009144] hub 2-0:1.0: USB hub found
[    1.009188] hub 2-0:1.0: 1 port detected
[    1.009209] hub 2-0:1.0: standalone hub
[    1.009229] hub 2-0:1.0: no power switching (usb 1.0)
[    1.009249] hub 2-0:1.0: no over-current protection
[    1.009270] hub 2-0:1.0: power on to power good time: 4ms
[    1.009310] hub 2-0:1.0: local power source is good
[    1.009429] hub 2-0:1.0: trying to enable port power on non-switchable hub
[    1.009936] usbcore: registered new interface driver cdc_wdm
[    1.010093] usbcore: registered new interface driver usb-storage
[    1.010284] usbcore: registered new interface driver usbserial
[    1.010365] usbcore: registered new interface driver usbserial_generic
[    1.010437] usbserial: USB Serial support registered for generic
[    1.010527] usbcore: registered new interface driver option
[    1.010598] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.010740] usb20_otg: version 3.10a 21-DEC-2012
[    1.011157] usb20otg_phy_suspend 0
[    1.011460] e0a00040
[    1.011482] Core Release: 2.91a
[    1.011501] Setting default values for core params
[    1.011561] otg20_driver_probe, hing bandwidth: 1
[    1.011808] Using Buffer DMA mode
[    1.011828] Periodic Transfer Interrupt Enhancement - disabled
[    1.011844] Multiprocessor Interrupt Enhancement - disabled
[    1.011861] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.011877] dwc_otg_core_init_no_reset: device mode
[    1.011905] Dedicated Tx FIFOs mode
[    1.012253] usb20_otg 10180000.usb: DWC OTG Controller
[    1.012317] usb20_otg 10180000.usb: new USB bus registered, assigned bus number 3
[    1.012377] usb20_otg 10180000.usb: irq 42, io mem 0x00000000
[    1.012495] usb usb3: default language 0x0409
[    1.012555] usb usb3: udev 1, busnum 3, minor = 256
[    1.012581] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.012605] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.012627] usb usb3: Product: DWC OTG Controller
[    1.012648] usb usb3: Manufacturer: Linux 3.10.104 dwc_otg_hcd
[    1.012669] usb usb3: SerialNumber: 10180000.usb
[    1.013364] usb usb3: usb_probe_device
[    1.013393] usb usb3: configuration #1 chosen from 1 choice
[    1.013522] usb usb3: adding 3-0:1.0 (config #1, interface 0)
[    1.013729] hub 3-0:1.0: usb_probe_interface
[    1.013755] hub 3-0:1.0: usb_probe_interface - got id
[    1.013784] hub 3-0:1.0: USB hub found
[    1.013828] hub 3-0:1.0: 1 port detected
[    1.013849] hub 3-0:1.0: standalone hub
[    1.013869] hub 3-0:1.0: ganged power switching
[    1.013890] hub 3-0:1.0: individual port over-current protection
[    1.013909] hub 3-0:1.0: Single TT
[    1.013932] hub 3-0:1.0: TT requires at most 8 FS bit times (666 ns)
[    1.013953] hub 3-0:1.0: power on to power good time: 2ms
[    1.013994] hub 3-0:1.0: local power source is good
[    1.014118] hub 3-0:1.0: enabling power on all ports
[    1.014421] usb20otg_phy_suspend 1
[    1.014692] usb20_host: version 3.10a 21-DEC-2012
[    1.015261] Build at : Dec  6 2019 01:22:18 4.6.x-google 20120106 (prerelease)
[    1.015315] class create OK.
[    1.015657] udc 10180000.usb: registering UDC driver [g_ucam]
[    1.015707] g_ucam gadget: adding config #1 'ucam config'/c0710ed8
[    1.015732] g_ucam gadget: adding 'uac'/c07107e4 to config 'ucam config'/c0710ed8
[    1.015751] g_ucam gadget: fadc_bind
[    1.017223] g_ucam gadget: 1465, ep1in (0x400)
[    1.017252] g_ucam gadget: 1476, ep2out (0x400)
[    1.017710] g_ucam gadget: adding 'hid'/c586a928 to config 'ucam config'/c0710ed8
[    1.017732] g_ucam gadget: hidg_bind
[    1.017755] g_ucam gadget: 459, ep3in (0x400)
[    1.018026] g_ucam gadget: cfg 1/c0710ed8 speeds: high full
[    1.018051] g_ucam gadget:   interface 0 = uac/c07107e4
[    1.018071] g_ucam gadget:   interface 1 = uac/c07107e4
[    1.018091] g_ucam gadget:   interface 2 = uac/c07107e4
[    1.018111] g_ucam gadget:   interface 3 = hid/c586a928
[    1.018133] g_ucam gadget: UCam gadget [0x2574|0x09F0], AVer Inc. AVer FONE540 (0000000000000)
[    1.018152] g_ucam gadget: g_ucam ready
[    1.018175] dwc_otg_pcd_detect_timer_init
[    1.019018] rk pwm remotectl v1.1 init
[    1.023446] input: 20050030.pwm as /devices/20050030.pwm/input/input0
[    1.024207] rockchip_i2c 20072000.i2c: Warning: addr[0x0068] msg[0].scl_rate( = 0Khz) is too low
[    1.025511] rtc-idt1338 0-0068: rtc core: registered idt1338 as rtc1
[    1.025582] i2c /dev entries driver
[    1.026550] usbcore: registered new interface driver uvcvideo
[    1.026570] USB Video Class driver (1.1.1)
[    1.026591] CamSys driver version: v0.36.0,  CamSys head file version: v0.13.0
[    1.026612] E:camsys_soc_init(36): camsys isn't support soc: 0x31260001!
[    1.043155] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    1.043238] hub 1-0:1.0: hub_suspend
[    1.043279] usb usb1: bus auto-suspend, wakeup 1
[    1.043302] rockchip_ehci_host 101c0000.usb: suspend root hub
[    1.049657] DVFS LOG:        dvfs vd vd_logic fixed up setting: old 1100000 new 1250000.
[    1.052175] DVFS LOG:        dvfs vd vd_arm fixed up setting: old 1100000 new 950000.
[    1.052196] cpufreq version 1.0, suspend freq 1008 MHz
[    1.080512] cpuidle: using governor ladder
[    1.080527] cpuidle: using governor menu
[    1.080588] Synopsys Designware Multimedia Card Interface Driver
[    1.080597] MHSC version = Ver 2.00 2015-06-10
[    1.080877] dwmmc_rockchip 1021c000.rksdmmc: Version ID is 270a
[    1.080959] dwmmc_rockchip 1021c000.rksdmmc: failed to get hpclk_mmc
[    1.087484] dwmmc_rockchip 1021c000.rksdmmc: Using external DMA controller.
[    1.087718] dwmmc_rockchip 1021c000.rksdmmc: dw_mci_init_slot: fmin=400000, fmax=50000000 [mmc0]
[    1.087743] of_get_named_gpio_flags: can't parse gpios property
[    1.102123] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    1.102177] hub 2-0:1.0: hub_suspend
[    1.102199] usb usb2: bus auto-suspend, wakeup 1
[    1.102212] ohci-rockchip 101e0000.usb: suspend root hub
[    1.102244] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for init[mmc0
[    1.111905] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    1.111937] hub 3-0:1.0: hub_suspend
[    1.111954] usb usb3: bus auto-suspend, wakeup 1
[    1.111963] dwc_otg_hcd_suspend, usb device mode
[    1.122767] dwmmc_rockchip 1021c000.rksdmmc: DW MMC controller at irq 48, 32 bit host data width
[    1.122779] dwmmc_rockchip 1021c000.rksdmmc: 1 slots initialized
[    1.122966] hidraw: raw HID events driver (C) Jiri Kosina
[    1.125241] usbcore: registered new interface driver usbhid
[    1.125252] usbhid: USB HID core driver
[    1.125424] ashmem: initialized
[    1.126588] logger: created 256K log 'log_main'
[    1.126746] logger: created 256K log 'log_events'
[    1.128872] logger: created 256K log 'log_radio'
[    1.129007] logger: created 256K log 'log_system'
[    1.130078] of_get_named_gpio_flags exited with status 119
[    1.130096] of_get_named_gpio_flags exited with status 119
[    1.130274] input: rk29-keypad as /devices/2006c000.adc/key.20/input/input1
[    1.135994] dummy_audio rk-dummy.19:  dummy_codec <-> 10220000.i2s0 mapping ok
[    1.137067] TCP: cubic registered
[    1.137084] NET: Registered protocol family 17
[    1.137145] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    1.137312] [BT_RFKILL]: Enter rfkill_rk_init
[    1.137542] Key type dns_resolver registered
[    1.137918] rk312x_init_suspend
[    1.137929] rk312x_suspend_init
[    1.138206] Registering SWP/SWPB emulation handler
[    1.138961] ddrfreq: verion 1.3 20170830
[    1.138983] ddrfreq: normal 528MHz performance 528MHz low_power 0MHz          video_1080p 0MHz vo_4k_60fps 0MHz          dualview 0MHz idle 0MHz suspend 198MHz reboot 528MHz            video_4k_110b_60fps 0MHz
[    1.138992] ddrfreq: auto-freq=0
[    1.139000] ddrfreq: auto-freq-table[0] 240MHz
[    1.139008] ddrfreq: auto-freq-table[1] 324MHz
[    1.139015] ddrfreq: auto-freq-table[2] 396MHz
[    1.139022] ddrfreq: auto-freq-table[3] 528MHz
[    1.139700] regulator-dummy: disabling
[    1.145978] rk818-rtc rk818-rtc: setting system clock to 2013-01-18 08:50:08 UTC (1358499008)
[    1.152451] usbcore: registered new interface driver snd-usb-audio
[    1.152468] ALSA device list:
[    1.152478]   #0: USB Audio1
[    1.152487]   #1: Dummy-Audio
[    1.152990] Freeing unused kernel memory: 276K (c0685000 - c06ca000)
[    1.155022] mmc0: BKOPS_EN bit is not set
[    1.157408] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000
[    1.157440] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc0]
[    1.157453] rk_sdmmc: BOOT dw_mci_setup_bus: workaround div = 1, host->bus_hz = 100000000 [mmc0]
[    1.157562] rk_sdmmc: BOOT Bus speed=50000000Hz,Bus width=8bits.[mmc0]
[    1.159171] mmc0: new high speed DDR MMC card at address 0001
[    1.162321] mmcblk0: mmc0:0001 Q2J54A 3.64 GiB
[    1.166615] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB
[    1.167088]      uboot: 0x000400000 -- 0x000800000 (4 MB)
[    1.167105]       misc: 0x000800000 -- 0x000c00000 (4 MB)
[    1.167119]   resource: 0x000c00000 -- 0x001c00000 (16 MB)
[    1.167132]       boot: 0x001c00000 -- 0x003c00000 (32 MB)
[    1.167146] rootfs_one: 0x003c00000 -- 0x043c00000 (1024 MB)
[    1.167159] rootfs_two: 0x043c00000 -- 0x083c00000 (1024 MB)
[    1.167172]        log: 0x083c00000 -- 0x085c00000 (32 MB)
[    1.167185]     shield: 0x085c00000 -- 0x0e8c00000 (1584 MB)
[    1.661747] vendor storage:20160801 ret = 0
[    2.922418] EHCI: rk_ehci_hcd_enable, disable host controller
[    4.633969] EXT4-fs (mmcblk0p5): recovery complete
[    4.635194] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    4.648634] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    4.691607] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    4.830172] EXT4-fs (mmcblk0p5): re-mounted. Opts: data=ordered
[    4.842958] devpts: called with bogus options
[    4.990877] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
[    5.062469] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null)
[    5.223606] udevd[147]: starting version 3.2.5
[    5.250134] udevd[148]: starting eudev-3.2.5
[    6.335153] sysfs_set_serial_label: 0

[    6.463390] phy_power_on: enable = 1
[    6.571815] eth_mac_vendor_storage: rk_vendor_read eth mac address: c6:ed:a7:65:08:f9
[    6.571834] eth0: device MAC address c6:ed:a7:65:08:f9
[    6.588911] libphy: stmmac: probed
[    6.588938] eth0: PHY ID 001cc915 at 0 IRQ 0 (stmmac-0:00) active
[    1.167212]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[    6.588952] PHY driver name: RTL8211E Gigabit Ethernet
[    6.588962] eth0: PHY ID 001cc915 at 1 IRQ 0 (stmmac-0:01) active
[    6.623458] fadc_alsa_playback_open
[    6.625938] fadc_alsa_capture_open
[    7.254566] serial 20060000.serial: error:lsr=0xd9
[    7.254728] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.304627] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.356939] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.407025] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.456745] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.506444] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.556318] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.607567] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.657278] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    7.706960] rockchip_i2c 20056000.i2c: Warning: addr[0x001b] msg[0].scl_rate( = 0Khz) is too low
[    8.895309] [otg id chg] last id -1 current id 256
[    8.895331] usb20otg_phy_suspend 0
[    8.895343] PortPower off
[    8.995093] Using Buffer DMA mode
[    8.995110] Periodic Transfer Interrupt Enhancement - disabled
[    8.995120] Multiprocessor Interrupt Enhancement - disabled
[    8.995154] OTG VER PARAM: 0, OTG VER FLAG: 0
[    8.995165] dwc_otg_core_init: device mode
[    8.995187] usb usb3: usb wakeup-resume
[    8.995203] usb usb3: usb auto-resume
[    8.995213] dwc_otg_hcd_resume, usb device mode
[    8.995228] hub 3-0:1.0: hub_resume
[    9.102015] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    9.102058] hub 3-0:1.0: hub_suspend
[    9.102081] usb usb3: bus auto-suspend, wakeup 1
[    9.102091] dwc_otg_hcd_suspend, usb device mode
[    9.186950] dwc_otg_pcd_pullup, on
[    9.485755] dwc_otg_pcd_check_vbus_work, vbus[o]
[    9.615745] Using Buffer DMA mode
[    9.615766] Periodic Transfer Interrupt Enhancement - disabled
[    9.615775] Multiprocessor Interrupt Enhancement - disabled
[    9.615784] OTG VER PARAM: 0, OTG VER FLAG: 0
[    9.615793] dwc_otg_core_init: device mode
[    9.620114] dwc_phy_reconnect, st 1
[    9.621763] g_ucam gadget: suspend
[    9.714788] USB RESET
[    9.846920] g_ucam gadget: high-speed config #1: ucam config
[    9.846941] g_ucam gadget: fadc_set_alt (1, 0)
[    9.846980] fadc_dev_set_alt: 434, usb[o]
[    9.846996] g_ucam gadget: fadc_set_alt (2, 0)
[    9.847018] g_ucam gadget: hidg_set_alt (3, 0)
[    9.847104] g_ucam gadget: fadc_set_alt (1, 0)
[    9.847195] g_ucam gadget: fadc_set_alt (2, 0)
[    9.860003] g_ucam gadget: fadc_set_alt (1, 0)
[    9.860129] g_ucam gadget: fadc_set_alt (2, 0)
[    9.863002] hidg_setup, 306, stall HID_REQ_SET_IDLE
[    6.588970] PHY driver name: RTL8211E Gigabit Ethernet

[    9.863030] WARN::ep0_do_stall:1371: req 21.0a protocol STALL; err -22

[    9.953966] Time out:: Audio DMA buffdone time out!!! the time = 2750013!
[   10.312368] Time out:: Audio DMA buffdone time out!!! the time = 318029!
[   12.487267] stmmc_pltfr_fix_mac_speed: fix speed to 1000
[   12.487283] stmmc_pltfr_fix_mac_speed: fix speed for RGMII
[   12.487294] libphy: stmmac-0:01 - Link is Up - 1000/Full
[ 5002.181749] g_ucam gadget: fadc_set_alt (2, 1)
[ 5002.186806] g_ucam gadget: fadc_set_alt (2, 0)
[ 6143.553210] g_ucam gadget: fadc_set_alt (2, 1)
[ 6143.557817] g_ucam gadget: fadc_set_alt (2, 0)
[ 8849.373806] phy_power_on: enable = 0
[ 8860.944949] phy_power_on: enable = 1
[ 8860.984369] eth0: device MAC address c6:ed:a7:65:08:f9
[ 8862.947395] stmmc_pltfr_fix_mac_speed: fix speed to 100
[ 8862.947412] stmmc_pltfr_fix_mac_speed: fix speed for RGMII
[ 8862.947424] libphy: stmmac-0:01 - Link is Up - 100/Full
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-12-16 14:11:07        只看该作者  沙发
插拔网线是自动识别的,有多台的机器的话,可以再验证下
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2019-12-16 14:50:55        只看该作者  板凳
jpchen 发表于 2019-12-16 14:11
插拔网线是自动识别的,有多台的机器的话,可以再验证下

試過多個機器,其結果都相同,有發現系統carriar的狀態 (/sys/class/net/eth0/carrier)不會改變
開機沒接網路線 狀態為0
接上網路線後 狀態為1
猜測,其狀態不會改變,進而導致狀態異常
但這是什麼問題呢?
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-12-16 15:37:53        只看该作者  地板
kevin.chen 发表于 2019-12-16 14:50
試過多個機器,其結果都相同,有發現系統carriar的狀態 (/sys/class/net/eth0/carrier)不會改變
開機沒 ...

我拿了一个firefly-rk3128的机器验证是没有你说的问题。如下log是我插拔网线的相关信息,所以你需要自己检查一下是哪个地方出问题。

同时我看了你log打印是后面识别到是100M的速度,可以换个网线试试。

  1. shell@firefly:/ # [  229.323608] stmmc_pltfr_fix_mac_speed: fix speed to 1000
  2. [  229.323715] stmmc_pltfr_fix_mac_speed: fix speed for RGMII
  3. [  229.323781] libphy: stmmac-0:01 - Link is Up - 1000/Full

  4. shell@firefly:/ #
  5. shell@firefly:/ # cat /sys/class/net/eth0/carrier                              
  6. 1
  7. shell@firefly:/ # [  235.227577] libphy: stmmac-0:01 - Link is Down

  8. shell@firefly:/ #
  9. shell@firefly:/ # cat /sys/class/net/eth0/carrier                              
  10. 0
  11. shell@firefly:/ # [  241.131639] stmmc_pltfr_fix_mac_speed: fix speed to 1000
  12. [  241.131748] stmmc_pltfr_fix_mac_speed: fix speed for RGMII
  13. [  241.131815] libphy: stmmac-0:01 - Link is Up - 1000/Full

  14. shell@firefly:/ # cat /sys/class/net/eth0/carrier                              
  15. 1
  16. shell@firefly:/ # [  249.003533] libphy: stmmac-0:01 - Link is Down

  17. shell@firefly:/ # cat /sys/class/net/eth0/carrier                              
  18. 0
  19. shell@firefly:/ #
复制代码

回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2019-12-16 16:34:14        只看该作者  5#
jpchen 发表于 2019-12-16 15:37
我拿了一个firefly-rk3128的机器验证是没有你说的问题。如下log是我插拔网线的相关信息,所以你需要自己 ...

感謝您的驗證,想請問您使用的kernel的版本是哪一版,因為有看到資訊顯示kernel版本有問題,但不是很確定版本。

另外,剛剛又透過量訊號,發現MDIO 在接上網路線後,便不會主動的去poll網路的狀態,不知道MDIO是否有相關設定經驗可以分享呢?
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-12-16 17:34:26        只看该作者  6#
kevin.chen 发表于 2019-12-16 16:34
感謝您的驗證,想請問您使用的kernel的版本是哪一版,因為有看到資訊顯示kernel版本有問題,但不是很確定 ...

我现在使用的是3.10的内核,还有如果你底板是自己layout,需要自己检查一下硬件。
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2019-12-23 10:49:48        只看该作者  7#
問題已解決。

發現問題是 phy的驅動設定錯誤,有個flag未設定好,導致不會自動poll網路狀態。

謝謝大家
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表