Jump to content

EBK21

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I can get the spidev1 by directly modifying the dtb but can not get it work though.
  2. Getting FDT_NOT_FOUND(spi-add-cs1) and FDT_BADMAGIC(spi-dev-1) on uboot.
  3. Does the ethernet chip/driver supports only polling mode? This is really wasting a lot of cpu cycles. Well. From the driver,only polling mode is supported😢
  4. PR opened https://github.com/armbian/build/pull/3906
  5. I actually don't know how to do it without affect other boards. The orangepi3 lts support patch seems use shared dts include files. I didn't find other information related to the problem.It seems only happens on pi3lts which uses this new ethernet chip.
  6. Workaround is found. It's literaly a copypaste based on https://github.com/u-boot/u-boot/commit/a246e21351778a93805b3f52302a420f4b268601#diff-ccc56a581b4ac88eb0c52ec34ef3ede020bd4deaff8ab53d3fdcfa85d8438b38 Decompile the dtb,find and do the following. BEGIN ethernet@5020000 { compatible = "allwinner,sun50i-h6-emac\0allwinner,sun50i-a64-emac"; syscon = <0x30>; reg = <0x5020000 0x10000>; interrupts = <0x00 0x0c 0x04>; interrupt-names = "macirq"; resets = <0x04 0x21>; reset-names = "stmmaceth"; clocks = <0x04 0x54>; clock-names = "stmmaceth"; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <0x31>; phy-mode = "rgmii-id"; phy-handle = <0x32>; phy-supply = <0x33>; #Add the following entries snps,reset-gpio = <0x1f 0x03 0x0e 0x01>; snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; #End adding allwinner,rx-delay-ps = <0xc8>; allwinner,tx-delay-ps = <0x12c>; phandle = <0x76>; mdio { compatible = "snps,dwmac-mdio"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x77>; ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0x01>; #Comment out the following entries #reset-gpios = <0x1f 0x03 0x0e 0x01>; #reset-assert-us = <0x3a98>; #reset-deassert-us = <0x9c40>; #End commenting phandle = <0x32>; }; }; }; END
  7. Can confirm the ethernet is not working. No leds after plugged in.
  8. I got the same problem. It's self-built image from 22.08.0-trunk,kernel version 5.15.46. I don't have ethernet cable plugged but dmesg is still spamming the log and it seems eat some CPU. " [ 628.056717] dwmac-sun8i 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 628.074771] dwmac-sun8i 5020000.ethernet eth0: no phy at addr -1 "
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines