VAR-SOM-AM43 GBIT Ethernet: Difference between revisions

From Variscite Wiki
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
= On Carrier Gbit Ethernet - ETH1 =
{{PageHeader|VAR-SOM-AM43 - On Carrier Gbit Ethernet ETH1}} {{DocImage|category1=VAR-SOM-AM43|category2=Yocto}} __toc__
First, make sure your VAR-SOM-AM43 device supports ETH1.
This Second ethenet interface (phy on carrier board) is available only if the VAR-SOM-AM43 SOM without a WiFi module.<br>
Please follow the instructions below:<br>
In Uboot an autodetect mechanism will detect the type of module used and select the proper .dtb accordingly.<br>
1) Build the correct DTB that supports ETH1 port and replace it on the SD-Card:<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>
<pre>
 
make -j6 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- var-som-am43-eth1.dtb
Please follow the instructions below to activate the ETH1 device and acquire IP for testing.<br>
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>

Latest revision as of 09:22, 28 December 2015

VAR-SOM-AM43 - On Carrier Gbit Ethernet ETH1

This Second ethenet interface (phy on carrier board) is available only if the VAR-SOM-AM43 SOM without a WiFi module.
In Uboot an autodetect mechanism will detect the type of module used and select the proper .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 to 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