This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART configuration as GPIO



Hi all,

I want to configure the UART1_RTSn pin as GP1[25] pin to control the value of the pin. I have used the sysfs application to modify the pin value, and put it to "high"; in the cat /sys/kernel/debug/gpio appear that is "high" but with the scope, it is "low".

Also I have check it with another gpio, which controls a LED, and in this case, it works properly.

I am thinking about if the problem is a loaded firmware, that changes the configuration I put for the pinmux.

Am I right? Please, some advice or idea would be ok.

The final purpose is to do it in the kernel space, to automate the pin control

BR,

Inigo

  • Hi,

       I know that the firmware will overwrite the pinmux configuration, not sure if this is your case, but you can try booting the board and trying to change the pin mux after loading the firmware using the debugfs module, something like

    mount -t debugfs none /sys/kernel/debug

    cd /sys/kernel/debug/omap_mux

    /sys/kernel/debug/omap_mux # grep -i uart1 *
    uart1_ctsn:name: uart1_ctsn.gp1_io26 (0x48140adc/0xadc = 0x0003), b NA, t NA
    uart1_ctsn:signals: uart1_ctsn | gpmc_a13 | gpmc_a17 | gp1_io26 | NA | NA | NA | NA
    uart1_rtsn:name: uart1_rtsn.gp1_io25 (0x48140ad8/0xad8 = 0x0003), b NA, t NA
    uart1_rtsn:signals: uart1_rtsn | gpmc_a14 | gpmc_a18 | gp1_io25 | NA | NA | NA | NA
    uart1_rxd:name: uart1_rxd.uart1_rxd (0x48140ad0/0xad0 = 0x0000), b NA, t NA
    uart1_rxd:signals: uart1_rxd | gpmc_a26 | gpmc_a20 | NA | NA | NA | NA | NA
    uart1_txd:name: uart1_txd.uart1_txd (0x48140ad4/0xad4 = 0x0008), b NA, t NA
    uart1_txd:signals: uart1_txd | gpmc_a25 | gpmc_a19 | NA | NA | NA | NA | NA

        then use cat or echo on the files to change the mode.

    -David

  • Hi David,

    I have configured de GP1[25] in the board-ti8168evm.c with a pull-up

    TI816X_MUX(UART1_RTSN, OMAP_MUX_MODE3 | DM8168_PULL_UP),  // UART1_RTS

    and when I boot the board and check the pin with the scope, the value is '1', so is correct.

    Nevertheless, using the sysfs program, the pin value doesn't change.

    I think, I need to create a GPIO driver, inspired in the tty_io.c file maybe? Because I want to control the GPIO pin as a manual RTS.

    BR,

    Inigo

  • Hi Inigo,

       so if you cat the file uart1_rtsn, do you get that your pin is configured properly? By default I get 

    /sys/kernel/debug/omap_mux # cat uart1_rtsn
    name: uart1_rtsn.gp1_io25 (0x48140ad8/0xad8 = 0x0003), b NA, t NA
    mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE3
    signals: uart1_rtsn | gpmc_a14 | gpmc_a18 | gp1_io25 | NA | NA | NA | NA

    It seems that it should start fine then. We have a GPIO wiki, maybe it can help you https://developer.ridgerun.com/wiki/index.php/How_to_use_GPIO_signals

  • Hi David,

    I get this:

    name: uart1_rtsn.gp1_io25 (0x48140ad8/0xad8 = 0x0013), b NA, t NA
    mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE3
    signals: uart1_rtsn | gpmc_a14 | gpmc_a18 | gp1_io25 | NA | NA | NA | NA

    and the Pin value is what I put ("1", high).

    Nevertheless, after that, I need to control the pin as a pseudo-rts to control the uart1.

    Any advice?

    BR,

    Inigo

  • Hi David,

    I have done some test with the UART0 (hw shortcircuit, always "high") and UART1 (software control).

    The difference between both bootlogs are that, with the UART0, I can see the complete log and can enter to the device, and with the UART1, I can only see the kernel booting but I can't access to the device.

    Here are the complete logs.

    UART0:

    U-Boot 2010.06-dirty (Mar 19 2014 - 18:30:24)
    
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0
    Using default environment
    
    Hit any key to stop autoboot:  0 
    raise: Signal # 8 caught
    reading u-boot.bin
    
    216476 bytes read
    ## Starting application at 0x80800000 ...
    
    
    U-Boot 2010.06-dirty (Mar 19 2014 - 18:29:46)
    
    TI8168-GP rev 2.1
    
    ARM clk: 987MHz
    DDR clk: 796MHz
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,)
    NAND bus width 8 instead 16 bit
    No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - booting from SD, using default environment
    
    :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
    ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
    ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
    ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
    ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
    r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
    ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
    r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
    r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS   @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
    r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
    rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
    ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
    ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
    r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
    ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
    ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
    :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
    ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
    :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
    :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
    ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
    : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
    ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,
    
    Net:   <ethaddr> not set. Reading from E-fuse
    Detected MACID:84:7e:40:ee:63:26
    Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0 
    raise: Signal # 8 caught
    reading uEnv.txt
    
    369 bytes read
    Importing environment from mmc ...
    Running uenvcmd ...
    BOOTP broadcast 1
    DHCP client bound to address 192.168.10.111
    Using DaVinci EMAC device
    TFTP from server 192.168.10.183; our IP address is 192.168.10.111
    Filename 'uImage.ideatel.sdk.dm8168'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #######################################################
    done
    Bytes transferred = 2610720 (27d620 hex)
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   "RR Compressed Linux Kernel"
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2610656 Bytes = 2.5 MiB
       Load Address: 81e00000
       Entry Point:  81e00000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Linux version 2.6.37-ridgerun (ideatel@ubuntu) (gcc version 4.3.3 (Sourcery G++4
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    vram size = 84934656 at 0x0
    reserved size = 84934656 at 0x0
    FB: Reserving 84934656 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 2.0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 152712
    Kernel command line: console=ttyO0,115200n8  notifyk.vpssm3_sva=0xBF900000 root 
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 364MB 239MB = 603MB total
    Memory: 605976k/605976k available, 94440k reserved, 244736K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd7000000 - 0xf8000000   ( 528 MB)
        lowmem  : 0xc0000000 - 0xd6c00000   ( 364 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003c000   ( 208 kB)
          .text : 0xc003c000 - 0xc04f1000   (4820 kB)
          .data : 0xc04f2000 - 0xc0538500   ( 282 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    registered ti816x_sr device
    pm_dbg_init: only OMAP3 supported
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xd7020000
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers enabled
    bio: create slab <bio-0> at 0
    regulator: VFB: 800 <--> 1025 mV at 1010 mV 
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea20809
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37-ridgerun musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37-ridgerun musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
    TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    TCP: Hash tables configured (established 65536 bind 65536)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    highmem bounce pool size: 64 pages
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 705
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found m25p32, expected m25p80
    m25p80 spi1.0: m25p32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    mtd: partition "U-Boot Env" doesn't end on an erase block -- force read-only
    0x000000042000-0x0000002c2000 : "Kernel"
    mtd: partition "Kernel" doesn't start on an erase block boundary -- force read-y
    0x0000002c2000-0x000000400000 : "File System"
    mtd: partition "File System" doesn't start on an erase block boundary -- force y
    omap2-nand driver initializing
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-b)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x00000cee0000 : "File System"
    0x00000cee0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 00
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
      #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver initialized
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    mmc0: new high speed SD card at address 0002
    mmcblk0: mmc0:0002 00000 1.90 GiB 
     mmcblk0: p1
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    PHY 0:02 not found
    net eth1: could not connect to phy 0:02
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    .
    DHCP/BOOTP: Ignoring delayed packet
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.111
    IP-Config: Complete:
         device=eth0, addr=192.168.10.111, mask=255.255.255.0, gw=192.168.10.254,
         host=192.168.10.111, domain=, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=192.168.10.183, rootpath=
    ##IDEATEL: tty_open (ttyO0).  request (58) gpio
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 208K
    ##IDEATEL: tty_write (ttyO0) gpio[58] on-off
    starting pid 52, tty '': '/etc/rcS'
    Loading coprocessors modules...
      Loading cmem from 0x96C00000 to 0x98000000
    CMEMK module: built on Mar  3 2014 at 17:18:18
      Reference Linux version 2.6.37
      File /home/ideatel/VIDEO-RECORDER/sdk/proprietary/ezsdk-5_05_02_00/ezsdk/compc
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x96c00000) overlaps kernel (0x80000000 -> 0xa5b00000)
    allocated heap buffer 0xde000000 of size 0x1400000
    heap fallback enabled - will try heap if pool buffer is not available
    cmemk initialized
    SysLink version : 2.20.02.20
    SysLink module created on Date:Mar  3 2014 Time:17:18:36
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 1 start Successful
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 2 start Successful
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 0 start Successful
    VPSS_FVID2: M3 firmware version 0x1000145 is newer,driver may not work properly.
    omap_i2c omap_i2c.2: controller timed out
    omap_i2c omap_i2c.2: controller timed out
    VPSS_DCTRL: setup 7375 filter failed
    omap_i2c omap_i2c.2: controller timed out
    VPSS_DCTRL: setup 7360 filter failed.
    HDMI W1 rev 2.0
    HDMI CEC Spec version 1.2
    I2C No Ack
    
    gs2971:    GS2971[0] init status:0 
    ti81xxvin ti81xxvin: registered sub device gs2971
    gs2971:    GS2971[1] init status:0 
    ti81xxvin ti81xxvin: registered sub device gs2971
    ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initialized
    gs2972:    GS2972[0] init status:0 
    gs2972:    GS2972[1] init status:0 
    Starting System
    done.
    Welcome to
    __________ .__     .___               __________                
    \______   \|__|  __| _/  ____    ____ \______   \ __ __   ____  
     |       _/|  | / __ |  / ___\ _/ __ \ |       _/|  |  \ /    \ 
     |    |   \|  |/ /_/ | / /_/  >\  ___/ |    |   \|  |  /|   |  \
     |____|_  /|__|\____ | \___  /  \___  >|____|_  /|____/ |___|  /
            \/          \//_____/       \/        \/             \/ 
               
        Embedded Linux Solutions
     
    For further information see:
    http://www.ridgerun.com
    Build host: ubuntu
    Built by: ideatel
    Build date: Thu, 20 Mar 2014 18:12:22 +0100
    Build tag: dm8168-tievm
    Configuring network interfaces
    Starting D-Bus message bus system
    Starting rpcbind
    NET: Registered protocol family 10
    Iniciando servicio... 
    VPSS_DCTRL: Set output failed on external encoder
    I2C No Ack
    
    Starting Dropbear SSH server: dropbear.
    Starting NFS statd...
    Starting NFS nfsd...
    Starting NFS mountd...
    Exporting NFS Filesystems...
    ##IDEATEL: tty_open (ttyO0).  request (58) gpio
    ##IDEATEL: error [-16] en gpio_request
    
    process '-/bin/##IDEATEL: tty_open (ttyO0).  request (58) gpio
    sh' (pid 204) ex##IDEATEL: error [-16] en gpio_request
    ited. Scheduling for restart.
    
    Please press Enter to activate this console. 
    

    UART1:

    Linux version 2.6.37-ridgerun (ideatel@ubuntu) (gcc version 4.3.3 (Sourcery G++ 4
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    vram size = 84934656 at 0x0
    reserved size = 84934656 at 0x0
    FB: Reserving 84934656 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 2.0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 152712
    Kernel command line: console=ttyO1,115200n8  notifyk.vpssm3_sva=0xBF900000 root= 
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 364MB 239MB = 603MB total
    Memory: 605976k/605976k available, 94440k reserved, 244736K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd7000000 - 0xf8000000   ( 528 MB)
        lowmem  : 0xc0000000 - 0xd6c00000   ( 364 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003c000   ( 208 kB)
          .text : 0xc003c000 - 0xc04f1000   (4820 kB)
      2000 - 0xc0538500   ( 282 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    registered ti816x_sr device
    pm_dbg_init: only OMAP3 supported
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xd7020000
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers enabled
    bio: create slab <bio-0> at 0
    regulator: VFB: 800 <--> 1025 mV at 1010 mV 
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea20809
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37-ridgerun musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37-ridgerun musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
    TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    TCP: Hash tables configured (established 65536 bind 65536)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    highmem bounce pool size: 64 pages
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 705
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    console [ttyO1] enabled
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found m25p32, expected m25p80
    m25p80 spi1.0: m25p32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    mtd: partition "U-Boot Env" doesn't end on an erase block -- force read-only
    0x000000042000-0x0000002c2000 : "Kernel"
    mtd: partition "Kernel" doesn't start on an erase block boundary -- force read-oy
    0x0000002c2000-0x000000400000 : "File System"
    mtd: partition "File System" doesn't start on an erase block boundary -- force ry
    omap2-nand driver initializing
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bi)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x00000cee0000 : "File System"
    0x00000cee0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0x0
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
      #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver initialized
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    mmc0: new high speed SD card at address 0002
    mmcblk0: mmc0:0002 00000 1.90 GiB 
     mmcblk0: p1
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    PHY 0:02 not found
    net eth1: could not connect to phy 0:02
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    .
    DHCP/BOOTP: Ignoring delayed packet
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.111
    IP-Config: Complete:
         device=eth0, addr=192.168.10.111, mask=255.255.255.0, gw=192.168.10.254,
         host=192.168.10.111, domain=, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=192.168.10.183, rootpath=
    ##IDEATEL: tty_open (ttyO1).  request (56) gpio
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 208K
    ##IDEATEL: tty_write (ttyO1) gpio[56] on-off
    starting pid 52, tty '': '/etc/rcS'
    Loading coprocessors modules...
      Loading cmem from 0x96C00000 to 0x98000000
    CMEMK module: built on Mar  3 2014 at 17:18:18
      Reference Linux version 2.6.37
      File /home/ideatel/VIDEO-RECORDER/sdk/proprietary/ezsdk-5_05_02_00/ezsdk/compoc
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x96c00000) overlaps kernel (0x80000000 -> 0xa5b00000)
    allocated heap buffer 0xde000000 of size 0x1400000
    heap fallback enabled - will try heap if pool buffer is not available
    cmemk initialized
    SysLink version : 2.20.02.20
    SysLink module created on Date:Mar  3 2014 Time:17:18:36
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 1 start Successful
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 2 start Successful
    FIRMWARE: Using default Memory map
    FIRMWARE: isI2cInitRequiredOnM3: 0
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 0 start Successful
    VPSS_FVID2: M3 firmware version 0x1000145 is newer,driver may not work properly.
    omap_i2c omap_i2c.2: controller timed out
    omap_i2c omap_i2c.2: controller timed out
    VPSS_DCTRL: setup 7375 filter failed
    omap_i2c omap_i2c.2: controller timed out
    VPSS_DCTRL: setup 7360 filter failed.
    HDMI W1 rev 2.0
    HDMI CEC Spec version 1.2
    I2C No Ack
    
    gs2971:    GS2971[0] init status:0 
    ti81xxvin ti81xxvin: registered sub device gs2971
    gs2971:    GS2971[1] init status:0 
    ti81xxvin ti81xxvin: registered sub device gs2971
    ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initialized
    gs2972:    GS2972[0] init status:0 
    gs2972:    GS2972[1] init status:0 
    Starting System
    done.
    Welcome to
    __________ .__     .___               __________                
    \______   \|__|  __| _/  ____    ____ \______   \ __ __   ____  
     |       _/|  | / __ |  / ___\ _/ __ \ |       _/|  |  \ /    \ 
     |    |   \|  |/ /_/ | / /_/  >\  ___/ |    |   \|  |  /|   |  \
     |____|_  /|__|\____ | \___  /  \___  >|____|_  /|____/ |___|  /
            \/          \//_____/       \/        \/             \/ 
               
        Embedded Linux Solutions
     
    For further information see:
    http://www.ridgerun.com
    Build host: ubuntu
    Built by: ideatel
    Build date: Thu, 20 Mar 2014 18:12:22 +0100
    Build tag: dm8168-tievm
    Configuring network interfaces
    Starting D-Bus message bus system
    Starting rpcbind
    NET: Registered protocol family 10
    Iniciando servicio... 
    VPSS_DCTRL: Set output failed on external encoder
    I2C No Ack
    
    Starting Dropbear SSH server: dropbear.
    Starting NFS statd...
    Starting NFS nfsd...
    Starting NFS mountd...
    Exporting NFS Filesystems...
    ##IDEATEL: tty_open (ttyO0).  request (58) gpio
    ##IDEATEL: tty_write (ttyO0) gpio[58] on-off
    
    

    BR,

    Inigo