Skip to content

platform: disable FreeRTOS+TCP verbose logging on Zynq-A9#80

Merged
zevorn merged 1 commit intomainfrom
fix/zynq-quiet-logs
Mar 18, 2026
Merged

platform: disable FreeRTOS+TCP verbose logging on Zynq-A9#80
zevorn merged 1 commit intomainfrom
fix/zynq-quiet-logs

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 18, 2026

Summary

Disable FreeRTOS+TCP verbose debug logging that floods the interactive shell output on Zynq-A9 QEMU.

Problem

Shell output was polluted with TCP/IP internals:

<You>  thinking ..   MSS change 1400 -> 1460
TCP: active 24024 => 163.25.18.104 port 443 set ESTAB
FreeRTOS_FindEndPointOnNetMask: No match for 681219a3ip
ARP 681219a3ip hit using a000202ip
GEM TX: len=276 buf=0x19bc52
...

Fix

  • ipconfigHAS_PRINTF=0, ipconfigHAS_DEBUG_PRINTF=0 in FreeRTOSIPConfig.h
  • Remove GEM TX debug printf from NetworkInterface.c
  • Remove verbose [net] and [init] prints from main.c
  • Keep [net] network up: x.x.x.x on DHCP success

After

rt-claw: Zynq-A9 QEMU (FreeRTOS) - Real-Time Claw
[I/init] init: gateway / sched / swarm / net / tools / ai_engine
[net] network up: 10.0.2.15

  rt-claw chat  (type /help for commands)

<You> _

Test plan

  • make build-zynq-a9-qemu compiles
  • make run-zynq-a9-qemu — clean shell output, no TCP/ARP spam

FreeRTOS+TCP debug prints (DHCP, ARP, TCP state, GEM TX) flood the
shell output making interactive use impossible.

- Set ipconfigHAS_PRINTF=0 and ipconfigHAS_DEBUG_PRINTF=0
- Remove GEM TX debug printf from NetworkInterface.c
- Remove verbose [net] and [init] prints from main.c

The [net] network up callback with IP address is preserved.

Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
@zevorn zevorn merged commit e18a6db into main Mar 18, 2026
11 checks passed
@zevorn zevorn deleted the fix/zynq-quiet-logs branch March 19, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant