background image

66

  

ODROID-XU4 USER MANUAL 

tion and Click on the check icon in order to apply/save all changes, as 

shown below.

Save partition information

 

 

Reboot the system, then use the following command to validate 

the creation of the new partition:

$ df -h

Filesystem   

Size  Used Avail Use% Mounted on

udev         

746M  0  746M   0% /dev

tmpfs        

200M  6.9M  193M   4% /run

/dev/mmcblk0p2   15G  3.8G   10G  28% /

tmpfs        

998M  160K  998M   1% /dev/shm

tmpfs        

5.0M  4.0K  5.0M   1% /run/lock

tmpfs        

998M  0  998M   0% /sys/fs/cgroup

/dev/mmcblk0p1  128M  7.1M  121M   6% /media/boot

cgmfs        

100K  0  100K   0% /run/cgmanager/fs

tmpfs        

200M  8.0K  200M   1% /run/user/118

tmpfs        

200M   28K  200M   1% /run/user/1000

/dev/sda1    

917G   72M  871G   1% /media/odroid/xu4-hdd-01

 

You can also verify using the Console application by selecting 

the Places → Computer menu from the desktop.  You can see that the 

HDD has been installed and mounted, ready for use, as shown below.

New hard drive mounted and ready for use

USB3 / SATA2 HDD/SSD RAID 0/1 Enclosure

 

As of February 2017, Hardkernel does not yet provide a kit that 

officially supports RAID 0/1 support for HDDs/SSDs.  However, you 

may be successful in using some 3rd-party peripherals, such as the 

CineRAID CR-H212 2-bay 2.5” HDD/SDD RAID enclosure, with the 

Chapter 4

Summary of Contents for ODROID-XU4

Page 1: ...rev 20170310 ODROID XU4 USER MANUAL ...

Page 2: ... Status 7 Technical Specifications 8 Heat Sink and Fan 10 Frequently Asked Questions 11 Chapter 2 Getting Started 16 Home Computing Network 16 Preparing the Work Area 17 Flashing an Image 18 Boot Media 18 Windows 20 Linux 24 OSX 25 Inserting the eMMC Module or SD Card 26 Powering Up 26 Troubleshooting 26 Configuring Linux 28 Configuring Android 29 Powering Down 29 Chapter 3 Operating Systems 30 Ub...

Page 3: ...ity Applications 38 Music and MIDI 38 How do I Add a MIDI Interface to the XU4 39 Experimental Music with the XU4 40 Android 40 Desktop Environment 40 ODROID Utility and Updater 41 Setting the Display Resolution 41 Installing Google Play and Applications 41 Kodi 42 Netflix 42 Gaming 42 Music and MIDI 42 Using Bluetooth Devices with Android 43 Adding an ODROID VU Touchscreen 43 Chapter 4 Hardware T...

Page 4: ...TA Bridge Board 63 USB3 SATA3 HDD SSD RAID0 1 Enclosure 66 USB GPS Module 68 myAHRS Board 70 Cloudshell 72 Expansion Board 75 Shifter Shield 76 ODROID VU7 77 Micro USB DC Power Bridge 80 ODROID VU5 81 Heat Sink 82 SmartPower2 82 oCam 83 WiFi Module 86 Conclusion 87 Additional Resources 87 Index ODROID XU4 Beginner s Guide ...

Page 5: ...ion that is the hallmark of our products Simple modern and distinctive So you can have the best to accomplish everything you can dream of 2015 Hard Kernel Ltd 704 Anyang K Center Gwanyang Dongan Anyang Gyeonggi South Korea 431 815 Hardkernel manufactures the ODROID family of quad core development boards and the world s first ARM big LITTLE single board computer Read our monthly magazine at http ma...

Page 6: ...purpose computer for web browsing gam ing and socializing a compact tool for college or office work a pro totyping device for hardware tinkering a controller for home auto mation a workstation for software development and much more Some of the modern operating systems that run on the ODROID XU4 are Ubuntu Android Fedora ARCHLinux Debian and OpenELEC with thousands of free open source software pack...

Page 7: ...ary device The boot partition can be stored on either a microSD card or the much faster eMMC module and Hardkernel s products have the unique distinction of supporting removable eMMC modules so that operating systems may be switched out conveniently and easily An eMMC module is a type of storage typically used in a smart phone and is one of the more advanced compact media devices available The pow...

Page 8: ...3 ODROID XU4 USER MANUAL Block Diagram The following diagram illustrates conceptually how the compo nents of the XU4 fit together XU4 Block Diagram and Annotated Board Image Chapter 1 ...

Page 9: ...4A Power Supply Attach the plug to the power connector on the XU4 Plug the 2 pin PSU into the power outlet The pins are Asian standard and you may need an adapter to use in your region such as the Americas The PSU pictured above is available from Hardkernel DC plug cable If you have a 5V DC 4A PSU which does not have the required plug you can cut off the plug from such a power supply Expose about ...

Page 10: ...of its certified distributors The image below shows the use of an ODROID VU HDMI touch screen monitor supporting 10 point touch control ODROID VU HDMI Monitor Keyboard and Mouse Nearly all USB HID compliant keyboard and mouse will work when connected to one of the four USB ports The use of a bluetooth mouse or keyboard requires a bluetooth dongle and for first pairing either an USB mouse keyboard ...

Page 11: ...etooth keyboard or mouse More details on using bluetooth with Android are covered in Chapter 2 Ethernet andWiFi The Ethernet port accepts a standard Ethernet cable and is ca pable of up to 1 GB 1000 MB per second transmission rate The WiFi USB adapter fits in any of the 3 USB ports MicroSD Card Align the metal strips of the microSD card with the pins of the mi croSD card connector and slowly push ...

Page 12: ...the eMMC module if you notice a wrong insertion direction The writing on the card will be exposed after insertion The image below depicts how the eMMC module appears after it is mounted XU4 closeup with eMMC module attached LED status The ODROID XU4 includes several LED lights that indicate the status of the device The red LED Is on when power is available The blue LED Is on solid light when the b...

Page 13: ...rformance over a mechanical hard drive HDD Micro Secure Digital microSD card slot The ODROID XU4 can utilize a newer UHS 1 SD model which is about twice as fast as a class 10 card There are some microSD cards which cause an additional boot delay time of around 30 sec onds According to our testing most Sandisk microSD cards don t cause a long boot delay The ODROID XU4 model is compatible with a wid...

Page 14: ...may be level shifted to 3 3V or 5V using the XU4 Level Shifter Shield Serial console port Connecting to a PC gives access to the Linux console You can monitor the boot process or to log in to the XU4 to perform root main tenance Note that this serial UART uses a 1 8 volt interface and it is recommended to use the USB UART module kit available from Hard kernel A Molex 5268 04a 2 5mm pitch is mounte...

Page 15: ...mponents such as the XU4 processor may reach temperatures as high as 95 C At high temperatures the processor will throttle itself and operate slower so that temperatures do not con tinue to increase Some owners prefer that the temperatures do not reach such high levels and install a heat sink which is available from the Hardkernel store Heat transfer from components to the surround ing air is rela...

Page 16: ...he RAM is not removable or swappable How can I get the Ubuntu or Android BSP source code The U boot Kernel and OS source code are released via Github from the first shipping date at http github com hardkernel Does it play 1080p content well on Ubuntu Linux Yes H 264 H 265 VXU4 MPEG4 MPEG2 video clips are playable with Kodi formerly XBMC in most cases How can I root Android Android for the ODROID i...

Page 17: ...U5 VU7 and VU8 capacitive touchscreen kits What are the minimum peripherals to run Ubuntu or Android with an ODROID XU4 The following peripherals are not included with the basic ODROID XU4 board but may be purchased separately from the Hard kernel store or from a certified distributor HDMI monitor for output device HDMI Cable Mouse for input device MicroSD card for the operating system and user da...

Page 18: ...80x800 800p for ODROID VU 1280x1024 SXGA 1024x768 XGA 800x600 SVGA 800x480 WVGA 640x480 VGA Can I use an HDMI to DVI converter An HDMI DVI converter may work with many DVI monitors but a few of them will not work due to compatibility issues We recommend our HDMI LCD kit ODROID VU that includes a capacitive touch screen if you want to develop a modern user interface Is there a touch screen on the H...

Page 19: ...oard It is recommended to use the Hardkernel 5V 4A PSU or USB to DC Plug cable with a 5V 4A charger Due to the limited power output from a computer s USB port we suggest only powering the ODROID XU4 with a good quality 5V 4A PSU What operating system OS does it use We recommend Android and Ubuntu as our default distribution The OS is stored on the SD card eMMC Which Android and Ubuntu version are ...

Page 20: ...cessories that are purchased from the Hardkernel store No they will work out of box with the kernels supplied with the oper ating system Does the device support networking Yes there is 10 100 1000 RJ45 Ethernet port Is there WiFi WiFi is available via an optional USB dongle I still have more questions You may ask any ODROID related questions in our user support fo rums at http forum odroid com Cha...

Page 21: ...n in the diagam below A Digital Subscriber Line DSL modem typically provid ed by your Internet Service Provider ISP which connects your network to the Internet A single 2 4GHz Dual 2 4 and 5GHz band 802 11b g n WiFi router with at least four 4 Gigabit Ethernet gigE ports and an additional Wide Area Network WAN port where the WAN port connects to the DSL modem An Intel AMD based laptop running MS W...

Page 22: ...e posture and minimize overall fatigue A freely available area of non conductive surface of at least 1m x 1m preferably covered by a well grounded anti static mat with you wearing the grounding wristband cable attached to the mat This safeguards the handling and placement of unprotected electronics such as XU4 board etc on this area A desktop with accessible monitor keyboard mouse or a laptop to p...

Page 23: ...te receptacles on the board If you refer to the annotated board image you can see that the XU4 supports two boot media types microSD card or an eMMC module They can be obtained from Hardkernel directly either with Linux or Android pre installed If you purchased one such device and if it has a factory installed image you can skip the flashing steps in this section and proceed to the next section Bo...

Page 24: ... you will get the fastest possible read write speeds USB2 compati bility will allow one or more points to be of type USB2 but will result in slower speeds Start using the designated non conductive free work area for all subsequent activities In the microSD receptacle of the USB SD card reader writer look for the metal contact pins Then if you are using a microSD card to flash the image align the m...

Page 25: ...icrosoftWindows Computer As soon as you attach the USB SD card reader writer for the first time the Windows OS will sense the presence of a new USB device through its plug and play PNP infrastructure It will obtain the device identifiers from the device and search through its local database If found it will install it for the first time If not found it will request you to provide a location for th...

Page 26: ...eed a specialized utility to uncompress the downloaded file A reliable utility to uncompress such files is the 7 zip program Launch a web browser such as Firefox and navigate to http www 7 zip org download html which will list all of the avail able installation files for this utility Click on a link that corresponds to your host computer s OS Details of your OS can be found by running either the m...

Page 27: ...atible with the XU4 board Another essential utility is one that will be used to flash the un compressed image file such as the Win32DiskImager utility Hard kernel has an updated version of it that adds a useful step to the flash process which clears the boot media prior to writing the image This version of Win32DiskImager exe can be downloaded from http bit ly 1LVPcbF Uncompress the compressed ima...

Page 28: ...enshot above shows the Win32DiskImager2 interface Click on the Write button to start the flash process Flashing an image using Win32DiskImager2 You will be notified of the completion of the flash process Launch the Windows Explorer application and right click the device that was used in the flash process by Win32DiskImager2 exe with the mouse and select the Eject option When permitted remove the U...

Page 29: ... Image on a Linux Ubuntu Computer In your Ubuntu Linux desktop launch a terminal window Create a working directory cd mkdir linux img cd linux img You can download the compressed image using a browser like Firefox for Ubuntu using the same Windows OS steps described ear lier If you follow this method you should use the mv command to move the downloaded compressed file to the working directory list...

Page 30: ...nux img sudo dd if ubuntu 16 04 mate odroid xu3 20161011 img of dev sdb bs 1M conv fsync sync The dd command is very powerful so use it with a lot of care If incorrect parameters especially the of parameter are used here you could potentially ruin the OS installation of the computer The dd command is often referred to as the disk destroyer command This step could take a while So wait for it to com...

Page 31: ...nductive work surface Open the bag and remove the board holding the edges Avoid touching any of the components peripheral connectors ports exposed circuits or on board solder Place the board on the work surface with the bottom side up Check the annotated diagrams and follow the instructions from Chapter 1 for inserting the eMMC module or SD card Powering Up Before powering the board attach all per...

Page 32: ...e it while the XU4 is running No desktop image Be patient since some SD cards require several minutes to boot and anywhere from 30 seconds to 2 minutes to show the first image Verify that the HDMI cable is correctly plugged in and edit the boot ini on a PC and select the correct resolution see Chapter 1 for details Some HDMI cables have compatibility issues so make sure to use an official Hardkern...

Page 33: ... Configuring Linux After booting the ODROID to a Linux desktop run the included ODROID Utility which is linked on the desktop and expand the file system to have full use of the microSD card or eMMC module Then run the ODROID Utility again to update the system and reboot To update the HDMI resolution edit the file media boot boot ini Update the section titled Screen Configuration for HDMI by un com...

Page 34: ...reconfigure tzdata Configuring Android Once the Android desktop has loaded run the ODROID Utility app and select the desired CPU frequency monitor resolution and orientation To set the timezone and other configurable options use the built in Settings panel that comes with the Android installation Powering Down Shutting down the ODROID XU4 is very important in order to prevent damage to the microSD...

Page 35: ...bian Ubuntu is based on the Debian operating system and both offer a desktop as well as a large library of applications that may be freely installed used and modified The main GUI tool for obtaining applica tions on Ubuntu is Synaptic Package Manager although the command line tool called apt get is often used by advanced users and scripts in order to streamline the installation process Application...

Page 36: ...rt the File Manager application from the Applications menu in the bottom left corner of the screen which will look like the screenshot below Both Ubuntu and Debian offer many different types of desktop en vironments such as MATE Xubuntu LXDE Lubuntu Gnome KDE Kubuntu and Blackbox to name a few Each one includes specific applications that are useful for different types of users For instance a typic...

Page 37: ...is makes Linux one of the most versatile operating systems available since it can be configured to run on almost any device including lap tops desktop PCs smartphones and ODROID microcomputers Graphical User Interface GUI All versions of Linux offer a command line interface CLI and sometimes include a window manager and desktop environment that is launched on startup Most modern Linux systems such...

Page 38: ... are transferred for each frame of the video signal so that a 60fps video has 30 complete full frames per second The display device sends the two fields to the screen in the horizontal odd and even or interlaced pixel positions Given the vi sual persistence of the human eye this reconstruction of full frames is undetectable to the viewer In general faster frame rates result in a visually smoother ...

Page 39: ...al resolution is lower than the maximum resolution of the video display the user may wish to setup the video settings differently In this case matching both the XU4 video settings and the video display settings to the source material s native format would be appropriate With this configuration the video playback would provide an image that is true to the original source material as well as freeing...

Page 40: ...button labeled Display Screen Mode marked with a display icon or marked with for wide mode If your remote has one of these dedicated display mode keys pressing this key should allow you to cycle through the display modes Finding Setting in Monitor Menus If you cannot find a display mode button you will need to enter the display s menu setting mode usually marked Menu or Settings You will need to s...

Page 41: ...ing a shell called BASH When a graphical system is running a Terminal window may be launched in order to is sue commands using the keyboard Many Linux systems also come with the Secure Shell SSH server which allows a command line interface to be invoked from a re mote computer via Ethernet Other protocols such as Virtual Network Computing VNC have the ability to project the graphical environment t...

Page 42: ...ers are not specifically written to use the video decoding chip available on ODROIDs However the ODROID XU4 CPU is powerful enough to play standard videos within a browser win dow at normal size using software rendering Kodi formerly XBMC Kodi is an application which can turn an ODROID XU4 into an amazingly powerful home media center In fact using the XU4 to run Kodi is the reason why many if not ...

Page 43: ...ple You can perform full or partial backups restores as well as copy your complete Kodi setup to another system even to your PC or laptop In order to perform a Kodi backup or restore you will first need to install the Kodi Backup AddOn More information may be found at http bit ly 1JER8XL along with details on performing Kodi backups at http bit ly 1KRNF6K and on the Kodi forum at http bit ly 1QGOf...

Page 44: ...e and widely available The MIDI Manufacturers Associated website at http bit ly 1Gn2cYw is a good source for additional information Linux Support for Music and MIDI MIDI adapters USB Sound Devices and Music Applications have wide support on Linux For example the Ubuntu Studio project is an excellent open source Linux build that has extensive device sup port with pre configured applications The off...

Page 45: ...arp or a super theremin or a capacitive touch controller such as the Freescale MPR121 Using conductive paint for the capacitive inputs could inspire even more interesting inventions Android Android is an easy to use yet powerful operating system in tended for smartphones tablets and other portable devices It also runs very well on the ODROID XU4 not only as an inexpensive test ing platform for bui...

Page 46: ...tch and move the screen Rotation allows you to rotate the screen to either Portrait or Land scape mode Setting the Display Resolution On the Screen tab of the ODROID Utility application select the preferred monitor resolution then click on Apply and Reboot The new resolution will be active after the reboot has completed An overscan adjustment tool is also provided in the ODROID Utility application...

Page 47: ...ng Netflix account or create a new one When you start a video it always begins playing at low quality then switches to higher quality after about 30 seconds depending on the speed of your Inter net connection Gaming Most Android games are compatible with the ODROID XU4 but some applications that use multitouch gestures won t be playable with out a touchscreen The ODROID VU available from the Hardk...

Page 48: ...evice into pairing mode The Bluetooth manager will display a list of detected devices as well as devices that have been successfully paired If your device was detected but not shown to be a paired device click on the sliders icon on the right side of the listed device to open the bluetooth settings for this device Complete the pairing process by entering the pairing code or passkey for the device ...

Page 49: ...B SPDIF ODROID USB CAM 720P USB3 to SATA Bridge Board USB3 SATA2 HDD SSD RAID 0 1 enclosure USB GPS Module myAHRS board Cloudshell Expansion Board Shifter Shield ODROID VU7 VuShell for VU7 ODROID VU7 Plus Micro USB DC Power Bridge Heat Sink SmartPower2 oCam camera oCam Global Shutter M12 Lens Set WiFi Module 0 WiFi Module 3 WiFi Module 4 WiFi Module 5 Always shut down the XU4 and power it off befo...

Page 50: ...g commands sudo apt get update sudo apt get upgrade sudo apt get dist upgrade Restart the system The version image should match the follow ing or have a higher version uname a Linux odroid 3 10 92 64 1 SMP PREEMPT Mon Nov 23 15 13 42 BRST 2015 armv7l armv7l armv7l GNU Linux You can optionally install a VNC server which allows you to con trol the XU4 from another device on the local network via VNC...

Page 51: ... up the kit power off the XU4 Attach one end of the USB UART module to the XU4 Attach the other micro USB end of the USB UART module to the USB cable Attach the free end of the cable to an available USB port of the host PC system then power on the XU4 The Windows host PC system will recognize the module as a Silicon Labs CP210x USB to UART Bridge and install the appropriate device driver After ins...

Page 52: ...in the screenshots be low Then select the Session option in the left pane You will see a popup window as indicated below Serial configuration in PuTTY Saved serial configuration in PuTTY Serial line COM7 Speed 115200 Connection Type Serial Give this configuration a name such as XU4 1 usb serial then save it This saved configuration can be reloaded and used anytime Chapter 4 ...

Page 53: ...ages can help with debugging issues that you may encounter Most of these messages will also be listed via the dmesg command PuTTY serial console Close the serial console then set up the SSH connection option by relaunching the PuTTY application and selecting the Session op tion on the left pane For this SSH option to work the host PC system and the XU4 need to be visible to each other on the same ...

Page 54: ...be prompted to trust the XU4 s RSA key Select Yes and you should be prompted for a us ername and password which are typically odroid and odroid You will see a screen as shown below PuTTY SSH console Using the USB UART connection you can access the XU4 sys tem as if you had locally opened a terminal instance While you can not view the boot time log in real time you can run a large number of Linux c...

Page 55: ...4 Cygnal Integrated Products Inc idProduct 0xea60 CP210x UART Bridge myAVR mySmartUSB light bcdDevice 1 00 iManufacturer 1 Silicon Labs iProduct 2 CP2104 USB to UART Bridge Controller iSerial 3 00513B0C bNumConfigurations 1 The TTY port on which the module is detected can be obtained with the following command sudo ls lsa dev tty grep USB 0 crw rw 1 root dialout 188 0 Feb 18 23 48 dev ttyUSB0 The ...

Page 56: ...51 ODROID XU4 USER MANUAL Here are the four screens necessary to configure and use Minicom Port option Serial port data Save setup Minicom session Chapter 4 ...

Page 57: ... in step 4 Reboot the XU4 and you will observe boot time information scroll through the minicom terminal session Bluetooth Module 2 Hardkernel offers a bluetooth adapter called the Bluetooth 4 0 Module 2 which is certified to work with the XU4 under both Android and Linux in the following modes Classic Bluetooth v2 0 Android Linux Bluetooth High Speed v3 0 Linux Bluetooth low energy v4 0 BLE Linux...

Page 58: ...net Emulation ver 1 3 3 650274 Bluetooth BNEP filters protocol multicast 3 650279 Bluetooth BNEP socket layer initialized 3 650281 Bluetooth HIDP Human Interface Emulation ver 1 2 3 650286 Bluetooth HIDP socket layer initialized You can then check the list of the installed Bluetooth modules using the command dpkg l grep blue We can then check the pres ence of the Bluetooth device which is useful f...

Page 59: ...l called hcidump to analyze the Bluetooth traffic This tool does not have a prebuilt package so it needs to be built from source using the following steps sudo apt get install autoconf cd mkdir hci cd hci wget c http www kernel org pub linux bluetooth bluez hcid ump 2 5 tar xz tar xvfJ bluez hcidump 2 5 tar xz cd bluez hcidump 2 5 autoconf automake add missing configure make sudo make install sudo...

Page 60: ...ower up process and displays the ambient humidity and temperature as shown in the image below It can also display the key that gets clicked on the keypad and can be reset from the same keypad ODUINO ONE setup using Arduino UNO Some additional information on the ONE package can be ob tained using the following commands ls lsa dev ttyA 0 crw rw 1 root dialout 166 0 Oct 26 03 39 dev ttyACM0 lsusb Bus...

Page 61: ...NE at http bit ly 1Q1K3p2 Note that it has been tested on some older platforms but in order for it to work on the XU4 the sample code needs to be modified as described at http bit ly 1p8uitU ODROID SHOW2 Hardkernel offers an Arduino compatible 2 2 240 320 TFT LCD display called the ODROID SHOW2 that can be used with the XU4 any other Hardkernel board or even a PC ODROID SHOW2 detail closeup After ...

Page 62: ...VR mySmartUSB light bcdDevice 1 00 iManufacturer 1 Silicon Labs iProduct 2 CP2104 USB to UART Bridge Controller iSerial 3 00875559 bNumConfigurations 1 ls lsa dev ttyUSB 0 crw rw 1 root dialout 188 0 Oct 29 06 07 dev ttyUSB0 There are ODROID SHOW2 programming examples at http bit ly 1NcQwd7 Obtain the SHOW2 sample source code and build a sample using the commands cd sudo apt get install git git cl...

Page 63: ... to get the Weather board to work with the SHOW2 and the ODROID XU4 First power down the XU4 Attach the Weather board to the SHOW2 as described in the wiki at http bit ly 1IG1LvF Then at tach the assembly using the USB cable to the XU4 Turn on the power to the XU4 The link above also lists the steps necessary to install the Arduino compatible firmware for displaying the temperature humidity pressu...

Page 64: ...an power rat ed at 5V 2 0 Amps Use the cable colors to ensure polarities match at either end DC plug cable assembly USB Audio Adapter Attach the USB powered audio adapter to the XU4 After a few moments check to see if the device is detected lsusb Bus 002 Device 002 ID 0d8c 000c C Media Electronics Inc Audio Adapter USB audio adapter with USB powered speakers This adapter is based on the CM108AH si...

Page 65: ... install audacity sudo apt get install pavucontrol Launch Audacity from the Applications Sound Video menu then start recording a sample audio stream The image below illus trates a recording in progress Audacity screen during a recording Click the small green Play icon on the 3rd row of icons You should be able to listen to your recording over the attached speakers headphones You can also verify th...

Page 66: ...etected using the commands lsusb Bus 003 Device 007 ID 0d8c 013c C Media Electronics Inc CM108 Audio Controller sudo lsusb D dev bus usb 003 007 sudo password for odroid Device ID 0d8c 013c C Media Electronics Inc CM108 Audio Con troller Device Descriptor bLength 18 bDescriptorType 1 bcdUSB 1 10 bDeviceClass 0 Defined at Interface level bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendo...

Page 67: ...pable of accepting the optical TOSLINK cable The AV Receiver should be connected to an appropriate set of speakers Power up the AV Receiver and select the appropriate input option on the AV Receiver Launch the browser on the XU4 and access a You Tube video link that has audio included Play it in order to verify that the audio is audible USB CAM 720P Hardkernel offers a USB CAM rated at 720p with u...

Page 68: ...s package is compatible with Android and linux on the XU4 From a Terminal window obtain details about the USB3 SATA3 bridge component used in the docking system using the following command odroid xu4 2 lsusb Bus 004 Device 003 ID 174c 55aa ASMedia Technology Inc ASMedia 2105 SATA bridge sudo lsusb D dev bus usb 004 003 sudo password for odroid Device ID 174c 55aa ASMedia Technology Inc ASMedia 210...

Page 69: ...U4 and turn the power off Attach the docking system to the XU4 with the included USB3 cable Insert the SATA storage device HDD SSD with its SATA inter face aligned with the receptacle in the docking system Gently press down the storage device so the SATA connectors connect well and the storage device sits firmly in the docking system Turn on the power to the XU4 and let it complete the boot up pro...

Page 70: ...evices exist on the system You should see the screen shown below Initial gparted view of new HDD Select the unallocated partition and select the Device Create Partition Table menu item You will be presented with a warning as shown below Partition creation warning Click the Apply button and you will be presented with a screen to enter the new partition s information as shown below New partition inf...

Page 71: ... boot cgmfs 100K 0 100K 0 run cgmanager fs tmpfs 200M 8 0K 200M 1 run user 118 tmpfs 200M 28K 200M 1 run user 1000 dev sda1 917G 72M 871G 1 media odroid xu4 hdd 01 You can also verify using the Console application by selecting the Places Computer menu from the desktop You can see that the HDD has been installed and mounted ready for use as shown below New hard drive mounted and ready for use USB3 ...

Page 72: ...04 Device 003 ID 067b 2775 Prolific Technology Inc Bus 004 Device 002 ID 05e3 0616 Genesys Logic Inc The first entry reflects the RAID controller and the second entry reflects the USB3 controller used in the enclosure The image below shows the setup using two 2 PNY XLR8 240GB SSDs in a RAID1 setup with the enclosure cover removed to show internal details XU4 with two SSDs in a RAID1 setup Make sur...

Page 73: ... one external storage de vice attached at a time These kits and enclosures can used at the same time provided that they use their own power supplies since the XU4 cannot deliver the high power requirements through the on board USB3 ports They will have different device names if used simultane ously Since the RAID1 functionality is provided by the hardware in the enclosure the disk access speeds un...

Page 74: ...version of essential GPS pvt po sition velocity time data which represents the following information GPRMC 123519 A 4807 038 N 01131 000 E 022 4 084 4 230394 003 1 W 6A RMC Recommended Minimum sentence C 123519 Fix taken at 12 35 19 UTC A Status A active or V Void 4807 038 N Latitude 48 deg 07 038 N 01131 000 E Longitude 11 deg 31 000 E 022 4 Speed over the ground in knots 084 4 Track angle in deg...

Page 75: ...cle with this setup you will need to use your smartphone as a hot spot and have the setup talk to it via WiFi Foxtrotgps display myAHRS Board If you are looking for an Attitude Heading Reference System AHRS that is minimally influenced by acceleration and magnetic disturbances the low cost USB2 based myAHRS board offered by Hardkernel is a good choice It also sports an I2C interface useful in an e...

Page 76: ...7 sudo lsusb D dev bus usb 003 003 Device ID 0483 5740 STMicroelectronics STM32F407 Device Descriptor bLength 18 bDescriptorType 1 bcdUSB 2 00 bDeviceClass 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0483 STMicroelectronics idProduct 0x5740 STM32F407 bcdDevice 2 00 iManufacturer 1 STMicroelectronics iProduct 2 STM32 Virtual COM Port iSerial 3 000001010000 bNu...

Page 77: ...m withrobot myAHRS_plus trunk odroid_xu3 cd odroid_xu3 opengles30 chmod 777 sh config sh make j8 cd samples opengles_20 cube_with_myahrs cube_myahrs dev ttyACM0 The image below shows the OpenGL ES sample application s display myAHRS sample application Cloudshell The powerful XU4 along with its I O makes for a very cost effec tive DIY Network Attached Storage NAS Solution Hardkernel has developed a...

Page 78: ...c modules Then edit etc modprobe d blacklist odroid conf and remove the blacklist on SPI IO Board blacklist ioboard_bh1780 blacklist ioboard_bmp180 blacklist ioboard_keyled SPI blacklist spidev blacklist spi_s3c64xx 3 2 LCD Touchscreen driver blacklist ads7846 The commands above will ensure that at every boot the saved LCD configuration is used Reboot the board with the HDMI cable disconnected and...

Page 79: ...ce Identifier ODROID Driver fbdev Option fbdev dev fb0 Option Debug false Option DPMS false EndSection Section Screen Identifier Default Screen Device ODROID EndSection Section ServerLayout Identifier Default Layout Option BlankTime 0 Option StandbyTime 0 Option SuspendTime 0 Option OffTime 0 EndSection Section DRI Mode 0666 EndSection Because of the small size of the the LCD display it can be dif...

Page 80: ...o the XU4 XU4 with expansion board The latest version of Linux has the driver support for this expan sion board The article at http bit ly 1Y3viqf details the steps that can be used to test the board su modprobe i2c gpio custom bus0 10 33 23 10 10 modprobe ioboard bmp180 echo ioboard bmp180 0x77 sys class i2c dev i2c 10 device new_device modprobe ioboard bh1780 echo ioboard bh1780 0x29 sys class i...

Page 81: ...these devices This board contains 3 x TSX0108E bi directional level shifter ICs The 40 pin GPIO port on the XU4 is converted to the more com mon 0 1inch 2 54mm pitch 40 pin header which is compatible with the spacing on the C1 and Raspberry Pi Pi 2 The signals can be level shifted to 3 3V or 5V whereas the operating voltage can be set using the small hardware slide switch on the board The image be...

Page 82: ...th the XU4 Shifter shield combination which includes devices such as the Tinkering Kit The shifter can be tested with the 16x2 LCD compatible with the XU4 The image below shows the assembly Shifter shield with 16x2 LCD ODROID VU7 If you want to add a 7 HDMI display that supports 5 point multi touch to your XU4 with low power requirements Hardkernel has de veloped the VU7 kit for this very purpose ...

Page 83: ...d_firmware edid 800x480 bin setenv vout dvi Make sure that no other videoconfig or vout value is set The rest of the related settings should be commented out Save these new settings and shut the system down Reconnect the XU4 to the VU7 display with the touch interface USB cable attached to the USB port on the XU4 Power up the as sembly and login to the desktop The assembly will appear as shown bel...

Page 84: ...upports the 1024x600 resolution and offers the ability to enable or disable the backlighting Along with the 7 screen the kit contains the following items Micro USB link board HDMI link board Micro to TypeA USB Cable Micro to Micro USB Cable TypeA to TypeA HDMI cable Screws and nuts required for assembly Some of the parts are provided to interface to the XU4 while others such as the link boards are...

Page 85: ...ay with the touch in terface USB cable attached to the USB port on the XU4 Power up the assembly and login to the desktop The assembly will appear as shown in the image below XU4 with VU7 Plus display The VuShell can also be used with the VU7 Plus to create a functional desktop computer Micro USB DC Power Bridge When the XU4 is under heavy stress its power requirements can increase sharply As a re...

Page 86: ...back lighting Along with the 5 screen the kit contains the following items Micro USB link board HDMI link board Micro to TypeA USB Cable Micro to Micro USB Cable TypeA to TypeA HDMI cable Screws and nuts required for assembly Some of the parts are provided to interface to the XU4 while others such as the link boards are useful for the devices such as the C1 Using Linux kernel 3 10 92 63 or higher ...

Page 87: ...ou want a low noise option you could use a heat sink While it is installed you may notice the system throttling due to excessive heat in which can you can re duce the maximum CPU clock speed to 1 4 GHz XU4 with heat sink The steps required to install the heat sink are available at http bit ly 2l288mY SmartPower2 Hardkernel has developed the next generation SmartPower2 accessory with an input of 15...

Page 88: ...ra If you are looking for a feature rich capable camera to be used with the XU4 you can use the oCam 5CRO U It is offered by Hard kernel and in partnership with WITHROBOT Co LTD Some of its specifications include Sensor OmniVision OV5640 CMOS image sensor Lens Standard M12 Lens with focal length of 3 6mm Depth 30 35 mm Variable length for Manual Focusing FOV 65 Degree Shutter Electric Rolling Shut...

Page 89: ...pt get install qt4 default libv4l dev libudev dev cd mkdir ocam cd ocam svn export https github com withrobot oCam trunk Software oCam_viewer_Linux cd oCam_viewer_Linux mkdir build cd build qmake make release oCam viewer Several articles have been published that describe the versatile use of this camera with the XU4 available at http bit ly 2lMG2e8 Face Detection Using OCAM and ODROID XU4 How To R...

Page 90: ...oblem while using rolling shutter cameras is the shutter artifact where straight edges appear curved in the captured image This global shutter camera produces images where the artifact is corrected and straight edges appear as they should For details refer to the ODROID magazine article at http bit ly 2bu0Owj The oCam viewer described earlier also works with this camera oCam M12 Lens Set The oCam ...

Page 91: ...ort The specifications include Realtek RTL8812AU chipset ID 0bda 8812 Dual Band MIMO 2x2 Solution 11ac 2x2 MAC BB RF PA USB 3 0 Super Speed interface Compatible with USB2 0 too LED for WiFi Link Activity and button of WPS Support for this module is built into the latest version of Ubuntu Mate for the XU4 Attach the WiFi module and proceed to configure the de vice Shown below is the screen used to ...

Page 92: ...g pre configured drivers included with the official Hardkernel disk images We hope you enjoy tinkering and building your own projects using some of the techniques described here Additional Resources ODROID forums http forum odroid com ODROID Magazine http magazine odroid com ODROID XU4 wiki http bit ly 1IF3Kyh Android images http bit ly 1XwOatZ Linux images http bit ly 1kMUC27 Improved Win32 DiskI...

Reviews: