VAR-SOM-AM43 GBIT Ethernet: Difference between revisions

From Variscite Wiki
Line 1: Line 1:
= On Carrier Gbit Ethernet - ETH1 =
= On Carrier Gbit Ethernet - ETH1 =
First, make sure your VAR-SOM-AM43 device supports ETH1.<br>
This Ethenet interface is available only if the VAR-SOM-AM43 device is without WiFi.<br>
 
In Uboot an autodetect mechanism will detect the type of module present and select the right .dtb accordingly.<br>
For a module with WiFi var-som-am43.dtb is selected, for a module without WiFi var-som-am43-eth1.dtb is selected.<br>
Please follow the instructions below:<br>
Please follow the instructions below:<br>


1) Build the correct DTB that supports ETH1 port and replace it on the SD-Card:<br>
Activate the ETH1 device and acquire IP for testing.  
<pre>
make -j6 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- var-som-am43-eth1.dtb
sudo cp arch/arm/boot/dts/var-som-am43-eth1.dtb /media/rootfs/boot/var-som-am43.dtb
sync
sudo umount /media/boot/
sudo umount /media/rootfs
sudo umount /media/user
</pre>
2) Then, activate the ETH1 device and acquire IP for testing.  
On Target:
On Target:
<pre>
<pre>

Revision as of 09:20, 24 December 2015

On Carrier Gbit Ethernet - ETH1

This Ethenet interface is available only if the VAR-SOM-AM43 device is without WiFi.
In Uboot an autodetect mechanism will detect the type of module present and select the right .dtb accordingly.
For a module with WiFi var-som-am43.dtb is selected, for a module without WiFi var-som-am43-eth1.dtb is selected.
Please follow the instructions below:

Activate the ETH1 device and acquire IP for testing. On Target:

$ ifconfig eth0 down
$ ifconfig eth1 up
$ udhcpc -i eth1
$ ifconfig 
$ iperf -s -u

On Host:

$ iperf -c 192.168.1.82 -u -b450M