BoFs: Developer Tools and Methods: Tips & Tricks – ELCE 2012

Tim Bird, senior staff software engineer at Sony Network Entertainment, hosts a BoF session about tools & methods for embedded Linux developers at ELCE 2012.

Abstract:

In this Birds-of-a-Feather-session, Tim will share some of his favorite tips for developing embedded Linux software. This will include tips for using ‘git’, how he does multi-platform development, and tips for other tools that other developers might find useful. Prior to the event, Tim will do a survey and solicit ideas from other developers as well. Please come to this BoF prepared to share your own productivity tips for embedded Linux development.

Tim talks is divided into the following key points:

  • Git tips – How to finds info about commits (git log, git show), use aliases (e.g. for colored output), find a commit that caused problem (git bisect), and more
  • Patch management – quilt patch managing tool, diffinfo, and splitpatch (to break patches apart)
  •  Source searching – cgrep, mgrep, confgrep, kgrep, armcgrep, jgrep, git search, and finds (with a “s”)
  • Kernel debugging
    • Use of fs/sync.c:SYSCALL_DEFINE0(sync)
    • qemu for kernel debugging
    • Enable CONFIG_DEBUG_LL and CONFIG_EARLY_PRINTK (on ARM) kernel options.
    • Finding the printk buffer with U-boot
  • Testing – tbtorture.sh – for stress testing (cnxsoft -> can’t find it)
  • Board handling
    • Consistent board setup (including remote access)
    • Connections: serial, network, power (maybe USB)
    • tftp boot kernel, with NFS rootfs
    • Tiny Target Control (ttc) – command line tool for board control (cnxsoft -> can’t find it)
    • Serial TTY tricks & tips
  • Personal productivity – Notes, to do, git branch…
  • Your ideas….

You can also download the slides for this BoF session.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...
Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...