Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Mochabin and is the answer not in the manual?

Questions and answers

Summary of Contents for GlobalScale Mochabin

  • Page 1 1 / 43 MOCHABIN- V1-5-Quick Start Guide 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 1 / 43...
  • Page 2: Table Of Contents

    2 / 43 MOCHABIN- V1-5-Quick Start Guide Index Appearance ............................4 A-1. Enclosure (Mochabin Box) ......................... 4 A-2. Mochabin PCBA ........................... 5 Package contents ..........................6 Accessories (optional) ........................7 Key Features ............................9 I/O ports on PCBA ........................... 10 E-1.
  • Page 3 3 / 43 MOCHABIN- V1-5-Quick Start Guide 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 ....................
  • Page 4: Appearance

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

    5 / 43 MOCHABIN- V1-5-Quick Start Guide A-2. Mochabin PCBA 5 / 43...
  • Page 6: Package Contents

    Input 90-240VAC / output 12V,3A DC (optional) Micro USB to USB type-A cable 1 pc optional For debug console use Warranty card 1 pc standard Note *1: There are two SKUs, they are MOCHABIN BOX and MOCHABIN PCBA 6 / 43...
  • Page 7: Accessories (Optional)

    7 / 43 MOCHABIN- V1-5-Quick Start Guide C. Accessories (optional) Item Description picture SFP to 1000 base T SFP to 10G base T 10G SFP+ optical cable 8291M-PR Wi-Fi Dual-band 2x2 11ax + BT5.1 7 / 43...
  • Page 8 8 / 43 MOCHABIN- V1-5-Quick Start Guide Item Description Picture EG25-G LTE Cat4 Mini-PCIe module GTI-WiFi-9098 2x2 Wi-Fi 6 plus BT5.3 Mini-PCIe module RM520N-GL 5G Sub 6G NR module M.2 22x50 8 / 43...
  • Page 9: Key Features

    9 / 43 MOCHABIN- V1-5-Quick Start Guide D. Key Features • Marvell ARMADA 88F7040 • Quad Core ARMv8 Cortex-A72 • CPU frequency @1400MHz • 4GB DDR4 (8bitx4)- standard Memory • 8GB DDR4 (8bitx8)- optional • 1GB ECC DDR4 (8bitx1)- optional •...
  • Page 10: I/O Ports On Pcba

    10 / 43 MOCHABIN- V1-5-Quick Start Guide E. I/O ports on PCBA E-1. Top side 10 / 43...
  • Page 11 11 / 43 MOCHABIN- V1-5-Quick Start Guide Part location Name Description Reset selection (wire jumper) *see section G-1 Fan power Supply +12V on pin2-3 BAT1 CR2032 /3.3V RTC power Mikrobus socket For Mikrobus expansion board *see section G-3 SPI Serial Flash 32M bit...
  • Page 12 12 / 43 MOCHABIN- V1-5-Quick Start Guide Part location Name Description SFP+ eth0 10Gb WAN Fiber connector (see note 1) SFP eth2 1Gb WAN Fiber connector (see note 1) PoE module 802.3at/af 30W PoE module, power from J12 Gb RJ45 with PoE- eth2...
  • Page 13: E-2. Back Side

    13 / 43 MOCHABIN- V1-5-Quick Start Guide E-2. Back side Part location Name Description Reset switch LED7 12VDC Power on LED Green LED6 I2C controlled LED Tri-color LED5 I2C controlled LED Tri-color LED4 I2C controlled LED Tri-color U7, U8, U9, U10...
  • Page 14: I/O Ports On Enclosure

    14 / 43 MOCHABIN- V1-5-Quick Start Guide F. I/O ports on Enclosure 14 / 43...
  • Page 15 15 / 43 MOCHABIN- V1-5-Quick Start Guide Part location Name Description switch Power on/off switch LED7 12VDC Power on LED Green LED6 I2C controlled LED Tri-color LED5 I2C controlled LED Tri-color LED4 I2C controlled LED Tri-color SFP+ eth0 10Gb WAN Fiber connector...
  • Page 16: User Interfaces

    16 / 43 MOCHABIN- V1-5-Quick Start Guide 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.
  • Page 17: G-2. J2- Jtag Debugger Pin Definition

    17 / 43 MOCHABIN- V1-5-Quick Start Guide G-2. J2- JTAG debugger Pin definition Pin# Signal Remark Pin# Signal Remark +3.3V Not applied with R115 not JT_TMS populated APUART_RXD NC with R121 not populated JT_CLK JT_TDO APUART_TXD NC with R122 not populated...
  • Page 18: J6- Mikrobus- Pin Definition

    18 / 43 MOCHABIN- V1-5-Quick Start Guide G-3. J6- Mikrobus- Pin definition Pin# Signal Remark Pin# Signal Remark MKR_PWM MK_PWM MKR_RST MK_RST MKR_INT MK_INT SPI0_CSn0 MK_CS UA0_RXD MK_RX SPI0_SCK MK_SCK UA0_TXD MK_TX SPI0_MISO MK_MISO I2C0_SCL MK_SCL SPI0_MOSI MK_MOSI I2C0_SDA MK_SDA +3.3V...
  • Page 19: G-4. J26 Dual Usb3.0 Cable Connector

    19 / 43 MOCHABIN- V1-5-Quick Start Guide G-4. J26 Dual USB3.0 cable connector Pin# Signal Remark Pin# Signal Remark +USB3_1_VCC +USB3_2_VCC USB3_1_DM USB3_2_DM USB3_1_DP USB3_2_DP USB3_1_RXn USB3_2_RXn USB3_1_RXp USB3_2_RXp USB3_1_TXn USB3_2_TXn USB3_1_TXp USB3_2_TXp S1/S2 SGNC S3/S4 SGNC G-4-1. J26- Schematic...
  • Page 20: G-5. J28, J29 Usim Sleeves

    20 / 43 MOCHABIN- V1-5-Quick Start Guide 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.
  • Page 21: Bootstrap Wire Jumpers

    21 / 43 MOCHABIN- V1-5-Quick Start Guide H. Bootstrap wire jumpers H-1. CPU Clock – J14, J15, J16 MPP46 MPP17 MPP16 MPP15 HEX value CPU clock DDR clock Remark L(2-3) H(1-2) H(1-2) 1200 H(1-2) L(2-3) L(2-3) 1400 Default value...
  • Page 22: H-2. Boot Mode - J17, J18, J19, J20, J21, J22

    22 / 43 MOCHABIN- V1-5-Quick Start Guide H-2. Boot Mode – J17, J18, J19, J20, J21, J22 R (Right)=3.3V=”1” L (Left) =GND=”0” Boot Mode [5:0] Default=0x32 BootROM Enabled Boot Mode [5:0] Details BootROM Enabled, Boot from NOR: 8 bits width, DEV_Wen, and DEV_OEn are not muxed with...
  • Page 23 23 / 43 MOCHABIN- V1-5-Quick Start Guide BootROM Enabled, Boot from NAND: 8 bits width, with a page size of 2KB, 1 bit ECC support per page, using MPP multiplexing option of NAND 8 bits BootROM Enabled, Boot from NAND: 8 bits width, with a page size of 2KB, 4 bits ECC support per page,...
  • Page 24 24 / 43 MOCHABIN- V1-5-Quick Start Guide BootROM Enabled, Boot from NAND: 16 bits width, with a page size of 2KB, 16 bits ECC support per 0x1D page, using MPP multiplexing option of NAND 16 bits BootROM Enabled, Boot from NAND: 16 bits width, with a page size of 4KB, 4 bits ECC support per page,...
  • Page 25 25 / 43 MOCHABIN- V1-5-Quick Start Guide BootROM Enabled, Boot from SPI: CP_SPI0, 32 address bits, NOR Flash type, using MPP multiplexing 0x35 option of SPI on MPP[56:59] 25 / 43...
  • Page 26: Block Diagram

    26 / 43 MOCHABIN- V1-5-Quick Start Guide I. Block Diagram 26 / 43...
  • Page 27: Cable Connection For Testing

    27 / 43 MOCHABIN- V1-5-Quick Start Guide J. Cable connection for testing J-1. Mochabin PCBA connection J-2. Mochabin BOX connection 27 / 43...
  • Page 28: Preparation For Power On

    K. Preparation for power on K-1. Hardware: a. Linux PC installed with minicom, putty or Windows PC installed with putty b. MOCHABIN unit PCBA or BOX c. Ethernet cable from IP router or IP switch (optional) d. USB3.0 Flash disks (optional) e.
  • Page 29: Find Com Port And Connect With Putty

    L. Find com port and connect with putty 1. Connect MOCHABIN’s RS-232 port to PC’s USB port by using the dedicated cable 2. Go to [my computer] [device manager] and you will see a new COM port after plugging in the USB...
  • Page 30 30 / 43 MOCHABIN- V1-5-Quick Start Guide 3. Run putty, select serial connection then enter the COM port you’ve found in the previous step, The baud rate speed is 115200 then press “open” 30 / 43...
  • Page 31: Running Mochabin

    Power on the board then press enter to terminate uboot running, you can see messages on screen like the followings U-Boot 2018.03-devel-18.12.3-gb794de0054 (Sep 05 2022 - 14:38:22 +0800) Model: Marvell Armada 7040 Mochabin development board SoC: Armada7040-B0; AP806-B0; CP115-A0 Clock: CPU...
  • Page 32: M-2. Login "Root" With Password "Admin

    32 / 43 MOCHABIN- V1-5-Quick Start Guide M-2. login “root” with password “admin” moca289bf1 login: root Password: Last login: Wed Nov 23 13:11:33 UTC 2022 on ttyS0 Welcome to Ubuntu 18.04 LTS (GNU/Linux 5.4.163-00034-ga7e9e3c22288 aarch64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com...
  • Page 33 33 / 43 MOCHABIN- V1-5-Quick Start Guide M-4. Check the CPU information M-4.1 check with command “cat /proc/cpuinfo” You may see there are 4 processors root@moca289bf1:~# cat /proc/cpuinfo processor BogoMIPS : 50.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid...
  • Page 34 34 / 43 MOCHABIN- V1-5-Quick Start Guide M-4.2 check with lscpu command root@moca289bf1:~# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): NUMA node(s): Vendor ID: Model:...
  • Page 35 35 / 43 MOCHABIN- V1-5-Quick Start Guide M-6. Check the network information Connect RJ45 cable from the WAN port to the ethernet router or switch type in “dhclient” then ifconfig” M-6.1 check with ifconfig command root@moca289bf1:~# ifconfig bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500 inet 192.168.3.21 netmask 255.255.255.0 broadcast 192.168.3.255...
  • Page 36 36 / 43 MOCHABIN- V1-5-Quick Start Guide lan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether f0:ad:4e:28:9b:f0 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lan1: flags=4099<UP,BROADCAST,MULTICAST>...
  • Page 37 37 / 43 MOCHABIN- V1-5-Quick Start Guide M-6.2 Using ping command to verify internet connection root@moca289bf1:~# ping -c 10 www.google.com PING www.google.com (142.251.43.4) 56(84) bytes of data. 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=1 ttl=52 time=42.9 ms 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=2 ttl=52 time=89.1 ms 64 bytes from tsa03s08-in-f4.1e100.net (142.251.43.4): icmp_seq=3 ttl=52 time=227 ms...
  • Page 38 38 / 43 MOCHABIN- V1-5-Quick Start Guide M-7.2 check USB device with 2 USB disks plugged Enter command: lsusb root@moca289bf1:~# lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 13fe:6300 Kingston Technology Company Inc.
  • Page 39 39 / 43 MOCHABIN- V1-5-Quick Start Guide M-7.4 check disk partitions with “df” command root@moca289bf1:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 15014832 1046040 13183028 8% / devtmpfs 1981884 1981884 0% /dev tmpfs 2015548 2015548 0% /dev/shm...
  • Page 40 40 / 43 MOCHABIN- V1-5-Quick Start Guide M-7.5 check disk partitions with “fdisk -l” command root@moca289bf1:~# fdisk -l Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mtdblock0: 3.9 MiB, 4063232 bytes, 7936 sectors...
  • Page 41 41 / 43 MOCHABIN- V1-5-Quick Start Guide check disk partitions with “fdisk -l” command (continued) Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 30777343 30775296 14.7G 83 Linux Disk /dev/sda: 14.8 GiB, 15846080512 bytes, 30949376 sectors...
  • Page 42 42 / 43 MOCHABIN- V1-5-Quick Start Guide M-8. top command root@moca289bf1:~# top top - 14:06:16 up 53 min, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 121 total, 1 running, 68 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.1 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.1 hi, 0.0 si, 0.0 st...
  • Page 43 43 / 43 MOCHABIN- V1-5-Quick Start Guide root@moca289bf1:~# lsmod Module Size Used by xt_MASQUERADE 16384 1 iptable_nat 16384 1 nf_nat 45056 2 iptable_nat,xt_MASQUERADE nf_conntrack 118784 2 nf_nat,xt_MASQUERADE nf_defrag_ipv6 24576 1 nf_conntrack nf_defrag_ipv4 16384 1 nf_conntrack libcrc32c 16384 2 nf_conntrack,nf_nat...

Table of Contents