Hello,
I was wondering that secondary ethernet card (MOD-ENC624J600) connected with Uext will be detected, but it seems that it is not easy as i expected... arffff
Is there a howto procedure, or how can i achieve this ?
best regards
just forgotten to say i'm using debian :)
Well, apparently there is not a driver for enc624j600. :o But there is a for ENC28J60: http://lxr.free-electrons.com/source/drivers/net/ethernet/microchip/enc28j60.c (http://lxr.free-electrons.com/source/drivers/net/ethernet/microchip/enc28j60.c)
Maybe they are compatible.
In fact, making a comparison http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en541877 (http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en541877)
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889, the only difference is TX/RX RAM Buffer(bytes)
Add to the script.fex:
[spi_devices]
spi_dev_num = 1
[spi1_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PG09<2><default><default><default>
spi_cs1 = port:PG13<2><default><default><default>
spi_sclk = port:PG10<2><default><default><default>
spi_mosi = port:PG11<2><default><default><default>
spi_miso = port:PG12<2><default><default><default>
[spi2_para]
spi_used = 1
spi_cs_bitmap = 3
spi_cs0 = port:PE00<4><default><default><default>
spi_cs1 = port:PB10<2><default><default><default>
spi_sclk = port:PE01<4><default><default><default>
spi_mosi = port:PE02<4><default><default><default>
spi_miso = port:PE03<4><default><default><default>
[spi_board0]
modalias = "enc28j60"
max_speed_hz = 10000000
chip_select = 0
bus_num = 2
mode = 0
spi_irq = port:PB04<6><default><default><default>
Change the parameters according to your needs. ;)
thanks ! will try this night :)
you will probably think i'm noob and dumb...but how can i install this driver ?
thx
Compile the kernel with active spi and the the ENC28J60 driver as a module.
more info about enc28j60: https://www.olimex.com/forum/index.php?topic=462.0 (https://www.olimex.com/forum/index.php?topic=462.0)
I would like to set this combination up also as my first Allwinner project.
Im trying to use an A20 Lime + MOD-ENC624J600 under linux but stuck with it. Im using linux-sunxi kernel with this driver: http://will-tm.com/spi-on-the-cubieboard2/
I have configured the hardware setup in the FEX file. The SPI driver says it's loaded. I can load the enc28j60 driver and the spidev too, but none of them seems to connect to the spi driver. Also no physical activity on the bus.
If anyone has made this board work under linux, please share if you use this SPI driver or another one.
thx :)
Quote from: holtind on February 11, 2015, 02:32:53 PM
I would like to set this combination up also as my first Allwinner project.
Im trying to use an A20 Lime + MOD-ENC624J600 under linux but stuck with it. Im using linux-sunxi kernel with this driver: http://will-tm.com/spi-on-the-cubieboard2/
I have configured the hardware setup in the FEX file. The SPI driver says it's loaded. I can load the enc28j60 driver and the spidev too, but none of them seems to connect to the spi driver. Also no physical activity on the bus.
If anyone has made this board work under linux, please share if you use this SPI driver or another one.
thx :)
hi, i am triying to same thing.did you run enc28j60 ?