background image

1

  

ODROID XU4 USER MANUAL 

C

ongratulations on purchasing the ODROID-XU4!  It is one of 
the most powerful low-cost Single Board computers avail-
able, as well as being an extremely versatile device.  Fea-

turing an octa-core Exynos 5422 big.LITTLE processor, advanced 
Mali GPU, and Gigabit ethernet, it can function as a home theater 
set-top box, a general purpose computer for web browsing, gam-

ing and socializing, a compact tool for college or ofice 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 packages 
available.  The ODROID-XU4 is an ARM device, which is the most 
widely used architecture for mobile devices and embedded 32-bit 
computing.

Welcome

Summary of Contents for ODROID-HC1

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

Page 2: ...Status 7 Technical Speciications 8 Heatsink 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...

Page 3: ...erly XBMC 37 Ofice and Productivity Applications 38 Music and MIDI 39 How do I Add a MIDI Interface to the XU4 39 Experimental Music with the XU4 40 Android 40 Desktop Environment 40 ODROID Utility an...

Page 4: ...SPDIF 61 USB CAM 720p 62 USB3 SATA3 HDD SDD Interface Kit 63 USB3 SATA3 HDD SSD RAID0 1 Enclosure 66 USB GPS Module 68 myAHRS Board 70 Cloudshell 72 Expansion Board 74 Shifter Shield 75 ODROID VU7 77...

Page 5: ...on 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...

Page 6: ...urpose computer for web browsing gam ing and socializing a compact tool for college or ofice work a pro totyping device for hardware tinkering a controller for home auto mation a workstation for softw...

Page 7: ...ice 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 operatin...

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

Page 9: ...Power Supply Attach the plug to the power connector on the XU4 Plug the 2 pin PSU into the power outlet The pins are of Asian standard and you may need an adapter to use in your region such as the Ame...

Page 10: ...one of its certiied 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...

Page 11: ...uetooth 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...

Page 12: ...he 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 wit...

Page 13: ...ormance 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...

Page 14: ...ports 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 th...

Page 15: ...Some components do not require any cooling while others do Complex components such as the XU4 processor may reach temperatures as high as 95 C At high temperatures the processor will throttle itself...

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 irst shipping date at http github com har...

Page 17: ...screen kit ODROID Smart Power Supply ODROID VU7 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...

Page 18: ...1280x800 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 the...

Page 19: ...USB peripherals are attached directly to the main board 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...

Page 20: ...eed to patch for optional accessories 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...

Page 21: ...iagam 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...

Page 22: ...ze 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 wrist...

Page 23: ...eceptacles 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 ei...

Page 24: ...ou 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...

Page 25: ...icrosoftWindows 7 Computer As soon as you attach the USB SD card reader writer for the irst time the Windows OS will sense the presence of a new USB device through its plug and play PNP infrastructure...

Page 26: ...eed a specialized utility to uncompress the downloaded ile A reliable utility to uncompress such iles is the 7 zip program Launch a web browser such as Firefox and navigate to http www 7 zip org downl...

Page 27: ...ible with the XU4 board Another essential utility is one that will be used to lash the un compressed image ile such as the Win32DiskImager utility Hard kernel has an updated version of it that adds a...

Page 28: ...reenshot above shows the Win32DiskImager2 interface Click on the Write button to start the lash process Flashing an image using Win32DiskImager2 You will be notiied of the completion of the lash proce...

Page 29: ...Linux Ubuntu 14 04 LTS 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 l...

Page 30: ...f ubuntu 15 04 mate odroid xu3 20150710 img of dev disk by id usb TS RDF5_SD_Transcend_000000000039 0 bs 1M conv fsync sync The dd command is very powerful so use it with a lot of care If incorrect pa...

Page 31: ...uctive 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...

Page 32: ...fferent USB port You can change 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 irst i...

Page 33: ...oniguring Linux After booting the ODROID to a Linux desktop run the included ODROID Utility which is linked on the desktop and expand the ile system to have full use of the microSD card or eMMC module...

Page 34: ...tzdata Coniguring HDMI Resolution in 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...

Page 35: ...tu Debian 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 modiied The main GUI tool for obtaini...

Page 36: ...iew that start with a dot where settings for various applications are stored To view the Home folder start the File Manager application from the Applications menu in the bottom left corner of the scre...

Page 37: ...ARMHF may be converted to run on the ODROID by in stalling an ODROID XU4 kernel and modifying the boot partition This makes Linux one of the most versatile operating systems available since it can be...

Page 38: ...ideo formats and video interlac ing is the historical standard for broadcast video In interlacing two frames or more correctly ields are transferred for each frame of the video signal so that a 60fps...

Page 39: ...ience However if the XU4 is used solely for such purposes as video editing video effects or historical restoration and the source material resolution is lower than the maximum resolution of the video...

Page 40: ...reen 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 Find...

Page 41: ...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...

Page 42: ...ten 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 form...

Page 43: ...do odroid utility sh Kodi Backup Backing up your data is always a good idea and Kodi is no exception Kodi conigurations and databases can become quite de tailed but backup and restoration is quite sim...

Page 44: ...e is a 5 pin DIN connector Internal sound cards no longer include this connector but it can be found on some high end external USB sound modules However USB to MIDI adapters are inexpensive and widely...

Page 45: ...ng A MIDI Interface and any number of sensors could be used to create unique musical instruments For example a pressure transducer could be used as a MIDI breath controller ultrasonic trans ducers cou...

Page 46: ...various aspects of the hardware CPU changes the CPU governor settings and can set the Kodi media center to launch at system startup The Performance governor will give the best speed but consume the m...

Page 47: ...tall The oficial Kodi website provides more detail on the Android installation at http bit ly 1FFK7B9 Netlix Install Netlix from Google Play then click on its icon which should be automatically added...

Page 48: ...d Networks category and select ON to enable your USB bluetooth adapter and bluetooth services To begin pairing your bluetooth device to the XU4 turn on your device and put the device into pairing mode...

Page 49: ...TA2 HDD SSD RAID 0 1 enclosure Cloudshell Expansion Board and Shifter Shield ODROID VU7 Always shut down the XU4 and power it off before attaching or detaching peripheral devices The same applies for...

Page 50: ...ly 1OYeFVb USB UART Module Kit It is often crucial to get a view of the early boot process especially if you are working with newly added external devices or creating spe cial purpose boot images Typ...

Page 51: ...uld note which COM port the module is associated with To do so launch the Com puter Management utility of Windows 7 highlight the Device Manag er option and expand the Ports list In this particular ca...

Page 52: ...nd used anytime as long as the COM port on the host PC system has not changed Click on the Open button to start a session Next reboot the XU4 After a short delay you will see messages scroll by in the...

Page 53: ...PC system and the XU4 need to be visible to each other on the same local area network LAN Refer to the screenshot below for an example PuTTY coniguration Saved SSH coniguration in PuTTY Host name 192...

Page 54: ...cess 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 commands including dmesg from this SSH s...

Page 55: ...icon Labs iProduct 2 CP2104 USB to UART Bridge Controller iSerial 3 00513B0C bNumConigurations 1 The TTY port on which the module is detected can be obtained with the following command sudo ls lsa dev...

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

Page 57: ...step 4 Reboot the XU4 and you will observe boot time information scroll through the minicom terminal session Bluetooth Module Hardkernel offers a bluetooth adapter called the Bluetooth 4 0 Module 2 w...

Page 58: ...100 c4 Bluetooth BNEP socket layer initialized 3574 009074 c7 Bluetooth RFCOMM TTY layer initialized 3574 009117 c7 Bluetooth RFCOMM socket layer initialized 3574 009125 c7 Bluetooth RFCOMM ver 1 11 Y...

Page 59: ...tool called hcidump to analyze the Bluetooth trafic 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...

Page 60: ...wer 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 ON...

Page 61: ...E 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 modiied as described at http bit ly 1p8uitU ODROID SHOW...

Page 62: ...Bridge myAVR mySmartUSB light bcdDevice 1 00 iManufacturer 1 Silicon Labs iProduct 2 CP2104 USB to UART Bridge Controller iSerial 3 00875559 bNumConigurations 1 ls lsa dev ttyUSB 0 crw rw 1 root dial...

Page 63: ...s 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 ass...

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 moment...

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...

Page 66: ...tected using the commands lsusb Bus 003 Device 008 ID 0d8c 013c C Media Electronics Inc CM108 Audio Controller sudo lsusb D dev bus usb 003 008 sudo password for odroid Device ID 0d8c 013c C Media Ele...

Page 67: ...pting 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 bro...

Page 68: ...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...

Page 69: ...he 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...

Page 70: ...vices 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 pres...

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...

Page 72: ...004 Device 003 ID 067b 2775 Proliic Technology Inc Bus 004 Device 002 ID 05e3 0616 Genesys Logic Inc The irst entry relects the RAID controller and the second entry relects the USB3 controller used in...

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 requirem...

Page 74: ...ersion 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...

Page 75: ...le 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...

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 bDevicePr...

Page 77: ...withrobot myAHRS_plus trunk odroid_xu3 cd odroid_xu3 opengles30 chmod 777 sh conig sh make j8 cd samples opengles_20 cube_with_myahrs cube_myahrs dev ttyACM0 The image below shows the OpenGL ES sampl...

Page 78: ...spi_s3c64xx etc modules echo fbtft_device etc modules Hardkernel also offers an infrared remote control that can be conigured to work the Cloudshell using the following commands wget https raw github...

Page 79: ...tdown icon on it The image below shows the Cloudshell display displaying the Linux desktop Cloudshell with linux desktop Expansion Board Hardkernel offers a convenient expansion board compatible with...

Page 80: ...e and light levels respectively cat sys class i2c dev i2c 10 device 10 0077 temperature 284 cat sys class i2c dev i2c 10 device 10 0077 pressure 101523 cat sys class i2c dev i2c 10 device 10 0029 lux...

Page 81: ...he components provided with the kit Shifter shield components The shifter can be tested with the 16x2 LCD compatible with the XU4 The image below shows the assembly Shifter shield with 16x2 LCD The di...

Page 82: ...el has de veloped the VU7 kit for this very purpose Linux is supported with minimal setup and Android compatibility is expected in early 2016 It supports the 800x480 resolution and offers the ability...

Page 83: ...ly 1NWxgDx XU4 with the VU7 display Conclusion The ODROID XU4 is compatible with many types of hardware gadgets and many USB sensors may be used as long as they have Linux drivers available The gadget...

Reviews: