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 ....................
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...
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...
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...
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...
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.
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...
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.
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...
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.
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...
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...
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 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...
Need help?
Do you have a question about the Mochabin and is the answer not in the manual?
Questions and answers