<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas",serif;}
span.E-MailFormatvorlage23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>git remote add upstream <a href="https://github.com/espressif/esp-idf.git">https://github.com/espressif/esp-idf.git</a><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>git fetch upstream<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>worked for me<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> OvmsDev <ovmsdev-bounces@lists.openvehicles.com> <b>Im Auftrag von </b>Mark Webb-Johnson<br><b>Gesendet:</b> Montag, 22. Juli 2019 15:06<br><b>An:</b> OVMS Developers <ovmsdev@lists.openvehicles.com><br><b>Betreff:</b> Re: [Ovmsdev] esp-idf v3.3<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If I had a dollar for every time I forgot the --tags… Glad it wasn’t me.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I just found 'git config --global push.followTags true’. Perhaps that will make it automatic?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards, Mark<o:p></o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 22 Jul 2019, at 8:29 PM, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Uh, I would have said "sure", but they are obviously missing (see branch select on <a href="https://github.com/openvehicles/esp-idf">https://github.com/openvehicles/esp-idf</a>)… :-/<br><br>I'll push them this evening.<br><br>Sorry…<br>Michael<br><br><br>Am 22.07.19 um 14:08 schrieb Mark Webb-Johnson:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><o:p> </o:p></p></div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>That should be fixed by a "make clean" (read: did it for me).<o:p></o:p></p></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>For me, I needed a:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='margin-left:30.0pt;margin-right:0cm'><p class=MsoNormal>$ cd ~/esp/esp-idf<o:p></o:p></p></blockquote><blockquote style='margin-left:30.0pt;margin-right:0cm'><p class=MsoNormal>$ find ./tools/kconfig -name '*.d' -delete<o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>A google on the error (make dependency on limits.h) led me to the above and a comment from Espressif that this is a known issue hopefully fixed when they move to cmake.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On the spiram test branch, this is my current state: 3.2.002-150-g185b2fb4/ota_1/edge (build idf v3.3-beta3-770-ge97f72ea2 Jul 21 2019 21:29:40)<o:p></o:p></p></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>OK. I am still seeing:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='margin-left:30.0pt;margin-right:0cm'><div><div><p class=MsoNormal>esp-idf mark$ git describe --always --tags --dirty<o:p></o:p></p></div></div></blockquote><blockquote style='margin-left:30.0pt;margin-right:0cm'><div><div><p class=MsoNormal>v3.1-dev-4770-ge97f72ea2<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>esp-idf mark$ git remote -v<o:p></o:p></p></div><div><p class=MsoNormal>origin<span class=apple-tab-span>      </span><a href="https://github.com/openvehicles/esp-idf.git">https://github.com/openvehicles/esp-idf.git</a> (fetch)<o:p></o:p></p></div><div><p class=MsoNormal>origin<span class=apple-tab-span>      </span><a href="https://github.com/openvehicles/esp-idf.git">https://github.com/openvehicles/esp-idf.git</a> (push)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>esp-idf mark$ git branch -v<o:p></o:p></p></div><div><p class=MsoNormal>* master e97f72ea2 Merge remote-tracking branch 'upstream/release/v3.3'<o:p></o:p></p></div></div></blockquote><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What is yours showing for those? Are you sure you pushed the tags?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards, Mark<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 22 Jul 2019, at 7:52 PM, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Mark,<br><br>Am 22.07.19 um 13:38 schrieb Mark Webb-Johnson:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Works ok for me. But I still got a mess in esp-idf (submodules not updated, old dependency .d files still around, etc), so had to remove it and re-clone. <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Builds identify as:<span class=apple-tab-span>                           </span>3.2.002-141-g1dc82dd/ota_1/edge (build idf v3.1-dev-4770-ge97f72e Jul 22 2019 19:25:36)<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Is that correct? 3.1-dev-4770? Should it not be 3.3?<o:p></o:p></p></div></div></div></blockquote><p class=MsoNormal><br>That should be fixed by a "make clean" (read: did it for me).<br><br>On the spiram test branch, this is my current state: 3.2.002-150-g185b2fb4/ota_1/edge (build idf v3.3-beta3-770-ge97f72ea2 Jul 21 2019 21:29:40)<br><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal>Bluetooth is not building for me, so I disabled it for the moment (it wasn’t enabled on the main build server anyway - just local development). Better to let espresso stabilise first before trying that again - just too many bugs and idiosyncratic behaviour.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What is the current status of the toolchain with the PSRAM memory corruption fix? I see they released a newer version but you said it caused endless boot loop? Are you still running the version before that? Any point for us to change our public build system to it?<o:p></o:p></p></div></div></div></blockquote><p class=MsoNormal><br>Trying the -95 version with this esp-idf is on my list, I currently still build my edge releases with -93.<br><br>The -93 version has no issues and has quite some benefit on stability and speed, so I recommend switching.<br><br>I'll test the -95 version this evening.<br><br>The esp-idf blobs still are pre-fix builds though, we need to wait for Espressif here. Keeping LWIP and Wifi internal buffers away from PSRAM helps.<br><br>Regards,<br>Michael<br><br><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal>Regards, Mark.<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 22 Jul 2019, at 3:04 PM, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Please note: a "git pull" will not work to update your local esp-idf.<br><br>I had to reset the master branch to a previous commit to undo the revert of the last update attempt. So origin/master is now basically a new branch.<br><br>A fresh clone is always an option, but resyncing your local master branch to origin/master should do as well:<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><tt><span style='font-size:10.0pt'>git fetch</span></tt><br><tt><span style='font-size:10.0pt'>git checkout -fB master origin/master</span></tt><br><tt><span style='font-size:10.0pt'>git submodule update --recursive</span></tt><o:p></o:p></p></blockquote><p class=MsoNormal><br>Regards,<br>Michael<br><br><br>Am 21.07.19 um 21:33 schrieb Michael Balzer:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>Update is pushed.<br><br>Don't forget to do a submodule update in the esp-idf, I also recommend doing a "make clean" before the next build.<br><br>Use the defaults for new config options, except:<br>- disable SPIRAM_BANKSWITCH_ENABLE (bank switching for >4MiB external RAM)<br>- disable FATFS_ALLOC_PREFER_EXTRAM (Perfer external RAM when allocating FATFS)<br><br>Regards,<br>Michael<br><br><o:p></o:p></p><div><p class=MsoNormal>Am 20.07.19 um 23:21 schrieb Michael Balzer:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>FYI: I've merged the current v3.3 status and am now running the new build (toolchain still 1.22.0-93-gf6c4cdf) on my modules.<br><br>I though it would be easier to merge v3.2 first, but that didn't work out. The current v3.2 status seems to have a bug, it wouldn't link due to too many segments. The segments have been introduced by a wifi blob update to support a new wifi IRAM optimization, but that needs a linker script & esptool update as well, that seems to be available only in the v3.3 branch.<br><br>So I merged v3.3 directly afterwards, and that builds without issues.<br><br>So far I haven't noticed any relevant problems running the new build. On stopping the wifi module, two event errors get logged, and the AP network interface remains configured as up:<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><tt><span style='font-size:10.0pt'>OVMS# wifi mode off </span></tt><br><tt><span style='font-size:10.0pt'>Stopping wifi station...</span></tt><br><tt><span style='font-size:10.0pt'>I (1307252) esp32wifi: Stopping WIFI station</span></tt><br><tt><span style='font-size:10.0pt'>I (1307252) netmanager: Interface priority is pp3 (10.170.195.13/255.255.255.255 gateway 10.64.64.64)</span></tt><br><tt><span style='font-size:10.0pt'>I (1307252) netmanager: Set DNS#2 0.0.0.0</span></tt><br><tt><span style='font-size:10.0pt'>I (1307252) netmanager: WIFI client down (with MODEM up): reconfigured for MODEM priority</span></tt><br><tt><span style='font-size:10.0pt'>I (1307252) wifi: state: run -> init (0)</span></tt><br><tt><span style='font-size:10.0pt'>I (1307262) wifi: pm stop, total sleep time: 1100678913 us / 1301859253 us</span></tt><br><tt><span style='font-size:10.0pt'>I (1307262) wifi: new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,0>, prof:1</span></tt><br><tt><span style='font-size:10.0pt'>E (1307262) event: system_event_sta_disconnected_handle_default 294 esp_wifi_internal_reg_rxcb ret=0x3014</span></tt><br><tt><span style='font-size:10.0pt'>E (1307262) event: system_event_ap_stop_handle_default 223 esp_wifi_internal_reg_rxcb ret=0x3014</span></tt><br><tt><span style='font-size:10.0pt'>W (1307262) netmanager: CleanupConnections: can't get AP station list</span></tt><br><tt><span style='font-size:10.0pt'>I (1307272) wifi: flush txq</span></tt><br><tt><span style='font-size:10.0pt'>I (1307272) wifi: stop sw txq</span></tt><br><tt><span style='font-size:10.0pt'>I (1307272) wifi: lmac stop hw txq</span></tt><br><tt><span style='font-size:10.0pt'>I (1307292) time: Network was reconfigured: restarting SNTP client</span></tt><br><tt><span style='font-size:10.0pt'>I (1307322) netmanager: Set DNS#2 0.0.0.0</span></tt><br><tt><span style='font-size:10.0pt'>I (1307322) esp32wifi: STA disconnected with reason 8</span></tt><br><tt><span style='font-size:10.0pt'>I (1307352) netmanager: Set DNS#2 0.0.0.0</span></tt><br><tt><span style='font-size:10.0pt'>I (1307392) netmanager: Set DNS#2 0.0.0.0</span></tt><br><tt><span style='font-size:10.0pt'>I (1307392) netmanager: WIFI access point is down</span></tt><br><tt><span style='font-size:10.0pt'>I (1307392) esp32wifi: AP stopped</span></tt><br><tt><span style='font-size:10.0pt'>OVMS# net status </span></tt><br><tt><span style='font-size:10.0pt'>Interface#3: pp3 (ifup=1 linkup=1)</span></tt><br><tt><span style='font-size:10.0pt'>  IPv4: 10.170.195.13/255.255.255.255 gateway 10.64.64.64</span></tt><br><br><tt><span style='font-size:10.0pt'>Interface#2: ap2 (ifup=1 linkup=1)</span></tt><br><tt><span style='font-size:10.0pt'>  IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1</span></tt><br><br><tt><span style='font-size:10.0pt'>DNS: 192.168.2.1 192.168.2.1</span></tt><br><br><tt><span style='font-size:10.0pt'>Default Interface: pp3 (10.170.195.13/255.255.255.255 gateway 10.64.64.64)</span></tt><br><tt><span style='font-size:10.0pt'>OVMS# </span></tt><o:p></o:p></p></blockquote><p class=MsoNormal><br>But wifi is off, and after starting the wifi network again, everything works, so that's a minor issue.<br><br>I'll do some more tests tomorrow, then push the update.<br><br>Regards,<br>Michael<o:p></o:p></p></blockquote></blockquote></div></div></blockquote></div></div></div></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div></blockquote></div></div></blockquote><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<o:p></o:p></pre><pre>Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<o:p></o:p></pre></div><p class=MsoNormal>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>