Jump to content

Evgeniy evotronik

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Evgeniy evotronik

  1. guess it kernel/driver issue The driver does not request the stmmaceth (emac1-25M) clock during probe. Without this clock the MDIO bus does not function on cold boot - PHY ID reads as 0x00000000 and kernel falls back to Generic PHY instead of YT8531. Ethernet does not work until warm reboot.
  2. @JamesCl Sorry, It's ok with 100m, but 1000m also doesn't receive an ip with dhcp. Guess it is a dtb problem or maybe uboot
  3. to start ethernet #!/bin/bash echo -n "4510000.ethernet" > /sys/bus/platform/drivers/dwmac-sun55i/unbind 2>/dev/null echo 271 > /sys/class/gpio/export 2>/dev/null echo out > /sys/class/gpio/gpio271/direction 2>/dev/null echo 0 > /sys/class/gpio/gpio271/value 2>/dev/null sleep 0.1 echo 1 > /sys/class/gpio/gpio271/value 2>/dev/null sleep 0.3 echo 271 > /sys/class/gpio/unexport 2>/dev/null echo -n "4510000.ethernet" > /sys/bus/platform/drivers/dwmac-sun55i/bind 2>/dev/null just systemd it [Unit] Description=Fix ethernet PHY on cold boot After=multi-user.target [Service] Type=oneshot ExecStart=/usr/local/bin/fix-eth.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target
  4. extraargs=nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off to /boot/armbianEnv.txt fixes nvme detection the temperature is echo "$(( $(cat /sys/class/hwmon/hwmon0/temp1_input) / 1000 )) °C" if you copy the system to nvme and wanna boot with microsd (spi doesn't work for now): 1) it will actually boot but without boot mountpoint 2) mount /boot and /media/mmcboot manually 3) fix fstab
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines