Talk:ShareVDI R1

From linux-sunxi.org
Jump to navigation Jump to search

Ethernet somehow works with devicetree changes from [1], but have packets loss and strange pinctl messages in dmesg.

[    1.362738] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    1.362748] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    1.384765] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    1.395137] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    1.409310] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    1.416123] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    1.423456] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    1.433849] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    1.451457] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.463046] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.488534] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.498674] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.510197] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.519129] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.528890] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[    1.538314] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[    1.557701] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[    1.564962] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[    1.572236] dwmac-sun8i 1c50000.ethernet: COE Type 2
[    1.577231] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[    1.584031] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[    1.589719] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[    9.811699] dwmac-sun8i 1c50000.ethernet end0: renamed from eth0
[   23.905918] dwmac-sun8i 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   23.907363] dwmac-sun8i 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8201CP Ethernet] (irq=POLL)
[   23.907412] dwmac-sun8i 1c50000.ethernet end0: No Safety Features support found
[   23.907436] dwmac-sun8i 1c50000.ethernet end0: No MAC Management Counters available
[   23.907454] dwmac-sun8i 1c50000.ethernet end0: PTP not supported by HW
[   23.908270] dwmac-sun8i 1c50000.ethernet end0: configuring for phy/rgmii link mode
[   26.005914] dwmac-sun8i 1c50000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx

PA0 pin defined only in gmac_rgmii_pins group. Tried Linux kernel 6.4.12 and 6.6.1 built with sunxi_defconifg

Stock firmware have no issues.


Ah, I also configured NFC in my devicetree, so NAND flash chip now accessible.

[    9.852278] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x44
[    9.852316] nand: Micron MT29F32G08CBADA3W
[    9.852325] nand: 4096 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 744