RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Follow the link for RPi build steps- RDK-B R-Pi Build guide
Build requirements- After repo steps needed below changes to install gdb in the image
...
For license related issues, below changes are required in $YOCTO_BUILD/conf/local.conf
Code Block | ||
---|---|---|
| ||
WHITELIST_GPL-3.0 += " gdb"
INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
PACKAGECONFIG_remove_pn-gdb = "readline" |
For avoiding license related issues while creating rootfs, need to make similar change under openembedded-core
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
--- a/meta/recipes-devtools/gdb/gdb-9.1.inc +++ b/meta/recipes-devtools/gdb/gdb-9.1.inc @@ -1,4 +1,4 @@ -LICENSE = " readline" GPLv2 & GPLv3 & LGPLv2 & LGPLv3" +LICENSE = "GPLv2 & LGPLv2" |
GDB is included in the package "tools-debug", so commonly the EXTRA_IMAGE_FEATURES would be set as follows:
$YOCTO_BUILD/conf/local.conf:
Code Block | ||
---|---|---|
| ||
EXTRA_IMAGE_FEATURES = "tools-debug debug-tweaks dbg-pkgs" |
...
Code Block | ||
---|---|---|
| ||
$ gdb <binary of component> <crash file> Example, $ gdb /usr/bin/CcspWifiSsp /tmp/1662722171_core.prog_CcspWifiSsp.signal_11.1888 |
Example,
with backtrace 'bt' command we can list the function calls,
...