lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 17 Aug 2016 13:56:27 +0200
From:	Jonatan Magnusson <jonatan.magnusson@...il.com>
To:	netdev@...r.kernel.org
Cc:	davem@...emloft.net, mhei@...mpold.de, jic23@...nel.org,
	dompe@....com, broonie@...nel.org, afd@...com
Subject: Failing to get link up with ENC28J60 + Beaglebone


Hi

I’m evaluating ENC28J60 for a new design, so I’ve got myself a module from ebay and verified that it works perfectly with Raspberry Pi.

Now I’m trying to get it to work on a Beaglebone (Beaglebone Green Wireless). After some struggles the device tree seems right and I’ve checked all signals (CS, MOSI, MISO, CLK, INT) with an oscilloscope and it looks perfect. SPI max frequency is set to a low value: 100 kHz. The driver is loaded and the device is detected and after boot I have an eth0 interface. But I can’t get it to link up state.

I’ve now enabled lots of debug messages and first thing I noticed is that the hardware revision (EREVID) is consistently reported as 0x3C. I’ve not seen any mentions of hardware revisions above 7 so that looks suspicios. Do you think you could help me there? What is the expected EREVID?

I’ve seen other people having trouble with ENC28J60 + Beaglebone on the web, but I’m not ready to give up that easily...

Here’s output of enc28j60_dump_regs:

[    9.083081] enc28j60: Enter enc28j60_dump_regs
[    9.143364] enc28j60 Hw initialized.
[    9.143364] HwRevID: 0x3c
[    9.143364] Cntrl: ECON1 ECON2 ESTAT  EIR  EIE
[    9.143364]        0x0f  0xc0  0x03  0x00  0x00
[    9.143364] MAC  : MACON1 MACON3 MACON4
[    9.143364]        0xf3   0x0c   0x00
[    9.143364] Rx   : ERXST  ERXND  ERXWRPT ERXRDPT ERXFCON EPKTCNT MAMXFL
[    9.143364]        0x0000 0xc3ff 0x0000  0xc3ff  0x03    0x00    0x33fc
[    9.143364] Tx   : ETXST  ETXND  MACLCON1 MACLCON2 MAPHSUP
[    9.143364]        0xcc00 0xffff 0xff     0x3f     0x00


Best regards,
Jonatan Magnusson

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ