locked
Sora 1.7 does not support umxsdr RRS feed

  • Question

  • Hi, 

    We are trying to porting our code to sora 1.7. 

    However the compiling time of 1.7 is quite longer than that of 1.6.

    And we change the OS from window xp to window 7. 

    However SORA 1.7 does not compile umxsdr at all. 

    Based on the "dir_x64", it does not include umxsdr, dbgplot-sample, Samples folder. 

    Actually, those folders are included in "dir_x86". 

    Based on that, we conclude Sora 1.7 on windows 7 does not support user mode. 

    Am I right?

    Thank you. 

    Okhwan

    Wednesday, January 23, 2013 5:39 AM

Answers

  • I mean if your OS is 64-bit Windows 7/8, you can install x64 Sora drivers (eg. SoraSDK1.7\bin\HWTest\amd64\HWTest.sys), and run x86 user mode applications (eg. SoraSDK1.7\bin\umxsdrab.exe).

    We recommend you build your code in the same way. If your code is running in user mode, you should build in WDK fre_wxp_x86 environment.

    Build environment such as fre_win7_x86 is not supported in SoraSDK v1.7. If you modify the sample code in SDK to make it buildable, it is still not well tested by us.

    Thursday, January 24, 2013 8:19 AM
    Answerer

All replies

  • Hi Okhwan,

    1. About compilation time, SoraSDK v1.7 introduces new programming model 'brick' for baseband implementation. It leverages many template and macro techniques to make implementation easy, and improves code readability. It is expected compliled longer than older versions in WDK fre build. Howerver the WDK chk build doesn't significantly slow down.

    2. On Windows 7 x64 platform, you can install x64 drivers and use x86 user mode applications. We don't support the x64 user mode applications in this version. Sorry for the inconvenience.

    Thanks!

    -Qi

    • Proposed as answer by Qi LuoEditor Thursday, January 24, 2013 2:58 AM
    Thursday, January 24, 2013 2:58 AM
    Answerer
  • Thank you for your answer. 

    As you said, WDK chk is very useful, we reduce the compiling time significantly. 

    However On windows 7 x64 platform, there are compile errors if we use x86 user mode application. but the errors occur sometimes :(... 

    After reboot the PC, we can success compile the SORA1.7. (I don't know what;s wrong)

    We use x86 chk build and set_x86_dirs. 

    2>Compiling - bb\dot11a\dot11\user\atx_48.c
    1>Compiling - bb\dot11a\dot11\kernel\atx_36.c
    2>Compiling - bb\dot11a\dot11\user\generating code...
    1>Compiling - bb\dot11a\dot11\kernel\atx_48.c
    1>Compiling - bb\dot11a\dot11\kernel\generating code...
    1>errors in directory c:\sorasdk1.7\src\bb\dot11a\dot11\kernel
    1>c:\sorasdk1.7\src\bb\dot11a\dot11\arx_vdc36.c : error C1001: An internal error
     has occurred in the compiler.
    1>Building Library - c:\sorasdk1.7\target\chk_wxp_x86\i386\dot11bbak.lib
    1>link : error LNK1181: cannot open input file 'c:\sorasdk1.7\src\bb\dot11a\dot1
    1\kernel\objchk_wxp_x86\i386\a_init.obj'
    2>Compiling - bb\dot11a\dot11\user\atx_54.c
    2>Compiling - bb\dot11a\dot11\user\44mto40m.c
    2>Compiling - bb\dot11a\dot11\user\generating code...
    2>Building Library - c:\sorasdk1.7\target\chk_wxp_x86\i386\dot11bbau.lib
    1>BUILD: Compiling and Linking c:\sorasdk1.7\src\bb\umxdot11 directory
    2>BUILD: Compiling and Linking c:\sorasdk1.7\src\bb\demod11 directory
    3>BUILD: Linking for c:\sorasdk1.7\src\kmsdr\sdrminiport\ndis5 directory
    4>BUILD: Compiling and Linking c:\sorasdk1.7\src\kmsdr\sdrminiport\dot11config d
    irectory
    5>BUILD: Compiling and Linking c:\sorasdk1.7\src\umxsdr directory
    _NT_TARGET_VERSION SET TO WINXP
    _NT_TARGET_VERSION SET TO WINXP
    6>BUILD: Compiling and Linking c:\sorasdk1.7\src\dbgplot-sample\sample1 director
    y
    7>BUILD: Compiling and Linking c:\sorasdk1.7\src\dbgplot-sample\sample2 director
    y
    _NT_TARGET_VERSION SET TO WINXP
    8>BUILD: Compiling and Linking c:\sorasdk1.7\src\samples\simple directory
    _NT_TARGET_VERSION SET TO WINXP
    _NT_TARGET_VERSION SET TO WINXP
    _NT_TARGET_VERSION SET TO WINXP
    _NT_TARGET_VERSION SET TO WINXP
    1>Compiling resources - bb\umxdot11\umxdot11.rc
    _NT_TARGET_VERSION SET TO WINXP
    2>Compiling resources - bb\demod11\demod11.rc
    4>Compiling resources - kmsdr\sdrminiport\dot11config\dot11config.rc
    6>Compiling - dbgplot-sample\sample1\tut1.cpp
    3>errors in directory c:\sorasdk1.7\src\kmsdr\sdrminiport\ndis5
    3>NMAKE : fatal error U1073: don't know how to make 'C:\SoraSDK1.7\target\chk_wx
    p_x86\i386\dot11bbak.lib'
    3>nmake.exe /nologo BUILDMSG=Stop. -i /nologo /f c:\winddk\7600.16385.1\bin\make
    file.def BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= fail
    ed - rc = 2
    
    3>BUILD: Compiling and Linking c:\sorasdk1.7\src\samples\specanalyzer directory
    1>Compiling - bb\umxdot11\main.c



    • Edited by Okhwan Lee Thursday, January 24, 2013 7:37 AM
    Thursday, January 24, 2013 5:48 AM
  • Judge from your build log, it is 'chk_wxp_x86' build, not 'windows 8 x64' as you mentioned. There is something wrong with your build environment. It is possible that the Sora user mode applications can be built under WDK x64, however, please notice that the binaries are not fully tested and supported.

    Thursday, January 24, 2013 6:10 AM
    Answerer
  • I'm thoroughly confused.

    When we use Windows XP, we modify the umxsdr codes and we compile SORA1.7 by using "x86 Free Build".

    We then can get a new umxsdrab.exe in c:\sora-1.7/target/fre_wxp_x86/i386 folder.

    As you said, "On Windows 7 x64 platform, you can install x64 drivers and use x86 user mode applications.", we can use x86 user mode on Windows 7 OS. 

    On Windows 7 64 bit OS, "x64 Free Build" does not compile and generate new executable file corresponding to umxsdr. 

    To compile umxsdr, we modify the c:\sora-1.7/src/dirs by adding new line "umxsdr ". 

    In this case, there are lots of compile error. 

    So we use "x86 Free Build" to use x86 user mode. 

    I cannot understand the exact meaning of your answer "On Windows 7 x64 platform, you can install x64 drivers and use x86 user mode applications."

    Thank you for your answer!




    Thursday, January 24, 2013 8:01 AM
  • I mean if your OS is 64-bit Windows 7/8, you can install x64 Sora drivers (eg. SoraSDK1.7\bin\HWTest\amd64\HWTest.sys), and run x86 user mode applications (eg. SoraSDK1.7\bin\umxsdrab.exe).

    We recommend you build your code in the same way. If your code is running in user mode, you should build in WDK fre_wxp_x86 environment.

    Build environment such as fre_win7_x86 is not supported in SoraSDK v1.7. If you modify the sample code in SDK to make it buildable, it is still not well tested by us.

    Thursday, January 24, 2013 8:19 AM
    Answerer