• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » ADB on TAM3517 TwisterBoard
Share
Android
  • Forum
Options
  • Subscribe via RSS

ADB on TAM3517 TwisterBoard

ADB on TAM3517 TwisterBoard

This question is not answered
Christian Richter
Posted by Christian Richter
on Mar 16 2012 04:34 AM
Intellectual340 points

Hi all,

sry for asking on answered post...

Can you tell me how to get ADB-connection to TAM3517 on Twisterboard???

Cause if I check for devices with command "adb devices" I always get an empty list....

Vishveshwar Bhat

replied on 16 Mar 2012 12:58 AM

A few things to check:

- is adb platform support added to your board file?
- is adb enabled in your kernel build?
- do you see adb_init or similar logs in kernel boot log?
- do you see any logs when you attach or detach the adb usb cable?

Please start a new topic the next time and not hijack an existing thread.

sry again for hijacked another post...

board file and kernel build I wasn't able to check until now cause we're using a precompiled Image from TechNexion here... but we're looking for getting the sources

on boot log the are the lines :

"f_adb init

android_register_function adb"

no reaction on the logs when I attach or detach the cable, only the OTG-port getting current-supply over USB... 

perhaps you also know a better way for what I wanna do?

I want to use "chmod" over adb for using the serial_port_api on the device, but therefor I need read/write-permission for my App on the /dev/ttyS* nodes... 

So wether I use chmod to do it with userrights or to root my device, but I think for both procedures I need ADB?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Mar 16 2012 07:08 AM
    Genius9780 points

    Christian Richter

    I want to use "chmod" over adb for using the serial_port_api on the device, but therefor I need read/write-permission for my App on the /dev/ttyS* nodes... 

    If you are using TI Android DevKit, you can modify your init.rc in the SD card directly or chmod from the debug serial console if adb is not working.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Richter
    Posted by Christian Richter
    on Mar 19 2012 02:49 AM
    Intellectual340 points

    thanks Vishveshwar,

    but how can I use debug serial console, I know I can sniff debug messages by a serial monitor, but not how to get in the console...

    I want to test changing the init.rc at another EVM (AM3517EVM) where adb is no problem and I can look at the permission of devices...

    But after adding the line "chmod 0777 /dev/ttyO2" at the end of init.rc an restart the device, it don't worked

    So what's wrong here?

    BR,

    Christian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Mar 19 2012 04:16 AM
    Genius9780 points

    Christian Richter

    But after adding the line "chmod 0777 /dev/ttyO2" at the end of init.rc an restart the device, it don't worked

    Please add your 'chmod XXX '  lines after the 'chmod XXX' entries already present in init.rc.

    init.rc is composed of many sections and adding this line in the wrong section may not have any effect or may break something else.

    Also please note that /dev/ttyO2 is currently used on AM35x evm for debug serial and may be not used by other apps. If you wish to use the same port, then you need to modify the bootargs to stop using /dev/ttyO2 for debug serial.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Richter
    Posted by Christian Richter
    on Mar 19 2012 08:58 AM
    Intellectual340 points

    Thanks Vishveshwar,

    worked on AM3517EVM, but now back to Twisterboard TAM3517...

    If I change init.rc the same way there it only works on booting from SD-card, but when we're playing the image to and booting from NAND Flash, he ignores the changes to init.rc again... 

    So is there a possibility to change the permissions on NAND Flash, too?

    How does commanding with serial console work, is there a UserGuide or something like that?

    Does anyone know if Twisterboard should support ADB over Ethternet? I only tried over USB until now...

    BR,

    Christian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Mar 20 2012 01:27 AM
    Genius9780 points

    Christian Richter

    If I change init.rc the same way there it only works on booting from SD-card, but when we're playing the image to and booting from NAND Flash, he ignores the changes to init.rc again... 

    So is there a possibility to change the permissions on NAND Flash, too?

    Make sure that the modified init.rc is written back to the flash. Generally, when booting from flash, rootfs is mounted as read-only. You may have to remount with read-write permissions.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Richter
    Posted by Christian Richter
    on Mar 26 2012 02:40 AM
    Intellectual340 points

    Vishveshwar Bhat
    Make sure that the modified init.rc is written back to the flash. Generally, when booting from flash, rootfs is mounted as read-only. You may have to remount with read-write permissions.

    How can I verify that without root-permissions??

    BR,

    Christian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use