Changes

Jump to: navigation, search

Software Manual (Diva)

20,818 bytes added, 16:59, 23 February 2021
Support service
{{Applies To Diva}}
{{InfoBoxBottom}}
 
{{WarningMessage|text=The following information are valid for <b>DIVELK</b> version up to release <b>2.2.0</b>}}
= Introduction =
== About this manual ==
This document describes how to run Linux on the DIVA/DIVAEVB-Lite/Carrier-board system and how to work with '''DIVELK version 2.0.0'''and above. For novice users who have no experience at all about embedded Linux systems, reading of [http://shop.oreilly.com/product/9780596002220.do Building Embedded Linux Systems By Karim Yaghmour] is strongly recommended. Practically speaking, the book covers all matters involved in developing software for such systems (from tool-chain organization to the most famous file systems running on top of MTD). It is not a reference guide, but it provides a complete and exhaustive overview that helps the developer save a lot of time in searching for such information on the Internet. For a brief but still exhaustive overview of the Linux and Embedded Linux world, please look at the Training and Docs sections of [http://free-electrons.com Free Electrons website].
== Support service ==
We are committed to making our products user-friendly and will help customers use our CPU modules in their systems. Technical support is delivered through email. Support requests can be sent to [mailto:support-divahelpdesk@dave.eu support-divahelpdesk@dave.eu]. Software upgrades are available in the restricted download area of '''DAVE Embedded Systems''' web sitegit server: http://www<code>git@git.dave.eu</reserved-area. code> An account is required to access this area (please contact [mailto:support-divahelpdesk@dave.eu support-divahelpdesk@dave.eu] for account requests). 
Please refer to our Web site at http://www.dave.eu/dave-cpu-module-am335x-diva.html for the latest product documents, utilities, drivers, Product Change Notices, Board Support Packages, Application Notes, mechanical drawings and additional tools and software.
[[File:Diva-400.png|300px]]
The heart of DIVA SOM is Texas Instruments "Sitara" [http://www.ti.com/lsds/ti/arm/sitara_arm_cortex_a_processor/sitara_arm_cortex_a8/am335x_arm_cortex_a8/products.page?paramCriteria=no AM335x microprocessors]. From a software point of view, Texas Instruments supports this processor family through so-called Linux EZ AM Software Development Kit (EZSDK AMSDK for short). EZSDK AMSDK releases are published on a regular basis. For more details please refer to:
* http://www.ti.com/tool/linuxezsdk-sitara
* http://processors.wiki.ti.com/index.php/Category:EZSDK
DIVA Embedded Linux Kit, in turn, is directly derived from EZSDKAMSDK. Hence DIVELK documentation often refers to EZSDK AMSDK resources.
=== Carrier boards ===
Please note that DIVELK u-boot and kernel source trees are derived from the official trees released by TI; these trees have been customized to add support for the DIVA SOM.
For further information on EZSDKAMSDK, please refer to [http://processors.wiki.ti.com/index.php/Sitara_SDK_5.06.00_Release_Notes Sitara SDK release notes].
==== DIVELK software components ====
'''DAVE Embedded Systems''' adds to the latest EZSDK AMSDK from Texas Instruments the customization required to support the DIVA platform. For this reason most of the documentation provided by TI remains valid for the DIVELK development kit. However, some customization is required, in particular at bootloader and linux kernel levels.
The following [[Diva_Embedded_Linux_Kit_(DIVELK)#DIVELK_software_components | Please refer to this table shows how DIVELK releases are related to EZSDK AMSDK releases.{| class="wikitable" !!colspan="2" | DIVELK version|-|Release number|1.0.0|2.0.0|-|Status|Released|Work in progress|-|Release date|June 2013|August 2014|-|'''Release notes'''|[[Software_Manual_(Diva)#DIVELK_1.0.0 | Ver 1.0.0]]| -|-|SOM PCB version|CS133012A|CS133012A|-|Supported carrier boards|[[DivaEVB-Lite]]<br>[[:Category:Dacu | Dacu]]|[[DivaEVB-Lite]]<br>[[:Category:Dacu | Dacu]]|-|U-Boot version|2012.10-divelk-1.0.0|2012.10-divelk-2.0.0|-|Linux version|3.2.0-divelk-1.0.0|3.12.10-divelk-2.0.0|- |Drivers|valign="top" | SPI NOR Flash (boot)<br>NAND 8 bit (boot)<br>UART0 (2-wire)<br>USB Host<br>SD/MMC1<br>GPIO<br>LCD<br>Touch screen controller<br>EMAC0 RMII (Fast Ethernet)<br>PMIC RTC (battery powered)<br>Audio (ALSA)|valign="top" | SPI NOR Flash (boot)<br>NAND 8 bit (boot)<br>UART0 (2-wire)<br>USB Host<br>SD/MMC1<br>GPIO<br>LCD<br>Touch screen controller<br>EMAC0 RMII (Fast Ethernet)<br>PMIC RTC (battery powered)<br>Audio (ALSA)<br>USB OTG<br>CAN<br>ADC|-|TI EZSDK|05.06.00.00|07.00.00.00|-|Build System| -|Yocto Dylan (1.4)|-|}
=== DIVELK Updates ===
* start a shell session
* enter the .ssh subdirectory into your home directory: <code>cd ~/.ssh/</code>
* launch the following command: <br><pre>ssh-keygen -t rsa -C "username@myhost.com"-f username@myhost.com</pre>
* this command creates the files <code>~/.ssh/username@myhost.com</code> ('''private key''') and <code>~/.ssh/username@myhost.com.pub</code> ('''public key''')
* edit your <code>~/.ssh/config</code> adding the following lines:
== Release notes ==
'''N.B.''' '''Customers who want to update from DIVELK 1.0.0 to DIVELK 2.0.0 can send an email Please refer to [mailtohttps:support-diva@dave//wiki.eu support-diva@dave.eu]'''/index=== php/Diva_Embedded_Linux_Kit_(DIVELK 2.0.0 === * Release date: October 2014* Status: Work in progress* EZSDK version: 07.00.00.00* Supported carrier boards: DIVAEVB-Lite, Dacu ==== Notes ==== * First major update* Added Yocto support* Updated kernel and u-boot versions* Bug fixes  === )#Release_notes this page] for DIVELK 1.0.0 === * Release date: June 2013* Status: released* EZSDK version: 05.06.00.00* Supported carrier boards: DIVAEVB-Lite, Dacu ==== Notes ==== * First official release
= Developing environment =
For further information on Linux for TI processors, please refer to http://processors.wiki.ti.com/index.php/Category:Linux
 
==== Linux Device Tree ====
The Flattened Device Tree (FDT) is a data structure for describing the hardware in a system (for further information, please refer to http://elinux.org/Device_Tree). Device tree source code is stored into the arch/arm/boot/dts/ directory.
=== Target root file system ===
* VirtualBox virtual machine (.OVA archive)
* Based on Ubuntu Lubuntu 12.04 LTS(64-bit version)
* Pre-installed VirtualBox Guest Additions
* Multiple LXDE desktop environment available:** Unity (Ubuntu)** LXDE (Lubuntu)* Boot disk with pre-installed Ubuntu/Lubuntu Linux 12.04.2 LTS the distro and pre-configured basic Linux services:** TFTP: with base directory /srv/tftp/(please refer to [[VirtualBox_Network_Configuration]])** NFS: configured through the /etc/exports file(please refer to [[VirtualBox_Network_Configuration]])
* Secondary disk containing source code and tools:
** Bootloader (u-boot) source tree cloned from DAVE Embedded Systems public git repository
** External pre-built toolchain
** Yocto bsp for DIVA
* Pre-installed Yocto-based root file system systems with setup scripts, makefiles, example applications, ...
* Administrator account (dvdk) with autologin. Please note that the user account credentials are provided with the development kit (you can find them into the README file contained in the sw/dvdk folder of the kit distribution)
* DIVELK root file system partition (mmcblk0p2, ext3)
DIVELK contains all the required software and documentation to start developing Linux application on the DIVA platform. In particular, DIVELK provides a Virtualbox virtual machine with two emulated disks: * Boot disk with pre-installed Ubuntu Linux 12.04.2 LTS and pre-configured basic Linux services (TFTP, NFS, ...) * Secondary disk containing source code and tools:** Bootloader (u-boot) source tree cloned from '''DAVE Embedded Systems''' public git repository ** Linux kernel source tree cloned from '''DAVE Embedded Systems''' public git repository** Toolchain
=== Importing the Virtual Machine ===
# When the boot process is completed, you can login into the Ubuntu system with the credentials provided with the development kit (you can find them into the '''README''' file contained in the '''dvdk''' folder of the kit distribution)
# Mount the sdk disk launching the sdk-mount.sh script contained into /home/dvdk directory as shown on the image below:<br><br>[[File:divelk-dvdk-sdk-mount.png|600px]]<br><br>
 
<pre>
dvdk@dvdk:~$ sh sdk-mount.sh divelk
[sudo] password for dvdk:
dvdk@dvdk:~$
</pre>
The divelk directory contains the following subdirectories:
* gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linuxyocto: the Yocto SDK installation directory (containing the cross-toolchain. GNU Compiler Collection (GCC) version is 4.7.3
* linux-am33x: the Linux source tree
* u-boot-am33x: the U-Boot source tree
<pre>
export PATH=source ~/divelk/gccyocto/sdk/diva-linaroqt5/environment-arm-linux-gnueabihfsetupexport LDFLAGS=-L${PKG_CONFIG_SYSROOT_DIR}/usr/lib/4.7-2013.03-20130313_linux/bin:$PATH3export CFLAGS=""export CPPFLAGS=""export CXXFLAGS=""export CPATH=""
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
==== NFS Server ====
One of the most useful features important components of a bootloader during development Linux system is the capability to download root file system. A good development root file system provides the Linux kernel from developer with all the networkuseful tools that can help developers on their work. This saves Such a lot of time because developer doesnroot file system can become very big in size, so it't have s hard to program store it in flash memory. User could split the image file system in different parts, mounting them from different media (flash every time he/she modifies it, network, usb...). U-Boot implements But the most convenient thing is to mount the TFTP protocol (see whole root file system from the tftp command)network, so allowing the host system must and the target to share the same files. In this way, developers can quickly modify the root file system, even “on the fly” (meaning that the file system can be configured modified while the system is running). The most common way to enable setup a system like the one described is through NFS (Network File System). As for TFTP service. Installation , installation and configuration of a TFTP server depends on the host Linux distribution. The default DVDK tftp NFS installation has is configured for sharing <code>/srvhome/dvdk/tftpdivelk</code> as work directoryand all the subdirectories. A subdirectory dedicated to  We recommend reading the [[VirtualBox_Network_Configuration]] page for additional details on the image files associated DVDK networking configuration and on how to the DIVELK (<code>/srv/tftp/divelk</code>) is available, but developers can add their custom subdirectories when requiredenable NFS.
==== Pre-built toolchain ====
These packages can be installed with the following command:
<pre>
sudo apt-get install git curl build-essential diffstat texinfo gawk chrpath ia32-libs python-m2crypto
</pre>
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo
$ chmod +x repo
$ ./repo init -u git@git.dave.eu:dave/diva/diva-bsp.git -b diva-dev-dylan
$ ./repo sync
</pre>
=== Building the Yocto image ===
 
Please note that even building the basic root file system requires a few hours to complete the process on a mid-hi range desktop PC (4-6 cores, 8-12 GiB RAM), also depending on the Internet connection speed (all source are fetched from the network). Nearly 20GiB of disk space is required for the build. Moreover, building inside the DVDK adds some overhead, since the performances of a virtual machine are reduced if compared to the physical hardware. Thus, it's recommended to check the hardware capabilities of the host system and, when building with Yocto is required, developers should consider the following options:
 
* migrating the build system to a physical machine
* assuming that the host system has the required resources, extending the hardware capabilities of the default DVDK (eg: adding more cores and disk space)
Once completed the initialization phase, developers can launch the Yocto image build process with the following commands:
 
<pre>
$ cd ~/divelk/diva-bsp
* qt5-rootfs-image (root file system with Qt 5.1.1 libraries and examples)
* base-rootfs-image (minimal root file system)
 
The resulting files (kernel, device tree and u-boot binaries, plus root file system in a .tar.gz archive) will then be available inside the build/tmp/deploy/images/diva directory.
== 4.4 Building the software components outside Yocto ==
Hello world
</pre>
 
=== Build the graphics components ===
 
<strike>AM335x processors provide a PowerVR SGX530 2D/3D graphics accelerator (SGX). This subsystem accelerates 2-dimensional (2D) and 3-dimensional (3D) graphics applications. The SGX subsystem is based on the POWERVR® SGX core from Imagination Technologies. SGX is a new generation of programmable POWERVR graphic cores. The POWERVR SGX530 v1.2.5 architecture is scalable and can target all market segments from mainstream mobile devices to high-end desktop graphics.
 
[http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html TI Linux Graphics SDK] is the development package that provides graphics drivers and OpenGLES1.1,2.0 and OpenVG libraries and demos running on all TI platforms.
 
Instruction on how to build the graphic components can be found here: http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide</strike>
== Boot configurations ==
OOB size 64 b
Erase size 131072 b
</pre>
 
=== Default flash NOR SPI partitions ===
 
<pre>
[ 1.370563] Creating 7 MTD partitions on "spi1.0":
[ 1.375888] 0x000000000000-0x000000040000 : "MLO"
[ 1.383286] 0x000000040000-0x0000000c0000 : "u-boot"
[ 1.390594] 0x0000000c0000-0x000000100000 : "env1"
[ 1.397868] 0x000000100000-0x000000140000 : "env2"
[ 1.405253] 0x000000140000-0x000000180000 : "fdt"
[ 1.412191] 0x000000180000-0x000000780000 : "kernel"
[ 1.419714] 0x000000780000-0x000002000000 : "free"
</pre>
 
=== Default flash NAND partitions ===
 
<pre>
[ 1.971955] Creating 9 MTD partitions on "omap2-nand.0":
[ 1.977663] 0x000000000000-0x000000020000 : "SPL"
[ 1.985117] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.993214] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 2.001160] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 2.009145] 0x000000080000-0x000000260000 : "u-boot"
[ 2.018198] 0x000000260000-0x000000280000 : "u-boot-env"
[ 2.026420] 0x000000280000-0x0000002a0000 : "fdt"
[ 2.033730] 0x0000002a0000-0x0000008a0000 : "kernel"
[ 2.046645] 0x0000008a0000-0x000040000000 : "rootfs"
</pre>
U-Boot SPL 2013.10 (Sep 13 2014 - 10:43:18) [divelk-2.0.0]
reading u-boot.img
reading u-boot.img
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
DIVAtrying to boot from DIVELK MMC reading boot.scr419 bytes read in 5 ms (81.1 KiB/s)## Executing script at 80900000reading uImage4714280 bytes read in 490 ms (9.2 MiB/s)reading am335x-divelk.dtb37129 bytes read in 11 ms (3.2 MiB/s)## Booting kernel from Legacy Image at 80200000 ... Image Name: Linux-3.12.10-divelk-2.0.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4714216 Bytes = 4.5 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 Loading Kernel Image ... OK Loading Device Tree to 9fe02000, end 9fe0e108 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0[ 0.000000] Linux version 3.12.10-divelk-2.0.0 (amon@linuxserver2) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #26 SMP Sat Sep 13 10:45:59 CEST 2014[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: DAVE Embedded System DIVELK[ 0.000000] cma: CMA: reserved 24 MiB at 9e000000[ 0.000000] Memory policy: ECC disabled, Data cache writeback[ 0.000000] CPU: All CPU(s) started in SVC mode.[ 0.000000] AM335X ES1.0 (sgx neon )[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0d9a000 s9024 r8192 d15552 u32768[ 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(u-boot),128k(u-boot-env),128k(fdt),6m(kernel),-(rootfs);spi1.0:256k(MLO),512k(u-boot),256k(env1),256k(env2),256k(fdt),6m(kernel),-(free)[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)[ 0.000000] Memory: 482188K/521216K available (6358K kernel code, 562K rwdata, 2168K rodata, 368K init, 254K bss, 39028K reserved, 0K highmem)[ 0.000000] Virtual kernel memory layout:[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)[ 0.000000] .text : 0xc0008000 - 0xc085bf9c (8528 kB)[ 0.000000] .init : 0xc085c000 - 0xc08b8340 ( 369 kB)[ 0.000000] .data : 0xc08ba000 - 0xc09468b0 ( 563 kB)[ 0.000000] .bss : 0xc09468b8 - 0xc09863f4 ( 255 kB)[ 0.000000] Hierarchical RCU implementation.[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.[ 0.000000] NR_IRQS:16 nr_irqs:16 16[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts[ 0.000000] Total of 128 interrupts on 1 active controller[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms[ 0.000000] OMAP clocksource: timer1 at 24000000 Hz[ 0.000000] Console: colour dummy device 80x30[ 0.000409] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)[ 0.119684] pid_max: default: 32768 minimum: 301[ 0.119839] Security Framework initialized[ 0.119964] Mount-cache hash table entries: 512[ 0.131811] CPU: Testing write buffer coherency: ok[ 0.132332] CPU0: thread -1, cpu 0, socket -1, mpidr 0[ 0.132408] Setting up static identity map for 0xc063b648 - 0xc063b6b8[ 0.137504] Brought up 1 CPUs[ 0.137533] SMP: Total of 1 processors activated.[ 0.137544] CPU: All CPU(s) started in SVC mode.[ 0.138587] devtmpfs: initialized[ 0.143587] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3[ 0.209601] omap_hwmod: debugss: _wait_target_disable failed[ 0.210581] pinctrl core: initialized pinctrl subsystem[ 0.211857] regulator-dummy: no parameters[ 0.214690] NET: Registered protocol family 16[ 0.217798] DMA: preallocated 256 KiB pool for atomic coherent allocations[ 0.221492] cpuidle: using governor ladder[ 0.221516] cpuidle: using governor menu[ 0.230756] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt![ 0.232413] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt![ 0.234218] OMAP GPIO hardware version 0.1[ 0.247827] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe[ 0.247871] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral[ 0.248489] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt![ 0.253038] DSS not supported on this SoC[ 0.253065] No ATAGs?[ 0.253079] hw-breakpoint: debug architecture 0x4 unsupported.[ 0.295970] bio: create slab <bio-0> at 0[ 0.319222] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver[ 0.321038] vin: 5000 mV [ 0.323718] SCSI subsystem initialized[ 0.325674] usbcore: registered new interface driver usbfs[ 0.325939] usbcore: registered new interface driver hub[ 0.326254] usbcore: registered new device driver usb[ 0.327385] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe[ 0.327421] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral[ 0.327950] pps_core: LinuxPPS API ver. 1 registered[ 0.327964] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <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)[ 0.364762] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)[ 0.364847] TCP: Hash tables configured (established 4096 bind 4096)[ 0.364928] TCP: reno registered[ 0.364948] UDP hash table entries: 256 (order: 1, 8192 bytes)[ 0.364976] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)[ 0.365256] NET: Registered protocol family 1[ 0.365759] RPC: Registered named UNIX socket transport module.[ 0.365774] RPC: Registered udp transport module.[ 0.365783] RPC: Registered tcp transport module.[ 0.365793] RPC: Registered tcp NFSv4.1 backchannel transport module.[ 0.367016] NetWinder Floating Point Emulator V0.97 (double precision)[ 0.367827] PM: Loading am335x-pm-firmware.bin[ 0.530548] VFS: Disk quotas dquot_6.5.2[ 0.530738] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)[ 0.531740] NFS: Registering the id_resolver key type[ 0.531867] Key type id_resolver registered[ 0.531880] Key type id_legacy registered[ 0.532254] NTFS driver 2.1.30 [Flags: R/W].[ 0.532307] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.[ 0.532535] msgmni has been set to 989[ 0.535449] NET: Registered protocol family 38[ 0.535511] io scheduler noop registered[ 0.535523] io scheduler deadline registered[ 0.535560] io scheduler cfq registered (default)[ 0.538175] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568[ 0.590593] Console: switching to colour frame buffer device 100x30[ 0.598277] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled[ 0.601816] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0[ 1.281209] console [ttyO0] enabled[ 1.286942] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20[ 1.310673] brd: module loaded[ 1.323060] loop: module loaded[ 1.333908] mtdoops: mtd device (mtddev=name/number) must be supplied[ 1.343735] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17[ 1.350969] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16[ 1.358842] m25p80 spi1.0: s25fl256s1 (32768 Kbytes)[ 1.364293] 7 cmdlinepart partitions found on MTD device spi1.0[ 1.370563] Creating 7 MTD partitions on "spi1.0":[ 1.375888] 0x000000000000-0x000000040000 : "MLO"[ 1.383286] 0x000000040000-0x0000000c0000 : "u-boot"[ 1.390594] 0x0000000c0000-0x000000100000 : "env1"[ 1.397868] 0x000000100000-0x000000140000 : "env2"[ 1.405253] 0x000000140000-0x000000180000 : "fdt"[ 1.412191] 0x000000180000-0x000000780000 : "kernel"[ 1.419714] 0x000000780000-0x000002000000 : "free"[ 1.428475] CAN device driver interface[ 1.434708] c_can_platform 481cc000.d_can: c_can_platform device registered (regs=fa1cc000, irq=68)[ 1.446015] usbcore: registered new interface driver asix[ 1.452044] usbcore: registered new interface driver ax88179_178a[ 1.458930] usbcore: registered new interface driver cdc_ether[ 1.465550] usbcore: registered new interface driver r815x[ 1.471615] usbcore: registered new interface driver smsc95xx[ 1.477990] usbcore: registered new interface driver net1080[ 1.484283] usbcore: registered new interface driver cdc_subset[ 1.490779] usbcore: registered new interface driver zaurus[ 1.497093] usbcore: registered new interface driver cdc_ncm[ 1.503937] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[ 1.510886] ehci-omap: OMAP-EHCI Host Controller driver[ 1.517235] usbcore: registered new interface driver cdc_wdm[ 1.523592] usbcore: registered new interface driver usb-storage[ 1.530485] usbcore: registered new interface driver usbserial[ 1.537087] usbcore: registered new interface driver usbserial_generic[ 1.544375] usbserial: USB Serial support registered for generic[ 1.550984] usbcore: registered new interface driver ftdi_sio[ 1.557337] usbserial: USB Serial support registered for FTDI USB Serial Device[ 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[ 1.608210] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.[ 1.614488] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517[ 1.622856] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral[ 1.653327] mousedev: PS/2 mouse device common for all mice[ 1.660663] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input0[ 1.671593] i2c /dev entries driver[ 1.678569] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec[ 1.688151] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25[ 1.695572] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24[ 1.702910] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517[ 1.709845] edma-dma-engine edma-dma-engine.0: freeing channel for 24[ 1.716920] edma-dma-engine edma-dma-engine.0: freeing channel for 25[ 1.723910] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral[ 1.732299] ledtrig-cpu: registered to indicate activity on CPUs[ 1.739174] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36[ 1.746525] omap-sham 53100000.sham: hw accel on OMAP rev 4.3[ 1.754574] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2[ 1.760718] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5[ 1.768028] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6[ 1.777248] usbcore: registered new interface driver usbhid[ 1.783237] usbhid: USB HID core driver[ 1.791362] usbcore: registered new interface driver snd-usb-audio[ 1.801674] UDA134X SoC Audio Codec[ 1.824052] davinci_evm sound.4: uda134x-hifi <-> 48038000.mcasp mapping ok[ 1.837299] oprofile: no performance counters[ 1.842555] oprofile: using timer interrupt.[ 1.847618] TCP: cubic registered[ 1.851130] Initializing XFRM netlink socket[ 1.855784] NET: Registered protocol family 17[ 1.860546] NET: Registered protocol family 15[ 1.865336] can: controller area network core (rev 20120528 abi 9)[ 1.872096] NET: Registered protocol family 29[ 1.876881] can: raw protocol (rev 20120528)[ 1.881397] can: broadcast manager protocol (rev 20120528 t)[ 1.887520] 8021q: 802.1Q VLAN Support v1.8[ 1.892100] Key type dns_resolver registered[ 1.897496] cpu cpu0: cpu0 regulator not ready, retry[ 1.903001] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral[ 1.911300] PM: CM3 Firmware Version = 0x187[ 1.916487] ThumbEE CPU extension supported.[ 1.923680] omap-gpmc 50000000.gpmc: GPMC revision 6.0[ 1.929131] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000[ 1.937019] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit), 1024MiB, page size: 2048, OOB size: 64[ 1.949754] omap2-nand: detected x8 NAND flash[ 1.954499] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme[ 1.960175] omap2-nand: using custom ecc layout[ 1.965136] 9 cmdlinepart partitions found on MTD device omap2-nand.0[ 1.971955] Creating 9 MTD partitions on "omap2-nand.0":[ 1.977663] 0x000000000000-0x000000020000 : "SPL"[ 1.985117] 0x000000020000-0x000000040000 : "SPL.backup1"[ 1.993214] 0x000000040000-0x000000060000 : "SPL.backup2"[ 2.001160] 0x000000060000-0x000000080000 : "SPL.backup3"[ 2.009145] 0x000000080000-0x000000260000 : "u-boot"[ 2.018198] 0x000000260000-0x000000280000 : "u-boot-env"[ 2.026420] 0x000000280000-0x0000002a0000 : "fdt"[ 2.033730] 0x0000002a0000-0x0000008a0000 : "kernel"[ 2.046645] 0x0000008a0000-0x000040000000 : "rootfs"[ 2.910559] vrtc: 1800 mV [ 2.914394] vrtc: supplied by vin[ 2.921442] vio: 1500 <--> 3300 mV at 1500 mV [ 2.926452] vio: supplied by vin[ 2.934061] vdd_mpu: 600 <--> 1500 mV at 1137 mV [ 2.939149] vdd_mpu: supplied by vin[ 2.947000] vdd_core: 600 <--> 1500 mV at 1137 mV [ 2.952150] vdd_core: supplied by vin[ 2.959384] vdd3: 5000 mV [ 2.965617] vdig1: 1200 <--> 2700 mV at 1800 mV [ 2.970598] vdig1: supplied by vin[ 2.977702] vdig2: 1200 <--> 1800 mV at 1800 mV [ 2.982663] vdig2: supplied by vin[ 2.989856] vpll: 1800 <--> 2500 mV at 1800 mV [ 2.994840] vpll: supplied by vin[ 3.001759] vdac: 1800 <--> 2850 mV at 1800 mV [ 3.006728] vdac: supplied by vin[ 3.013866] vaux1: 1800 <--> 2850 mV at 1800 mV [ 3.018861] vaux1: supplied by vin[ 3.026421] vaux2: 1800 <--> 2800 mV at 3300 mV [ 3.031390] vaux2: supplied by vin[ 3.038485] vaux33: 1800 <--> 3300 mV at 3300 mV [ 3.043689] vaux33: supplied by vin[ 3.050823] vmmc: 1800 <--> 3300 mV at 3300 mV [ 3.055802] vmmc: supplied by vin[ 3.073949] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc0[ 3.083252] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write[ 3.092440] ina2xx 0-0041: power monitor ina226 (Rshunt = 10000 uOhm)[ 3.099442] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz[ 3.106054] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control[ 3.114825] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver[ 3.121563] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1[ 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[ 3.173859] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control[ 3.182507] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver[ 3.189383] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2[ 3.198116] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002[ 3.205382] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1[ 3.213083] usb usb2: Product: MUSB HDRC host driver[ 3.218342] usb usb2: Manufacturer: Linux 3.12.10-divelk-2.0.0 musb-hcd[ 3.225358] usb usb2: SerialNumber: musb-hdrc.1.auto[ 3.231979] hub 2-0:1.0: USB hub found[ 3.236124] hub 2-0:1.0: 1 port detected[ 3.241593] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25[ 3.248906] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24[ 3.341278] mmc0: host does not support reading read-only switch. assuming write-enable.[ 3.352042] mmc0: new high speed SDHC card at address 1234[ 3.358955] mmcblk0: mmc0:1234 SA16G 14.6 GiB [ 3.363802] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6[ 3.370249] davinci_mdio 4a101000.mdio: detected phy mask ffffffbf[ 3.379000] libphy: 4a101000.mdio: probed[ 3.383422] davinci_mdio 4a101000.mdio: phy[6]: device 4a101000.mdio:06, driver SMSC LAN8710/LAN8720[ 3.393289] mmcblk0: p1 p2[ 3.398432] Detected MACID = 00:50:c2:1e:af:e0[ 3.409822] tps65910-rtc tps65910-rtc: setting system clock to 2014-10-03 10:36:29 UTC (1412332589)[ 3.425312] ALSA device list:[ 3.428505] #0: Diva Dacu[ 3.440728] kjournald starting. Commit interval 5 seconds[ 3.461578] EXT3-fs (mmcblk0p2): using internal journal[ 3.467158] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode[ 3.474540] VFS: Mounted root (ext3 filesystem) on device 179:2.[ 3.483932] devtmpfs: mounted[ 3.487639] Freeing unused kernel memory: 368K (c085c000 - c08b8000)INIT: version 2.88 bootingStarting udev[ 4.382357] udevd[954]: starting version 182[ 9.887444] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.[ 10.144522] cryptodev: driver 1.6 loaded.Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directorybootlogd.ALSA: Restoring mixer settings...Configuring network interfaces... [ 13.122234] net eth0: initializing cpsw version 1.12 (0)[ 13.130330] net eth0: phy found : id is : 0x7c0f1[ 13.144609] 8021q: adding VLAN 0 to HW filter on device eth0udhcpc (v1.20.2) startedSending discover...Sending discover...[ 16.362961] libphy: 4a101000.mdio:06 - Link is Up - 100/FullSending discover...No lease, failingdone.INIT: Entering runlevel: 5Starting system message bus: dbus.UIM SYSFS Node Not FoundStarting Dropbear SSH server: dropbear.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.Starting PVR******************************************************************************************************************************NOTICE: This file system contains the followin GPLv3 packages: binutils-symlinks binutils gdbserver If you do not wish to distribute GPLv3 components please removethe above packages prior to distribution. This can be done usingthe opkg remove command. i.e.: opkg remove <package>Where <package> is the name printed in the list above
NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
Stopping Bootlog daemon: bootlogd.
umount: can't umount /mnt/.psplash: Device or resource busy
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org diva ttyO0 Arago 2013.12 diva ttyO0 diva login:  </pre class="board-terminal">
The console dump below (obtained using the <code>print</code> command) shows the default u-boot environment:
8,185
edits

Navigation menu