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.

porting android on dm365

Other Parts Discussed in Thread: TVP5146

Hi all,

       I ported android on to dm365 successfully . I am able to run video applications on it but while playing i am not getting the sound. How to interface audio driver with android, is any codec is required to get audio. And also how to build TI dm365 codecs  on android.

 

 

thanks in advance.

  • Hi Venu,

                i am working on TMS320DM365 processor of DM36x EVM, my intention is to port android kernel on dm365evm,

    but i did not find any corresponding android porting guide to follow...Please can u send me the android porting guide that you followed for DM365,

    to my mail mohan@fossilshale.com

     

    Thanks in advance

  • Did you find any information to guide you on the porting?  I would be interested, please.

    Thanks, Jinh T.

  • Hi Jinh,

     

    Sorry for delayed reply,I left porting android on DM365 EVM in between as i got to do other task.

    Still i have not ported android on Dm365,Any suggestions from you is most welcome

    Thank you in advance.

     

    Regards,

    Mohan

     

  •    I am fighting all sort of other problems and will not get to porting anything to dm365 soon as my time on this project is nearly finished and there is bugs holding me back so extras will wait for some other day.  I am new to linux and want to start playing with android but might end up on another platform maybe.... for now its finding devices that seems to stay open and segmentation faults that coming from who knows where....  Keep us posted if you do the android thing, I will definately be interested.

    Regards, Jinh T.

  • Hello


    I am not able to port Android for DM365 /DM368. I am facing problem. Kernel panic - not syncing: Attempted to kill init!


    Please help us to fixed the problem. after building kernel image and file system



    for creating file system folder.

    mkdir /opt/android_rootfs

    for copy

    /media/Asif/DM365/dm365_android/TI_Android_GingerBread_2_3_4Sources/out/target/product/dm365evm#

    cp -rf root/* /opt/android_rootfs/.

    cp -rf system /opt/android_rootfs/.



    bootargs


    DM365 EVM :>setenv bootargs 'mem=76M@0x80000000 ip=dhcp noinitrd init=/init console=ttyS0,115200n
    8 noinitrd rw root=/dev/nfs nfsroot=192.168.1.104:/opt/android_rootfs,nolock vram=50M root=/dev/n
    fs video=davincifb:vid0=OFF:vid1=OFFsd0=720x720x16,2025K dm365_imp.oper_mode=0 mpurate=1000 rootf


    stype=ext3'
    ** Too many args (max. 16) **
    DM365 EVM :>tftpboot
    TFTP from server 192.168.1.127; our IP address is 192.168.1.168
    Filename 'uImage'.
    Load address: 0x80700000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    ################################################################
    done
    Bytes transferred = 1656016 (1944d0 hex)
    DM365 EVM :>bootm
    ## Booting kernel from Legacy Image at 80700000 ...
    Image Name: Linux-2.6.37-g06ebbba-dirty
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1655952 Bytes = 1.6 MB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37-g06ebbba-dirty (root@asif-laptop) (gcc version 4.4.3 (GCC) ) #0 PREEMPT Mon
    Dec 8 14:09:29 IST 2014
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DM365 EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci dm365_rev1.2 variant 0x8
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 19304
    Kernel command line: mem=76M@0x80000000 ip=dhcp noinitrd init=/init console=ttyS0,115200n8 noinit
    rd rw root=/dev/nfs nfsroot=192.168.1.104:/opt/android_rootfs,nolock vram=50M root=/dev/nfs video
    =davincifb:vid0=OFF:vid1=OFFsd0=720x720x16,2025K dm365_imp.oper_mode=0 mpurate=1000
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 76MB = 76MB total
    Memory: 73588k/73588k available, 4236k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xff000000 - 0xffe00000 ( 14 MB)
    vmalloc : 0xc5000000 - 0xfea00000 ( 922 MB)
    lowmem : 0xc0000000 - 0xc4c00000 ( 76 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    .init : 0xc0008000 - 0xc0029000 ( 132 kB)
    .text : 0xc0029000 - 0xc031a000 (3012 kB)
    .data : 0xc031a000 - 0xc033ca60 ( 139 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptable hierarchical RCU implementation.
    RCU-based detection of stalled CPUs is disabled.
    Verbose stalled-CPUs detection is disabled.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 8 gpio irqs
    NET: Registered protocol family 16
    MUX: initialized INT_EDMA_CC
    MUX: Setting register INT_EDMA_CC
    INTMUX (0x00000018) = 0x00000000 -> 0x00000004
    MUX: initialized INT_EMAC_RXTHRESH
    MUX: Setting register INT_EMAC_RXTHRESH
    INTMUX (0x00000018) = 0x00000004 -> 0x00004004
    MUX: initialized INT_EMAC_RXPULSE
    MUX: Setting register INT_EMAC_RXPULSE
    INTMUX (0x00000018) = 0x00004004 -> 0x0000c004
    MUX: initialized INT_EMAC_TXPULSE
    MUX: Setting register INT_EMAC_TXPULSE
    INTMUX (0x00000018) = 0x0000c004 -> 0x0001c004
    MUX: initialized INT_EMAC_MISCPULSE
    MUX: Setting register INT_EMAC_MISCPULSE
    INTMUX (0x00000018) = 0x0001c004 -> 0x0003c004
    EVM: tvp5146 SD video input
    MUX: initialized INT_PRTCSS
    MUX: Setting register INT_PRTCSS
    INTMUX (0x00000018) = 0x0003c004 -> 0x0003c404
    MUX: initialized SPI0_SCLK
    MUX: Setting register SPI0_SCLK
    PINMUX3 (0x0000000c) = 0x015affff -> 0x115affff
    MUX: initialized SPI0_SDI
    MUX: Setting register SPI0_SDI
    PINMUX3 (0x0000000c) = 0x115affff -> 0x155affff
    MUX: initialized SPI0_SDO
    MUX: Setting register SPI0_SDO
    PINMUX3 (0x0000000c) = 0x155affff -> 0x175affff
    MUX: initialized SPI0_SDENA0
    MUX: Setting register SPI0_SDENA0
    PINMUX3 (0x0000000c) = 0x175affff -> 0x375affff
    bio: create slab <bio-0> at 0
    Switching to clocksource timer0_1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    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.
    msgmni has been set to 143
    io scheduler noop registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
    console [ttyS0] enabled
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ41): -22
    brd: module loaded
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
    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
    dm9000 Ethernet Driver, V1.31
    console [netcon0] enabled
    netconsole: network logging started
    i2c /dev entries driver
    TCP cubic registered
    NET: Registered protocol family 17
    davinci_emac_probe: using random MAC addr: c6:e3:03:63:97:fc
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221555)
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.138
    IP-Config: Complete:
    device=eth0, addr=192.168.1.138, mask=255.255.255.0, gw=192.168.1.254,
    host=192.168.1.138, domain=, nis-domain=(none),
    bootserver=0.0.0.0, rootserver=192.168.1.104, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 132K
    Kernel panic - not syncing: Attempted to kill init!
    Backtrace:
    [<c002d9f4>] (dump_backtrace+0x0/0x114) from [<c0264838>] (dump_stack+0x18/0x1c)
    r7:c4428000 r6:c4424000 r5:c0329328 r4:c033d0d0
    [<c0264820>] (dump_stack+0x0/0x1c) from [<c02648a4>] (panic+0x68/0x190)
    [<c026483c>] (panic+0x0/0x190) from [<c0042bf8>] (do_exit+0x74/0x6b0)
    r3:c0329328 r2:00000001 r1:c4427e30 r0:c02dfb50
    [<c0042b84>] (do_exit+0x0/0x6b0) from [<c00432f4>] (do_group_exit+0xc0/0xf4)
    [<c0043234>] (do_group_exit+0x0/0xf4) from [<c004ee94>] (get_signal_to_deliver+0x398/0x3f8)
    r7:c4428000 r6:c4427ec8 r5:c4426000 r4:0830009f
    [<c004eafc>] (get_signal_to_deliver+0x0/0x3f8) from [<c002c7a4>] (do_signal+0x58/0x654)
    [<c002c74c>] (do_signal+0x0/0x654) from [<c002cdc0>] (do_notify_resume+0x20/0x54)
    [<c002cda0>] (do_notify_resume+0x0/0x54) from [<c002a034>] (work_pending+0x24/0x28)
    r5:00000000 r4:00015eb4

    CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4 | VT102 | Offline



    Regards

    Asif
  • Hello,
    DM365 is not a supported device in this Forum. We support AM335x based on the latest JB 4.2.2 release.