<div dir="ltr">Hello Joel,<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> <div dir="auto">You either configure for no tests, samples or all tests. <br></div></div></blockquote><div>I finally understand this. Thanks. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If you are trying to speed up a build for debug purposes, you can be
careful and build just cpukit again and then <a href="http://switch.to">switch.to</a> the test
directory. <br></blockquote><div>By this do you mean, that if I make some changes in the cpukit, I rebuild it---(i.e run the configure script in rtems/cpukit and consequently make) and it will be all that I am required to do? Won't I need to make the executables again?<br><br></div><div>Regards,<br></div><div>Tanu Hari Dixit.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 6, 2017 at 7:08 PM, Tanu Hari Dixit <span dir="ltr"><<a href="mailto:tokencolour@gmail.com" target="_blank">tokencolour@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Gedare, Joel,<br>
<br>
I was able to re-build and execute the samples following your advice. Thank you.<br>
<br>
Regards,<br>
Tanu Hari Dixit.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Sun, Feb 5, 2017 at 3:03 AM, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
> After you do a git-pull you should usually re-run bootstrap, delete<br>
> your build, and re-run configure and make. This is especially true if<br>
> you re-build a toolchain, at least to get started.<br>
><br>
> On Sat, Feb 4, 2017 at 10:26 AM, Tanu Hari Dixit <<a href="mailto:tokencolour@gmail.com">tokencolour@gmail.com</a>> wrote:<br>
>> Hi Kevin, Kuan-Hsun,<br>
>><br>
>> Thank you for the answer.<br>
>> I have run into a problem before trying the above solutions for myself,<br>
>> while updating my local copy of the rtems repository with upstream with "git<br>
>> pull".<br>
>> After I updated the local copy, I built the sparc toolset with<br>
>> ../source-builder/sb-set-<wbr>builder --log=l-sparc-test.txt<br>
>> --prefix=$HOME/development/<wbr>rtems/4.12 4.12/rtems-sparc<br>
>> Then I ran ./bootstrap -c && ./bootstrap -p && ./bootstrap so as to<br>
>> bootstrap.<br>
>> Then from builds/erc32_test(<wbr>subdirectory) I ran<br>
>> thd@thd-Inspiron-5537:~/<wbr>development/rtems/src/rtems$ ../../rtems/configure<br>
>> --target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-tests<br>
>> --prefix=${HOME}/development/<wbr>rtems/install_path_test<br>
>><br>
>> And when I ran make, It showed the following error;<br>
>><br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>build'<br>
>> make[1]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>build'<br>
>> Making all in tools/cpu<br>
>> make[1]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu'<br>
>> Making all in generic<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu/generic'<br>
>> make[2]: Nothing to be done for `all'.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu/generic'<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu'<br>
>> make[2]: Nothing to be done for `all-am'.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu'<br>
>> make[1]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/tools/<wbr>cpu'<br>
>> Making all in testsuites/tools<br>
>> make[1]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools'<br>
>> Making all in generic<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools/generic'<br>
>> make[2]: Nothing to be done for `all'.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools/generic'<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools'<br>
>> make[2]: Nothing to be done for `all-am'.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools'<br>
>> make[1]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/<wbr>testsuites/tools'<br>
>> Making all in sparc-rtems4.12/c<br>
>> make[1]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c'<br>
>> Making all in .<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c'<br>
>> make[2]: Nothing to be done for `all-am'.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c'<br>
>> Making all in erc32<br>
>> make[2]: Entering directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c/erc32'<br>
>> make[2]: *** No rule to make target `all'. Stop.<br>
>> make[2]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c/erc32'<br>
>> make[1]: *** [all-recursive] Error 1<br>
>> make[1]: Leaving directory<br>
>> `/home/thd/development/rtems/<wbr>src/builds/erc32_test/sparc-<wbr>rtems4.12/c'<br>
>> make: *** [all-recursive] Error 1<br>
>><br>
>> I have ran into this problem more than once. When last time this happened, I<br>
>> thought I must have messed up somewhere in the git (or rtems) workflow and<br>
>> hence decided to make a clean clone of the rtems repo and continue with it.<br>
>> I also tried git reset --hard <hash-number> last time and had no luck.<br>
>> Right now, I did not do a hard reset and currently git reflog shows the<br>
>> following output:<br>
>> 239dd35 HEAD@{0}: pull: Fast-forward<br>
>> ffa885a HEAD@{1}: clone: from git://<a href="http://git.rtems.org/rtems.git" rel="noreferrer" target="_blank">git.rtems.org/rtems.git</a><br>
>><br>
>> git status shows<br>
>><br>
>> thd@thd-Inspiron-5537:~/<wbr>development/rtems/src/rtems$ git status<br>
>> On branch master<br>
>> Your branch is up-to-date with 'origin/master'.<br>
>><br>
>> Changes not staged for commit:<br>
>> (use "git add <file>..." to update what will be committed)<br>
>> (use "git checkout -- <file>..." to discard changes in working directory)<br>
>><br>
>> modified: c/src/lib/libbsp/powerpc/<wbr>acinclude.m4<br>
>><br>
>> no changes added to commit (use "git add" and/or "git commit -a")<br>
>><br>
>><br>
>> I don't know what I am missing. Do I need to do something before pulling<br>
>> from upstream? How do I rectify this? Please help me with this.<br>
>><br>
>> Thank you,<br>
>> Tanu Hari Dixit.<br>
>><br>
>><br>
>> On Sat, Feb 4, 2017 at 6:47 PM, Kuan Hsun Chen<br>
>> <<a href="mailto:kuan-hsun.chen@tu-dortmund.de">kuan-hsun.chen@tu-dortmund.de</a><wbr>> wrote:<br>
>>><br>
>>> Or alternatively you can prepare simulator like qemu to executed each of<br>
>>> it after compiling the source tree.<br>
>>> Like this in testsuites/hello/:<br>
>>><br>
>>> qemu-system-arm -no-reboot -nographic -M realview-pbx-a9 -m 256M -kernel \<br>
>>> hello.exe -smp 4<br>
>>><br>
>>><br>
>>> Best,<br>
>>> Kuan-Hsun<br>
>>><br>
>>> 2017-02-04 14:12 GMT+01:00 Kirspel, Kevin <<a href="mailto:Kevin-Kirspel@idexx.com">Kevin-Kirspel@idexx.com</a>>:<br>
>>>><br>
>>>> I use the rtems tester.<br>
>>>> <a href="ftp://ftp.rtems.org/pub/rtems/people/chrisj/rtems-tester/rtems-tester.html" rel="noreferrer" target="_blank">ftp://ftp.rtems.org/pub/rtems/<wbr>people/chrisj/rtems-tester/<wbr>rtems-tester.html</a><br>
>>>><br>
>>>> Kevin Kirspel<br>
>>>> Electrical Engineer - Sr. Staff<br>
>>>> Idexx Roswell<br>
>>>> 235 Hembree Park Drive<br>
>>>> Roswell GA 30076<br>
>>>> Tel: (770)-510-4444 ext. 81642<br>
>>>> Direct: (770)-688-1642<br>
>>>> Fax: (770)-510-4445<br>
>>>><br>
>>>> -----Original Message-----<br>
>>>> From: devel [mailto:<a href="mailto:devel-bounces@rtems.org">devel-bounces@rtems.<wbr>org</a>] On Behalf Of Tanu Hari Dixit<br>
>>>> Sent: Saturday, February 04, 2017 12:23 AM<br>
>>>> To: <a href="mailto:rtems-devel@rtems.org">rtems-devel@rtems.org</a> <<a href="mailto:devel@rtems.org">devel@rtems.org</a>><br>
>>>> Subject: Regarding running one test<br>
>>>><br>
>>>> Hello all,<br>
>>>><br>
>>>> How do I run a single test from the testsuites? I want to run one test<br>
>>>> from the rtems/testsuites/fstests. How do I go about doing that?<br>
>>>><br>
>>>> Regards,<br>
>>>> Tanu Hari Dixit.<br>
>>>> ______________________________<wbr>_________________<br>
>>>> devel mailing list<br>
>>>> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>>>><br>
>>>> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_devel&d=DwICAg&c=2do6VJGs3LvEOe4OFFM1bA&r=HDiJ93ANMEQ32G5JGdpyUxbdebuwKHBbeiHMr3RbR74&m=zH4W9XS8-wD5iyDXdo5SEtjZwr3gbIp9TJjx8-z2cS8&s=mU8IyO6GG8v94eNhQoI76FuuhiadOCFEoiJ3HdxyrrQ&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__lists.<wbr>rtems.org_mailman_listinfo_<wbr>devel&d=DwICAg&c=<wbr>2do6VJGs3LvEOe4OFFM1bA&r=<wbr>HDiJ93ANMEQ32G5JGdpyUxbdebuwKH<wbr>BbeiHMr3RbR74&m=zH4W9XS8-<wbr>wD5iyDXdo5SEtjZwr3gbIp9TJjx8-<wbr>z2cS8&s=<wbr>mU8IyO6GG8v94eNhQoI76FuuhiadOC<wbr>FEoiJ3HdxyrrQ&e=</a><br>
>>>> ______________________________<wbr>_________________<br>
>>>> devel mailing list<br>
>>>> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>>>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> M.Sc. Kuan-Hsun Chen<br>
>>><br>
>>> TU Dortmund<br>
>>> Department of Computer Science 12<br>
>>> Design Automation of Embedded Systems<br>
>>> Otto-Hahn-Strasse 16, Room 102<br>
>>><br>
>>> 44227 Dortmund<br>
>>> Germany<br>
>>><br>
>>> Phone: +49 231 755 6124<br>
>>> Mail: <a href="mailto:kuan-hsun.chen@tu-dortmund.de">kuan-hsun.chen@tu-dortmund.de</a><br>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div>