Difference between revisions of "SOPINE"
Line 212: | Line 212: | ||
* [http://files.pine64.org/doc/datasheet/pine64/YL-PINE64-4EC.pdf PINE64 YL-PINE64-4EC 5M Pixel CMOS Image Sensor Module (Description in Chinese)] | * [http://files.pine64.org/doc/datasheet/pine64/YL-PINE64-4EC.pdf PINE64 YL-PINE64-4EC 5M Pixel CMOS Image Sensor Module (Description in Chinese)] | ||
== | == SOPINE Module and Baseboard Information, Schematics and Certifications == | ||
SOPINE module schematic: | SOPINE module schematic: |
Revision as of 11:08, 1 February 2023
The SOPINE A64 is a compute module powered by the same Quad-Core ARM Cortex A53 64-Bit Processor used in the PINE A64 with 2G LPDDR3 RAM memory, Power Management Unit, SPI Flash and integrated MicroSD Slot (for bootable OS images microSD card). The SOPINE module has a 5 years LTS (Long Term Supply) status, which means that it will be supplied to 2022 at the very least. There is a one year warranty period for the SOPINE module. This tiny compute module uses SODIMM-DDR3 form-factor and can be paired with either the Clusterboard, the Baseboard or a custom host PCB for industrial or other embedded applications. It is fully compatible with the PINE A64-LTS in terms of software support
What You’ll Need to Get Started
You will need the following to get started with using your SOPINE Board:
- Windows / Linux PC or MAC with a SD Card Reader connected to the Internet.
- Power Supply (PSU) and Barrel Cable. Please make sure to use a PSU rated at +5V @2A and a barrel cable that is at least 26 AWG thick.
- MicroSD card (8GB or higher capacity) rated 'class 10' or better.
- HDMI cable (unless you wish to run headless / without a monitor). N.B. Android and Remix OS support 720p and 1080p, while Linux supports a wider range of resolutions.
- Input device(s) such as: keyboard, mouse, remote, pointer, etc.
Step by Step Instructions
Caution!
Please handle the SOPINE with care. Always hold the board by the edges and make sure to wear an anti-static wrist strap when handling the SOPINE. Touching components on the front and back of the board can result in an ESD discharge that may damage your board. Avoid placing the board on materials such as carpets, plastics or other surfaces prone to electrostatic build-up.
Begin by imaging the OS of your choice
You will require a quality microSD card (8GB or greater; class 10 or faster). There are many substandard and counterfeit cards in circulation and even reputable vendors may unknowingly sell counterfeit microSD cards. Cards that do not meet the criteria outlined above are known to cause a variety of issues including, but not limited to, complete boot failure. There are ways of testing microSD cards prior to installing the operating system to make sure they are appropriate for use with your board. The main utility for checking microSD cards is H2testw 1.4; yet another alternative is F3.
Please refer to the relevant section below for instructions on how to image your microSD card:
Having successfully imaged your microSD card, insert it into the microSD slot located at the bottom left of the board / to the left of the USB 2.0 sockets.
Plug in the HDMI Cable, Ethernet Cable and Peripherals
Unless you are planning on running your SOPINE headless (without a monitor / as a server), you should plug in all necessary peripherals, including the HDMI and Ethernet cable, prior to powering ON the board. Do note, depending on which OS image you are using, some peripherals may or may not work. Some HDMI→DVI/VGA converters may not work in conjunction with your monitor or TV.
Apply Power to Your Board
Once you have imaged your microSD and plugged everything in, you are ready to apply power to the SOPINE. You'll need a good quality 5 Volt, 2 Amp PSU. Using a good quality PSU and barrel cable is very important as failing to meet the required specifications may prevent the board from booting correctly.
Having completed the steps outlined above the SOPINE board will begin to boot. The red onboard LED light indicates power on status. The LED will not blink during boot up and the color of the LED stays solid. The color does not change to signify an error.
Imaging microSD on Windows 7/8/8.1/10
You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
- A compression Utility (used to unarchive the OS image). We recommend you use 7zip.
- A disk image utility (used to ‘burn’ the .img to your SD card). We recommend you use either the Win32Imager or Etcher utility.
Optional
- Phoenix Card image utility (used ONLY for phoenix card images). You can download it from here.
Downloading and extracting OS image(s)
You can find all OS images under Software and OS Image Downloads. There are two type of Android and Remix images available. Images designated ‘DD’ need to be imaged using Etcher or Win32imager, whilst images labelled ‘Phoenix Card Image’ require the Phoenix Card utility.
Having downloaded the required OS image proceed to use 7zip to unarchive it by right-clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination of where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.
Imaging the microSD card (DD)
- Insert your microSD card into your laptop/USB card reader. You may require a SD → microSD converter, as most laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer, make sure to take note of the drive it has been assigned (the drive is assigned a letter, e.g. ‘F:’). You will need to remember the ‘letter’ it has been assigned when imaging the OS.
- Launch Win32diskImager.exe or etcher.exe. You will be presented with a field titled ‘path’ and a drop down menu labeled ‘device’. Click the ‘path’, navigate to and select the OS image you extracted from the archive earlier. Next, from the drop-down menu select the drive your microSD has been assigned. Pay close attention to the selected drive (remember your letter) – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
- Having chosen the desired OS image and the correct driver press ‘write’. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from Windows.
Imaging using Phoenix Card
On Windows, you can also use Phoenix Card (for detailed instructions click here). The Phoenix Card utility works ONLY with images designated as ‘Phoenix Card’ in the downloads section. To use Phoenix Card follow these steps:
- Insert your microSD card into your laptop/USB card reader. You may require a SD → microSD converter, as most laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer, make sure to take note of the drive it has been assigned (the drive is assigned a letter, e.g. ‘F:’). You will need to remember the ‘letter’ it has been assigned when imaging the OS.
- Launch phoenixcard.exe. You will be presented with a ‘disk’ drop-down menu and a field denoted as ‘Img File’. Click on ‘Img File’ and navigate to and select the OS image have downloaded and unarchived. Next, make sure to select the disk that your microSD card has been assigned. Pay close attention to the selected drive (remember your letter) – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
- Make sure to select ‘Startup!’ from the ‘Write mode’ window and click Burn. Once the image has been written to your microSD card you will receive a confirmation in the ‘option’ window. Be sure to close the application and to eject/remove your SD card safely from Windows.
Imaging microSD on Apple OSX
You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
- A compression Utility (used to unarchive the OS image). We recommend you use 7Zip.
- A disk image utility (used to ‘burn’ the .img to your SD card in GUI). We recommend you use ApplePi Baker or Etcher.
Phoenix Card utility and images are NOT available on Apple OSX.
Downloading and extracting OS image(s)
You can find all OS images under Software and OS Image Downloads. On OSX you can only use images designated as ‘DD’.
Having downloaded the required OS image proceed to use 7zip to unarchive it by double clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.
Imaging the microSD card (GUI)
- Insert your microSD card into your Mac laptop/USB card reader. You may require a SD → microSD converter, as Apple’s laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
- Launch Apple-Pi Baker or the etcher utility. Upon startup the application it will ask for your password. When the application launches you will be presented with a field titled ‘IMG file’ and a path of the mounted microSD card (it will look something like this: ‘/dev/diskX 32.0Gb SD card’). Click the ‘IMG file’ button, navigate to and select the OS image you extracted from the archive earlier. Next, select the microSD from the window. Pay close attention to the selected drive – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
- Having chosen the desired OS image and the correct driver press ‘Restore Backup’. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from your Mac.
Imaging from Terminal
If you are not comfortable using the terminal, please use the GUI method outlined above instead.
- Insert your microSD card into your Mac laptop/USB card reader. You may require a SD → microSD converter, as Apple’s laptops and desktops only feature a full-size SD card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
- Open up your terminal and navigate to the directory where you unarchived your OS image.
- Before you start writing to the card, you will have to identify your microSD card. Type: diskutil list and note the output. The disk number should match the size of your SD card and will likely be using ‘Fdisk_partition_scheme’. Having identified the disk number execute the following commands (substitute diskX for your disk and name of image for pine64-image-name.img):
diskutil unmountDisk /dev/diskX sudo dd if=pine64-image-name.img of=/dev/disk2 bs=1M
- Wait patiently for the process to complete. Be sure to eject/remove your SD card safely from your Mac.
Imaging microSD on Linux
You will need the following utilities to get started with imaging the OS of your choice onto your microSD card:
- A compression Utility (used to unarchive the OS image). We recommend you use 7Zip.
- A disk image utility (used to ‘burn’ the .img to your SD card in GUI). We recommend you use Etcher or the GUI Disks utility that ships with most popular distributions.
Phoenix Card utility and images are NOT available on Linux.
Downloading and extracting OS image(s)
You can find all OS images under Software and OS Image Downloads. On Linux you can only use images designated as ‘DD’.
Having downloaded the required OS image proceed to use 7zip to unarchive it by double clicking the archive, and selecting ‘Extract All’. Upon completion, note the destination where the .img file was extracted (‘Downloads’ folder by default). Once the process has completed, you can proceed to imaging the .img file.
Imaging the microSD card (GUI)
- Insert your microSD card into your Linux laptop/USB card reader. Once the microSD card is plugged into your computer it should appear in your File Manager / on your desktop.
- Launch Disks or the etcher utility (This tutorial outlines how to use Disks, if you wish to learn how to use Etcher please visit their website).
- Upon launching Disks, you will be presented with all volumes visible to your computer. As a rule of thumb, your microSD card should be found at the bottom of listed volumes. Verify this by checking the size and mounting of the microSD card. Pay close attention to the selected drive – the imaging process will format the selected drive. If you choose the wrong drive all your data will be lost.
- Having selected your microSD card, click the cog menu in top right corner and choose the ‘Restore Disk Image’ option from the drop-down list. Navigate to and select the OS image you extracted from the archive earlier. Once you select it, you will be asked to enter your password and to confirm writing to the chosen volume (microSD card).
- You will be given a predicted time, writing-speed and completion percentage. Once the image has been written to your microSD card you will receive a pop-up notification. Be sure to close the application and to eject/remove your SD card safely from your computer.
Imaging from Terminal
If you are not comfortable using the terminal, please use the GUI method outlined above instead.
- Insert your microSD card into your Linux laptop/USB card reader. Once the microSD card is plugged into your computer it should appear in Finder / on your desktop.
- Open up your terminal and navigate to the directory where you unarchived your OS image.
- Before you start writing to the card, you will have to identify your microSD card.
- Type: lsblk and pay attention to the listed disks. Disks will appear as /dev/sda /dev/sdb etc. Look at the drive that matches your microSD card’s size.
- Having located the microSD card use the following command to burn the .img of choice to the microSD card (/dev/sdb used as example): ‘’sudo unmount /dev/sdb1
- Now you are ready to write the image to the microSD card using this command: ‘’sudo dd if=pine64_image_name.img of=/dev/sdb bs=1M
- Wait patiently for the process to complete. Be sure to eject/remove your SD card safely from your computer.
Troubleshooting
There is a number of things that can prevent the PINE A64(+) board from booting up properly. The most common culprits of a failed boot are (to find out more click here):
- Subpar or counterfeit microSD card
- Subpar Power Supply
- High resistance (thin) or a very long microUSB cable
- Failed imaging of the microSD card (refer to the respective ‘imaging microSD card section)
Make sure to have the newest version of the OS image your are running. On Linux, you can update the kernel and uboot using scripts located in the following directory: /usr/local/sbin
- To navigate to the directory type (in terminal): cd /usr/local/sbin
- You list all the available scripts by typing (in terminal): ls
- To run the script required update script run the following command: sudo ./update_script.sh (substitute the relevant update script for update_script)
Supported Screen Resolutions
The pine supports a number of video resolutions under Linux, however RemixOS and Android images currently only support 720p and 1080p. Linux supports a wider range of resolutions (see all resolutions supported on Linux here). If the native resolution of your monitor or TV is not compatible with the PINE A64(+) then you will be unable to get a video to work with your screen.
Troubleshooting Step by Step
Follow these steps to determine the cause of your problem:
- Check your PSU and barrel cable ratings
- Download and image a base image of Linux
- Plug in Power and Ethernet into your Board
- Watch Ethernet port LED activity
- Check your router for SOPINE IP
- Attempt to ssh into the SOPINE from your computer
If neither of the above mentioned scenarios fits the problem you are facing, please consult this thread (thanks to Ghost for compiling the list): http://forum.pine64.org/showthread.php?tid=680
If you cannot find a solution to your problem you can submit a ticket at: https://support.pine64.org/
SOPINE
Under the 'SOPINE Software and OS Image Download Section' you can find a complete list of currently supported Operating System images that work with the SOPINE as well as other related software. The list includes OS images and descriptions of:
SoC and Memory Specification
- Based on Allwinner A64
CPU Architecture
- Quad-core ARM Cortex-A53 Processor@1152Mhz
- A power-efficient ARM v8 architecture
- 64 and 32bit execution states for scalable high performance
- Support NEON Advanced SIMD (Single Instruction Multiple Data) instruction for acceleration of media and signal processing function
- Support Large Physical Address Extensions(LPAE)
- VFPv4 Floating Point Unit
- 32KB L1 Instruction cache and 32KB L1 Data cache
- 512KB L2 cache
GPU Architecture
- ARM Mali400MP2 Dual-core GPU
- Supports OpenGL ES 2.0 and OpenVG 1.1 standard
Five megapixel CMOS camera module information:
SOPINE Module and Baseboard Information, Schematics and Certifications
SOPINE module schematic:
SOPINE pin assignments:
SOPINE Model "A" Baseboard schematic and PCB board resources:
- SOPINE model "A" Baseboard is an hardware open source project but is not "OSH" compliant
- SOPINE Model "A" Baseboard Schematic capture Rev B DSN source file
- SOPINE Model "A" Baseboard Schematic Rev B PDF file
- SOPINE Model "A" Baseboard PCB Job source file
- SOPINE Model "A" Baseboard PCB Gerber file
- SOPINE Model "A" Baseboard PCB Layout PDF file
PINE A64-LTS / SOPINE WiFi/BT module schematic:
PINE A64-LTS / SOPINE Stereo Audio DAC board schematic:
SOPINE (together with model "A" baseboard) certification:
- SOPINE with model "A" baseboard FCC Certificate
- SOPINE with model "A" baseboard CE Certificate
- SOPINE with model "A" baseboard RoHS Certificate
Five megapixel CMOS camera module information:
- PINE64 YL-PINE64-4EC 5M Pixel CMOS Image Sensor Module (Description in Chinese)
- S5K4EC 5MP CMOS Image Sensor SoC Module Datasheet
- S5K4EC 5MP CMOS Image Sensor SoC Chip Datasheet
- S5K4EC 5MP CMOS Image Sensor Driver Source Code in C language
Early version Camera module information:
LCD Touch Screen Panel information:
- 7.0" 1200x600 TFT-LCD Panel Specification
- Touch Panel Specification
- GOODiX GT911 5-Point Capacitive Touch Controller Datasheet
Lithium battery information:
Ethernet PHY information:
WiFi/BT module information:
Enclosure information:
- Playbox Enclosure 3D file
- ABS Enclosure 3D file
- Outdoor Aluminum Cast Dust-proof IP67 Enclosure Drawing
Connector information:
- 2.0mm PH Type connector specification use in Lithium Battery (VBAT) port and RTC Battery port
- 0.5mm Pitch cover type FPC connector specification use in DSI port, TP port and CSI port
Remote control button mapping: