Download Print this page

DAVE  DIVELK Quick Start Manual

Diva embedded linux kit arm cortex-a8 cpu module family

Advertisement

Quick Links

ARM Cortex-A8 CPU Module Family
Lite Line
Diva Embedded Linux Kit (DIVELK)
Quick Start Guide
www.dave.eu
DAVE Embedded Systems
info@dave.eu

Advertisement

loading

Summary of Contents for DAVE  DIVELK

  • Page 1 ARM Cortex-A8 CPU Module Family Lite Line Diva Embedded Linux Kit (DIVELK) Quick Start Guide www.dave.eu DAVE Embedded Systems info@dave.eu...
  • Page 2 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 <Page intentionally left blank> July, 2015 2/52...
  • Page 3 1.7 Related documents......................7 1.8 Conventions, Abbreviations, Acronyms................8 2 Introduction..........................10 2.1 DIVA SOM........................10 2.2 Embedded Linux......................11 2.3 DIVELK.........................12 2.3.1 Kit Contents......................14 2.3.2 DIVELK Release Notes..................15 2.3.2.1Version 2.1.0.....................15 2.3.2.2Version 2.0.0.....................15 2.3.2.3Version 1.0.0.....................16 2.3.2.4Releases history....................16 3 DIVELK Quick Start......................17 3.1 Unboxing........................17 3.2 Hardware setup......................18 3.3 First boot........................18...
  • Page 4 6 Frequently Asked Questions....................42 6.1 Q: Where can I found DIVA SOM information?............42 6.2 Q: I've received the DIVELK package. How am I supposed to start working with it?. .42 6.3 Q: How can I update the DIVELK version?..............43 6.4 Q: How can I work with the XYZ peripheral/interface?..........43 6.5 How can I configure the DIVA system to boot from network?........43...
  • Page 5 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 5/52...
  • Page 6 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 6/52...
  • Page 7 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 7/52...
  • Page 8 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 8/52...
  • Page 9: Revision History

    D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 Revision History July, 2015 9/52...
  • Page 10 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● July, 2015 10/52...
  • Page 11 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● ● ● ● An exhaustive description of this topic is beyond the scope of this document. We recommend reading specific documents, eg Building Embedded Linux Systems By Karim Yaghmour.
  • Page 12 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● July, 2015 12/52...
  • Page 13 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 13/52...
  • Page 14 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 14/52...
  • Page 15 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● ● July, 2015 15/52...
  • Page 16 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 16/52...
  • Page 17 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 17/52...
  • Page 18 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 mmcboot July, 2015 18/52...
  • Page 19 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 19/52...
  • Page 20 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● ●      July, 2015 20/52...
  • Page 21 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● README sw/dvdk ●    ● July, 2015 21/52...
  • Page 22 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 sw/dvdk July, 2015 22/52...
  • Page 23 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 23/52...
  • Page 24 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 cd /home/dvdk sh sdk-mount.sh divelk July, 2015 24/52...
  • Page 25 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 25/52...
  • Page 26 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 26/52...
  • Page 27 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● July, 2015 27/52...
  • Page 28 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● setenv saveenv printenv July, 2015 28/52...
  • Page 29 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 arch/arm/boot/dts/ July, 2015 29/52...
  • Page 30 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● /home/dvdk/divelk July, 2015 30/52...
  • Page 31 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 yocto ● linux-am33x ● u-boot-am33x ● diva-bsp ● qtcreator-x.y.z ● ● diva-base  /home/dvdk/divelk/rfs/diva-base diva-matrix  /home/dvdk/divelk/rfs/diva-matrix July, 2015 31/52...
  • Page 32 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 diva-qt5  /home/dvdk/divelk/rfs/diva-qt5 env.sh ● source ~/divelk/yocto/sdk/diva-qt5/environment-setup export LDFLAGS=-L$ {PKG_CONFIG_SYSROOT_DIR}/usr/lib/4.7.3 export CFLAGS=""...
  • Page 33 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 /home July, 2015 33/52...
  • Page 34 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● July, 2015 34/52...
  • Page 35 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● July, 2015 35/52...
  • Page 36 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● ● ● ● July, 2015 36/52...
  • Page 37 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● ● sudo apt-get install git build-essential diffstat texinfo gawk chrpath ia32-libs python-m2crypto $ sudo dpkg-reconfigure dash $ curl http://commondatastorage.googleapis.com/git-repo-downl...
  • Page 38 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● $ cd ~/divelk/diva-bsp $ source ~/divelk/env.sh $ source diva-bsp-init-env.sh $ bitbake matrix-rootfs-image ●...
  • Page 39 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● /srv/tftp/divelk/ dvdk@dvdk-vm:~/dvdk/divelk/u-boot-am33x$ sudo cp MLO MLO.byteswap u-boot.img /srv/tftp/divelk/ env.sh ~/divelk/linux-am33x dvdk@dvdk-vm:~/divelk/linux-am33x$ make diva_defconfig dvdk@dvdk-vm:~/divelk/linux-am33x$ make uImage am335x-divelk.dtb...
  • Page 40 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 arch/arm/boot/uImage /srv/tftp/divelk/ dvdk@dvdk-vm:~/dvdk/divelk/linux-am33x$ sudo cp arch/arm/boot/dts/am335x-divelk.dtb /srv/tftp/divelk/ env.sh hello.c #include <stdio.h> int main() printf("Hello world\n");...
  • Page 41 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 linux-am33x/Documentation/cpu-freq root@am335x-evm:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available _governors conservative ondemand powersave userspace performance root@am335x-evm:~# root@am335x-evm:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available _frequencies 275000 500000 600000 720000...
  • Page 42 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 DIVA# setenv mem 128MB DIVA# setenv addmem 'setenv bootargs ${bootargs} mem=$ {mem}' DIVA# setenv net_nfs 'run loadk nfsargs addip addcons addmem;...
  • Page 43 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 July, 2015 43/52...
  • Page 44 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● setenv saveenv July, 2015 44/52...
  • Page 45 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 run net_nfs ● ● ● ● July, 2015 45/52...
  • Page 46 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 ● ● ● ● July, 2015 46/52...
  • Page 47 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 U-Boot SPL 2013.10 (Sep 13 2014 - 10:43:18) [divelk-2.0.0] reading u-boot.img reading u-boot.img U-Boot 2013.10 (Sep 13 2014 - 10:43:18) [divelk-2.0.0]...
  • Page 48 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129280 0.000000] Kernel command line: root=/dev/mmcblk0p2 rw console=ttyO0,115200n8 consoleblank=0 mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(...
  • Page 49 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 <giometti@linux.it> 0.328161] PTP clock support registered 0.330978] Advanced Linux Sound Architecture Driver Initialized. 0.332716] Switched to clocksource timer1 0.363794] NET: Registered protocol family 2 0.364657] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  • Page 50 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 1.569745] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control 1.576609] musb-hdrc musb-hdrc.0.auto: Falied to request rx1. 1.583022] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517 1.591267] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral 1.601463] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control...
  • Page 51 3.130296] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 3.137543] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 3.145203] usb usb1: Product: MUSB HDRC host driver 3.150459] usb usb1: Manufacturer: Linux 3.12.10-divelk-2.0.0 musb-hcd 3.157470] usb usb1: SerialNumber: musb-hdrc.0.auto 3.164033] hub 1-0:1.0: USB hub found 3.168106] hub 1-0:1.0: 1 port detected...
  • Page 52 D I V E L K Q u i c k S t a r t G u i d e v . 1 . 0 . 6 13.144609] 8021q: adding VLAN 0 to HW filter on device eth0 udhcpc (v1.20.2) started Sending discover...
  • Page 53 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: DAVE Embedded Systems DIVELK-H-S...