suppress Jaguar logs on ESP32-S2
# help
k
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 ?
Copy code
Version:         v1.29.1
SDK version:     v2.0.0-alpha.141
Build date:      2024-02-29T05:23:11Z
f
I will have a look a bit later. Can you give an example in the meantime?
k
Copy code
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
...
f
Is this just the boot messages?
If yes then it's probably just an sdkconfig change
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.
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
.
k
it works - 👍🏻 perfect ! Thank you
f
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.
k
very nice, thanks. Still working on HW-setup. - so I have no hurry. just wondering about other behavior