SBC-984

From WIKI SECO

Introduction

Secousbc-i.mx6 picture.jpg
Picture: SBC-984

SBC-984 is a Single Board Computer based on i.MX6 Multimedia Applications platform from NXP, a multimedia processor integrating a multicore Cortex™ A9 ARM Core (up to Quad Core processors), ideal for applications requiring multimedia capabilities and/or high levels of parallel computing, maintaining advantages offered by low-power consuming ARM architecture in an extremely reduced space.

For hardware-related information, such as board's specific features, configurations, electrical interface and more, please refer to the product page (http://www.seco.com/prods/in/category/single-board-computer/sbc-984.html).

Available BSP

The available BSP for this Board are based on Linux and they are the followings:

Board Support Package
BSP 6.0 http://wikitech.seco.com/index.php/Getting_Started_with_BSP_6.0 BSP Filesystem http://imx6-binary.seco.com/bsp6/FILESYSTEM/
u-boot 2015.04 http://imx6-binary.seco.com/bsp6/U-BOOT/
kernel 4.1.15 http://imx6-binary.seco.com/bsp6/KERNEL/kernel-4.1.15.tar.gz

Boot Sequence

Note:: Before review in to the boot_sequence .please refer the wiki page to get to know the available boot devices and access to your prefer boot devices for your respective module.
Boot_sequence_control_and_available_devices

SECO’s SBC-984 are highly versatile in terms of boot media; this section focuses on these boot media and explains how to configure preferences and order. This versatility is achieved through a widely used boot loader, called uboot.
SBC-984 has 2 devices from which you can boot:

• NOR SPI Flash
• On board eMMC

These devices can be divided in two categories of operating modes; devices that can perform a “Complete” boot sequence, and devices that can perform only a “Partial” boot sequence. The "Complete boot” devices have the ability to provide all software sources (uBoot → Kernel → File System) to the processor, the “Partial boot” devices, on the other hand, can provide only a part of the software sources. Therefore, the processor must load at least a portion of the software from one of the "Complete boot" devices.

• Complete boot device:
On board eMMC

• Partial boot device:
NOR SPI Flash

The procedure to boot the board is the following: After the power on sequence,the i.MX6 processor starts the boot and tries to load the uboot from one of these devices:
▪ NOR SPI Flash
▪ On board eMMC

A logic flow is:

600px]

Unique Board features

Some of the features supported by BSP in SBC-984 varies from the other i.MX6 modules. For the common features supported by BSP in all the i.MX6 modules, refer the page SECO i.MX6 Features Guide BSP 5.0 & SECO i.MX6 Features Guide BSP 6.0.The unique features and supported devices in BSP for 984 is tabulated below.

Character device drivers
Feature Supported device
MXC UART Console support via internal Debug UART2
UART5 is available only with TX and RX signal & used for external communications.


Input device drivers
Feature Supported device
Touch panel ST1232 Capacitive touch screen driver on I2C Bus.


MTD drivers
Feature Supported device
SPI NOR Support Spansion SST25VF080B SPI NOR flash


AUDIO drivers
Feature Supported device
Audio AC'97 Supports Realtek ALC655 codec


Networking Drivers
Feature Supported device
PCIe Half-mini PCI-e slot, shared with mSATA (only PCI-e 1.1 and Gen2 are supported)


General drivers
Feature Supported device
SDHC SDHC3 - 1bit/4bit/8bit for eMMC on-board.
SD2.0,SD3.0 UHS-I , eMMC 1bit/4bit/8bit SDR/DDR mode.
I2C I2C2 EDID HDMI Monitor.
I2C3 for camera connector CN11 , Touch screen connector
I2C1 is available for embedded controller.
SPI ECSPI3 is available for RTC PCF2123BS.
CAN FlexCAN1 is available for CAN Bus Connector - J6.
WIFI Ralink RT5370
Ralink RT3070


How to connect debug serial port - J 7

Onboard, connector J7 is a mixed signals connector, which carries out signals related to Debug Serial Port, which is managed by NXP i.MX6 UART2 internal controller, with signals available at TTL level. Along with an I2C interface available on this same connector, the UART pins can also be used for I2C Touch Screen controller connection, depending on the BSP programming. The connector is a 6-pin MOLEX p/n 53398-0671 or equivalent, with pin-out shown in the below table.

Debug UART / I2C Touch Connector - J7
PIN SIGNAL
1 +3.3V_A
2 I2C3_SCL
3 I2C3_SDA
4 GND
5 UART2_RX / TOUCH_IRQ
6 UART2_TX / TOUCH_RST#

Signals’ description:
I2C3_SCL: I2C Bus clock line. Bidirectional signal, electrical level +3.3V_S with a 4k7Ω pull-up resistor. It is managed by i.MX6 processor’s I2C3 controller.
I2C3_SDA: I2C Bus data line. Bidirectional signal, electrical level +3.3V_S with a 4k7Ω pull-up resistor. It is managed by i.MX6 processor’s I2C3 controller.
UART2_TX / TOUCH_IRQ: UART2 Interface, Serial data Transmit (output) line, 3.3V_S electrical level. Can be used as IRQ line for Touch Screen connection.
UART2_RX / TOUCH_RST#: UART2 Interface, Serial data Receive (input) line, 3.3V_S electrical level. Can be used as Reset signal for Touch Screen connection.

Please consider that UART debug interface is at TTL electrical level; therefore, please evaluate well the typical scenario of application. If it isn’t explicitly required to interface directly at TTL level, for connection to standard serial ports commonly available (like those offered by common PCs, for example) it is necessary to use an RS-232 transceiver module.

984debugger.png

SBC-984-Accessories

Please refer the link for accessories support for SBC-984 SBC-984-Accessories

RS-232 programming kit

This kit is necessary to connect Debug programming port, available on connector J7, to a standard PC serial port. The kit is made of: I. TTL-to-RS232 serial port adapter. II. Connection cable between SBC-984 board and TTL-to-RS-232 adapter.

To use this kit, connect the cable to connector J7 on SBC-984 board and to connector CN3 on the TTL-to-RS232 adapter module. The debug serial port will now be available, at RS-232 level, on the module’s connector CN1, which is a standard DB- 9 male connector.

The connecting cable will also carry out the two I2C signals available on connector J7. On the adapter module, these signals cannot be used, this means that the user can disconnect the two wires from the 10-pin connector and use them to connect an I2C touch Screen controller. Yellow Wire: I2C3_SCL signal, White wire: I2C3_SDA signal.

Note: To setup the terminal console application refer the link Serial Console Setup

Flashing and Recovery The Board

As 984 board doesn't support uSD support. So no support for flashing_sd/bootable SD.If the case of board fails.Need to follow the imx_usb_loader tool to recover the board to flash the u-Boot binary. Please refer the respective page for imx_usb_loader Flashing from OTG for imx usb loader

Note:Make sure when you are using OTG to recovery need to plug the recovery Jumper(J10) beside of LVDS connector.After flashing the u-Boot binaries from OTG Then you can use the seco_config tool to flash the binaries using USB, TFTP and NFS.

MX6DL SBC U-Boot > seco_config 
 __________________________________________________
       Chose Kernel RAM size to allocate
 __________________________________________________
[min size: 512M - max size 1024M]
> 1024
Will use 1024M of RAM memory
 __________________________________________________
            Chose boot Device for Kernel.
 __________________________________________________
1) eMMC onboard
2) SPI onboard
3) TFTP
4) USB
> 3
Path of the Kernel (enter for default zImage) > 
 __________________________________________________
            Chose boot Device for FDT.
 __________________________________________________
1) eMMC onboard
2) SPI onboard
3) TFTP
4) USB
> 3
Path of the FDT (enter for default imx6dl-seco_SBC_984.dtb) > 
 ________________________________________________________
 Select TFTP as source for kernel/FDT, please set the net
 ________________________________________________________

Before using the SECOC_CONFIG tool need to download the binaries from SECO server.

Binaries for 984
Filesystem http://imx6-binary.seco.com/bsp6/FILESYSTEM/
u-boot 2015.04 http://imx6-binary.seco.com/bsp6/U-BOOT/
kernel 4.1.15 http://imx6-binary.seco.com/bsp6/KERNEL/kernel-4.1.15.tar.gz

Then follow the availability options to flash the binaries.

Setting Up The NFS Server
Setting Up The TFTP Server and USB.