4.0.3 based builds for all boards are done:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/ https://android-build.linaro.org/builds/~berolinux/tracking-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-vexpress-a9-4.0.3... https://android-build.linaro.org/builds/~berolinux/staging-origen-4.0.3/
ttyl bero
:)
Thanks Bero.
Testing...
2011/12/18 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
4.0.3 based builds for all boards are done:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/ https://android-build.linaro.org/builds/~berolinux/tracking-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-vexpress-a9-4.0.3... https://android-build.linaro.org/builds/~berolinux/staging-origen-4.0.3/
ttyl bero
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
2011/12/18 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
4.0.3 based builds for all boards are done:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/
This one (landing-panda-4.0.3) blows up pretty good. Attached the log. Programmed with:
<download images from https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil...
bzr branch lp:linaro-image-tools ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2
wget http://people.linaro.org/~vishalbhoj/install-binaries.sh chmod a+x install-binaries.sh ./install-binaries.sh /dev/sdc2 "device node of system partition"
This is probably relevant:
[ 9.372253] WARNING: at drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c:875 ProcessFlip+0x344/0x3a4() [ 9.391174] invalid size of private data (636 vs 616)
https://android-build.linaro.org/builds/~berolinux/staging-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/ https://android-build.linaro.org/builds/~berolinux/tracking-panda-4.0.3/ https://android-build.linaro.org/builds/~berolinux/staging-vexpress-a9-4.0.3... https://android-build.linaro.org/builds/~berolinux/staging-origen-4.0.3/
ttyl bero
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
On 18 December 2011 17:59, Zach Pfeffer zach.pfeffer@linaro.org wrote:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil...
[ 9.372253] WARNING: at drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c:875 ProcessFlip+0x344/0x3a4() [ 9.391174] invalid size of private data (636 vs 616)
That's an indication of some userland code (probably the binary blob) being built against the wrong kernel headers...
ProcessFlipV2(), defined in drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c takes in its parameters (among other things) a pointer to a dsscomp_setup_dispc_data data structure, and the size of that structure.
If the size is anything other than sizeof(dsscomp_setup_dispc_data), it produces this error.
So whatever calls ProcessFlipV2() disagrees with the kernel on just what a dsscomp_setup_dispc_data structure should contain.
ttyl bero
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
So whatever calls ProcessFlipV2() disagrees with the kernel on just what a dsscomp_setup_dispc_data structure should contain.
Just checked, the problem is that the kernel's idea of a dss2_ovl_info struct is different from bionic's. Very different, even.
The problem is the rather stupid idea of including a set of kernel headers (external/kernel-headers/original/) inside AOSP instead of getting the kernel headers from the kernel, where they ought to be. I think the best way to fix it is to put the correct kernel headers in place and add an invocation of bionic/libc/kernel/tools/update_all.py to the build process.
Will check if that's doable without too much effort.
ttyl bero
Here's the current score card:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil... - blows up, 4430 https://android-build.linaro.org/builds/~berolinux/staging-panda-4.0.3/#buil... - works, 4430 https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/#b... - in testing https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/#buil... - no display https://android-build.linaro.org/builds/~berolinux/staging-origen-4.0.3/#bui... - works and is accelerated https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/#b... - fails no landing-snowball
-Zach
2011/12/18 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
So whatever calls ProcessFlipV2() disagrees with the kernel on just what a dsscomp_setup_dispc_data structure should contain.
Just checked, the problem is that the kernel's idea of a dss2_ovl_info struct is different from bionic's. Very different, even.
The problem is the rather stupid idea of including a set of kernel headers (external/kernel-headers/original/) inside AOSP instead of getting the kernel headers from the kernel, where they ought to be. I think the best way to fix it is to put the correct kernel headers in place and add an invocation of bionic/libc/kernel/tools/update_all.py to the build process.
Will check if that's doable without too much effort.
ttyl bero
2011/12/19 Zach Pfeffer zach.pfeffer@linaro.org:
Here's the current score card:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil...
- blows up, 4430
The reason is that the kernel and userland disagree about the size and content of the dss2_ovl_info. The problem's core is that Bionic grabs prepackaged kernel headers instead of using those from the actual kernel being used, but the fix for that (replacing them with proper kernel headers) causes stuff not to build because it's missing some headers, and the quickfix (just copying over the file defining dss2_ovl_info, video/dsscomp.h) breaks the build because the kernel's dsscomp.h doesn't define DSSCIOC_QUERY_DISPLAY, but hardware/ti/omap4xxx/hwc/hwc.c:1924 tries to make use of that.
Another possible fix is reverting the commit in external/kernel-headers that changed dss2_ovl_info (commit ID 305d9b714eb73c10465abdade0061eee3bdb76ef and its followup 7c04a2b599c5c989bb1aaf24905f71ae0ab4e9e5), but chances are that will compile, but break at runtime (because DSSCIOC_QUERY_DISPLAY is defined and used in omap4xxx/hwc/hwc.c, but the kernel has no idea what to do with it). But it's worth a try, will start a build.
https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/#buil...
- no display
Probably not 4.0.3 related https://bugs.launchpad.net/linaro-android/+bug/906245
This is probably the same thing I've seen last night, but that went away after rebooting. I guess we have some odd random failure here (timing issue?). Seems to happen all the time on Botao's box though (his has a HDMI extension, that may or may not be related. Apparently 11.11 works though, and there hasn't been any kernel change on iMX53 since 11.11.
https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/#b...
- fails
Any idea why?
no landing-snowball
I overlooked that one, building right now
ttyl bero
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
2011/12/19 Zach Pfeffer zach.pfeffer@linaro.org:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil...
Another possible fix is reverting the commit in external/kernel-headers that changed dss2_ovl_info (commit ID 305d9b714eb73c10465abdade0061eee3bdb76ef and its followup 7c04a2b599c5c989bb1aaf24905f71ae0ab4e9e5), but chances are that will compile, but break at runtime (because DSSCIOC_QUERY_DISPLAY is defined and used in omap4xxx/hwc/hwc.c, but the kernel has no idea what to do with it).
Just checked, looks like the IOCTLs were renamed, DSSCOMP_* IOCTLs were renamed to DSSCIOC_* in the version of the kernel headers Android expects to find.
I've added a rename, currently building again.
ttyl bero
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org
2011/12/19 Zach Pfeffer zach.pfeffer@linaro.org:
Here's the current score card:
https://android-build.linaro.org/builds/~berolinux/landing-panda-4.0.3/#buil...
- blows up, 4430
The reason is that the kernel and userland disagree about the size and
content of the dss2_ovl_info. The problem's core is that Bionic grabs prepackaged kernel headers instead of using those from the actual kernel being used, but the fix for that (replacing them with proper kernel headers) causes stuff not to build because it's missing some headers, and the quickfix (just copying over the file defining dss2_ovl_info, video/dsscomp.h) breaks the build because the kernel's dsscomp.h doesn't define DSSCIOC_QUERY_DISPLAY, but hardware/ti/omap4xxx/hwc/hwc.c:1924 tries to make use of that.
Another possible fix is reverting the commit in external/kernel-headers that changed dss2_ovl_info (commit ID 305d9b714eb73c10465abdade0061eee3bdb76ef and its followup 7c04a2b599c5c989bb1aaf24905f71ae0ab4e9e5), but chances are that will compile, but break at runtime (because DSSCIOC_QUERY_DISPLAY is defined and used in omap4xxx/hwc/hwc.c, but the kernel has no idea what to do with it). But it's worth a try, will start a build.
Reverting the last 2commits on the kernel may get it back to the working
stage with graphics binaries for master from http://code.google.com/android/nexus/drivers.html#panda, but the reason for failure here is that we are using older proprietary binaries thruough "install-binaries.sh" script. I tried with 4.0.3http://code.google.com/android/nexus/drivers.html#pandagraphics binaries for panda but it is still failing.
My guess is that the kernel source is not yet updated using which we(device/linaro/pandaboard based builds) do our builds whereas aosp device/ti/panda configuration uses only the kernel binary (seems to have update the bianary here http://android.git.linaro.org/gitweb?p=device/ti/panda.git%3Ba=summary).
https://android-build.linaro.org/builds/~berolinux/staging-imx53-4.0.3/#buil...
- no display
Probably not 4.0.3 related https://bugs.launchpad.net/linaro-android/+bug/906245
This is probably the same thing I've seen last night, but that went away after rebooting. I guess we have some odd random failure here (timing issue?). Seems to happen all the time on Botao's box though (his has a HDMI extension, that may or may not be related. Apparently 11.11 works though, and there hasn't been any kernel change on iMX53 since 11.11.
https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/#b...
- fails
Any idea why?
no landing-snowball
I overlooked that one, building right now
ttyl bero
2011/12/19 Vishal Bhoj vishal.bhoj@linaro.org:
My guess is that the kernel source is not yet updated using which we(device/linaro/pandaboard based builds) do our builds whereas aosp device/ti/panda configuration uses only the kernel binary (seems to have update the bianary here http://android.git.linaro.org/gitweb?p=device/ti/panda.git%3Ba=summary).
Yes, looks like they're back into "let's release binaries and not bother about sources" mode :/
On a more positive note, the source of the kernel bits matching what they package as kernel-headers seems to exist in the android-omap-3.0 branch (just not android-omap-panda-3.0), so it may be easy to fix... Will give it a try.
ttyl bero
staging-snowball 4.0.3 build https://android-build.linaro.org/builds/~berolinux/staging-snowball-4.0.3/fa... to boot. linaro_android_4.0.3 branch device/linaro/snowball doesn't seem to be at linaro_android_4.0.1 . Running one more build now with the branch being updated to the tip.
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org
2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
So whatever calls ProcessFlipV2() disagrees with the kernel on just what a dsscomp_setup_dispc_data structure should contain.
Just checked, the problem is that the kernel's idea of a dss2_ovl_info struct is different from bionic's. Very different, even.
The problem is the rather stupid idea of including a set of kernel headers (external/kernel-headers/original/) inside AOSP instead of getting the kernel headers from the kernel, where they ought to be. I think the best way to fix it is to put the correct kernel headers in place and add an invocation of bionic/libc/kernel/tools/update_all.py to the build process.
Will check if that's doable without too much effort.
ttyl bero
2011/12/18 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
https://android-build.linaro.org/builds/~berolinux/staging-panda-4.0.3/
This one works about as well as the latest 4.0.1 build
linaro-android@lists.linaro.org