guild icon
Toit
#suppress Jaguar logs on ESP32-S2
Thread channel in help
kaxori
kaxori 03/14/2024 05:17 PM
I installed Jag on a ESP32-S2 (bare module). And compared to installation on other normal ESP32, the monitor shows tons of toit logging info.
How can I suppress them ?
Version: v1.29.1 SDK version: v2.0.0-alpha.141 Build date: 2024-02-29T05:23:11Z
floitsch
floitsch 03/14/2024 05:29 PM
I will have a look a bit later.
Can you give an example in the meantime?
kaxori
kaxori 03/14/2024 06:14 PM
ESP-ROM:esp32s2-rc4-20191025 Build:Oct 25 2019 rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3ffe6108,len:0x1158 load:0x4004c000,len:0xa7c load:0x40050000,len:0x31b0 entry 0x4004c1a8 I (21) boot: ESP-IDF v5.0.1-1972-g6868b02f05 2nd stage bootloader I (21) boot: compile time 04:56:07 I (21) boot: chip revision: v0.0 I (22) boot.esp32s2: SPI Speed : 80MHz I (26) boot.esp32s2: SPI Mode : DIO I (30) boot.esp32s2: SPI Flash Size : 4MB I (34) boot: Enabling RNG early entropy source... I (38) boot: Partition Table: I (41) boot: ## Label Usage Type ST Offset Length ...
kaxori
kaxori 03/14/2024 06:17 PM
gladly, if it helps
floitsch
floitsch 03/14/2024 08:20 PM
Is this just the boot messages?
floitsch
floitsch 03/14/2024 08:20 PM
If yes then it's probably just an sdkconfig change
floitsch
floitsch 03/14/2024 08:34 PM
Looks like it was for boot and for normal messages.
I have changed the sdkconfig, and the next release shouldn't be that verbose anymore.
floitsch
floitsch 03/14/2024 08:41 PM
Here is an envelope (v2.0.0-alpha.141) without the logging:
https://drive.google.com/file/d/188nPCX7sO9dVNlXzCFVNwozY5kuLijxf/view?usp=sharing

You should be able to use it with jag flash --chip esp32s2 PATH_TO_ENVELOPE.
kaxori
kaxori 03/15/2024 08:55 AM
it works - :👍🏻: perfect !
Thank you
(edited)
floitsch
floitsch 03/15/2024 09:29 AM
We just released another Jaguar version, but it still uses an SDK version from before the patch landed (142).
If you want to update to it, just let me know and I can build an envelope for 142 as well.
kaxori
kaxori 03/15/2024 09:53 AM
very nice, thanks.
Still working on HW-setup. - so I have no hurry.
just wondering about other behavior
11 messages in total