GlobalScale Mochabin User manual

MOCHABIN- V1-5-Quick Start Guide page: 1 / 43
1/ 43
MOCHABIN PCBA V1-5 - Quick Start Guide
Rev 02- Nov 25, 2022
Revision History
Date Revision Board Rev Description
Jan 29, 2020 Rev 01 V0-0-0
Nov 25, 2022 Rev 02 V1-5

MOCHABIN- V1-5-Quick Start Guide page: 2 / 43
2/ 43
Index
A. Appearance........................................................................................................................................ 4
A-1. Enclosure (Mochabin Box) ................................................................................................................. 4
A-2. Mochabin PCBA................................................................................................................................... 5
B. Package contents.............................................................................................................................. 6
C. Accessories (optional) ...................................................................................................................... 7
D. Key Features...................................................................................................................................... 9
E. I/O ports on PCBA........................................................................................................................... 10
E-1. Top side ............................................................................................................................................... 10
E-2. Back side ............................................................................................................................................ 13
F. I/O ports on Enclosure........................................................................................................................ 14
G. User interfaces................................................................................................................................. 16
G-1. Reset selection J23 ................................................................................................................... 16
G-2. J2- JTAG debugger Pin definition............................................................................................ 17
G-2-1. J2- JTAG debugger schematic .......................................................................................... 17
G-3. J6- Mikrobus- Pin definition ................................................................................................. 18
G-3-1. J6- Mikrobus- Schematic.................................................................................................. 18
G-4. J26 Dual USB3.0 cable connector .......................................................................................... 19
G-4-1. J26- Schematic....................................................................................................................... 19
G-5. J28, J29 USIM sleeves ............................................................................................................. 20
H. Bootstrap wire jumpers ........................................................................................................ 21
H-1. CPU Clock – J14, J15, J16....................................................................................................... 21
H-2. Boot Mode – J17, J18, J19, J20, J21, J22 ............................................................................. 22
I. Block Diagram..................................................................................................................................... 26
J. Cable connection for testing .............................................................................................................. 27
J-1. Mochabin PCBA connection...................................................................................................... 27
J-2. Mochabin BOX connection ..................................................................................................... 27
K. Preparation for power on................................................................................................................ 28
K-1. Hardware:.................................................................................................................................... 28
K-2. Software: ..................................................................................................................................... 28
L. Find com port and connect with putty .............................................................................................. 29
M. Running MOCHABIN ...................................................................................................................... 31
M-1. Check U-boot version and some system information ........................................................... 31
M-2. login “root” with password “admin” .......................................................................................... 32
M-3. Check the kernel version.......................................................................................................... 32

MOCHABIN- V1-5-Quick Start Guide page: 3 / 43
3/ 43
M-4. Check the CPU information ..................................................................................................... 33
M-4.1 check with command “cat /proc/cpuinfo”........................................................................... 33
M-4.2 check with lscpu command ................................................................................................. 34
M-5. Check the memory information................................................................................................ 34
M-6. Check the network information ................................................................................................ 35
M-6.1 check with ifconfig command.............................................................................................. 35
M-6.2 Using ping command to verify internet connection .......................................................... 37
M-7. Check the USB3.0 ports........................................................................................................... 37
M-7.1 check USB device without USB disk plugged .................................................................. 37
M-7.2 check USB device with 2 USB disks plugged................................................................... 38
M-7.3 check disk partitions............................................................................................................. 38
M-7.4 check disk partitions with “df” command ........................................................................... 39
M-7.5 check disk partitions with “fdisk -l” command ................................................................... 40
M-8. top command ............................................................................................................................. 42
M-9. Other useful commands like “lspci” and “lsmod” ................................................................... 42

MOCHABIN- V1-5-Quick Start Guide page: 4 / 43
4/ 43
A. Appearance
A-1. Enclosure (Mochabin Box)

MOCHABIN- V1-5-Quick Start Guide page: 5 / 43
5/ 43
A-2. Mochabin PCBA

MOCHABIN- V1-5-Quick Start Guide page: 6 / 43
6/ 43
B. Package contents
Note *1: There are two SKUs, they are MOCHABIN BOX and MOCHABIN PCBA
Content List Qti Std/ Opt Remark
1 MOCHABIN BOX
(MOCHABIN PCBA)
1 unit standard *1
2 AC to DC 12V Power Adapter 1 pc standard Input 90-240VAC / output 12V,3A
DC (optional)
3 Micro USB to USB type-A cable 1 pc optional For debug console use
4 Warranty card 1 pc standard

MOCHABIN- V1-5-Quick Start Guide page: 7 / 43
7/ 43
C. Accessories (optional)
Item
Description
picture
1
SFP to 1000 base T
2
SFP to 10G base T
3
10G SFP+ optical cable
4
8291M-PR
Wi-Fi Dual-band 2x2 11ax + BT5.1

MOCHABIN- V1-5-Quick Start Guide page: 8 / 43
8/ 43
Item
Description
Picture
5
EG25-G
LTE Cat4
Mini-PCIe module
6
GTI-WiFi-9098
2x2 Wi-Fi 6 plus BT5.3
Mini-PCIe module
7
RM520N-GL
5G Sub 6G NR module
M.2 22x50

MOCHABIN- V1-5-Quick Start Guide page: 9 / 43
9/ 43
D. Key Features
SoC
• Marvell ARMADA 88F7040
• Quad Core ARMv8 Cortex-A72
• CPU frequency @1400MHz
Memory
• 4GB DDR4 (8bitx4)- standard
• 8GB DDR4 (8bitx8)- optional
• 1GB ECC DDR4 (8bitx1)- optional
Storage
• 4MB SPI NOR flash
• 16GB eMMC flash
• M.2 SSD socket 2280 (B-key with SATA interface)
Ethernet
• 1x 10 Gb SFP+, fiber optic
• 1x 1Gb SFP fiber optic combo with 1Gb RJ45 either of them can be WAN
• 1x 1Gb RJ45 POE
• 4x 1GB RJ45 LAN
Wireless • 802.11 ac/ a/b/g/n 2x2 +BT5, mini-PCIe or USB module- optional
USB • 2x USB 3.0 type-A ports
Expansion
• 16-pin (2x8) MikroBus connector
• 1x Mini-PCIe 3.0
• 1x M.2 B-key 2250, support USB3.0 interface only
• 1x M.2 B-key 2280, support USB3.0 and SATA interface
Debugging • 1x JTAG port, 10-pin
• 1x micro USB UART connector
Miscellaneous
• DC 12V Power Jack
• Power on/off button
• Reset button
LEDs
• 3x tri-color LEDs
• 1 power-on LED
• Red LED- M.2 SSD drive LED
• Red LED- on mini-PCIe for WLAN

MOCHABIN- V1-5-Quick Start Guide page: 10 / 43
10 / 43
E. I/O ports on PCBA
E-1. Top side
26
27
28
29
30
31
32
33
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
25
24
23
22

MOCHABIN- V1-5-Quick Start Guide page: 11 / 43
11 / 43
No Part location Name Description
1 J23 Reset selection (wire jumper)
*see section G-1
2 J24 Fan power Supply +12V on pin2-3
3 BAT1 CR2032 /3.3V RTC power
4 J6 Mikrobus socket For Mikrobus expansion board
*see section G-3
5 U12 SPI Serial Flash 32M bit For uboot image
6 U11 eMMC 16GB eMMC for kernel and root-fs
7 J17,J18,J19,J20,J21,J22 Boot option selection *See section H-2
8 J14,J15,J16 CPU speed selection *See section H-1
9 U27 Secure chip Not populated by default
10 SW1 switch Power on/off switch
11 U3, U4, U5, U6 SDRAM 1st bank DDR4 8bit x4
12 U1 SoC-Marvell 88F7040 @1400NHz
13 U38 DDR4 8bit ECC SDRAM, not populated by default
14 J2 JTAG Debugger 5x2 pins, *see section G-2
15 LED2 WiFi LED for J5 Not populated by default
16 J30 Header for external WiFi LED Pin1-anode, pin2-cathode
17 J5 Mini-PCIe socket Reserved for WiFi ax 2x2 + BT5 module
18 J29 SIM sleeve Connects to J5 and J31 *See section G-
5
19 J31 M.2-2250 B-key Reserved for 4G/LTE/5G module
20 J28 SIM sleeve Connects to J31 *See section G-5
21 J4 M.2-2280-B key socket Reserved for SSD expansion
22 LED1 SSD LED for J4 Not populated by default
23 J27 Header for external SSD LED Pin1-anode, pin2-cathode
24 J25(p1-p15) SATA connector SATA power
25 J25(S1-S7) SATA connector SATA signal

MOCHABIN- V1-5-Quick Start Guide page: 12 / 43
12 / 43
No Part location Name Description
26 J10 SFP+ eth0 10Gb WAN Fiber connector (see note 1)
27 J13 SFP eth2 1Gb WAN Fiber connector (see note 1)
28 M1 PoE module 802.3at/af 30W PoE module, power
from J12
29 J12 Gb RJ45 with PoE- eth2 WAN with PoE input (see note 1)
30 J9 J9A, J9B, J9C, J9D 1Gb RJ45 for WANx1 and LANx3
31 J26 Dual ports USB3.0 Dual ports USB3.0 type-A female
32 J3 Micro-USB for debug console For debug console only
33 J1 +12V DC in DC Jack 5.5x2.1mm
Note 1:
1) J12 and J13 are the same eth2 port with different form factor, either RJ45 or SFP
2) J10 is a 10Gb SFP+ eth0 port
3) Eth0 and eth2 are network bonded in mode-1(active backup) as the same WAN port with eth2 set to bond-
primary. This means eth0 will be active only when eth2 doesn’t exist or fails.

MOCHABIN- V1-5-Quick Start Guide page: 13 / 43
13 / 43
E-2. Back side
No Part location Name Description
34 SW2 Reset switch
35 LED7 12VDC Power on LED Green
36 LED6 I2C controlled LED Tri-color
37 LED5 I2C controlled LED Tri-color
38 LED4 I2C controlled LED Tri-color
39 U7, U8, U9, U10 SDRAM 2nd bank DDR4 8bit x4
40 U13 DDR4 8bit ECC SDRAM, not populated by default

MOCHABIN- V1-5-Quick Start Guide page: 14 / 43
14 / 43
F. I/O ports on Enclosure
1
2
3
4
6
7
8
5
9
10
11
12

MOCHABIN- V1-5-Quick Start Guide page: 15 / 43
15 / 43
No Part location Name Description
1 SW1 switch Power on/off switch
2 LED7 12VDC Power on LED Green
3 LED6 I2C controlled LED Tri-color
4 LED5 I2C controlled LED Tri-color
5 LED4 I2C controlled LED Tri-color
6 J10 SFP+ eth0 10Gb WAN Fiber connector (see note 1)
7 J13 SFP eth2 1Gb WAN Fiber connector (see note 1)
8 J12 Gb RJ45 with PoE- eth2 WAN with PoE input (see note 1)
9 J9 J9A, J9B, J9C, J9D 1Gb RJ45 for WANx1 and LANx3
10 J26 Dual ports USB3.0 Dual ports USB3.0 type-A female
11 J3 Micro-USB for debug console For debug console only
12 J1 +12V DC in DC Jack 5.5x2.1mm

MOCHABIN- V1-5-Quick Start Guide page: 16 / 43
16 / 43
G. User interfaces
G-1. Reset selection J23
1. J23 is preset to 1-2 by default. When reset switch SW2 is pressed, the MRn low signal will be asserted and sent
to SoC to start the system reset process.
2. When J23 is set to 2-3, the KEY_RST will be low when SW2 is pressed and then sent to SOC GPIO mpp11, code
must be pre-programmed by the user for responding.

MOCHABIN- V1-5-Quick Start Guide page: 17 / 43
17 / 43
G-2. J2- JTAG debugger Pin definition
Pin# Signal Remark Pin# Signal Remark
1 +3.3V Not applied with R115 not
populated
2 JT_TMS
3 APUART_RXD NC with R121 not populated 4 JT_CLK
5 GND 6 JT_TDO
7 APUART_TXD NC with R122 not populated 8 JT_TDI
9 JT_TRSTn NC with R123 not populated 10 JT_RESETn
G-2-1. J2- JTAG debugger schematic

MOCHABIN- V1-5-Quick Start Guide page: 18 / 43
18 / 43
G-3. J6- Mikrobus- Pin definition
Pin# Signal Remark Pin# Signal Remark
1 NC AN 9 MKR_PWM MK_PWM
2 MKR_RST MK_RST 10 MKR_INT MK_INT
3 SPI0_CSn0 MK_CS 11 UA0_RXD MK_RX
4 SPI0_SCK MK_SCK 12 UA0_TXD MK_TX
5 SPI0_MISO MK_MISO 13 I2C0_SCL MK_SCL
6 SPI0_MOSI MK_MOSI 14 I2C0_SDA MK_SDA
7 +3.3V MK_3.3V 15 +5V MK_5V
8 GND 16 GND
G-3-1. J6- Mikrobus- Schematic

MOCHABIN- V1-5-Quick Start Guide page: 19 / 43
19 / 43
G-4. J26 Dual USB3.0 cable connector
Pin# Signal Remark Pin# Signal Remark
A1 +USB3_1_VCC +5V B1 +USB3_2_VCC +5V
A2 USB3_1_DM B2 USB3_2_DM
A3 USB3_1_DP B3 USB3_2_DP
A4 GND B4 GND
A5 USB3_1_RXn B5 USB3_2_RXn
A6 USB3_1_RXp B6 USB3_2_RXp
A7 GND B7 GND
A8 USB3_1_TXn B8 USB3_2_TXn
A9 USB3_1_TXp B9 USB3_2_TXp
S1/S2 SGNC S3/S4 SGNC
G-4-1. J26- Schematic

MOCHABIN- V1-5-Quick Start Guide page: 20 / 43
20 / 43
G-5. J28, J29 USIM sleeves
There are two USIM sleeves J28 and J29,
J28 is dedicated to M.2 2250 slot J31 while J29 is shared by J31 and J5 mini PCIe slot.
Table of contents
Other GlobalScale Single Board Computer manuals