I've blogged about my first steps with the kit, Review 1: Unboxing and First Steps.
The second review was on cross compilation on a Windows machine: Review 2: Building the Libraries from Source
This time I connected the board to my home network.
That wasn't difficult at all.
At first I plugged the network cable from router to board while it had already booted.
The network was detected:
Oct 30 08:29:16 sama5d4-xplained kernel: macb f8020000.ethernet eth0: link up (100/Full)
I didn't get a lease. When I asked linux what my ip address was, I only got the localhost:
root@sama5d4-xplained:~# ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 2a:30:59:a4:17:10 brd ff:ff:ff:ff:ff:ff
A simple reboot with the cable connected gave me an ip address
root@sama5d4-xplained:~# /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 96:73:72:46:14:ab inet addr:192.168.1.50 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2375 (2.3 KiB) TX bytes:788 (788.0 B) Interrupt:22 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)
I was also able to ping other computers in my network:
root@sama5d4-xplained:~# ping 192.168.1.27 PING 192.168.1.27 (192.168.1.27) 56(84) bytes of data. 64 bytes from 192.168.1.27: icmp_seq=1 ttl=128 time=91.3 ms 64 bytes from 192.168.1.27: icmp_seq=2 ttl=128 time=4.80 ms 64 bytes from 192.168.1.27: icmp_seq=3 ttl=128 time=2.83 ms
and the board shows up on my router's status page
I was able to connect to the board via a browser from another pc. It shows an "It works!" message (see the first picture).
Next Steps:
I couldn't get a telnet or ssh session into the board yet. Putty says "Network error: Connection refused"
I'll have to do some more digging to see how I can get that to work on the distro that's on the board, and what I need to do to get this running.
This may be my next step up in getting my cross-compiled programs installed and running on the linux distro.
Top Comments