<div dir="auto">Thanks for considering it!!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 21, 2019, 12:29 AM Joel Sherrill <<a href="mailto:joel.sherrill@gmail.com">joel.sherrill@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Finally pushed.<div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 20, 2019 at 8:37 AM Joel Sherrill <<a href="mailto:joel.sherrill@gmail.com" target="_blank" rel="noreferrer">joel.sherrill@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can you compress it and send it to me privately as an attachment? <div>Something along the email chain is messing it up.</div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2019 at 8:57 AM Vaibhav Gupta <<a href="mailto:vaibhavgupta40@gmail.com" target="_blank" rel="noreferrer">vaibhavgupta40@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Is it okay to push it??</div><div><br></div><div>--Vaibhav Gupta<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2019 at 8:14 PM Vaibhav Gupta <<a href="mailto:vaibhavgupta40@gmail.com" target="_blank" rel="noreferrer">vaibhavgupta40@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Update the checksum to be used for the Newlib patches.<br>
Earlier it was msd5, but it is depreciated for security<br>
reasons. Now RSB accepts sha512.<br>
---<br>
user/rsb/project-sets.rst | 41 +++++++++++++++++++++++++++++++++------<br>
1 file changed, 35 insertions(+), 6 deletions(-)<br>
<br>
diff --git a/user/rsb/project-sets.rst b/user/rsb/project-sets.rst<br>
index 5ffce26..b01857e 100644<br>
--- a/user/rsb/project-sets.rst<br>
+++ b/user/rsb/project-sets.rst<br>
@@ -261,17 +261,46 @@ in the ``source-builder/config`` template configuration files.<br>
To test a patch simply copy it to your local ``patches`` directory. The RSB<br>
will see the patch is present and will not attempt to download it. Once you are<br>
happy with the patch submit it to the project and a core developer will review<br>
-it and add it to the RTEMS Tools git repository. For example, to test a local<br>
-patch for newlib, add the following two lines to the .cfg file in<br>
-``rtems/config/tools/`` that is included by the bset you use:<br>
+it and add it to the RTEMS Tools git repository.<br>
+<br>
+Testing a Newlib Patch<br>
+~~~~~~~~~~~~~~~~~~~~~~<br>
+<br>
+To test a local patch for newlib, you need to add the following<br>
+two lines to the ``.cfg`` file in ``rsb/rtems/config/tools/`` that is included<br>
+by the bset you use:<br>
+<br>
+.. topic:: Steps:<br>
+<br>
+ 1. Create patches for the changes you want to test. (Note: For RSB, before<br>
+ creating Newlib patch, you must run ``autoreconf -fvi`` in the required<br>
+ directory after you make changes to the code. This is not required when<br>
+ you create patch to send to ``newlib-devel``. But if you want RSB to <br>
+ address your changes, your patch should also include regenerated files.)<br>
+<br>
+ 2. Calculate ``sha512`` of your patch.<br>
+<br>
+ 3. Place the patches in ``rsb/rtems/patches`` directory.<br>
+<br>
+ 4. Open the ``.bset`` file used by your BSP in ``rsb/rtems/config``.<br>
+ For example, for ``rtems5``, ``SPARC``, the file will be<br>
+ ``rsb/rtems/config/5/rtems-sparc.bset``.<br>
+ <br>
+ 5. Inside it you will find the name of ``.cfg`` file for Newlib, used by<br>
+ your BSP.<br>
+ For example, I found ``tools/rtems-gcc-7.4.0-newlib-1d35a003f``.<br>
+ <br>
+ 6. Edit your ``.cfg`` file. In my case it will be,<br>
+ ``rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg``. And<br>
+ add the information about your patch as mentioned below.<br>
<br>
.. code-block:: spec<br>
<br>
- %patch add newlib file://0001-this-is-a-newlib-patch.patch <1><br>
- %hash md5 0001-this-is-a-newlib-patch.diff 77d070878112783292461bd6e7db17fb <2><br>
+ %patch add newlib -p1 file://0001-Port-ndbm.patch <1><br>
+ %hash sha512 0001-Port-ndbm.patch 7d999ceeea4f3dc82e8e0aadc09d983a7a68b44470da8a3d61ab6fc558fdba6f2c2de3acc2f32c0b0b97fcc9ab799c27e87afe046544a69519881f947e7881d1 <2><br>
<br>
.. topic:: Items:<br>
<br>
1. The diff file prepended with ``file://`` to tell RSB this is a local file.<br>
<br>
- 2. The output from md5sum on the diff file.<br>
+ 2. The output from sha512sum on the patch file.<div class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-yj6qo m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-ajU"><div id="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-:2w1" class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-ajR"><img class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-ajT m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-CToWUd" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-yj6qo m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-ajU"><div id="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-:1am" class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-ajR"><img class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-HOEnZb m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-adL"><font color="#888888"><span class="m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-HOEnZb m_1981193068005300787gmail-m_7029062037277912324gmail-m_1482544815345738475gmail-m_2309057541417420956gmail-m_-6441268951408204952gmail-adL"><font color="#888888"><br>
-- <br>
2.21.0</font></span></font></span></div>
</blockquote></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>
</blockquote></div>
</blockquote></div>