Rock64 1Gb Ethernet not working, 100 MB okay

roboman <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
13-Release

little background on my environment: I don't have a serial console
setup, && since HDMI doesn't work out-of-the-box, I'm running headless.

Process to duplicate symptoms:

1. load U-Boot ERASE-flash to SP1 via sdcard to ensure its clear
2. load U-Boot 'boot' flash to SP1 via sdcard image
3. dd if=FreeBSD-13.0-RELEASE-arm64-aarch64-ROCK64.img of=/dev/da0
bs=1M conv=sync
4. Boot device headless.  Have continuous ping running on another
workstation.
5. After waiting "long enough" for a ping, with no response... pull
SDCard and review logs posted on the card in /var/log/*

Catalyst for mayheim:
* eBay seller has ~$25 special - board + power adapter
* I bought four of them

One is running 13-Release at 1GB and is operating 100% stable @ 1Gb as
a NFS server w/several active clients.

Three fail to connect either via static or DHCP @ 1 Gb.  

Workaround: set media speed manually to 100 MB in rc.conf

/etc/rc.conf:

  "ifconfig_dwc0="inet 192.168.1.101 netmask 255.255.255.0 media
100baseTX mediaopt full-duplex"

If I don't force 100MB, it doesn't work: 

	"ifconfig_dwc0="inet 192.168.1.101 netmask 255.255.255.0"

	--or--

	Left as dhcp: "ifconfig_DEFAULT=DHCP"

 -- I get no error in /var/log/messages or daemon.log, but the NIC
doesn't work. Link light is active & blinking on Rock64 & network
switch, 0 traffic in or out that I can tell.  Logs on my DHCP server
(pfSense) show no incoming requests from the Rock64 for a DHCP lease.  

/var/log/messages has


 kernel: dwc0: link state changed to UP


loader.conf has:

hw.usb.template=3
umodem_load="YES"
boot_serial="YES"
beastie_disable="YES"
loader_color="NO"
fdt_overlays="rk3328-dwc3"

-------------4 devices--------------------------
NIC works perfectly at 1Gb on one Rock64, the other 3 will only work if
hard-coded to 100MB

***All four work fine at 1Gb on DietPi????

Goal: --> Not wanting to switch to DietPi||Armbian <--

tx in adv
-Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.