background image

We login with 

root

 where no password is needed.

Once in Buildroot, we can check the kernel version using the 

uname -a

 command:

# uname -a
Linux buildroot 4.4.8-devel-17.01.1-01388-ge401441-dirty #55 SMP PREEMPT Tue Feb 28 
13:44:53 IST 2017 aarch64 GNU/Linux

 

Initial network setup

 

 Note

The initial network setup described below works on both the Single Shot and Double Shot
MACCHIATObin boards.

First thing we want for now is to configure MACCHIATObin to have network access, that is,
acquire an IP address through the Ethernet interface . Connect one end of an Ethernet
cable to the 

RJ45 1GbE

 port on MACCHIATObin and the other end to your router or IP

switch. In the Buildroot shell insert the following commands to configure eth2 interface to
use DHCP for obtaining an IP address:

# dhclient eth2
[ 16.745901] mvpp2 f4000000.ppv22 eth2: link up

using 

ifconfig

 command we can verify that the IP address has been obtained, e.g.:

# ifconfig
eth2 Link encap:Ethernet HWaddr 00:00:00:00:00:05
inet addr:10.82.40.222 Bcast:10.82.43.255 Mask:255.255.252.0
inet6 addr: fe80::200:ff:fe00:5%739579584/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:167 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:2048
RX bytes:24424 (23.8 KiB) TX bytes:1332 (1.3 KiB)
Interrupt:136 Memory:f4000000-f408ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%739580736/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)

we can also 

ping

 any IP address on the web to check our Internet connection, e.g.

5/7

Summary of Contents for Single Shot

Page 1: ...rything is working fine For instructions on how to compile system components and boot them with your own build binaries see BSP HowTo I O ports and connectors First let us see what ports and connectors are available on the MACCHIATObin boards Below is a picture of the MACCHIATObin Double Shot board from top view Note The 10G copper connectors are only available on the Double Shot version of MACCHI...

Page 2: ...rs please see Ports and Interfaces Prerequisites Here is what you will need to power up the Single Shot or Double Shot MACCHIATObin boards Linux or Windows PC 12V power adapter TODO add notes on which prerequisites are included in the package as well as notes on what is included with Double Shot compared to Single Shot micro USB cable IP router or IP switch USB 3 0 2 0 Flash disk optional 2 7 ...

Page 3: ... other end to the MicroUSB port on your MACCHIATObin 3 Connect one end of an Ethernet cable to the RJ45 1GbE port on your MACCHIATObin and the other end to your IP router or IP switch 4 Optional If you are trying to use the USB storage devices connect the USB stick to the USB 3 0 port on the MACCHIATObin Serial connection Regarding step 2 from above we will use serial connection to access the cons...

Page 4: ...0 g0f680c8 Mar 15 2017 13 12 27 Then U Boot prints out the system settings and serdes configurations I2C ready DRAM 15 8 GiB Board MACCHIATOBin 8040 Clock CPU 1300 MHz DDR 800 MHz FABRIC 800 MHz MSS 200 MHz DDR 64 Bit width LLC Enabled Exclusive Mode Comphy chip 0 Comphy 0 PEX0 Comphy 1 PEX0 Comphy 2 PEX0 Comphy 3 PEX0 Comphy 4 KR Comphy 5 SATA1 Comphy chip 1 Comphy 0 SGMII1 1 25 Gbps Comphy 1 SAT...

Page 5: ...ient eth2 16 745901 mvpp2 f4000000 ppv22 eth2 link up using ifconfig command we can verify that the IP address has been obtained e g ifconfig eth2 Link encap Ethernet HWaddr 00 00 00 00 00 05 inet addr 10 82 40 222 Bcast 10 82 43 255 Mask 255 255 252 0 inet6 addr fe80 200 ff fe00 5 739579584 64 Scope Link UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 167 errors 0 dropped 0 overruns 0...

Page 6: ...1 usb 2 1 new SuperSpeed USB device number 2 using xhci hcd 87 297072 usb storage 2 1 1 0 USB Mass Storage device detected 87 303349 scsi host5 usb storage 2 1 1 0 88 367846 scsi 5 0 0 0 Direct Access Kingston DataTraveler 3 0 PMAP PQ 0 ANSI 6 89 343260 sd 5 0 0 0 sda 15364416 512 byte logical blocks 7 87 GB 7 33 GiB 89 350981 sd 5 0 0 0 sda Write Protect is off 89 355949 sd 5 0 0 0 sda No Caching...

Page 7: ...ease armada 17 02 0 NOTICE BL2 Built 13 30 37 Mar 15 2017 NOTICE BL1 Booting BL31 lNOTICE BL31 v1 2 release armada 17 02 0 NOTICE BL31 Built 13 30 38 Mar 15 2017 l U Boot 2015 01 armada 17 02 0 g0f680c8 Mar 15 2017 13 12 27 I2C ready DRAM 15 8 GiB Board MACCHIATOBin 8040 Clock CPU 1300 MHz DDR 800 MHz FABRIC 800 MHz MSS 200 MHz DDR 64 Bit width LLC Enabled Exclusive Mode Comphy chip 0 Comphy 0 PEX...

Reviews: