SBC-PH8700 User Manual Catalog Revision History ................................2 Catalog ..................................3 Release Note ................................5 Images Version ............................. 5 Feature List ..............................5 Known Issues ............................... 6 Chapter 1 Quick Start ............................... 7 Burn the System Images to the SD Card ....................7 System Boot from SD Card ........................
Page 4
SBC-PH8700 User Manual 2.16 Camera ..............................21 2.16.1 Video ............................21 2.16.2 Photo ............................21 Chapter 3 System Compilation ..........................22 Building Development Environment ...................... 22 Compiling U-Boot ........................... 22 3.2.1 Get the U-Boot Source Code ...................... 22 3.2.2 Compile and Burn the Images to SD Card .................. 22 3.2.3 Compile and Burn the Images to SPI Flash ................
SBC-PH8700 User Manual Release Note 1. Images Version SBC-PH8800_Shipment_Image_SDCard_Rev01.img SBC-PH8800_Shipment_Image_EMMC_Rev01.img 2. Feature List SBC-PH8800 Schematic On-Chip On-Board Feature List Detail Functions(existing) Page# Peripherals Peripherals u-boot version 2015.09 Supports kernel boot kernel version 4.1.6 Supports all below functionality Default root file system used by Filesystem Debian debian...
SBC-PH8700 User Manual System can send and receive data CAN-1 SPH1800-p8-J61 CAN1 MC33901WEF between two board System can send and receive data CAN-2 SPH1800-p8-J61 CAN0 MC33901WEF between two board System can send and receive data UART-0 SPH1800-p7-CN4 UART0 NUll in loopback mode System can send and receive data UART-1 SPH1800-p7-J4...
SBC-PH8700 User Manual Chapter 1 Quick Start 1.1 Burn the System Images to the SD Card Firstly, you should prepare a SD card, which is no less than 2GB. Then, download and install “Win32 Disk Imager” from https://sourceforge.net/projects/win32diskimager/. ...
SBC-PH8700 User Manual 1.2 System Boot from SD Card Install the Serial Communication software (e.g. SecureCRT), select the corresponding port number, baudrate as 115200, data bits as 8, stop bits as 1, parity as none. Connect the DEBUG interface (CN4) to the serial interface of PC with a USB to TTL module. ...
SBC-PH8700 User Manual 1.3 System Boot from SPI Flash Refer to 1.2, boot the system from SD Card, press “Enter” when the serial terminal prints the following info: U-Boot SPL 2015.07 (Sep 27 2016 - 11:42:48) SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img...
Page 10
SBC-PH8700 User Manual 288632 bytes read in 17 ms (16.2 MiB/s) device 0 offset 0x20000, size 0x46778 SF: 288632 bytes @ 0x20000 Written: OK U-Boot# Enter following instruction to boot from SD Card first: U-Boot# boot Copy the SBC-PH8800_Shipment_Image_EMMC_Rev01.img to a U-disk, then plug the U-disk to P3; Execute the following instructions on the serial terminal: root@ SOM-PH8800:~# ls /dev/sd* /dev/sda /dev/sda1...
SBC-PH8700 User Manual Chapter 2 Function test First of all, please refer to Chapter 1.1 and boot up the system. Then test the functions according to the following guidance. 2.1 LED User can control LED (D3, D4) indicators on SOM-PH8800 Board. After the system boot up, please execute the following instructions in serial terminal to implement the test;...
SBC-PH8700 User Manual f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff If write and read data are the same, the test passes. 2.4 EMMC Execute the following instructions on the serial terminal: root@embest:~# touch emmc_read emmc_write Modify emmc_write value: root@embest:~# vi emmc_write...
SBC-PH8700 User Manual 2.6 HDMI Open the uEnv.txt file from SD card, modify fdtfile=embest-SOM_PH8800-BB_SPH1800-HDMI.dtb Connect the display with HDMI cable, then reboot the system; 2.7 HDMI Audio Connect the HDMI device, execute the following instruction to play the default audio file: root@embest:~# aplay /boot/firmware/audio_sample.wav Playing WAVE '/boot/firmware/audio_sample.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo 2.8 LCD...
SBC-PH8700 User Manual 2.11 Serial The board has 4 serial interfaces, while the UART0 (CN4) is the debug interface. Execute the following instructions on the serial terminal to test UART 1, UART2 and UART4: 2.11.1 UART1 Short Pin 2 and 3 in J4: root@embest:~# ./uart_test -d /dev/ttyS5 -b 115200 /dev/ttyS5 SEND: 1234567890 /dev/ttyS5 RECV 1 total...
SBC-PH8700 User Manual /dev/ttyS1 RECV: 9 /dev/ttyS1 RECV 1 total /dev/ttyS1 RECV: 0 Note: Press “CTRL+C” to exit the serial test. 2.12 RS485 2.12.1 RS485-2 and RS485-3 Short connect Pin 7 and 9, Pin 8 and 10 in J62 (That is RS485-A3 to RS485-A2, RS485-B3 to RS485-B2): Execute the following instructions on the serial terminal (in the background): root@embest:~# ./uart_test -d /dev/ttySC1 -b 9600 -s "a"...
SBC-PH8700 User Manual 2.15 USB 2.15.1 USB Host Insert the U disk to the USB Host interface (P3); serial terminal will display the disk information: [ 937.902749] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd [ 938.023750] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6366 [ 938.030999] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 938.039779] usb 1-1.2: Product: Flash Card Reader/Writer [ 938.046076] usb 1-1.2: Manufacturer: Generic...
Page 20
SBC-PH8700 User Manual [ 880.207218] hub 3-0:1.0: USB hub found [ 880.218080] hub 3-0:1.0: 1 port detected [ 880.222687] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 880.233442] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4 [ 880.241707] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 880.252038] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 880.260133] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 880.268622] usb usb4: Product: xHCI Host Controller...
SBC-PH8700 User Manual 2.16 Camera 2.16.1 Video Connect Camera module to J8, execute the following instructions on the serial terminal: root@embest:~# ./mxc_v4l2_capture –iw1280 -ih 720 -ow 1280 -oh 720 -c 25 -f UYVY /boot/firmware/test.yuv root@embest:~# sync Camera will record a video with1280*720 resolution, rate 25, generate the video file test.yuv in SD card folder. Connect SD card to PC, open it with Pyuv.exe.
SBC-PH8700 User Manual Chapter 3 System Compilation 3.1 Building Development Environment Copy the content of release folder to Linux’s $HOME directory. (You may need to extract all rar files first). The compilation tool gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf located under path S5_tool. Use the following instructions to extract it: $xz -d gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz $tar –xvf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar...
SBC-PH8700 User Manual 1. u-boot.bin under path $HOME/S4_Sourcecode/u-boot 2. u-boot-spl.bin under path $HOME/S4_Sourcecode/u-boot/spl Copy the two files to SD card; Boot from SD card, execute the following instructions in U-Boot phase: U-Boot# run update_qspi_flash Wait for the execute finished, the two files are burn into SPI flash. (Refer to 1.3 System Boot from SPI Flash)
Need help?
Do you have a question about the Embest SBC-PH8700 and is the answer not in the manual?
Questions and answers