Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7692489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:51:51+00:00 2026-05-31T20:51:51+00:00

I want to extract kernel symbols from a u-boot image The final goal is

  • 0

I want to extract kernel symbols from a u-boot image

The final goal is to debug syscalls with gdb


The kernel is compiled with CONFIG_DEBUG_INFO=y and gcc is using -g option (I checked)

After make uImage, I’ve :

# file arch/arm/boot/*
arch/arm/boot/bootp:           directory
arch/arm/boot/compressed:      directory
arch/arm/boot/Image:           data
arch/arm/boot/install.sh:      POSIX shell script text executable
arch/arm/boot/Makefile:        ASCII English text
arch/arm/boot/uImage:          u-boot legacy uImage, Linux-3.0.6, Linux/ARM, OS Kernel Image (Not compressed), 3044476 bytes, Thu Mar 22 18:13:40 2012, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0xF689B805, Data CRC: 0x6BFE76DF
arch/arm/boot/zImage:          data

gdb cannot load uImage directly


I tried this script http://forum.xda-developers.com/showthread.php?t=901152.

# file arch/arm/boot/zImage_unpacked/*
arch/arm/boot/zImage_unpacked/decompression_code:     data
arch/arm/boot/zImage_unpacked/initramfs.cpio+part3:   data
arch/arm/boot/zImage_unpacked/kernel.img:             data
arch/arm/boot/zImage_unpacked/padding_piggy:          data
arch/arm/boot/zImage_unpacked/piggy:                  data
arch/arm/boot/zImage_unpacked/piggy.gz:               gzip compressed data, from Unix, max compression
arch/arm/boot/zImage_unpacked/piggy.gz+piggy_trailer: gzip compressed data, from Unix, max compression
arch/arm/boot/zImage_unpacked/piggy_trailer:          data
arch/arm/boot/zImage_unpacked/sizes:                  ASCII text

kernel.img is not loadable by gdb

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:51:53+00:00Added an answer on May 31, 2026 at 8:51 pm

    Do make vmlinux. I believe GDB can read that, but it’s a long time and a lot of kernel versions since I tried.

    EDIT: Oh, I should say, both vmlinux and uImage should be the same but packaged differently. If that’s not the case, then this won’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to extract from a webpage all URLs how can I do that
I want to extract two consecutive words starting from each word in a string.
I want to extract only the leaf nodes from an XML document (i.e., only
I want to extract valid(on the basis of format) mobile numbers from a text.
I want to extract information from a web page. The page has m nodes,
I want to extract the text information (Chinese) from the images that picked by
I want to extract a USB storage device serial number from inside a minifilter
Want to extract the text value from a lookup table's column in a db.
I want to extract unique characters from files ( UTF-8 , contains asian characters)
I want to extract text from span elements with no class name. How can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.