13th gen. intel core processors raptor lake-p (81 pages)
Summary of Contents for Advantech RSB-4411
Page 1
To learn more about EMAC’s products and services and how they can help your project http://ftp.emacinc.com/Tech_Info/About_EMAC_Products_and_Services.pdf Authorized Distributor, Integrator, and Value-Added Reseller Manual downloaded from ftp.emacinc.com For purchase information please contact info@emacinc.com For technical support please submit a ticket at www.emacinc.com/support...
Page 2
User Manual RSB-4411 3.5" SBC with NXP i.MX6 Processor ARM® Cortex™ A9 Architecture...
Page 3
No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
Page 4
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
Page 5
Technical Support and Assistance Visit the Advantech website at http://support.advantech.com where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance. Please have the following information ready before you call: –...
Page 6
The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
Page 7
Don't touch any components on the CPU card or other cards while the PC is on. Disconnect power before making any configuration changes. The sudden rush of power as you connect a jumper or install a card may damage sensitive elec- tronic components. RSB-4411 User Manual...
Page 9
3.4.12 Start building device tree blob ............ 55 3.4.13 To update kernel/modules/dtb to target device......55 System Recovery..................55 Debug Message..................55 Linux Software AP and Testing on RSB-4411 ........56 3.7.1 “Hello World!” Application and Execution ........56 3.7.2 Watchdog Timer Sample Code...........
Page 10
Chapter Advantech Services ......65 RISC Design-in Services................. 66 Contact Information................. 69 Technical Support and Assistance............70 RSB-4411 User Manual...
Introduction RSB-4411 is a RISC 3.5" single board computer (SBC) powered by a high-perfor- mance NXP ARM® Cortex®-A9 i.MX6 processor that supports full HD video encod- ing/decoding and Gigabit Ethernet networking. RSB-4411 also features mini PCIe, M.2, and SIM card slot for integrating Wi-Fi, Bluetooth, and 3G modules. Equipped with complete Linux and Android BSPs, this system enables customers to easily develop unique application software for specific OS.
Generally, you simply need a standard cable to make most connections. 2.1.2 Jumper List Table 2.1: Jumper List LVDS_VDD_SLT LVDS Power LVDS_BKLT_SLT Backlight Power Boot device RS-232/422/485 selection RSB-4411 User Manual...
1 ON 2 OFF RS-485 Half Duplex 1 ON 2 ON RS-422 Full Duplex LVDS_VDD_SLT LVDS Power Part number 1653003101 Description PIN HEADER 3x1P 2.0mm 180D(M) DIP 2000-13 WS Setting Function (1-2) + V3.3 (2-3) + V5 RSB-4411 User Manual...
CN27 SATA CN25 SATA Power Debug Port CN12 USB port 3/4 CN29 USB port 5 CN23 MIC in CN14 Line Out CN21 RS-232 CN31 GPIO CN32 CN33 I2C_1 CN34 I2C_3 CN35 MiniPCIe SIM socket SD socket CN22 RSB-4411 User Manual...
2.2.2 Connector Settings 2.2.2.1 RTC Battery connectors (CN1) RSB-4411 supports a lithium 3V/210mAH CR2032 battery with wire via battery con- nector. 2.2.2.2 DC power Jack (CN10) RSB-4411 comes with a DC-Jack header that carries 12V/19V/24V DC external power input. Description...
Page 21
Figure 2.3 COM Port 2.2.2.5 Ethernet Connector (CN8) RSB-4411 provides one RJ45 LAN interface connector; it is fully compliant with IEEE802.3u 10/100/1000 Base-T CSMA/CD standards. The Ethernet port provides standard RJ-45 jack connector with LED indicators on the front side to show Active/ Link status and Speed status.
Page 22
2.2.2.6 HDMI (CN11) RSB-4411 provides one HDMI interface connector which provides all digital audio/ video interfaces to transmit the uncompressed audio/video signals and is HDCP and CEC compliant Connect the HDMI audio/video device to this port. HDMI technology can support a maximum resolution of 1920 x 1080p but the actual resolution sup- ported depends on the monitor being used.
Page 23
2.2.2.7 USB Connector (CN11) RSB-4411 supports one standard USB2.0 Type A connector in the coastline. Description USB1_D- USB1_D+ USB2_D- USB2_D+ Figure 2.6 USB Type A Connector 2.2.2.8 USB OTG Connector (CN30) RSB-4411 supports one USB OTG port in the coastline.
Page 25
Please also refer to jumper setting in page before connecting LVDS panel. Description +VDD_BKLT_LVDS LCD_BKLT_EN LCD_BKLT_PWM Figure 2.9 LVDS Backlight Power Connector 2.2.2.11 SATA (CN27) RSB-4411 supports one SATA connector. Description SATA_TX+ SATA_TX- SATA_RX- SATA_RX+ Figure 2.10 SATA Connector RSB-4411 User Manual...
Page 26
RSB-4411 supports one SATA P ower connector. Description +12V Figure 2.11 SATA Power Connector 2.2.2.13 Debug Port (CN5) RSB-4411 can communicate with a host server (Windows or Linux) by using serial cables. Description +3.3V Debug_TXD Debug_RXD Figure 2.12 Debug Port 2.2.2.14...
Page 27
USB5_D- USB5_D+ Figure 2.14 USB Internal Pin Header 2.2.2.16 MIC in (CN23) RSB-4411 offers MIC in, microphone can be connected to the MIC in pin header. Description MIC IN Figure 2.15 MIC in Internal Pin Header 2.2.2.17 Line out (CN14) RSB-4411 offers Line-out stereo speakers;...
Page 28
RSB-4411 provides 2x internal 2 wires RS-232 ports. Description COM 3_RXD COM 3_TXD COM 4_TXD COM 4_RXD Figure 2.17 UART Pin Header 2.2.2.19 GPIO (CN31) RSB-4411 provides internal GPIO interface by 2x11 pin headers. Description +3.3V GPIO_01 GPIO_02 GPIO_03 GPIO_04 GPIO_05 GPIO_06...
Page 29
Figure 2.18 GPIO Internal Pin Header 2.2.2.20 GPIO (CN31) RSB-4411 provides 2 x CAN bus by 2x3 pin headers. Description CAN1_D+ CAN1_D- CAN2_D- CAN2_D+ Figure 2.19 CAN Pin Header 2.2.2.21 I2C (CN33/CN34) RSB-4411 provides 2 I2C pin headers. Pin (CN33)
Page 30
SPI_MOSI Figure 2.21 SPI Pin Headers 2.2.2.23 MiniPCIe (CN3) RSB-4411 supports full size miniPCIe slot both USB and PCIe interface. If the WiFi card is only half-sized, please purchase extending bracket ( P/N: 1960047454N000) for WiFi card fixing. Description Description 3.3V...
Figure 2.25. After the bootloader is programmed on SD card, insert power adapter connector to DC jack on RSB-4411 to power up the board. The bootloader prompt is dis- played on the terminal screen. Figure 2.29 Hyper Terminal Settings for Terminal Setup...
Test Tools All test tools must be verified on the RSB-4411 Evaluation kit. Please prepare the required test fixtures before verifying each specified I/O. If you have any problems with testing, please contact your Advantech contact window for help. 3.1.1...
3.1.5 Battery Test 3.1.5.1 AC power on, no battery connected # cat /sys/class/power_supply/battery/uevent 3.1.5.2 AC power on, battery connected # cat /sys/class/power_supply/battery/uevent 3.1.5.3 AC power off, battery connected # cat /sys/class/power_supply/battery/uevent 3.1.6 RS-232 Test #stty ‐F /dev/ttymxc1 115200 #stty ‐F /dev/ttymxc1 ‐echo #cat /dev/ttymxc1 & #echo test > /dev/ttymxc1 test RSB-4411 User Manual...
# i2cdetect ‐y 4 3.1.8 USB Test Insert a USB disk usb 1‐1.2: new high‐speed USB device number 4 using ci_hdrc usb‐storage 1‐1.2:1.0: USB Mass Storage device detected scsi2 : usb‐storage 1‐1.2:1.0 scsi 2:0:0:0: Direct‐Access Generic‐ SD/MMC 1.00 PQ: 0 ANSI: 0 CCS sd 2:0:0:0: [sda] 3862528 512‐byte logical blocks: (1.97 GB/1.84 GiB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 2:0:0:0: [sda] No Caching mode page found sd 2:0:0:0: [sda] Assuming drive cache: write through RSB-4411 User Manual...
Page 47
According to the above content, we can know sda is our usb disk Generate random file # dd if=/dev/urandom of=data bs=1 count=1024 Back up # dd if=/dev/sda of=backup bs=1 count=1024 skip=4096 Write to usb disk # dd if=data of=/dev/sda bs=1 seek=4096 Read and Verify # dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096 # diff data data1 RSB-4411 User Manual...
# dd if=backup of=/dev/sda bs=1 seek=4096 3.1.9 RTC Test set system time to current, then write to RTC # date 021710452016 && hwclock ‐w && date set one incorrect time, then read time from RTC to verify # date 010100002000 && hwclock ‐r && date restore the RTC time to system time # hwclock ‐s && date RSB-4411 User Manual...
3.1.10 MMC (eMMC/SD) Test booting from MB EMMC Message from U-Boot # cat /proc/cmdline Boot from eMMC and insert a bootable SD card. The mmcblk1p1 & mmcblk1p2 should be mounting automatically. RSB-4411 User Manual...
Page 50
Boot from SD card and mmcblk0p1 & mmcblk0p2 should be mounting automatically. Generate random file # dd if=/dev/urandom of=data bs=1 count=1024 Back up # dd if=/dev/mtdblock1 of=backup bs=1 count=1024 skip=$((0xD3000)) Write to mtdblock1 # dd if=data of=/dev/mtdblock1 bs=1 seek=$((0xD3000)) Read and Verify # dd if=/dev/mtdblock1 of=data1 bs=1 count=1024 skip=$((0xD3000)) # diff data data1 If fail, it shows as below: Binary files data1 and data differ Restore # dd if=backup of=/dev/mtdblock1 bs=1 seek=$((0xD3000)) RSB-4411 User Manual...
Back up # dd if=/dev/sda of=backup bs=1 count=1024 skip=4096 Write to SATA disk # dd if=data of=/dev/sda bs=1 seek=4096 Read and Verify # dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096 # diff data data1 If fail, it shows as below: Binary files data1 and data differ Restore # dd if=backup of=/dev/sda bs=1 seek=4096 booting from CB SATA Message from U-Boot # cat /proc/cmdline RSB-4411 User Manual...
3.1.12 Ethernet Test #ifconfig #ping 8.8.8.8 3.1.13 CAN Test Connect device with CAN0 (CN8A) # ip link set can0 up type can bitrate 125000 RSB-4411 User Manual...
Page 54
6) Set gpio1 ~ gpio8 direction: a1) For example, Set gpio1 direction input(in) , command: echo in > gpio1/direction a2) get direction, command: cat gpio1/direction Console log: b1) For example, Set gpio1 direction output(out), command: echo out > gpio1/direction b2) get direction, command: cat gpio1/direction Console log: RSB-4411 User Manual...
cat gpio1/value Console log: b1) For example, See gpio1 value 1(high active), command: echo 1 > gpio1/value b2) get value, command: cat gpio1/value Console log: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Connect jumpers to DIO1 connector by follows jumper setting 3.1.15 Watchdog Test cd unit_tests ./wdt_driver_test.out 10 5 0 RSB-4411 User Manual...
System will reboot after 10 seconds. Package Content We would offer you two different kinds of Linux package for RSB-4411. One is pre- built system image for system recovery another is source code package (BSP). 3.2.1 Source Code Package RSB-4411 source code package (BSP) contains cross compiler, Linux source code, Uboot source code, root file system and some scripts used in OS development.
Page 57
→ Storage for all variable files and temporary files created by users, such as log files, the mail queue, the print spooler area, space for temporary storage of files downloaded from the Internet. – tools → just for sample test. RSB-4411 User Manual...
Page 58
3.2.1.5 scripts Some scripts provided by Advantech will help you configure your system or build images more quickly: – setenv.sh → A script to setup the developing environment quickly. – cfg_uboot.sh → A script to configure the u-boot building setup quickly.
$ sudo ln ‐s /usr/lib/i386‐linux‐gnu/mesa/libGL.so.1 /usr/lib/i386‐ linux‐gnu/libGL.so $ tar zcvf ~/usr_lib_i386‐linux‐gnu_for_Building_Android_KK.tar.gz \ /usr/lib/i386‐linux‐gnu/{libuuid.a,libuuid.so,liblzo2.so,liblzo2.a} $ sudo apt‐get install uuid‐dev liblzo2‐dev $ sudo tar zxvf ~/usr_lib_i386‐linux‐ gnu_for_Building_Android_KK.tar.gz ‐C / Please follow below instruction install JDK: Download "jdk-6u45-linux-x64.bin" manually from Oracle Official Website and put it to directory ~/FILES/ and perform following commands: $ cd /usr/lib $ sudo ~/FILES/jdk‐6u45‐linux‐x64.bin RSB-4411 User Manual...
3.3.2 Introducing BSP The BSP is based on Yocto Project with Freescale enhanced features for i.MX6, plus specific target board features from Advantech Inc.. 3.3.2.1 Naming Rule The tarball/prebuilt image name is consist of the model name followed by "LB" or "LI"...
To build Linux kernel To create/continue a build environment, perform following commands in terminal con- sole and do menuconfig: $ bitbake linux‐imx ‐c menuconfig to start build $ bitbake linux‐imx ‐c compile ‐f $ bitbake linux‐imx ‐c compile_kernelmodules ‐f $ bitbake linux‐imx ‐c deploy The two files, zImage & zImage-${IMX6PROC}-${BOARD}-${BOARD_REV}.dtb, will be located in directory, ./tmp/deploy/images/${MC}. RSB-4411 User Manual...
First you need to boot up from SD card, then insert USB stick that contains ${SDCARD_IMAGE}, USB stick will be auto mounted to /run/media/sda1. Perform following commands in debug console: # umount /dev/mmcblk0p? # cd /run/media/sda1 # dd if=${SDCARD_IMAGE} of=/dev/mmcblk0 bs=4M conv=fsync # P2START=$(fdisk ‐lu | grep mmcblk0p2 | awk '{print $2}') # echo ‐e "d\n2\nn\np\n2\n${P2START}\n\nw\n" | fdisk ‐u /dev/mmcblk0 # umount /dev/mmcblk0p2 # e2fsck ‐f ‐y /dev/mmcblk0p2 # resize2fs /dev/mmcblk0p2 # poweroff RSB-4411 User Manual...
3.4.4 Building & updating u-boot manually To build u-boot, the cross compiling environment must have been set up. (ref. 3.4.3 Setting up cross compiling environment) Make one copy from Yocto working directory: $ mkdir ‐p ~/code $ pushd ${BSP_HOME}/${BDIR}/tmp/work/${MC}‐poky‐linux‐gnueabi/ $ rm ‐rf ~/code/u‐boot‐imx $ cp ‐a ./u‐boot‐imx/${UBOOT}‐r0/git ~/code/u‐boot‐imx $ popd RSB-4411 User Manual...
$ cd ~/code/linux‐imx $ make distclean $ make imx_v7_adv_defconfig $ make menuconfig PKG_CONFIG_SYSROOT_DIR= PKG_CONFIG_PATH= 3.4.10 Start building linux kernel $ make ‐j4 zImage LOADADDR=0x10008000 LDFLAGS= The kernel image file, zImage, is located in the directory "./arch/arm/boot/". 3.4.11 Start building kernel modules $ make ‐j4 modules LDFLAGS= Copy all modules to a temporary rootfs directory, "~/temp/rootfs" $ make modules_install INSTALL_MOD_PATH=~/temp/rootfs RSB-4411 User Manual...
Debug Message RSB-4411 can connect to a host PC (Linux or Windows) by using a console cable and debug port adapter. In order to communicate with a host PC, a serial communi- cation program such as HyperTerminal, Tera Term or PuTTY is required. Below are the detailed instructions for how to set up a serial console, a “HyperTerminal”...
Insert the Linux system SD card to your developing computer. #cp helloworld /media/rootfs/tool (/media/rootfs is the mounted point of your Linux system SD card) Remove this SD card and insert it to RSB-4411, then open serial console. On RSB-4411 platform, type #root (Login) On RSB-4411 platform, type #cd /tool On RSB-4411 platform, type #./helloworld ...
806 horizontal lines. The DCLK frequency is 60 MHz. Therefore, we can get 10 (1344*806*60) = 15385. The margin values can be seen as front porch & back porch. The sync_len means pulse width. The sync value indicates the sync polarity (low or high). struct fb_videomode { const char *name; (optional) u32 refresh; (optional) u32 xres; u32 yres; u32 pixclock; RSB-4411 User Manual...
3.7.5.3 Multi display video gst-launch-1.0 playbin uri=file:////tools/Advantech.avi video-sink="overlaysink dis- play-ldb=true display-ldb1=true" 3.7.6 Network Setup Default: IP get form DHCP. Manual: Set IP by below command: #ifconfig eth0 192.168.0.1 up ifconfig is to configure network interfaces, the manual page is as below.
If the address argument is given, set the protocol broadcast address for this interface. Otherwise, set (or clear) the IFF_BROADCAST flag for the interface. del addr/prefixlen Remove an IPv6 address from an interface. 3.7.7 Storage (SATA /eMMC/SD Card) The storages devices are named as follows: Device Name SATA /dev/sda eMMC /dev/mmcblk0 SD card /dev/mmcblk1 Onboard SD card /dev/mmcblk1 Carrier board SD card /dev/mmcblk2 RSB-4411 User Manual...
On RSB-4411 platform, type #root (Login) On RSB-4411 platform, type #cd /mk_inand On RSB-4411 platform, type #./mkinand‐linux.sh /dev/mmcblk0 On RSB-4411 platform, type “y “ (Start to copy files, wait until it shows [Done]) Power off and remove this SD card. RSB-4411 User Manual...
Chapter Advantech Services This chapter introduces Advantech design in serviceability, technical support and warranty policy for RSB-4411 evaluation kit.
Easy Development Advantech has support firmware, root file-system, BSP or other develop tools for cus- tomers. It helps customers to easy develop their carrier board and differentiate their embedded products and applications.
Page 78
Advantech has been involved in the industrial computer industry for many years and found that customers usually have the following questions when implementing modu- lar designs.
Page 79
RISC COM. Design stage When a product moves into the design stage, Advantech will supply a design guide of the carrier board for reference. The carrier board design guide provides pin defini- tions of the COM connector with limitations and recommendations for carrier board design, so customers can have a clear guideline to follow during their carrier board development.
RISC platforms usually have less support for ready-made drivers on the carrier board, therefore the customer has to learn from trial and error and finally get the best solution with the least effort. Advantech’s team has years of experience in customer support and HW/SW development knowledge. Consequently, we can support customers with professional advice and information as well as shortening development time and enabling more effective product integration.
Technical Support and Assistance For more information about this and other Advantech products, please visit our web- site at: http://www.advantech.com/ http://www.advantech.com/ePlatform/ For technical support and service, please visit our support website at: <http://support.advantech.com.tw/support/> Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product.
Need help?
Do you have a question about the RSB-4411 and is the answer not in the manual?
Questions and answers