zoukankan      html  css  js  c++  java
  • OMAP3530mini调试笔记(2)

    PS:USB不能正常工作的根本原因参见调试笔记(3)

    各个版本的x-loader和u-boot对kernel的支持情况:

    U-Boot 2011.12-00010-ga3eb89c (Jan 29 2012 - 14:53:43)

    Beagle Rev Ax/Bx
    timed out in wait_for_pin: I2C_STAT=0
    I2C read: I/O error
    Unrecognized expansion board: 0
    timed out in wait_for_pin: I2C_STAT=0
    I2C read: I/O error

    Image Name:   Angstrom/2.6.26/beagleboard

    Linux version 2.6.26-omap1 (koen@bitbake) (gcc version 4.2.1) #1 Thu Sep 25 15:07:08 CEST 2008

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

    U-Boot 2011.12-00010-ga3eb89c (Jan 29 2012 - 14:53:43)

    Linux-2.6.28-icetek

    不能启动

    Uncompressing Linux..................................................................................................................................................... done, booting the kernel.

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

    U-Boot 2011.12-00010-ga3eb89c (Jan 29 2012 - 14:53:43)

    Angstrom/3.0.17/beagleboard

    Linux version 3.0.17+ (koen@dominion) (gcc version 4.5.4 20111126 (prerelease) (GCC) ) #1 Wed Jan 25 16:33:50 CET 2012

    可以启动

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

    Texas Instruments X-Loader 1.5.1 (Dec  4 2012 - 20:39:34)

    u-boot.img改成u-boot.bin

    不能启动

    u-boot.bin not found or blank nand contents - attempting serial boot . . .

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

    Texas Instruments X-Loader 1.5.1 (Dec  4 2012 - 20:39:34)

    U-Boot 1.3.3 (Oct 30 2008 - 14:36:05)

    Linux-3.7.0-rc7-12540-g492d768

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    卡在这里不能启动

    所以较低版本的u-boot不支持新版本(3点几版本的内核)

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

    Texas Instruments X-Loader 1.5.1 (Dec  4 2012 - 20:39:34)

    U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)  OMAP3 beagleboard.org 

    Linux-3.7.0-rc7-12540-g492d768

    Linux version 3.7.0-rc7-12540-g492d768 (root@dolphi-dev) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 SMP Tue Dec 4 16:47:43 CST 2012

    可以启动

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

    Texas Instruments X-Loader 1.5.1 (Dec  4 2012 - 20:39:34)

    U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)

    Linux version 2.6.28-omap1 (root@tiioss) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #2 Thu Feb 19 12:45:34 IST 2009

    可以启动

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

    Texas Instruments X-Loader 1.4.2 (Jul 25 2009 - 11:50:30)
    MiniBoard V3.0: Run Xloader from SD card

    U-Boot 2009.01-dirty (2009-07-30 13:29:37)

    Linux version 2.6.28-icetek (davinci@davinci-desktop) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #2 Thu Jul 30 13:37:22 CST 2009

    非常好,键盘鼠标都能用,而且有声音。

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

    昨天怀疑是u-boot的问题来着,经过以上实验以及今天的一出奇招,终于找出了USB的问题,原来真的是u-boot的问题。

    因为icetek的u-boot和他的内核配合起来工作的很良好,所以他这两个东西都是好的。昨天的实验,很多其他版本的u-boot和内核都试过来了,只有这个u-boot没用来配过其他的内核,因为machine ID不一样。今天我把内核里面的beagle的machine ID改成2015,和u-boot的一样,然后就可以了说。USB工作得很好,有木有啊有木有。

    arch/arm/tools/match-types

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

    奇怪这个版本刚刚USB还能用的,现在又不行了,真是不得其解啊

    貌似要等文件系统整个启动以后再插USB HUB  才能用

    Linux version 2.6.28-omap1 (root@dolphi-dev) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #5 Wed Dec 5 21:15:41 CST 2012

    下面这个版本还是能用,但是要输入

    echo "S" >/proc/driver/musb_hdrc

    <5>Linux version 2.6.22-omap3 (root@dolphi-dev) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-53)) #14 Wed Dec 5 20:49:24 CST 2012

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

    Texas Instruments X-Loader 1.4.2 (Jul 25 2009 - 11:50:30)
    MiniBoard V3.0: Run Xloader from SD card

    U-Boot 2009.01-dirty (2009-07-30 13:29:37)

    Linux version 2.6.28-omap1 (root@dolphi-dev) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #5 Wed Dec 5 21:15:41 CST 2012

    亲测可用,一定要等登陆了root以后插USB HUB才有用,声音也有的

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

    linux-03.00.00.04 编译错误:

    board-omap3beagle.c:365: error: 'omap3_mpu_rate_table' undeclared (first use in this function)

    这是TI提供的SDK,在这个版本对beagle board并不支持,从 PSP04.02.00.07开始会支持beagle board

    I believe, SDK 03.00.00.05 contains kernel version v2.6.32 (PSP03.00.01.06), right? If yes, then we have not supported BeagleBoard with this release. We PSP release, we started supporting BeagleBoard from PSP04.02.00.07 release available at http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/OMAPPSP_04.02.00.07

    Having said that, you can always get the various kernel version support from beagleboard community.

    Thanks,

    Vaibhav

  • 相关阅读:
    linux内核系统调用和标准C库函数的关系分析
    Linux下内存映射文件的用法简介
    Hi35xx 通用GPIO 使用篇(板子3G电源控制脚说明)
    关于Linux用户名
    关于ARGB_8888、ALPHA_8、ARGB_4444、RGB_565的理解
    PixelFormat 图像颜色的数据格式
    Ubuntu 搭建svn服务器 ,以及常见错误解决方案
    安装VisualSVN Server 报错The specified TCP port is occupied
    SVN服务器搭建和使用(三)
    SVN服务器搭建和使用(二)
  • 原文地址:https://www.cnblogs.com/dolphi/p/2803527.html
Copyright © 2011-2022 走看看