[Ovmsdev] Test results of latest changes

Julien “JaXX” Banchet jaxx at jaxx.org
Wed Mar 21 03:20:15 HKT 2018


On 20 Mar 2018 at 19:54 +0100, Michael Balzer <dexter at expeedo.de>, wrote:
> Julien,
>
> you're loading too much on hw3.0. You cannot start both v2 and v3 server, even if you exclude optional components.
>
> See here:
>
> 1. > I (7011) ovms-server-v3: Tx(all) metric ovms/TWAXXV3/m/m.freeram=14284
> 2.
>
>
> …you've barely booted and your RAM is already gone.

Damn, that’s me seeing light and getting all enthusiastic :) (yeah, didn’t think of that, and the localised crash mislead me)

>
> You've also enabled the wolfssh stuff and the obd2ecu component, I recommend disabling both to save RAM. I also have disabled every car except Twizy, but I think that doesn't make much difference on RAM usage.
>
> Also, did you disable the FATFS per file cache?

They were defaulted to =y, took out obd2ecu, most vehicles, and the FATFS cache
I probably will take ssh out eventually

The build lost some weight and leaves 46/48kB of ram, can run v2 and v3 at the same time (but I’ll stick to one at a time atm)
Rock solid and PPP comes up quick (dunno if it was related or just a transient local cell network issue)

Just need a passive gps antenna now and it will more durably be living in the car !

Thanks !

>
> Regards,
> Michael
>
>
> Am 20.03.2018 um 19:39 schrieb Julien “JaXX” Banchet:
> >
> > On 20 Mar 2018 at 19:19 +0100, Julien “JaXX” Banchet <jaxx at jaxx.org>, wrote:
> > >
> > > On 20 Mar 2018 at 18:31 +0100, Michael Balzer <dexter at expeedo.de>, wrote:
> > > > Commit a9bfcc761e8853a5ad1e7cee4b966d012fc33895
> > > >
> > > > …every (!) mode is working now! :-)
> > >
> > > Gonna give that a shot :-) I love apclient mode, too bad it needs an SSID set (I thought there where limitations, like channel selection for instance which could have been logic, but I don’t really see any reason in fact)
> >
> > Set apclient, so wifi comes online pretty fast …
> > But getting crash looped very fast (I usually have time to "config set” stuff)
> >
> > https://pastebin.com/ricmTJf7
> >
> > I did manage to enable and server v3 stop (as it seems to either get disconnected from mqtt then crash after a handful of seconds, or crash during mqtt publishing) and now it sits still.
> >
> > GSM looks dead on the other hand and wifi has hiccups (‘wifi' knows it’s IP, ‘network' doesn’t) :-)
> >
> > OVMS# network
> > Interface#2: ap2 (ifup=1 linkup=1)
> >   IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1
> >
> > Interface#1: st1 (ifup=1 linkup=1)
> >   IPv4: 10.33.92.20/255.255.255.0 gateway 10.33.92.1
> >
> > Interface#0: lo0 (ifup=1 linkup=1)
> >   IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1
> >
> > DNS: 10.33.33.251 10.33.33.252
> >
> > Default Interface: st1 (10.33.92.20/255.255.255.0 gateway 10.33.92.1)
> > I (171010) simcom: State timeout, transition to 2
> > I (171010) simcom: State: Enter PoweringOn state
> > I (171010) simcom: Power Cycle
> > I (174670) simcom: State: Enter PoweredOn state
> > I (194010) simcom: State: Enter MuxStart state
> > I (194010) gsm-mux: Start MUX
> > I (194020) gsm-mux: Channel #0 is open
> > I (194030) gsm-mux: Channel #1 is open
> > I (194030) gsm-mux: Channel #2 is open
> > I (194040) gsm-mux: Channel #3 is open
> > I (194040) gsm-mux: Channel #4 is open
> > I (195010) simcom: State: Enter NetWait state
> > I (195010) gsm-nmea: Startup
> > I (199990) wifi: bcn_timout,ap_probe_send_start
> > I (202490) wifi: ap_probe_send over, resett wifi status to disassoc
> > I (202490) wifi: state: run -> init (1)
> > I (202500) wifi: n:9 0, o:9 0, ap:9 2, sta:9 0, prof:9
> > I (202500) netmanager: WIFI client down (with MODEM down): network connectivity has been lost
> > I (202500) time: Stopping SNTP client
> > I (203010) ovms-server-v2: Status: Server is ready to start
> > I (205030) simcom: CREG Network Registration: RegisteredHome
> > I (206010) simcom: State: Enter NetStart state
> > I (207050) simcom: PPP Connection is ready to start
> > I (208010) simcom: State: Enter NetMode state
> > I (208010) gsm-ppp: Initialising...
> > E (208010) gsm-ppp: Error init pppos  <<< bummer
> > OVMS# simcom
> > SIMCOM
> >   Network Registration: RegisteredHome
> >   State: NetMode
> >   Ticker: 92
> >   User Data: 0
> >
> >   Mux
> >     Status: up
> >     Open Channels: 4
> >     Framing Errors: 0
> >     Last RX frame: 1 sec(s) ago
> >     RX frames: 219
> >     TX frames: 11
> >
> >   PPP
> >     Not Connected
> >     Last Error: Undefined
> >
> >   GPS
> >     Status: enabled, required
> >     Time: enabled, required
> >     NMEA: GPS/GLONASS Connected on channel: #1
> > OVMS# network
> > Interface#2: ap2 (ifup=1 linkup=1)
> >   IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1
> >
> > Interface#1: st1 (ifup=0 linkup=1)
> >   IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0 <<<<<< bye bye
> >
> > Interface#0: lo0 (ifup=1 linkup=1)
> >   IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1
> >
> > DNS: 10.33.33.251 10.33.33.252
> >
> > Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
> > I (317690) event: station ip lost
> > OVMS# wifi
> > WiFi
> >   Power: on
> >   Mode: Access-Point + Client mode
> >
> >   STA SSID: JaXX
> >     MAC: 30:ae:a4:37:25:54
> >     IP: 10.33.92.20/255.255.255.0  <<<<<<< here
> >     GW: 10.33.92.1
> >
> >   AP SSID: TwaXX
> >     MAC: 30:ae:a4:37:25:55
> >     IP: 192.168.4.1
> >     AP Stations: 0
> > OVMS# network
> > Interface#2: ap2 (ifup=1 linkup=1)
> >   IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1
> >
> > Interface#1: st1 (ifup=0 linkup=1)
> >   IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0  <<<<<< not here
> >
> > Interface#0: lo0 (ifup=1 linkup=1)
> >   IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1
> >
> > DNS: 10.33.33.251 10.33.33.252
> >
> > Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
> > OVMS#
> >
> > Regards,
> > JaXX./.
> >
> >
> > _______________________________________________
> > OvmsDev mailing list
> > OvmsDev at lists.teslaclub.hk
> > http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
> --
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180320/d60fd8f7/attachment.htm>


More information about the OvmsDev mailing list