• 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 » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » Linux on TMDXIDK3359
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

Linux on TMDXIDK3359

This question is not answered
R. Bornet
Posted by R. Bornet
on Apr 17 2012 08:44 AM
Prodigy70 points

Hi all,

For a specific project, I need to run Linux on the TMDXIDK3359 : AM3359 Industrial Development Kit (IDK). I know that the platform is not officially supported by the Sitara SDK but given that the base board is very similar to the one of the GP EVM and that, in a first step, I won't need the features of the motor control daughter board I assume that it should be rather easy to adapt the Linux kernel configuration and board specific code to support the IDK. As far as I could see, there are already configuration and some detection mechanisms for the IDK.

Until now I could compile the U-Boot SPL (MLO) and u-boot.img and run them successfully from the SD card. I just had to change the serial port used for the console from UART0 for the EVM to UART3 for the IDK. I could the boot into U-Boot and load my Linux uImage from SD card and start it with boot.

The image seems to be loaded and decompressed correctly but further boot sequence seems to be not working (no message after Uncompressing Linux... done, booting the kernel.)

What I already did to debug a bit more:

  • Verify that the correct console= is passed in the command line to the kernel (console=ttyO3,115200n8) --> OK
  • Verify that the correct mach_type is detected by U-Boot with board info command in U-Boot prompt --> OK
  • Enabled DEBUG_LL and EARLY_PRINTK in kernel config to get early messages on the serial terminal --> did not show anything more...

So now my questions:

  1. Is there any significant difference between the EVM and IDK that I have missed to have my kernel booting ? I only need basic support of the base board (serial console, read/write access to SD card).
  2. Has anyone already successfully booted a PSP kernel on the IDK ? With which modification ?
  3. Are CONFIG_DEBUG_LL and CONFIG_EARLY_PRINTK supposed to work ? Does it work on the EVM ?
  4. Is the output of by U-Boot boot correct ? (Image Type:   ARM Linux Kernel Image (uncompressed) , XIP Kernel Image ... OK sound a bit strange to me...)

Thanks in advance for any help or advice.

    Romain

---

U-Boot# bdinfo
arch_number = 0x00000E64
boot_params = 0x80000100
DRAM bank   = 0x00000000
-> start    = 0x80000000
-> size     = 0x10000000
ethaddr     = d4:94:a1:37:bb:16
ip_addr     = 0.0.0.0
baudrate    = 115200 bps
TLB addr    = 0x8FFF0000
relocaddr   = 0x8FF88000
reloc off   = 0x0F788000
irq_sp      = 0x8FF7BF70
sp start    = 0x8FF7BF60
FB base     = 0x00000000

U-Boot boot output

U-Boot# boot
SD/MMC found on device 0
reading uEnv.txt

26 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading uImage

3035760 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3035696 Bytes = 2.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


AM335x linux am3359 u-boot UART
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Maneesh
    Posted by Maneesh
    on Apr 18 2012 02:54 AM
    Intellectual1815 points

    Hello,

    Could you please advise why the EVM or Beagle Bone could not be used in your application? What are the specific features you need on IDK to use IDK and not other platforms which have Linux support. What is your end goal with the IDK? This information may enable us to support your effort better.

    We plan to provide Linux support for IDK but the timeline is not available at present.

    Thanks,

    Maneesh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • R. Bornet
    Posted by R. Bornet
    on Apr 18 2012 04:22 AM
    Prodigy70 points

    Hi Maneesh,

    Thanks for the prompt reply and information.

    Maneesh

    Could you please advise why the EVM or Beagle Bone could not be used in your application? What are the specific features you need on IDK to use IDK and not other platforms which have Linux support. What is your end goal with the IDK? This information may enable us to support your effort better. 

    Well. In a first step we will not use the IDK specific features and only work on the "general purpose" aspects of Linux (add some user applications and libraries in the rootfs,...). In a second step we plan to use the motor control features of the daughter card but we don't need them at once. I first want to be able to boot a Linux image and play a bit with it.

    Maneesh

    We plan to provide Linux support for IDK but the timeline is not available at present.

    Nice. I hope that the Linux support will be integrated by the time we will use the "advanced" features of the board.

    Regards,

    Romain

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • R. Bornet
    Posted by R. Bornet
    on Apr 18 2012 08:35 AM
    Prodigy70 points
    boot_log.txt

    Hi,

    I come a bit further now with my Linux on my IDK board. I configured early outputs with DEBUG_LL, EARLY_PRINTK and adapted the command line and I can get early output on UART3 of the IDK.

    The machine is detected correctly (Machine: am335xiaevm) the early setup is done correctly upto the point where local interrupts are enabled (local_irq_enable() in init/main.c > start_kernel() ).

    There I get a kernel oops with a NULL pointer reference (see attached boot_log.txt line 119 and further). I'm currently on SDK 5.04.00.00 with PSP 04.06.00.06.

    I'm currently downloading SDK 5.04.01.00 with PSP 04.06.00.07 to see if something regarding my issue has been fixed between these 2 releases.

    In the meantime any hint is welcome (known issue, patch,...).

    Regards,

         Romain

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • dapan sun
    Posted by dapan sun
    on Jun 06 2012 03:29 AM
    Prodigy90 points

    Hi,R. Bornet

        How did you change the linux to working on you IDK board?  I had change as you said:"I configured early outputs with DEBUG_LL, EARLY_PRINTK and adapted the command line and I can get early output on UART3 of the IDK",But it didn't work.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brandon White
    Posted by Brandon White
    on Aug 16 2012 09:53 AM
    Prodigy70 points

    Does anyone have any updates to share?  My employer is very interested in doing some proof of concept work involving Linux and/or Android on this dev kit.  For our application the mixture of the HLOS on the Sitara with the motor control capabilities of the Piccolo are very enticing.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paul Conway
    Posted by Paul Conway
    on Nov 09 2012 05:43 AM
    Prodigy25 points

    hi Romain,

    we are interested in doing the same thing as you. we need to get the Linux up on this IDK.

    do you have any further progress that you can share? 

    Maneesh,

    do you know your timeline now? 

    thanks

    Paul

    AM3359 IDK TMDXIDK3359
    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