Closed Bug 836334 Opened 11 years ago Closed 9 years ago

Create a Panda image with our own build of Android libraries

Categories

(Testing :: General, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

We want to provide symbol files - unstripped libraries - for Android system services when invoking ndk-stack. libc.so and libdvm.so are of particular concern; a full set of OS libraries is desirable. We likely cannot do this for the tegras, but should be able to do it for the pandaboards.

:jmaher has already started to generate this build and has at least a functional libc.so replacement, with symbols.

A new Panda image needs to be created, using either the unstripped libraries, or their stripped equivalents (the unstripped libs are only needed on the foopies).
Blocks: 803158
We should be able to build a full Android image that matches what we're currently using, and just store the unstripped binaries somewhere for postmortem work.
I have spent 2 full working days just getting libc.so to build, the rest of the stuff has hundreds of errors and I ran into roadblocks getting anything else built.  This would be a P2 issue for me this quarter due to the time required.  There are a lot of other projects on my plate which I have already promised to do.
I believe I was successful at this at some point in the past, I'll give it a shot. I'm travelling next week, so it won't be until the week after that.
Assignee: nobody → ted
I could never get the linaro repos to re-sync here. I'm told that dminor got this working, so perhaps this is FIXED?
Assignee: ted → nobody
I never got further than rebuilding a few libraries for 2.3.5, but I can take this on as a background task.
Assignee: nobody → dminor
Blocks: 869912
I had a good experience with building the 4.2.2_r1 AOSP, full_panda-eng on Ubuntu 12.04. I generated debug symbols and .img files just fine. However, instructions at device/ti/panda/README say to use fastboot to transfer the .img files to a Panda -- those instructions did not work for me or for :dminor and I have no idea how to transfer the .img files to sdcard otherwise.
You should be able to "make boottarball userdatatarball systemtarball", and then use mcote's script to write those to a pre-formatted SD card (I think the script takes care of the "preformatted" part):
http://hg.mozilla.org/build/mozpool/file/0a4ece54de25/scripts/flash-panda-sd.sh

You may have to tweak things a bit since it looks for B2G images, but they're the same thing.
That's great news - thanks! I hope to find time to get back to this soon.
Unassigning from me as I'm not actively working on this and it sounds like gbrown is making good progress.
Assignee: dminor → nobody
Blocks: 1042097
We are using Pandaboards less now -- no point in putting more effort into this.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.