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.

Regarding OMAP4 BSP Issues

Hi,

I am using WinCE7 BSP for OMAP4 family.

can we discuss any of the issues related to OMAP4 BSP here?

Regards,

GSR

  • Hello All,

    Any suggestions?

    Regards,

    GSR

  • Hi I am also using the OMAP4 BSP only. I am able to build it in release build.

    But not able to build the debug build so what changes should I make in config.bib or image_cfg.h to make it work.

  • Hi Prashant Agarwal,

    I haven't modified the either of them. Instead I choose two options

    1. Remove the unnecessary OSDesign components which are not required for the module that you want to debug or
    2. Compile only the module which you want to build in debug mode using COMPILE_DEBUG=1 flag.
    Regards,
    GSR
  • Hi GSR,

    I have included these module only so can you share that NK.BIN you are getting is of which size because my config.bib NK size is specified as 72MB.

    So in release build I am getting NK binary as 50 MB so it can accomodate within 72MB.

    But in case of Debug Build I am getting 110MB NK image .

    Or can you share the config.bib details what you are using for debug build.

    Any help is appreciated.

  • Hi Prashant,

    I didn't understood completely.

    In my previous post I clearly said I haven't modified config.bib so even if I share config.bib it will contain default values only.

    Try to remove unwanted SYSGEN components, so that you can have debug image within the range of 72MB.

    Regards,

    GSR

  • Hi GSR ,

    I thought you are also getting the image size of about 110MB instead of less than 72MB thats why I asked you to share your config file.

    But the problem is by removing some of the sysgen variable also the size is getting decreased by about 10-15 MB which is still more than 72MB so what else I should try to remove these problems.

    Any help is appreciated.

  • Hi Prashant,

    The only option I can think of is keep on remove the unnecessary SYSGEN components.

    Regards,

    GSR

  • Hi GSR,

    Thanks for the reply. That only I am trying but is there anyway that we can increase the size of NK in config.bib to 112MB by decreasing the size of Display and then it might work with 100MB image also.

  • Hi GSR,

    One more doubt if you can help is,

    While implementing KITL we are implementing through USB RNDIS.

    So when I am connecting the USB cable from Board(Development) to Host(Desktop) then it is showing the device details and all but when we are checking it into device manager its showing that driver is not installed for that.

    So whether do we need any host side driver for that if yes so from where we can get it.

  • Hi GSR ,

    I tried to remove the sysgen component then performed the build release as well as debug.

    So in that case release build is working fine but in debig build I am getting log as mentioned below and then its not booting up completely.

    Windows CE SD X-Loader for OMAP4430
    Built Jan  4 2013 at 10:36:22
    Version 6.13.00
    open ebootsd.nb0 file

    jumping to ebootsd image

    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Jan  4 2013 11:31:49

    Texas Instruments Windows CE EBOOT for Mistral OMAP EVM, Built Jan  4 2013 at 11:36:56
    EBOOT Version 1.5, BSP 6.13.00
    BEFORE RETURN System ready!
    Preparing for download...
    INFO: Predownload....
    WARN: Boot config wasn't found, using defaults
    INFO: SW4 boot setting: 0x05

     After default boot configuration
    >>> Forcing cold boot (non-persistent registry and other data will be wiped) <<<
    Hit space to enter configuration menu 5...

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [0] Exit and Continue

     Selection: 2

    --------------------------------------------------------------------------------
     Select Boot Device
    --------------------------------------------------------------------------------
     [1] LAN9115 MAC
     [2] USBFn RNDIS
     [3] NK from SDCard FILE
     [0] Exit and Continue

     Selection (actual LAN9115 MAC): 3
     Boot device set to NK from SDCard FILE

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [0] Exit and Continue

     Selection: 0

    BL_IMAGE_TYPE_BIN

    Download file information:
    -----------------------------------------------------------
    [0]: Address=0x8c000000  Length=0x03462a18  Save=0x80000000
    -----------------------------------------------------------
    Download file type: 1
     <> Record [ 0 ] dwRecAddr = 0x8c000000, dwRecLen = 0x4
     <> Record [ 1 ] dwRecAddr = 0x8c000040, dwRecLen = 0x8
     <> Record [ 2 ] dwRecAddr = 0x8c000048, dwRecLen = 0x4
     <> Record [ 3 ] dwRecAddr = 0x8c001000, dwRecLen = 0x3effc
     <> Record [ 4 ] dwRecAddr = 0x8c040000, dwRecLen = 0x1228
     <> Record [ 5 ] dwRecAddr = 0x8c043000, dwRecLen = 0xaeac0
     <> Record [ 6 ] dwRecAddr = 0x8c0f1ac0, dwRecLen = 0x2753c
     <> Record [ 7 ] dwRecAddr = 0x8c119000, dwRecLen = 0x40518
     <> Record [ 8 ] dwRecAddr = 0x8c159518, dwRecLen = 0xaae4
     <> Record [ 9 ] dwRecAddr = 0x8c164000, dwRecLen = 0x1325d8
     <> Record [ 10 ] dwRecAddr = 0x8c2965d8, dwRecLen = 0x5a28
     <> Record [ 11 ] dwRecAddr = 0x8c29c000, dwRecLen = 0x12d7b0
     <> Record [ 12 ] dwRecAddr = 0x8c3c97b0, dwRecLen = 0x3d848
     <> Record [ 13 ] dwRecAddr = 0x8c407000, dwRecLen = 0x3d000
     <> Record [ 14 ] dwRecAddr = 0x8c444000, dwRecLen = 0x3dff8
     <> Record [ 15 ] dwRecAddr = 0x8c482000, dwRecLen = 0x35ffc
     <> Record [ 16 ] dwRecAddr = 0x8c4b8000, dwRecLen = 0x1a000
     <> Record [ 17 ] dwRecAddr = 0x8c4d2000, dwRecLen = 0xb2d2c
     <> Record [ 18 ] dwRecAddr = 0x8c584d2c, dwRecLen = 0x32d4
     <> Record [ 19 ] dwRecAddr = 0x8c588000, dwRecLen = 0x1ca474
     <> Record [ 20 ] dwRecAddr = 0x8c752474, dwRecLen = 0x4b8c
     <> Record [ 21 ] dwRecAddr = 0x8c757000, dwRecLen = 0x799f4
     <> Record [ 22 ] dwRecAddr = 0x8c7d09f4, dwRecLen = 0x216a4
     <> Record [ 23 ] dwRecAddr = 0x8c7f3000, dwRecLen = 0x3b0d0
     <> Record [ 24 ] dwRecAddr = 0x8c82f000, dwRecLen = 0x37ffc
     <> Record [ 25 ] dwRecAddr = 0x8c867000, dwRecLen = 0x1e098
     <> Record [ 26 ] dwRecAddr = 0x8c886000, dwRecLen = 0x3bff8
     <> Record [ 27 ] dwRecAddr = 0x8c8c2000, dwRecLen = 0x23000
     <> Record [ 28 ] dwRecAddr = 0x8c8e5000, dwRecLen = 0x22ae0
     <> Record [ 29 ] dwRecAddr = 0x8c908000, dwRecLen = 0x20c0
     <> Record [ 30 ] dwRecAddr = 0x8c90b000, dwRecLen = 0x20c0
     <> Record [ 31 ] dwRecAddr = 0x8c90e000, dwRecLen = 0x34000
     <> Record [ 32 ] dwRecAddr = 0x8c942000, dwRecLen = 0x182b0
     <> Record [ 33 ] dwRecAddr = 0x8c95b000, dwRecLen = 0x4ffc
     <> Record [ 34 ] dwRecAddr = 0x8c960000, dwRecLen = 0xc6818
     <> Record [ 35 ] dwRecAddr = 0x8ca26818, dwRecLen = 0x1da58
     <> Record [ 36 ] dwRecAddr = 0x8ca45000, dwRecLen = 0x44
     <> Record [ 37 ] dwRecAddr = 0x8ca46000, dwRecLen = 0x1a000
     <> Record [ 38 ] dwRecAddr = 0x8ca60000, dwRecLen = 0x405d0
     <> Record [ 39 ] dwRecAddr = 0x8caa05d0, dwRecLen = 0x24a30
     <> Record [ 40 ] dwRecAddr = 0x8cac5000, dwRecLen = 0x2b000
     <> Record [ 41 ] dwRecAddr = 0x8caf0000, dwRecLen = 0x2affc
     <> Record [ 42 ] dwRecAddr = 0x8cb1b000, dwRecLen = 0x3fffc
     <> Record [ 43 ] dwRecAddr = 0x8cb5b000, dwRecLen = 0x10070
     <> Record [ 44 ] dwRecAddr = 0x8cb6c000, dwRecLen = 0x18ffc
     <> Record [ 45 ] dwRecAddr = 0x8cb85000, dwRecLen = 0x2c000
     <> Record [ 46 ] dwRecAddr = 0x8cbb1000, dwRecLen = 0x3f000
     <> Record [ 47 ] dwRecAddr = 0x8cbf0000, dwRecLen = 0x2a000

  • Hi,

    For RNDIS MINI if you have windows ce 6.0 installation you can refer the following path. WINCE600\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNDISMINI\HOST.

    Based on your logs I am not understanding whether the BSP you are using is Windows CE 6.0 BSP or CE7.

    You have ported a CE 6.0 BSP to OMAP4? 

    Are you using any reference hardware or customized hardware?

    You can change the config.bib but you need to do it carefully. Keeping in mind to change others also.

    Regards,

    GSR

  • Hi GSR,

    Thanks for your help now I am able to flash the debug build image but the problem now is as debug build is slow so before completing only it is getting rebooted in every 3 minute.

    So could you assist that what could be the problem for that. The log I have provided earlier also in this post so after that log only its getting rebooted.

  • Hi,

     I am using the WinEC7 BSP only and porting the TIEVM 3530 code to make work for OMAP4430 Panda Board.

    And getting problem with Board rebooting in every 3 minute.

  • Hi GSR,

    Now I am able to build the Debug Build Image and I have a crash in kernel after loading the pm.dll.

    Log messages which i am getting are:

    PID:00400002 TID:00920006 -OEMIoControl(rc = 1)
    PID:00400002 TID:00920006 InitializePMExtension: Can't find 'PmExtPath' key.
    PID:00400002 TID:00920006 OSAXST1: >>> Loading Module 'ccfgsvc.dll' (0xC040B1F8) at address 0xEEB10000-0xEEB3D000 in Process 'NK.EXE' (0x90611AD0)
    PID:00400002 TID:00920006 DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\MUsbOtg\DllName) returned 2
    PID:00400002 TID:00920006 DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Drivers\BuiltIn\MUsbOtg'
    PID:00400002 TID:00920006 DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\FlashDisk\DllNamPID:00400002 TID:00920006
    PID:00400002 TID:00920006
    e) returned 2
    PID:00400002 TID:00920006 DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Drivers\BuiltIn\FlashDisk'
    PID:00400002 TID:00500002

    After this it is going to IdleState and not launching the shell

  • Prashant

               I am in need of Wince 7 BSP for OMAP4430 . Can you please tell the link where i can download

  • Hi William,

    Its not available for public. You need to go through TI FAE.

    Based on following URL:http://www.windowsfordevices.com/c/a/News/TI-OMAP4430-and-OMAP4460-Windows-Embedded-Compact-7-support/ if you contact Adeneo you may get some hints from them.

    Regards,

    GSR