Kontron SMARC-sAMX8X User Manual Download Page 45

SMARC-sAMX8X User Guide. Rev. 1.1 

 

www.kontron.com 

 

// 45 

 

7.11.

 

Bootloader Boot Source Support 

The SMARC v2.0 Specification defines three boot select signals BOOT_SEL[0:2]# that allows the user to select from 
eight possible boot devices. On the SMARC_sAMX8X, U-Boot detects the BOOT_SEL signals from the carrier and sets 
the environment variable "boot_sel" as shown below. 

Table 14: Environment Variables for "boot_sel" 

BOOT_SEL2# 

BOOT_SEL1#  BOOT_SEL0# 

boot_sel 

Boot Source 

GND 

GND 

GND 

carrier_sata 

Carrier SATA 

GND 

GND 

Float 

carrier_sd 

Carrier SD Card 

GND 

Float 

GND 

carrier_mmc 

Carrier eSPI (CS0#) 

GND 

Float 

Float 

carrier_spi 

Carrier SPI (CS0#) 

Float 

GND 

GND 

module_device 

Module Device (NAND, NOR) – vendor 
specific 

Float 

GND 

Float 

remote 

Remote boot (GBE, serial) – vendor 
specific 

Float 

Float 

GND 

module_mmc 

Module eMMC Flash 

Float 

Float 

Float 

module_spi 

Module SPI 

 

Bootloader environment scripts can use the boot_sel environment variable to select the source where the dedicated 
OS image can be loaded. As an example, the bootloader environment of the SMARC_sAMX8X implements some 
small scripts that will load a linux system from the boot source as defined by the BOOT_SEL pins. 

bootsel_boot=echo BOOT_SEL ${boot_sel} selected && run ${boot_sel}_boot 
module_mmc_boot=run mmcboot 
module_spi_boot=run mmcboot 

 

Running the "run bootsel_boot" script will load a linux system from MMC if BOOT_SEL pins define the module MMC 
Flash or the Module SPI as boot source. Depending on application, the script variables in environment can be 
adapted. 

 

 

The bootloader is always booted from the boot source defined by fuse settings, which is 
normally the QSPI flash device. The BOOT_SEL pins only define boot source for the OS. 

 

7.12.

 

Bootloader Boot Counter 

The module EEPROM device contents implements a SMBIOS Running-time data block (type 161) as defined in the 
KEU EEPROM Specification Rev. 1.4. The running-time data block structure implements a 64bit boot counter. U-Boot 
on the SMARC_sAMX8X module will read the current boot counter value and increment it on every boot cycle. 
Current boot counter is shown as part of the information shown by the "kboardinfo" command (see description of 
kboardinfo). 

7.13.

 

Bootloader Update 

Bootloader update on SMARC_sAMX8X is using an update script containing all necessary checks and installation 
commands. It is provided by Kontron on an USB thumb device containing the scriptfile and update images in the 
dedicated "update_sMX8X_spl" folder. 

As an alternative it is possible to perform bootloader update from network. To achieve this, the 
"update_sMX8X_spl" folder mentioned above must have been copied to the server path of the TFTP server machine. 

Given these prerequisites are met, update can be done from bootloader CLI using the predefined "update" script: 

=> run update 

 

Summary of Contents for SMARC-sAMX8X

Page 1: ...USER GUIDE www kontron com 1 SMARC sAMX8X Doc Rev 1 1 Doc ID 1064 5181...

Page 2: ...SMARC sAMX8X Rev 1 1 www kontron com 2 This page has been intentionally left blank...

Page 3: ...suitable for the specified use without further testing or modification Kontron expressly informs the user that this manual only contains a general description of processes and instructions which may n...

Page 4: ...isks associated with your products and applications you should provide adequate design and operating safeguards You are solely responsible for compliance with all legal regulatory safety and security...

Page 5: ...ntron com support and services services Customer Comments If you have any difficulties using this user guide discover an error or just want to provide some feedback contact Kontron support Detail any...

Page 6: ...to observe the precautions indicated and or prescribed by the law may endanger your life health and or result in damage to your material Please refer also to the High Voltage Safety Instructions porti...

Page 7: ...s before performing any work on this product Earth ground connection to vehicle s chassis or a central grounding point shall remain connected The earth ground cable shall be the last cable to be disco...

Page 8: ...uct then re pack it in the same manner as it was delivered Special care is necessary when handling or unpacking the product See Special Handling and Unpacking Instruction Environmental Protection Stat...

Page 9: ...2 System Memory Support 23 5 3 eMMC Flash Memory 24 5 4 SMARC Connector 24 5 5 Pinout of SMARC sAMX8X Connector 25 5 5 1 Pinout of SMARC sAMX8X Topside Connector 25 5 5 2 Pinout of SMARC sAMX8X Bottom...

Page 10: ...ble 4 Environmental Conditions 17 Table 5 Connectors of SMARC sAMX8X 19 Table 6 Processor Support 23 Table 7 Memory Options 23 Table 8 Pinout of SMARC sAMX8X Topside Connector 25 Table 9 Pinout of SMA...

Page 11: ...s with better price performance power lifetime ratio The use of this Users Guide implies a basic knowledge of PC hard and software This manual is focussed on describing the special features and is not...

Page 12: ...aracterized by the extremely flat form factor The SMARC or MXM 3 0 connector comes with 314 pins and a construction height of just 4 3 millimeters The connector is also available in a shock and vibrat...

Page 13: ...E2 40 C up to 85 C for standard SKUs commercial version possible APPROTECT security chip support on request more information under https www kontron de products solutions security approtect html 2 3 P...

Page 14: ...ded 5x USB 2 0 via USB Hub 1x USB 3 0 1x USB2 OTG with PHY 1x USB OTG ports 5x USB host ports 1x with internal WIBU key option APPROTECT PCIe Interface 4 1x 4 Port 4 Lane Interface 128 LQFP GbE Interf...

Page 15: ...Display 18 24 bit LVDS RGB True Color Resolution up to 1920x1080 Pixel from MIPI DSI Single Dual Channel Onboard Controllers Ethernet Controller 1x GBE PHY DP83867IR second ETH controller I210 optiona...

Page 16: ...l I2S Codec Display Dual channel LVDS 1 2x18 24bit openLDI and VESA up to 1920x1200 from MIPI DSI Camera MIPI CSI camera support default 2lane interface option to switch to 4 lane interface SD Card 1x...

Page 17: ...for audio video and information technology equipment UL Component Recognition to UL60950 1 Information Technology Equipment Including Electrical Business Equipment REACH REACH compliant Regulation EC...

Page 18: ...SMARC sAMX8X User Guide Rev 1 1 www kontron com 18 3 3 Functional Block Diagram The block diagram shows all available interfaces on the sAMX8X module Figure 2 Block Diagram...

Page 19: ...onnectors of SMARC sAMX8X Connector Function Remark SMARC Central Interface Mating connector SMARC 2 0 MXM3 4 2 Mainboard view and I O locations Figure 3 Top View 1 LPDD4 memory 2 Freescale Processor...

Page 20: ...SMARC sAMX8X User Guide Rev 1 1 www kontron com 20 4 3 Bottom Side Figure 4 Bottom Side from SMARC sAMX8X 7 Parallel to HDMI controller 8 SPI Flash 7 8...

Page 21: ...SMARC sAMX8X User Guide Rev 1 1 www kontron com 21 4 4 Mechanical Drawings Figure 5 Dimensions of SMARC sAMX8X Figure 6 Thickness from side view...

Page 22: ...l Considerations The Cooling concept is based on a standard cooler for SMARC modules with mounting holes for iMX8X module Figure 7 Heatspreader Top View with screw holes Figure 8 Heatspreader Bottom V...

Page 23: ...th ECC 20 C to 105 C Automotive 125 C 8DualXPlus 2x 1 2 GHz 32 bit DDR3L ECC option LPDDR4 no ECC 512 KB with ECC 20 C to 105 C Automotive 125 C 8DualX 2x 1 2 GHz 16 bit DDR3L ECC option LPDDR4 no ECC...

Page 24: ...nd 8 GB MLC on Dual variant Specific eMMC Flash memory features are Up to 64 GByte pSLC or128 GB MLC eMMC 5 1 specification Class 0 basic class 2 block read class 4 block write class 5 erase class 6 w...

Page 25: ..._RX2 In LVDS D PHY iMX8X or NC P15 GND GND P16 CSI1_RX3 In LVDS D PHY iMX8X or NC P17 CSI1_RX3 In LVDS D PHY iMX8X or NC P18 GND GND P19 GBE0_MDI3 Bi Dir GBE MDI DP83867IR P20 GBE0_MDI3 Bi Dir GBE MDI...

Page 26: ...62 USB0_EN_OC Bi Dir OD PU 10k CMOS 3 3V iMX8X V_3V3 P63 USB0_VBUS_DET In PD 110k USB VBUS 5V iMX8X P64 USB0_OTG_ID In CMOS 3 3V iMX8X P65 USB1 Bi Dir USB USB2517i P66 USB1 Bi Dir USB USB2517i P67 USB...

Page 27: ..._LANE3 Out TMDS SiI9022A P103 GND GND P104 HDMI_HPD DP1_HPD In PD 100k CMOS 1 8V SiI9022A P105 HDMI_CTRL_CK DP1 _AUX Bi Dir PU 2k2 CMOS 1 8V SiI9022A V_1V8 P106 HDMI_CTRL_DAT DP 1_AUX Bi Dir PU 2k2 CM...

Page 28: ...ut CMOS 1 8V iMX8X P137 SER2_RX In CMOS 1 8V iMX8X P138 SER2_RTS Out PU 10k CMOS 1 8V iMX8X or NC V_1V8 P139 SER2_CTS In CMOS 1 8V iMX8X or NC P140 SER3_TX Out CMOS 1 8V iMX8X P141 SER3_RX In CMOS 1 8...

Page 29: ...Bi Dir GBE MDI I210 S21 GBE1_MDI1 Bi Dir GBE MDI I210 S22 GBE1_LINK1000 Out OD CMOS 3 3V I210 S23 GBE1_MDI2 Bi Dir GBE MDI I210 S24 GBE1_MDI2 Bi Dir GBE MDI I210 S25 GND GND S26 GBE1_MDI3 Bi Dir GBE...

Page 30: ...SS S63 USB3_SSTX Out NC USB SS S64 GND GND S65 USB3_SSRX In NC USB SS S66 USB3_SSRX In NC USB SS S67 GND GND S68 USB3 Bi Dir USB USB2517I S69 USB3 Bi Dir USB USB2517I S70 GND GND S71 USB2_SSTX Out Se...

Page 31: ...S101 GND GND S102 DP0_LANE3 Out LVDS PCIE SN65DSI86 or NC S103 DP0_LANE3 Out LVDS PCIE SN65DSI86 or NC S104 USB3_OTG_ID In NC CMOS 3 3V NC S105 DP0_AUX Bi Dir Serial 100n PD 100k LVDS PCIE SN65DSI86 o...

Page 32: ...DP0_A UX DSI0_CLK Out LVDS LCD SN65DSI84 S135 LVDS0_CK eDP0_AUX DSI0_CLK Out LVDS LCD SN65DSI84 S136 GND GND S137 LVDS0_3 eDP0_TX 3 DSI0_D3 Out LVDS LCD SN65DSI84 S138 LVDS0_3 eDP0_TX3 DSI0_D3 Out LVD...

Page 33: ...nation Type Tolerance Controller Power Rail S153 CARRIER_STBY Out PU 10k CMOS 1 8V iMX8X V_1V8 S154 CARRIER_PWR_ON Out PD 100k CMOS 1 8V SN74AUP1G12 5 S155 FORCE_RECOV In PU 4k75 CMOS 1 8V iMX8X V_1V8...

Page 34: ...EL2 are available as GPIO inputs in u boot These inputs can be used to customize boot process via u boot macros 6 2 PCIe Switch options There are four different configurations available to configure t...

Page 35: ...atures are listed below Configurable timeout counter with timeout periods from 0 5 to 128 seconds which after timeout expiration result in the assertion of WDOG_RESET_B_DEB reset signal Time resolutio...

Page 36: ...ith the V_RTC voltage rail RV 8803 is powered through Schottky diode BAS70 from V_VDD_RTC pin S147 of SMARC con 6 5 UART Interfaces Use following UART interfaces with control signals of i MX8X Table 1...

Page 37: ...VIN_POWER_BAD is internally pulled up to module input voltage and must be high level open drain to power on the module 6 6 4 Reset Button RESET_IN The reset button Pin P127 is available through the m...

Page 38: ...lash device Follow the steps below to gain access to the bootloader command line CLI on your host PC Connect your host machine to the carrier port connected with the edge connector SER0 port of the mo...

Page 39: ...On the SMARC_sAMX8X bootloader the powerful hush shell is enabled which is similar to Bourne shell and provides features similar to a linux shell Control structures if then else fi etc Command line co...

Page 40: ...nverted into hexadecimal values and compared against the calculated one Syntax help md5sum md5sum compute MD5 message digest Usage md5sum address count sum compute MD5 message digest save to sum md5su...

Page 41: ...e used to control boot timing e g bootdelay interface properties e g baudrate ethact or they define memory locations where OS images are stored before boot e g loadaddr fdt_addr In addition bootloader...

Page 42: ...he sAMX8X U Boot the file is called sMX8X env r10 bin Put the file into the root directory of a FAT or EXT formatted USB drive Start the sAMX8X system and stop the boot process at the U Boot prompt Ru...

Page 43: ...lly each time U Boot starts They will override different settings possibly stored in persistent environment 7 8 Bootloader Mass Storage Support U Boot provides support to read and write from mass stor...

Page 44: ...adaddr boot zImage 6376512 bytes read in 536 ms 11 3 MiB s 7 9 1 EXT4 File System Write Support There is even support available to write a given memory area into ext4 formatted file systems However th...

Page 45: ...t Running the run bootsel_boot script will load a linux system from MMC if BOOT_SEL pins define the module MMC Flash or the Module SPI as boot source Depending on application the script variables in e...

Page 46: ...om 46 Or in case of network update run updNet It is recommended to use only the update script for bootloader update This ensures that all necessary installation images are checksum controlled and copi...

Page 47: ...ld responsible for any loss or damage caused to the equipment received without an RMA number The buyer accepts responsibility for all freight charges for the return of goods to Kontron s designated fa...

Page 48: ...and ESD protection Goods returned to Kontron Europe GmbH in non proper packaging will be considered as customer caused faults and cannot be accepted as warranty repairs 4 Include the RMA Number with t...

Page 49: ...EMI Electromagnetic Interference eMMC embedded Multimedia Card EPDC Electronic Paper Display Controller ESD Electrostatic Discharge GPIO General purpose input output HDA High Definition Audio HDMI In...

Page 50: ...ducts and tailor made solutions based on highly reliable state of the art embedded technologies Kontron provides secure and innovative applications for a variety of industries As a result customers be...

Reviews: