background image

   

MOCHABIN- V1-5-Quick Start Guide      

page:  32  /  43 

                                                                   

 

                                                                   

 

 

32

  / 

43

 

 

 

M-2. login “root” with password “admin”

 

 

 

 

 

 

 

 

 

 

 

 
 

M-3. Check the kernel version

 

 

Enter command :    uname –a 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

Linux moca289bf1 5.4.163-00034-ga7e9e3c22288 #2 SMP PREEMPT Fri Aug 5 14:25:28 CST 2022 aarch64 
aarch64 aarch64 GNU/Linux 
root@moca289bf1:~# ^C 
root@moca289bf1:~# 

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 
 * Support:        https://ubuntu.com/advantage 
root@moca289bf1:~# 

root@moca289bf1:~# whoami 
root 
root@moca289bf1:~# pwd 
/root 
root@moca289bf1:~# 

Summary of Contents for Mochabin

Page 1: ...CHABIN 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 ...

Page 2: ...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...

Page 3: ... 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 com...

Page 4: ...MOCHABIN V1 5 Quick Start Guide page 4 43 4 43 A Appearance A 1 Enclosure Mochabin Box ...

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

Page 6: ... 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 ...

Page 7: ...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 ...

Page 8: ...OCHABIN 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 ...

Page 9: ...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...

Page 10: ...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 ...

Page 11: ...ch 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 ...

Page 12: ...e 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 po...

Page 13: ...on 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 ...

Page 14: ...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 ...

Page 15: ... 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 ...

Page 16: ... 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 ...

Page 17: ... 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 ...

Page 18: ...rk 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 ...

Page 19: ...al 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 ...

Page 20: ...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 ...

Page 21: ...CPU Clock J14 J15 J16 MPP46 MPP17 J16 MPP16 J15 MPP15 J14 HEX value CPU clock MHz DDR clock MHz Remark H L 2 3 H 1 2 H 1 2 0xB 1200 800 H H 1 2 L 2 3 L 2 3 0XC 1400 800 Default value H H 1 2 L 2 3 H 1 2 0XD 600 800 H H 1 2 H 1 2 L 2 3 0XE 800 800 H H 1 2 H 1 2 H 1 2 0XF 1000 800 ...

Page 22: ..._Wen and DEV_OEn are muxed with DEV_A 16 15 using MPP multiplexing option of NOR 8 bits 0x4 BootROM Enabled Boot from NOR 16 bits width DEV_Wen and DEV_OEn are not muxed with DEV_A 16 15 using MPP multiplexing option of NOR 16 bits 0x5 BootROM Enabled Boot from NOR 16 bits width DEV_Wen and DEV_OEn are muxed with DEV_A 16 15 using MPP multiplexing option of NOR 16 bits 0x8 BootROM Enabled Boot fro...

Page 23: ...0x11 BootROM Enabled Boot from NAND 8 bits width with a page size of 4KB 16 bits ECC support per page using MPP multiplexing option of NAND 8 bits 0x12 BootROM Enabled Boot from NAND 8 bits width with a page size of 8KB 4 bits ECC support per page using MPP multiplexing option of NAND 8 bits 0x13 BootROM Enabled Boot from NAND 8 bits width with a page size of 8KB 8 bits ECC support per page using ...

Page 24: ... 12 bits ECC support per page using MPP multiplexing option of NAND 16 bits 0x25 BootROM Enabled Boot from NAND 16 bits width with a page size of 8KB 16 bits ECC support per page using MPP multiplexing option of NAND 16 bits 0x28 BootROM Enabled Boot from SD AP_SD using MPP multiplexing option of SD on AP_MPP 5 0 0x29 BootROM Enabled Boot from SD CP_SD using MPP multiplexing option of SD on MPP 61...

Page 25: ...MOCHABIN V1 5 Quick Start Guide page 25 43 25 43 0x35 BootROM Enabled Boot from SPI CP_SPI0 32 address bits NOR Flash type using MPP multiplexing option of SPI on MPP 56 59 ...

Page 26: ...MOCHABIN V1 5 Quick Start Guide page 26 43 26 43 I Block Diagram ...

Page 27: ...MOCHABIN V1 5 Quick Start Guide page 27 43 27 43 J Cable connection for testing J 1 Mochabin PCBA connection J 2 Mochabin BOX connection ...

Page 28: ...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 Mini USB to USB cable K 2 Software a Putty for Linux or Windows PC Please go on web and download putty exe Visit the following web site for more information http www globalscaletechnologies com t downloads aspx ...

Page 29: ...9 43 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 cable here is COM4 for example ...

Page 30: ...MOCHABIN V1 5 Quick Start Guide page 30 43 30 43 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 ...

Page 31: ...s spi 700680 CS0 configured for direct access 00000000f9000000 0x1000000 SF Detected w25q32bv with page size 256 Bytes erase size 4 KiB total 4 MiB Comphy chip 0 Comphy 0 SGMII1 3 125 Gbps Comphy 1 USB3_HOST0 Comphy 2 SATA0 Comphy 3 SATA1 Comphy 4 SFI0 10 3125 Gbps Comphy 5 PEX2 UTMI PHY 0 initialized to USB Host0 UTMI PHY 1 initialized to USB Host1 SATA link 0 timeout SATA link 1 timeout AHCI 000...

Page 32: ...22 aarch64 aarch64 aarch64 GNU Linux root moca289bf1 C root moca289bf1 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 Support https ubuntu com advantage root moca289bf1 root moca289bf1 whoami root root moca289bf1 pwd...

Page 33: ...8 CPU revision 1 processor 1 BogoMIPS 50 00 Features fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer 0x41 CPU architecture 8 CPU variant 0x0 CPU part 0xd08 CPU revision 1 processor 2 BogoMIPS 50 00 Features fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer 0x41 CPU architecture 8 CPU variant 0x0 CPU part 0xd08 CPU revision 1 processor 3 BogoMIPS 50 00 Features fp as...

Page 34: ...Flags fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid root moca289bf1 root moca289bf1 cat proc meminfo MemTotal 4031096 kB MemFree 3843280 kB MemAvailable 3821368 kB Buffers 5972 kB Cached 83540 kB SwapCached 0 kB Active 50816 kB Inactive 56704 kB Active anon 18520 kB Inactive anon 2556 kB Active file 32296 kB Inactive file 54148 kB Unevictable 0 kB Mlocked 0 kB SwapTotal 0 kB SwapFree 0 kB Dirty...

Page 35: ...X 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 eth0 flags 6147 UP BROADCAST SLAVE MULTICAST mtu 1500 ether f0 ad 4e 28 9b f1 txqueuelen 2048 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 collision...

Page 36: ... 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 lan3 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 erro...

Page 37: ...42 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 64 bytes from tsa03s08 in f4 1e100 net 142 251 43 4 icmp_seq 4 ttl 52 time 156 ms 64 bytes from tsa03s08 in f4 1e100 net 142 251 43 4 icmp_seq 5 ttl 52 time 60 4 ms 64 bytes from tsa03s08 in f...

Page 38: ...004 Device 002 ID 0424 5534 Standard Microsystems Corp Hub Bus 004 Device 001 ID 1d6b 0003 Linux Foundation 3 0 root hub Bus 003 Device 003 ID 0951 1624 Kingston Technology DataTraveler G2 Bus 003 Device 002 ID 0424 2134 Standard Microsystems Corp Hub Bus 003 Device 001 ID 1d6b 0002 Linux Foundation 2 0 root hub root moca289bf1 root moca289bf1 cat proc partitions major minor blocks name 1 0 65536 ...

Page 39: ...nted on dev root 15014832 1046040 13183028 8 devtmpfs 1981884 0 1981884 0 dev tmpfs 2015548 0 2015548 0 dev shm tmpfs 2015548 3156 2012392 1 run tmpfs 5120 0 5120 0 run lock tmpfs 2015548 0 2015548 0 sys fs cgroup tmpfs 403108 0 403108 0 run user 0 dev sda1 15458400 9288768 6169632 61 media disk0 dev sdb1 3907552 288 3907264 1 media disk1 root moca289bf1 ...

Page 40: ...tes I O size minimum optimal 512 bytes 512 bytes Disk dev mtdblock1 64 KiB 65536 bytes 128 sectors Units sectors of 1 512 512 bytes Sector size logical physical 512 bytes 512 bytes I O size minimum optimal 512 bytes 512 bytes Disk dev mtdblock2 64 KiB 65536 bytes 128 sectors Units sectors of 1 512 512 bytes Sector size logical physical 512 bytes 512 bytes I O size minimum optimal 512 bytes 512 byt...

Page 41: ... bytes I O size minimum optimal 512 bytes 512 bytes Disklabel type dos Disk identifier 0xb9fc2146 Device Boot Start End Sectors Size Id Type dev sda1 17280 30949375 30932096 14 8G c W95 FAT32 LBA Disk dev sdb 3 8 GiB 4009754624 bytes 7831552 sectors Units sectors of 1 512 512 bytes Sector size logical physical 512 bytes 512 bytes I O size minimum optimal 512 bytes 512 bytes Disklabel type dos Disk...

Page 42: ... 8152 5764 S 0 0 0 2 0 01 85 systemd 2 root 20 0 0 0 0 S 0 0 0 0 0 00 00 kthreadd 3 root 0 20 0 0 0 I 0 0 0 0 0 00 00 rcu_gp 4 root 0 20 0 0 0 I 0 0 0 0 0 00 00 rcu_par_gp 8 root 0 20 0 0 0 I 0 0 0 0 0 00 00 mm_percpu_ 9 root 20 0 0 0 0 S 0 0 0 0 0 00 04 ksoftirqd 0 10 root 20 0 0 0 0 I 0 0 0 0 0 00 06 rcu_preempt 11 root rt 0 0 0 0 S 0 0 0 0 0 00 00 migration 0 12 root 20 0 0 0 0 S 0 0 0 0 0 00 0...

Page 43: ...t_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 bonding 135168 0 omap_rng 20480 0 crct10dif_ce 16384 1 rng_core 16384 1 omap_rng cfg80211 368640 0 rfkill 32768 2 cfg80211 ip_tables 32768 1 iptable_nat x_tables 36864 2 ip_tables xt_MASQUERADE root moca289bf1 ...

Reviews: