Recently, a user of Linaro images within ARM reported the below:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some Linaro related questions that I wonder if someone on the alias knows the answers to.
Yesterday I did this:
sudo /home/markn/apps/linaro-image-tools/linaro-image-tools-0.4.8/linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary ./linaro-n-ubuntu-desktop-tar-20110629-0.tar.gz --hwpack ./hwpack_linaro-panda_20110629-1_armel_supported.tar.gz --dev panda
And it all worked splendidly and I have a working Ubuntu on my SDcard.
But, for various reasons, I now want/need to be able to load the matching kernel debug symbols (for vmlinux) into a debugger.
Initially I thought vmlinux might be pre-built inside the HW pack for me. But if it is I can't see it. I can see the kernel used is: 2.6.38-1003 and I can download the source here https://launchpad.net/linux-linaro/+milestone/2.6.39-2011.06
I could rebuild the kernel, just to get an ELF image with debug symbols. But, I'd presumably also need to know the exact version of GCC used to build the original on my SD card. (And I don't know where to find that info). Or I could rebuild with my current version of GCC and also replace the linux binary that linaro-media-create, put on my SDcard.
All this seems a bit contrary to the spirit of Linaro making life easy, perhaps my use case isn't typical.
So my questions are:
- Does anyone know if the Linaro packages really do contain an image with debug info that I'm just failing to find?
- If they don't - do we know if they will
- And finally is there a better way for me to go about this I'm just failing to see?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Similar issues were reported by other Linaro users within ARM related to the lack of availability of debug packages. In one instance, someone tried a kernel debug of the Linaro images with DS-5 only to figure that a matching vmlinux with debug symbols is not supplied. This makes life harder for Linaro users.
We'd also like an 'easy' way to get debug/source packages into a useable state for Windows people. (Essentially a series of 'download, untar, unarchive steps. I think all necessary tools are available as Windows-native - but use of cygwin is acceptable )