background image

35

 

    

ATTR{hctosys}=="0"

 

    

ATTR{max_user_freq}=="64"

 

    

ATTR{name}=="rtc

s35390a"

 

    

ATTR{wakealarm}==""

 

 

2.

 

Add

 

udev

 

rule

 

$ vi /etc/udev/rules.d/99-rtc1.rules 

KERNEL=="rtc1",

 

SUBSYSTEM=="rtc",

 

DRIVER=="",

 

ATTR{name}=="

rtc

s35390a

 

",

 

SYMLINK="rtc",

 

MODE="0666"

 

 

3.

 

Run

 

the

 

rule

 

$ udevadm test /sys/class/rtc/rtc1 

...

 

creating

 

link

 

'/dev/rtc'

 

to

 

'/dev/rtc1'

 

atomically

 

replace

 

'/dev/rtc'

 

 

 

4.

 

Confirm

 

$ ls -al /dev/rtc* 

lrwxrwxrwx

 

1

 

root

 

root

      

4

 

May

 

19

  

2017

 

/dev/rtc

 ‐

>

 

rtc1

 

crw

‐‐‐‐‐‐‐ 

1

 

root

 

root

 

254,

 

0

 

May

 

19

  

2017

 

/dev/rtc0

 

crw

‐‐‐‐‐‐‐ 

1

 

root

 

root

 

254,

 

1

 

Jan

  

1

 

02:10

 

/dev/rtc1

 

 

3.1.8.

 

MMC (eMMC/SD) Test 

3.1.8.1.

 

Read/Write Operations 

It’s

 

simple

 

to

 

verify

 

read/write

 

operations

 

for

 

MMC

 

devices.

 

You

 

can

 

use

 

many

 

tools

 

to

 

do

 

this,

 

e.g.

 

dd,

 

vi,

 

cp,

 

etc.

 

eMMC:

  

/dev/mmcblk0

 

SD:

  

/dev/mmcblk1

 

 

3.1.8.2.

 

Write Protect 

We

 

support

 

write

 

protect

 

feature

 

for

 

SD

 

card.

 

Once

 

a

 

SD

 

card

 

with

 

write

 

proctection

 

is

 

inserted,

 

you

 

can

 

see

 

“RO”

 

message

 

in

 

kernel

 

log.

 

Summary of Contents for RSB-4760

Page 1: ...User Manual RSB 4760 3 5 SBC with Qualcomm APQ 8016 Processor ARM Cortex A53 Architecture...

Page 2: ...1 Connector List 10 2 2 2 Connector Settings 11 2 2 2 1 RTC Battery connectors CN1 11 2 2 2 2 DC power Jack CN10 11 2 2 2 3 VGA CRT1 12 2 2 2 4 RS 232 422 485 COM1 13 2 2 2 5 Ethernet Connector CN8 1...

Page 3: ...rding 30 3 1 4 GPIO Test 31 3 1 4 1 Export GPIO 31 3 1 4 2 Loopback Test 31 3 1 5 I2C Test 32 3 1 5 1 I2C Mapping 32 3 1 6 USB Test 33 3 1 6 1 USB Port Mapping 33 3 1 6 2 Test 34 3 1 7 RTC Test 34 3 1...

Page 4: ...ming Rule 44 3 3 2 3 Pre built Images 44 3 3 3 Build Instructions 44 3 3 3 1 Create New Build Environment 45 3 3 3 2 Load Existed Build Environment 45 3 3 3 3 Build Images 45 3 3 3 4 Build Toolchain I...

Page 5: ...t supports full HD display and intergrades on board wireless solution Wi Fi BT and GPS RSB 4760 also features in mini PCIe M 2 and SIM card slots for expanding connectivity capability like 3G 4G LTE m...

Page 6: ...3 DivX MPEG2 VC1 Soreson VP8 System Memory Support DDR3 1066 MHz Capacity on board DDR3 1 2 GB Gigabit Ethernet Chipset Microchip LAN7500 1 x10 100 1000 Mbps Peripheral Interface 1 x HDMI 1 x USB OTG...

Page 7: ...Power supply type DC in 9 36V Power consumption Kernel Idle mode TBD Max mode TBD RTC Battery Typical voltage 3 0 V Normal discharge capacity TBD 1 3 Environmental Specifications Operating temperature...

Page 8: ...three pins labeled 1 2 and 3 In this case you would connect either pins 1 and 2 or 2 and 3 The jumper settings are schematically depicted in this manual as follows A pair of needle nose pliers may be...

Page 9: ...27mm W 5 4mm Setting Function 1 ON 2 OFF Boot from SD 1 OFF 2 ON Boot from SPI SW3 RS 232 422 485 selection Part number 1600000084 Description DIP SW CHS 02TB 29 SMD 4P SPST P 1 27mm W 5 4mm Setting F...

Page 10: ...003101 Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting Function 1 2 V3 3 2 3 V5 LVDS_BKLT_SLT LVDS Backlight Power Part number 1653003101 Description PIN HEADER 3x1P 2 0mm 180D M DIP 2...

Page 11: ...422 485 CN8 Ethernet Connector CN11 HDMI CN28 USB port 0 1 CN30 USB OTG LVDS0 LVDS LVDS_BKLT_PWR Backlight CN27 SATA CN25 SATA Power CN5 Debug Port CN12 USB port 3 4 CN29 USB port 5 CN23 MIC in CN14 L...

Page 12: ...SB 4411 supports a lithium 3V 210mAH CR2032 battery with wire via battery connector 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 Pin...

Page 13: ...1 provides standard VGA connector VGA resolution supports up to 1920x1080 Pin Description 1 RED 2 GREEN 3 BLUE 4 N C 5 GND 6 GND 7 GND 8 GND 9 5V 10 GND 11 N C 12 DDC DATA 13 HSYNC 14 VSYNC 15 DDC CLK...

Page 14: ...connector serial communication interface port The port can support RS 232 422 485 mode communication Pin Description 1 N C RS 422 TX RS 485 2 COM 2_RXD RS 422 TX RS 485 3 COM2_TXD RS 422 RX 4 N C RS 4...

Page 15: ...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 Pin Description 1 MIDI0 2 MIDI...

Page 16: ...the HDMI audio video device to this port HDMI technology can support a maximum resolution of 1920 x 1080p but the actual resolution supported depends on the monitor being used Pin Description 1 HDMI_T...

Page 17: ...in the coastline Pin Description 1 5V 2 USB1_D 3 USB1_D 4 GND 5 5V 6 USB2_D 7 USB2_D 8 GND Figure 2 6 USB Type A Connector 2 2 2 8 USB OTG Connector CN30 RSB 4411 supports one USB OTG port in the coas...

Page 18: ...erial cables Pin Description 1 3 3V 2 Debug_TXD 3 Debug_RXD 4 GND Figure 2 12 Debug Port 2 2 2 10 USB Internal Pin Header CN12 RSB 4411 provides extra internal 2x USB2 0 pin headers Pin Description 1...

Page 19: ...in headers Pin Description 1 5V 2 5V 3 USB5_D 4 NC 5 USB5_D 6 NC 7 GND 8 GND 9 GND Figure 2 14 USB Internal Pin Header 2 2 2 12 MIC in CN23 RSB 4411 offers MIC in microphone can be connected to the MI...

Page 20: ...d to the lineout pin header Pin Description 1 LINEOUT_L 2 LINEOUT_R 3 GND Figure 2 16 Line our Internal Pin Header 2 2 2 14 RS 232 CN21 RSB 4411 provides 2x internal 2 wires RS 232 ports Pin Descripti...

Page 21: ...rs Pin Description 1 3 3V 2 GND 3 GPIO_01 4 GPIO_02 5 GPIO_03 6 GPIO_04 7 GPIO_05 8 GPIO_06 9 GPIO_07 10 GPIO_08 11 GPIO_09 12 GPIO_10 13 GPIO_11 14 GPIO_12 15 GPIO_13 16 GPIO_14 17 GPIO_15 18 GPIO_16...

Page 22: ...Pin CN34 Description 1 GND 2 I2C3_SDA 3 I2C3_SCL 4 V3 3 Figure 2 20 I2C Pin Headers 2 2 2 17 MiniPCIe CN3 RSB 4411 supports full size miniPCIe slot both USB and PCIe interface If the WiFi card is only...

Page 23: ...25 PCIe_RXP 26 GND 27 GND 28 NC 29 GND 30 NC 31 PCIe_TXM 32 NC 33 PCIe_TXP 34 GND 35 GND 36 USD_D 37 GND 38 UDB_D 39 3 3V 40 GND 41 3 3V 42 WIMAX 3G_LED 43 GND 44 WLAN_LED 45 NC 46 NC 47 NC 48 NC 49 N...

Page 24: ...SD1 RSB 4411 supports SD MMC card in Class2 4 6 8 10 Supported capacity is up to 32G SDHC Pin Description Pin Description 1 DAT3 2 CMD 3 GND 4 3 3V 5 CLK 6 GND 7 DAT0 8 DAT1 9 DAT2 Figure 2 24 SD Slot...

Page 25: ...A3 20 NC 21 M2_SDIO_WAKE 22 NC 23 SDIO_ RESET Mechanical Key 32 NC 33 GND 34 NC 35 NC 36 NC 37 NC 38 NC 39 GND 40 NC 41 NC 42 NC 43 NC 44 NC 45 GND 46 NC 47 NC 48 NC 49 NC 50 NC 51 GND 52 NC 53 NC 54...

Page 26: ...25 Figure 2 25 M 2 Connector 2 3 Mechanical 2 3 1 Jumper and Connector Location...

Page 27: ...26 2 3 2 Board Dimensions 2 3 2 1 Board Drawing Figure 2 22 Board Dimension Layout Top Side...

Page 28: ...27 Figure 2 23 Board Dimension Layout Bottom Side Figure 2 24 Board Dimension Layout Coastline...

Page 29: ...mon serial communication programs such as Hyper Terminal Tera Term or PuTTY can be used in this case The example below describes the serial terminal setup using Hyper Terminal on a Windows host 1 Conn...

Page 30: ...in Currently you can set the following resolutions 1920x1080 1600x1200 1680x1050 1280x1024 1024x768 800x600 Framebuffer Console If you want to change resolution for console mode you can use this comma...

Page 31: ...me 127 aplay D plughw 0 1 test wav If you want to play audio on HDMI audio channel you can see the DHMI audio is at card 0 device 0 aplay l List of PLAYBACK Hardware Devices card 0 DB410c DB410c devic...

Page 32: ...t echo 26 export echo 27 export GPIO 9 16 GPIO_INT echo 28 export echo 33 export echo 34 export echo 35 export echo 36 export echo 69 export echo 73 export echo 108 export 3 1 4 2 Loopback Test 1 Conn...

Page 33: ...M 2 I2C3 blsp_i2c4 i2c 78b8000 0x39 AD7535 HDMI I2C4 blsp_i2c3 i2c 78b7000 Pin Header 3 1 4 2 Test List all I2C buses i2cdetect l i2c 0 i2c QUP I2C adapter I2C adapter i2c 2 i2c QUP I2C adapter I2C ad...

Page 34: ...00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 01 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00 00 00 84 80 20 00 03 02 e0 18 38 61 1a 00 8...

Page 35: ...estore dd if backup of dev sda bs 1 seek 4096 3 1 7 RTC Test Set system time and write to RTC The date format is MMDDhhmm CC YY ss date 021710452016 hwclock w date Set incorrect time and read time fro...

Page 36: ...4 Confirm ls al dev rtc lrwxrwxrwx 1 root root 4 May 19 2017 dev rtc rtc1 crw 1 root root 254 0 May 19 2017 dev rtc0 crw 1 root root 254 1 Jan 1 02 10 dev rtc1 3 1 8 MMC eMMC SD Test 3 1 8 1 Read Wri...

Page 37: ...h Interface Mac Address Ex update mac_smsc75xx sh ETH_IF 06 05 04 03 02 01 3 1 9 RS 232 485 422 Test To configure the mode of RS232 422 485 transceiver you have to export GPIO 99 100 first Loopback RS...

Page 38: ...emo program for watchdog susidemo4 SUSI4 0 demo Main demo version 4 0 14490 0 0 Terminate this program 1 Watch Dog 2 HWM 3 GPIO 4 VGA 5 I2C 6 Information Enter your choice Then choose 1 Watch Dog Watc...

Page 39: ..._WDT_SignalRoutine To leave this test mode you can press ENTER and choose 4 Stop to disable watchdog function 3 1 11 SPI Test Write Read Verify data in the start end 4 byte of flash Note Make sure the...

Page 40: ...ock all killall wpa_supplicant rm etc resolv conf ifconfig wlan0 up wpa_passphrase SSID WPA_KEY tmp wpa conf wpa_supplicant BDwext iwlan0 c tmp wpa conf udhcpc b i wlan0 3 1 14 Bluetooth Test Use hcit...

Page 41: ...bd altlock kbd shiftllock kbd shiftrlock kbd ctrlllock kbd ctrlrlock mmc0 mmc1 timer oneshot heartbeat backlight gpio cpu0 cpu1 cpu2 cpu3 default on hci0 power hci0 tx_rx rfkill0 rfkill1 phy0rx phy0tx...

Page 42: ...follow the instructions 1 systemctl start gnss gpsd 2 close gpsmon 3 2 Package Content An official build release consists of the following contents We take V1 050 for RSB 4760 as example Filename Usag...

Page 43: ...uild directory e g build MACHINE available target boards list below rsb 4760 epc r4761 DISTRO Linux distribution rpb rpb wayland RPB IMAGES meta rpb provides the following images rpb console image rpb...

Page 44: ...19 tgz your container id home adv Or Use docker run with v options to enable data volume Then you are able to put the BSP into the data volume folder For example you can put the BSP into home root wo...

Page 45: ...ages In LIV tarball file you can get binary images For example boot Image 4 4 r0 rsb 4760 20170426102349 52 img Boot Image rpb desktop image rsb 4760 20170426102349 52 rootfs img Root filesystem In BS...

Page 46: ...setup environment BDIR 3 3 3 3 Build Images To build the desktop image run bitbake rpb desktop image 3 3 3 4 Build Toolchain Installer To build SDK toolchain installer perform following commands in te...

Page 47: ...dUpdateTool 32 bit 64 bit 2 Switch USB Download Mode SW1 1 1 power on and then connect with USB Cable 3 Open Command Prompt on PC cd C Program Files Qualcomm DragonBoardUpdateTool 4 Check COM port emm...

Page 48: ...es ID 3 Erase boot rootfs partitions sudo fastboot erase boot sudo fastboot erase rootfs 4 Flash images to boot rootfs partitions sudo fastboot flash boot Your boot image sudo fastboot flash rootfs Yo...

Page 49: ...48 4 Installing 5 Finish and Reboot...

Reviews: