MACCHIATObin Single/Double Shot Quick Start Guide
Introduction
The following quick start guide provides background information about the
MACCHIATObin Single/Double Shot.
The guide will give a technical overview about the product and by the end of it you should be able to boot an operating system and begin testing your application.
Revision and Notes
Date | Owner | Revision | Notes |
---|---|---|---|
Oct 28, 2021 |
| 1.0 | Initial release |
Table of Contents |
|
Marvell ARMADA 8040 Networking
Overview
The A8040 offers different interfaces: One 1Gbit Ethernet interface, one 2.5 Gbit SFP Slot, and two 3310 Phys, which offers either usings a 10Gbit Ethernet via copper or SFP.
Each 3310 Phy need its own heatsink!
Network
10/100/1000 Mbit: RJ45 Ethernet: CP1 SRD0 | 1512 PHY
2.5Gbit SFP+: SGMII SFP: CP1 SRD5
10G Ethernet: CP1 SRD4 | 3310 PHY (supporting either copper or SFP+)
10G Ethernet: CP0 SRD4 | 3310 PHY (supporting either copper or SFP+)
Marvell ARMADA 8040 SPI
Overview
The A8040 got one SPI flash onboard, which can be used to flash u-boot on.
It is a Winbond 32mbit SPI Chip W25Q32FVZPIG
Please have a look at the U-Boot section how to write data to the spi: Flashing Instructions
Marvell ARMADA 8040 Low Speed Expansion
Overview
The 8040 board offers one low speed expansion: Marvell TDM module header
Marvell TDM module header
TDM Header pinout. Pin-1 marked on PCB
Pin | Function | Connection | Pin | Function | Connection |
---|---|---|---|---|---|
1 | SPI CSn | CP1 MPP12 | 2 | SPI MISO | CP1 MPP13 |
3 | SPI MOSI | CP1 MPP15 | 4 | SPI CLK | CP1 MPP16 |
5 | I2C SDA | CP0 MPP38 | 6 | I2C SCL | CP0 MPP37 |
7 | TDM INTn | CP1 MPP5 | 8 | TDM RSTn | CP1 MPP4 |
9 | TDM DTX | CP1 MPP2 | 10 | TDM PCLK | CP1 MPP0 |
11 | TDM DRX | CP1 MPP1 | 12 | TDM FSYNC | CP1 MPP3 |
13 | Ground |
| 14 | Ground |
|
15 | 12V |
| 16 | 3.3V |
|
Marvell ARMADA 8040 Development and Debug Interfaces
Overview
The 8040 board offers different interfaces for development and debugging:
Console port (UART) over microUSB connector
20-pin Connector for CPU JTAG debugger
2 X UART Headers
UART Header
UART Header pinout. Pin-1 marked on PCB
UART Header 1 (CAP1-UA0) Pinout
Pin | Function | Connection |
---|---|---|
1 | Ground |
|
2 | RXD (In) | CP0 MPP41 |
3 | TXD (Out) | CP0 MPP40 |
UART Header 2 (CAP0-UA0) Pinout
Pin | Function | Connection |
---|---|---|
1 | Ground |
|
2 | RXD (In) | CP1 MPP6 |
3 | TXD (Out) | CP0 CP1 MPP7 |
JTAG Header
MicroUSB
At the bottom of the board you can find a MicroUSB connector. [AP_MPP11 (TX), AP_MPP19 (RX)]It includes a FT230X USB to Serial and can be used as serial console.
Marvell ARMADA 8040 High Speed Expansion
Overview
The 8040 board offers different high speed expansions:
PCIex4 3.0 slot
USB 2.0 Headers (Internal)
USB 3.0 connector
USB 2.0 Connectors
The board got two USB 2.0 on board headers
CP0-USB0 (USB-2.0)
CP0-USB1 (USB-2.0)
Pin | Function | Connection | Pin | Function | Connection |
---|---|---|---|---|---|
1 | 5V |
| 2 | 5V |
|
3 | DM | CP0_USB2_0_DM | 4 | DM | CP0_USB2_1_DM |
5 | DP | CP0_USB2_0_DP | 6 | DP | CP0_USB2_1_DP |
7 | Ground |
| 8 | Ground |
|
void | void |
| 9 | Key | N.C. |
USB 3.0 Host
#CP1 SRD2 / #CP1-USB0 (USB-2.0)
PCIe Slot
The PCIe Slot supports PCIe x4. Please make sure the power consumption can changed when using a PCIe card, The PCIe is connected to CP0 SRD[3:0]
Marvell ARMADA 8040 Memory
Overview
The board got a DDR4 DIMM slot with optional ECC and single/dual
DDR4 DIMM
We ship our device with 4GB till 16GB DDR4 DIMM, up to 2400 speed. (Optional ECC)
Tested and Working:
4GB DDR4 2400MHz Samsung M378A5244CB0-CRC00
8GB : mta9asf1g72az-2g3b1zg Micron
16GB DDR4 2400MHz Samsung M378A2K43BB1-CRC00
16GB : HMA82GU6AFR8N-UHN0 Hynix
Dipswitch
Marvell ARMADA 8040 Dipswitch
Overview
Boot and frequency DIP switches (SW1+SW2)
The board incorporates two blocks of DIP switches, SW1 and SW2 where each has 5 positions.
SW2[1..5] and SW1[1] are for boot selection and SW1[2..5] is for frequency selection.
Boot selection
Following is configuration of SW2[1..5] and SW1[1] (6 positions from left to right) –
Boot from: | SW2(1/5) | SW2(2/5) | SW2(3/5) | SW2(4/5) | SW2(5/5) | SW1(1/5) | SW1(2/5) | SW1(3/5) | SW1(4/5) | SW1(5/5) |
---|---|---|---|---|---|---|---|---|---|---|
SPI ROM (onboard) | off | off | off | on | on | off | x | x | x | x |
SD card | off | on | on | on | off | on | x | x | x | x |
eMMC (onboard) | off | on | on | on | on | off | x | x | x | x |
Frequency selection
Following is configuration of SW1[2:5] –
Boot from: | SW2(1/5) | SW2(2/5) | SW2(3/5) | SW2(4/5) | SW2(5/5) | SW1(1/5) | SW1(2/5) | SW1(3/5) | SW1(4/5) | SW1(5/5) |
---|---|---|---|---|---|---|---|---|---|---|
CPU=1333MHz, DDR=1600MTps | x | x | x | x | x | x | on | off | on | on |
CPU=1600MHz, DDR=2100MTps | x | x | x | x | x | x | on | on | on | off |
CPU=1800MHz, DDR=2400MTps | x | x | x | x | x | x | off | off | on | off |
CPU=2000MHz, DDR=2100MTps | x | x | x | x | x | x | off | on | off | off |
CPU=2000MHz, DDR=2400MTps | x | x | x | x | x | x | off | on | on | off |
Marvell ARMADA 8040 Additional Headers
MCI
This connector is for internal use only!
Do not connect USB Type C accessories!
Reset
RESET Header(CP_MR#): For panel reset button support.
RESET Button(CP_MR#): For reset functionality.
FAN Header
FAN Header pinout. Pin-1 marked on PCB
Pin | Function | Connection |
---|---|---|
1 | PWM | CP0 MPP48 |
2 | N.C. |
|
3 | 12V |
|
4 | Ground |
|
GND (12v) Connectors
12V Header, GND pair
Flash MACCHIATObin DoubleShot 10G Ethernet PHYs
Follow these instructions to flash the firmware on both 10G PHYs of the MACCHIATObin DoubleShot. This is a one time operation.
Download this archive: mcbin-phy-firmware-flash.tar.gz.
The file sdcard-8040-dec-11-only-for-phy-firmware.img is an SD card image with a special version of U-Boot that can program the 10G PHY.
The two other files are the PHY firmware files. Copy these files to a USB storage device.
At U-Boot prompt run the following commands:
fatload usb 0:1 0x06000000 x3310fw_0_2_1_0_8125.hdr fatload usb 0:1 0x05000000 x3240flashdlslave_0_4_1_0_7847.bin phy_fw_down 0x06000000 164868 0x05000000 9948 8 phy_fw_down 0x06000000 164868 0x05000000 9948 0
Documentation
Please refer to Marvell MACCHIATObin.
Related Articles
SolidRun Ltd.