Archive

Archive for the ‘SoCs’ Category

Baikal Links

January 20th, 2023
Comments Off on Baikal Links

Run FreeBSD on MOCHAbin #1

May 29th, 2022
Comments Off on Run FreeBSD on MOCHAbin #1

First try u-boot..

BootROM - 2.03
Starting AP IOROM 1.02
Booting from eMMC 0
Found valid image at boot postion 0x002
lmv_ddr: mv_ddr-devel-18.12.0-g2e20f5d (May 27 2022 - 18:06:24)
mv_ddr: completed successfully
BL2: Initiating SCP_BL2 transfer to SCP

U-Boot 2018.03-devel-18.12.3-g926d08c7ce (May 27 2022 - 17:55:54 +0000)

Model: Marvell Armada 7040 Mochabin development board
SoC: Armada7040-B0; AP806-B0; CP115-A0
Clock:  CPU     1400 [MHz]
        DDR     800  [MHz]
        FABRIC  800  [MHz]
        MSS     200  [MHz]
LLC Enabled (Exclusive Mode)
DRAM:  8 GiB
Bus spi@700680 CS0 configured for direct access 00000000f9000000:0x1000000
SF: Detected w25q32bv with page size 256 Bytes, erase size 4 KiB, total 4 MiB
EEPROM configuration pattern not detected.
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.
Target spinup took 0 ms.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
PCIE-0: Link up (Gen1-x1, Bus0)
MMC:   sdhci@6e0000: 0
Loading Environment from SPI Flash... OK
Model: Marvell Armada 7040 Mochabin development board
Net:   eth0: mvpp2-0 [PRIME], eth1: mvpp2-1, eth2: mvpp2-2
Hit any key to stop autoboot:  0
Marvell>>
Marvell>> scsi scan
scanning bus for devices...
  Device 0: (1:0) Vendor: ATA Prod.: NT-256 Rev: SN95
            Type: Hard Disk
            Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)

Marvell>> load scsi 0 $kernel_addr_r  efi/boot/bootaa64.efi
262620 bytes read in 26 ms (46.3 MiB/s)
Marvell>> bootefi  $kernel_addr_r
## Starting EFI application at 07000000 ...
Scanning disk sdhci@6e0000.blk...
Scanning disk ahci_scsi.id1lun0...
Found 5 disks
"Synchronous Abort" handler, esr 0x96000046
elr: 0000000000063728 lr : 000000000005b51c (reloc)
elr: 000000007ff9c728 lr : 000000007ff9451c
x0 : 00000000bffff000 x1 : 0000000000000000
x2 : 000000000000001f x3 : 00000000bffff018
x4 : 00000000bffff008 x5 : 0000000000000000
x6 : 0000000000000003 x7 : 00000000bffff020
x8 : 000000007f900000 x9 : 0000000000000008
x10: 0000000000000006 x11: 0000000000000006
x12: 000000000001869f x13: 0000000000000022
x14: 0000000000000000 x15: 00000000ffffffff
x16: 0000000000000001 x17: 0000000000000008
x18: 000000007f628dd0 x19: 00000000bffff000
x20: 000000007e620040 x21: 000000007e61f040
x22: 0000000007000000 x23: 0000000000000000
x24: 000000007f6249e0 x25: 000000007ffa4000
x26: 0000000000000000 x27: 0000000000000000
x28: 000000007f6c4670 x29: 000000007f624980
Resetting CPU ...

resetting ...

GlobalScale U-boot does not work correctly with efi.

Boards, SoCs, Vendors

MOCHAbin

October 13th, 2021
Comments Off on MOCHAbin

Front

Globalscale Technologies has created a new open source quad core networking board designed to provide users with high-speed connectivity using the Wi-Fi, 5G, 1Gbit and 10Gbit Ethernet.

The Mochabin is designed for a variety of Firewall, Networking and NAS applications.

Mochabin is designed to support 4G and 5G applications via the M.2 interface. These can be used for cellular backhaul and communications to replace the ISP modem.

With the OpenWRT and Replica One software.

We are interested in installing FreeBSD/OPNsense/TrueNAS
on this board.

МochaBin-5G SBC diagram.

Diagram

Board Specifications  

SoC Model

Marvell Armada 7040 quad-core Corex-A72 processor Product Breaf
SoC Architecture ARMv8 64-bit
CPU Frequency UP to 1.4GHz
Memory  
RAM 4GB or 8GB DDR4 (soldered down)
eMMC flash 16GB
SPI NOR flash 4MB for bootloader
External Interfaces  
LAN Port (10Gbe) 1x 10GbE SFP+, 1x 1GbE SFP (via 88E1512 PHY)
LAN Port (1Gbe) 4x Gigabit Ethernet RJ45 via Topaz 88E6141 switch
WAN Port (1Gbe) 1x Gigabit Ethernet RJ45 WAN port (via 88E1512 PHY) with PoE support, multiplexed with 1GbE SFP, so only one can be used at any time
USB 3.0 2xType-A
Internal Interfaces  
M.2 2280 socket Optional SATA III SSD
M.2 2250 socket Optional 4G or 5G cellular modem
Mini PCIe socket Optional wireless card for WiFi and Bluetooth
Developer Interfaces  
Console micro USB port for serial console
Debugging 10-pin JTAG header
Others  
Battery CR2032 battery holder for RTC
LEDs 4 x GPIO Controlled LED
Power supply 12V DC or PoE
Power button 1

Source: https://www.cnx-software.com/

Links

Mochabin Wiki: https://espressobin.net/mochabin_wiki/tiki-index.php

GlobalScale GitHub: https://github.com/globalscaletechnologies

FreeBSD startup log via standard U-Boot

FreeBSD startup log via custom EDK2 UEFI BootLoader

Here’s what a custom build of OPNsense for MOCHAbin looks like.
It remains to add support for native Ethernet.

Boards, NAS, SoCs

Baikal-M

August 21st, 2021
Comments Off on Baikal-M

The Baikal-M (BE-M100) processor was presented by the “Baikal Electronics” company in October 2019.

BE-M1000 is a feature-rich system-on-a-chip with eight ARM Cortex-A57 cores, an 8-core Mali-T628 GPU, and a set of high-speed interfaces including HDMI, PCI Express, 10Gb Ethernet and SATA. This SoC can be used in desktops, microservers, and embedded applications.

Specifications

  • 8 ARM Cortex-A57 cores (64 bit)
  • Clock rate up to 1,5 GHz
  • 8-core Mali-T628 GPU
  • Dual-channel 64-bit DDR3/4 interface with ECC support
  • 4 MB (L2) + 8MB (L3) cache
  • Two 10Gb Ethernet and two 1Gb Ethernet controllers support VLAN
  • Supports HDMI 2.0 WQXGA (2560×1440)@60Hz and LVDS video
  • A built-in PCI Express Gen. 3 root complexes (4+4+8 lanes)
  • Two SATA 6G controllers with data transfer rates up to 6 Gbps
  • Two USB3.0 and four USB2.0 channels
  • I2S, SPI, eSPI, SMBus, UART, GPIO
  • TSMC 28 nm process technology
  • Estimated TDP below 35 W

Baikal Electronics — a fabless semiconductor company specializing in ARM-based and MIPS-based (SoC). The Baikal family of multicore processors includes energy-efficient solutions for desktops and industrial computers with various levels of performance and functionality.

SoCs