[Ovmsdev] External Wifi antenna

Michael Balzer dexter at expeedo.de
Sun Jan 31 16:02:04 HKT 2021


Forgot to explain: to fully disable the PSRAM workaround, you also need 
to modify main/component.mk:

COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) 
-Wl,--no-whole-archive -T main/ovms_boot.ld \
     -mfix-esp32-psram-cache-issue

Remove the "-mfix-esp32-psram-cache-issue" here.

Regards,
Michael


Am 31.01.21 um 08:58 schrieb Michael Balzer:
> Craig,
>
> congratulations to a successful heart transplantation :-)
>
> Regarding RAM, I think you need to enable bank switching 
> (CONFIG_SPIRAM_BANKSWITCH_ENABLE).
>
> Please also disable the PSRAM bug workaround and maybe do some 
> performance comparison. SPIRAM operations should run much faster 
> without the workaround.
>
> Regards,
> Michael
>
>
> Am 31.01.21 um 08:29 schrieb Craig Leres:
>> On 1/30/21 9:47 PM, Craig Leres wrote:
>>> It doesn't look like ovms knows there is extra memory?
>>
>> I think actually the idf assumes 4 MB of SPIRAM and a future version 
>> will allow use of more memory.
>>
>> I also figured out that my oldest ovms module has 16 MB of flash.
>>
>>         Craig
>>
>> ice 6540 % python esptool_py/esptool/esptool.py \
>>     --chip esp32 \
>>     --port /dev/tty.SLAB_USBtoUART \
>>     --baud 921600 \
>>     flash_id
>> esptool.py v2.8
>> Serial port /dev/ovms-dev
>> Connecting........_
>> Chip is ESP32D0WDQ6 (revision 1)
>> Features: WiFi, BT, Dual Core, Coding Scheme None
>> Crystal is 40MHz
>> MAC: 30:ae:a4:??:??:??
>> Uploading stub...
>> Running stub...
>> Stub running...
>> Changing baud rate to 921600
>> Changed.
>> Manufacturer: ef
>> Device: 6018
>> Detected flash size: 16MB
>> Hard resetting via RTS pin...
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210131/c5627fb1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210131/c5627fb1/attachment.sig>


More information about the OvmsDev mailing list