<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Can't build wolfSSL with TI-RTOS support]]></title>
		<link>https://www.wolfssl.com/forums/topic766-cant-build-wolfssl-with-tirtos-support.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic766.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can't build wolfSSL with TI-RTOS support.]]></description>
		<lastBuildDate>Tue, 15 Mar 2016 22:24:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2447.html#p2447</link>
			<description><![CDATA[<p>Hi Everyone,</p><p>It has recently been realized that at some point the rules to make wolfssl went missing from the tirtos.mak distributed in tirtos_tivac_x_xx_xx_xx. We are not sure yet which versions specifically have been effected but I can confirm this in tirtos_tivac_2_16_00_08.</p><p>If you add the following rules back in to tirtos_tivac_x_xx_xx_xx/tirtos.mak you should be good to go with the guide found here: <a href="https://github.com/wolfSSL/wolfssl-examples/blob/master/tirtos_ccs_examples/README.md">https://github.com/wolfSSL/wolfssl-exam … /README.md</a></p><div class="codebox"><pre><code>wolfssl:
    @ echo building wolfssl ...
    @ $(XDCTOOLS_INSTALL_DIR)/gmake -f $(WOLFSSL_TIRTOS_DIR)/wolfssl.mak \
      XDC_INSTALL_DIR=$(XDCTOOLS_INSTALL_DIR) \
      SYSBIOS_INSTALL_DIR=$(BIOS_INSTALL_DIR) \
      NDK_INSTALL_DIR=$(NDK_INSTALL_DIR) \
      WOLFSSL_INSTALL_DIR=$(WOLFSSL_INSTALL_DIR) \
      TIRTOS_INSTALLATION_DIR=$(TIRTOS_INSTALL_DIR) \
      $(XDCARGS) -C $(WOLFSSL_TIRTOS_DIR)

clean-wolfssl:
    @ echo cleaning wolfssl ...
    @ $(XDCTOOLS_INSTALLATION_DIR)/gmake -f $(WOLFSSL_TIRTOS_DIR)/wolfssl.mak \
      XDC_INSTALL_DIR=$(XDCTOOLS_INSTALLATION_DIR) \
      SYSBIOS_INSTALL_DIR=$(BIOS_INSTALLATION_DIR) \
      NDK_INSTALL_DIR=$(NDK_INSTALLATION_DIR) \
      WOLFSSL_INSTALL_DIR=$(WOLFSSL_INSTALLATION_DIR) \
      TIRTOS_INSTALLATION_DIR=$(TIRTOS_INSTALLATION_DIR) \
      -C $(WOLFSSL_TIRTOS_DIR) clean</code></pre></div><p>I also updated the example tirtos.mak here to reflect these new rules: <a href="https://github.com/wolfSSL/wolfssl-examples/blob/master/tirtos_ccs_examples/tirtos.mak">https://github.com/wolfSSL/wolfssl-exam … tirtos.mak</a></p><br /><p>Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 15 Mar 2016 22:24:20 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2447.html#p2447</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2444.html#p2444</link>
			<description><![CDATA[<p>Hi all,</p><p>is any progress about compile with support ti-rtos ?</p><p>Best Regards</p>]]></description>
			<author><![CDATA[null@example.com (elektro)]]></author>
			<pubDate>Fri, 11 Mar 2016 15:17:03 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2444.html#p2444</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2418.html#p2418</link>
			<description><![CDATA[<p>Dear Kaleb,</p><p>thanks for the update. I will try to reproduce the steps. However, I should mention that I am working with TI Stellaris Launchpad (LM4F120H5QR), which is the predecessor of Tiva-C. TI doesn&#039;t support this platform anymore.</p><p>Also sorry for the late reply. I wasn&#039;t subscribed to this thread and thus didn&#039;t get any mail notification. I stalled working an this process due to other projects. I will let you know once I tried it.</p><p>Best,<br />André</p>]]></description>
			<author><![CDATA[null@example.com (an.schall)]]></author>
			<pubDate>Fri, 12 Feb 2016 08:44:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2418.html#p2418</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2411.html#p2411</link>
			<description><![CDATA[<p>Hi an.schall,</p><p>We haven&#039;t heard back from you in awhile I just wanted to confirm that you were able to get your project working. If not let us know and we&#039;ll see if there is anything further we can do to assist you.</p><br /><p>Regards,</p><p>- Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 09 Feb 2016 18:49:24 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2411.html#p2411</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2407.html#p2407</link>
			<description><![CDATA[<p>Hi an.scall,</p><p>Have you seen our README on github for building TIRTOS with wolfSSL? I noticed you edited the .mak in our directory. Rather you should be modifying the .mak in ti/ directory.</p><p>You can find the README here: <a href="https://github.com/wolfSSL/wolfssl-examples/blob/master/tirtos_ccs_examples/README.md">https://github.com/wolfSSL/wolfssl-exam … /README.md</a></p><p>I just worked through those same steps but instead of using </p><div class="codebox"><pre><code>C:\</code></pre></div><p> file paths I used </p><div class="codebox"><pre><code>/home/khimes/ti </code></pre></div><p> and </p><div class="codebox"><pre><code>/home/khimes/wolfssl</code></pre></div><p>.<br />Everything worked beautifully for setting up and building the tcpEchoTLS example provided by TI in their examples repo. There would be a lot of modifications required to get our examples off github working in Linux. That is something I plan to do in the future but have not had time to work on yet. However the readme will get you going on Linux.</p><p>Best Regards,</p><p>- Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Wed, 03 Feb 2016 20:40:50 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2407.html#p2407</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2404.html#p2404</link>
			<description><![CDATA[<p>Hi an.schall,</p><p>I will be taking a look at this as soon as I have a chance. Been a little busy here this week, I just wanted to let you know I have seen/am aware of your question I am just trying to find time to give it the attention it deserves. Will get back to you ASAP.</p><br /><p>Best Regards,</p><p>- Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Wed, 03 Feb 2016 16:54:44 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2404.html#p2404</guid>
		</item>
		<item>
			<title><![CDATA[Can't build wolfSSL with TI-RTOS support]]></title>
			<link>https://www.wolfssl.com/forums/post2400.html#p2400</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I want to get wolfSSL working in combination with TI-RTOS on Ubuntu 15.10.</p><p>I downloaded TI-RTOS for TivaC from [1] and installed it to /opt/ti. Next, I cloned wolfSSL from Github [2], I uncommented </p><div class="codebox"><pre><code>#define WOLFSSL_TIRTOS</code></pre></div><p> and modified products.mak in {wolfssl_root}/tirtos to have the following content:</p><div class="codebox"><pre><code>#
#  ======== products.mak ========
#
#
# Read the http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS
# for instructions to download the software required.

# XDC_INSTALL_DIR is the path to XDCtools directory.
XDC_INSTALL_DIR        = /opt/ti/xdctools_3_31_01_33_core

# BIOS_INSTALL_DIR is the path to TI-RTOS Kernel (SYS/BIOS) directory. If you
# have installed TI-RTOS, it is located in the products/bios_* path.
BIOS_INSTALL_DIR       = /opt/ti/tirtos_tivac_2_14_04_31/products/bios_6_42_03_35

# NDK_INSTALL_DIR is the path to TI-RTOS NDK directory. If you have
# installed TI-RTOS, it is located in the products/ndk_* path.
NDK_INSTALL_DIR        = /opt/ti/tirtos_tivac_2_14_04_31/products/ndk_2_24_03_35

# TIVAWARE_INSTALL_DIR is the path to Tivaware driverlib directory. If you have
# installed TI-RTOS, it is located in the products/TivaWare_* path.
TIVAWARE_INSTALL_DIR   = /opt/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b

# Define the code generation tools path for TI, IAR and GCC ARM compilers.
# If you have installed Code Composer Studio, the TI and GCC compiler are
# located in the ccsv*/tools/compiler/* path.
#
# Leave assignment empty to disable any toolchain.
ti.targets.arm.elf.M4F =
iar.targets.arm.M4F    =
gnu.targets.arm.M4F    =</code></pre></div><p>Next, I issued the following commands in {wolfssl_root}:</p><div class="codebox"><pre><code>$ ./configure --prefix=/opt/wolf/ --enable-aesgcm --enable-aesccm
$ make</code></pre></div><p>I get the following errors:</p><div class="codebox"><pre><code>make -j5  all-am
make[1]: Entering directory &#039;/home/andre/tmp/wolfssl-git/wolfssl-master&#039;
  CC       wolfcrypt/src/src_libwolfssl_la-hash.lo
  CC       wolfcrypt/src/src_libwolfssl_la-random.lo
  CC       wolfcrypt/src/src_libwolfssl_la-rsa.lo
  CC       wolfcrypt/src/src_libwolfssl_la-hmac.lo
  CC       wolfcrypt/src/src_libwolfssl_la-sha256.lo
In file included from wolfcrypt/src/hash.c:26:0:
./wolfssl/wolfcrypt/settings.h:470:0: warning: &quot;USE_FAST_MATH&quot; redefined
     #define USE_FAST_MATH
 ^
In file included from wolfcrypt/src/random.c:26:0:
./wolfssl/wolfcrypt/settings.h:470:0: warning: &quot;USE_FAST_MATH&quot; redefined
     #define USE_FAST_MATH
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/random.c:26:0:
./wolfssl/wolfcrypt/settings.h:477:0: warning: &quot;HAVE_ECC&quot; redefined
     #define HAVE_ECC
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/random.c:26:0:
./wolfssl/wolfcrypt/settings.h:486:40: fatal error: ti/sysbios/hal/Seconds.h: No such file or directory
compilation terminated.
In file included from wolfcrypt/src/hash.c:26:0:
./wolfssl/wolfcrypt/settings.h:477:0: warning: &quot;HAVE_ECC&quot; redefined
     #define HAVE_ECC
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/hash.c:26:0:
./wolfssl/wolfcrypt/settings.h:486:40: fatal error: ti/sysbios/hal/Seconds.h: No such file or directory
compilation terminated.
In file included from wolfcrypt/src/rsa.c:26:0:
./wolfssl/wolfcrypt/settings.h:470:0: warning: &quot;USE_FAST_MATH&quot; redefined
     #define USE_FAST_MATH
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/rsa.c:26:0:
./wolfssl/wolfcrypt/settings.h:477:0: warning: &quot;HAVE_ECC&quot; redefined
     #define HAVE_ECC
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/rsa.c:26:0:
./wolfssl/wolfcrypt/settings.h:486:40: fatal error: ti/sysbios/hal/Seconds.h: No such file or directory
compilation terminated.
Makefile:2449: recipe for target &#039;wolfcrypt/src/src_libwolfssl_la-rsa.lo&#039; failed
make[1]: *** [wolfcrypt/src/src_libwolfssl_la-rsa.lo] Error 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
Makefile:2435: recipe for target &#039;wolfcrypt/src/src_libwolfssl_la-hash.lo&#039; failed
make[1]: *** [wolfcrypt/src/src_libwolfssl_la-hash.lo] Error 1
Makefile:2421: recipe for target &#039;wolfcrypt/src/src_libwolfssl_la-random.lo&#039; failed
make[1]: *** [wolfcrypt/src/src_libwolfssl_la-random.lo] Error 1
In file included from wolfcrypt/src/hmac.c:26:0:
./wolfssl/wolfcrypt/settings.h:470:0: warning: &quot;USE_FAST_MATH&quot; redefined
     #define USE_FAST_MATH
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/hmac.c:26:0:
./wolfssl/wolfcrypt/settings.h:477:0: warning: &quot;HAVE_ECC&quot; redefined
     #define HAVE_ECC
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/hmac.c:26:0:
./wolfssl/wolfcrypt/settings.h:486:40: fatal error: ti/sysbios/hal/Seconds.h: No such file or directory
compilation terminated.
Makefile:2414: recipe for target &#039;wolfcrypt/src/src_libwolfssl_la-hmac.lo&#039; failed
make[1]: *** [wolfcrypt/src/src_libwolfssl_la-hmac.lo] Error 1
In file included from wolfcrypt/src/sha256.c:28:0:
./wolfssl/wolfcrypt/settings.h:470:0: warning: &quot;USE_FAST_MATH&quot; redefined
     #define USE_FAST_MATH
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/sha256.c:28:0:
./wolfssl/wolfcrypt/settings.h:477:0: warning: &quot;HAVE_ECC&quot; redefined
     #define HAVE_ECC
 ^
&lt;command-line&gt;:0:0: note: this is the location of the previous definition
In file included from wolfcrypt/src/sha256.c:28:0:
./wolfssl/wolfcrypt/settings.h:486:40: fatal error: ti/sysbios/hal/Seconds.h: No such file or directory
compilation terminated.
Makefile:2428: recipe for target &#039;wolfcrypt/src/src_libwolfssl_la-sha256.lo&#039; failed
make[1]: *** [wolfcrypt/src/src_libwolfssl_la-sha256.lo] Error 1
make[1]: Leaving directory &#039;/home/andre/tmp/wolfssl-git/wolfssl-master&#039;
Makefile:1652: recipe for target &#039;all&#039; failed
make: *** [all] Error 2</code></pre></div><p>What is going wrong? bias, ndk, TIvaWare and UIA exist:</p><div class="codebox"><pre><code>ls -l /opt/ti/tirtos_tivac_2_14_04_31/products/
insgesamt 16
drwxrwxr-x  5 root root 4096 Jan 27 15:35 bios_6_42_03_35
drwxrwxr-x  6 root root 4096 Jan 27 15:35 ndk_2_24_03_35
drwxrwxrwx 13 root root 4096 Jan 27 15:34 TivaWare_C_Series-2.1.1.71b
drwxrwxr-x  7 root root 4096 Jan 27 15:35 uia_2_00_02_39</code></pre></div><p>Also, there seems to be Seconds.h:</p><div class="codebox"><pre><code>find /opt/ti/ -iname &#039;seconds.h&#039;
./tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/cc26xx/Seconds.h
./tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/cc32xx/Seconds.h
./tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/lm4/Seconds.h
./tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages/ti/sysbios/hal/Seconds.h</code></pre></div><p>[1] - <a href="http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/2_14_04_31/exports/tirtos_tivac_setuplinux_2_14_04_31.bin">http://software-dl.ti.com/dsps/dsps_pub … _04_31.bin</a><br />[2] - <a href="https://github.com/wolfSSL">https://github.com/wolfSSL</a></p>]]></description>
			<author><![CDATA[null@example.com (an.schall)]]></author>
			<pubDate>Mon, 01 Feb 2016 16:18:24 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2400.html#p2400</guid>
		</item>
	</channel>
</rss>
