[PATCH] snowball: android: mali: Add Streamline Support for Mali DDK

Jon Medhurst (Tixy) tixy at linaro.org
Wed Mar 14 12:33:32 UTC 2012


On Wed, 2012-03-14 at 08:56 +0000, Jon Medhurst (Tixy) wrote:
> On Wed, 2012-03-14 at 06:09 +0100, Thomas ESPERSSON wrote:
> > The Snowball tacking build failed yesterday:
> > https://android-build.linaro.org/jenkins/job/linaro-android_snowball-ics-gcc46-igloo-tracking-blob/
> > 
> > The error seems to be related to MALI and Gator,
> > 
> > 1 /mnt/jenkins/workspace/linaro-android_snowball-ics-gcc46-igloo-tracking-blob/build/external/gator/driver/gator_events_mali.c:15:36: fatal error: linux/mali_linux_trace.h: No such file or directoryIn file included from /mnt/jenkins/workspace/linaro-android_snowball-ics-gcc46-igloo-tracking-blob/build/bionic/libc/include/stdlib.h:42:0,
> > 
> > 2 make[3]: *** [/mnt/jenkins/workspace/linaro-android_snowball-ics-gcc46-igloo-tracking-blob/build/external/gator/driver/gator_events_mali.o] Error 1
> > 
> > 3 make[2]: *** [_module_/mnt/jenkins/workspace/linaro-android_snowball-ics-gcc46-igloo-tracking-blob/build/external/gator/driver] Error 2
> > 
> > 
> > 
> > is this caused by the kernel patch that was added yesterday? Are there any user space changes needed as well for Android? Please try to fix this asap.
> 
> Yes, that looks like my fault, sorry. I am looking at this now...
> 

The build error was caused by a makefile hack in Gator which was done
for Ubuntu, reverting this in the Android branch fixes the build: 
http://git.linaro.org/gitweb?p=arm/ds5/gator.git;a=commit;h=be919cae567218759122a0ba95e3c92a04f7a3dc

The reason I didn't detect this in my testing is that I had Snowball
configured locally to build Mali support into Gator using the clean
Android way. This config change is now pending in Gerrit, see: 
http://review.android.git.linaro.org/#change,1588 (This is not required
for a clean build, only to include the new Mali support into Gator.)

I have successfully built tracking Snowball locally but this crashes
early in boot with:

  kernel BUG at /data/src/android/kernel/lib/ioremap.c:27!

This fault also occurs if I rebuild the kernel without the Mali driver
changes I submitted.

I tried kicking off a new Snowball tracking build but it doesn't seem to
respond when I click the 'build now' button.
 
-- 
Tixy



More information about the kernel mailing list