Skip to content

Instantly share code, notes, and snippets.

gdbgui spawned subprocess with pid 21618 from executable /usr/bin/arm-none-eabi-gdb.
gdb process 21618 is running for this tab
GNU gdb (7.11.90.20160917-0ubuntu1+9build1) 7.11.90.20160917-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CONFIG_KERNEL_DEBUG
$ grep KERNEL_DEBUG zephyr/.config
# CONFIG_KERNEL_DEBUG is not set
config MCUBOOT_DEVICE_SETTINGS
# Hidden selector for device-specific settings
bool
default y
select MCUBOOT_DEVICE_CPU_CORTEX_M0 if CPU_CORTEX_M0
config MCUBOOT_DEVICE_CPU_CORTEX_M0
bool "M0-specific settings"
select create_vector_relay_table if need_to_create_table
default n
Conditional behaviors:
1) vector_relay_table: created or not
2) vt_pointer: 4B reserved or not (and pointer set in relocate_vector_table or not)
Desired outcomes:
Application type vt_pointer vector_relay_table
-------------------- ---------- ------------------
mcuboot Y Y
[0034250] [fota/hawkbit] [DBG] hawkbit_query: [GET] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685
[0034330] [http/client] [DBG] print_info: (0x20003a60): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0034340] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 3 bytes data
[0034350] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0034360] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 46 bytes data
[0034370] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0034380] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0034390] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0034390] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0034430] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0036780] [fota/hawkbit] [DBG] hawkbit_query: [GET] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685
[0036860] [http/client] [DBG] print_info: (0x20003a60): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0036870] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 3 bytes data
[0036880] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0036890] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 46 bytes data
[0036900] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0036910] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0036920] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0036920] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0037010] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0036410] [fota/hawkbit] [DBG] hawkbit_query: [GET] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685
[0036420] [net/app] [DBG] _net_app_print_info: (0x20003390): net app connect [::]:49494 -> [fe80::d4e7:0:0:1]:8080
[0036430] [net/app] [DBG] _net_app_select_net_ctx_debug: (0x20003390): Selecting 0x200027e4 net_ctx (net_app_connect():664)
[0036630] [http/client] [DBG] print_info: (0x20003390): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0036650] [net/app] [DBG] _net_app_select_net_ctx_debug: (0x20003390): Selecting 0x200027e4 net_ctx (net_app_get_net_pkt():960)
[0036660] [http] [DBG] http_send_msg_raw: (0x20003390): [0x20000228] Sending 3 bytes data
[0036670] [net/app] [DBG] _net_app_select_net_ctx_debug: (0x20003390): Selecting 0x200027e4 net_ctx (net_app_get_net_pkt():960)
[0036680] [http] [DBG] http_send_msg_raw: (0x20003390): [0x20000228] Sending 1 bytes data
[0036690] [net/app] [DBG] _net_app_select_net_ctx_debug: (0x20003390): S
Building for board qemu_x86
[1/2] To exit from QEMU enter: 'CT...L+a, x'[QEMU] CPU: qemu32,+nx,+pae
qemu-system-i386: warning: Unknown firmware file in legacy mode: genroms/multiboot.bin
[net/buf] [ERR] net_buf_alloc_len_debug: net_pkt_get_reserve_data():351: Failed to get free buffer
[net/buf] [ERR] net_buf_alloc_len_debug: net_pkt_get_reserve_data():351: Failed to get free buffer
[net/buf] [ERR] net_buf_alloc_len_debug: net_pkt_get_reserve_data():351: Failed to get free buffer
[net/buf] [ERR] net_buf_alloc_len_debug: net_pkt_get_reserve_data():351: Failed to get free buffer
***** BOOTING ZEPHYR OS v1.10.99 - BUILD: Feb 14 2018 23:45:05 *****
[1/95] Generating always_rebuild
Building for board nrf52_pca10040
[2/58] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
ccache /home/mbolivar/bin/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc -DKERNEL -DNRF52832_XXAA -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../kernel/include -I../../../arch/arm/include -I../../../arch/arm/soc/nordic_nrf5/nrf52 -I../../../arch/arm/soc/nordic_nrf5/nrf52/include -I../../../arch/arm/soc/nordic_nrf5/include -I../../../boards/arm/nrf52_pca10040 -I../../../include -I../../../include/drivers -Izephyr/include/generated -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include-fixed -I../../../lib/libc/minimal/include -I../../../ext/hal/cmsis/Inc
For 17 total events:
Consecutive integer command codes [1, 2, 3, ..., 17] yield 89 total false positive pairs (15 and 17 are particularly bad values):
event <---> false positives:
----------------------------
1 <---> {3, 5, 7, 9, 11, 13, 15, 17}
2 <---> {3, 6, 7, 10, 11, 14, 15}
3 <---> {5, 6, 7, 9, 10, 11, 13, 14, 15, 17}