[Nook Color Android Development] fattire:
Are you building?

So! Those of you following this thread in the past few days may have seen the news (and read our discussion) regarding the new 1.8 SGX drivers and binary blobs that came out a few days back.

What this means for encore is (1) some new stuff had to be built into the kernel, (2) legacy egl was turned off in the build, and (3) new binary blobs, provided by TI, are now needed to replace the old ones (these are files that go in vendor/bn/encore/proprietary).

So if you're building from source, and you want to try, and you're willing to risk chaos and confusion and destruction, here would be the instructions:

1. repo sync as per usual to get your code up-to-date.

2. cd ~/android/system/device/bn/encore and change branches to ics-test:

git checkout ics-test

You should be told (in so many words) that a different set of files are now here. A git repository can have different "branches". Each one is like a separate version of the project. So I branched from the original project to this one so we could test the new egl stuff without disturbing anyone who's still building on the original "ics" branch.

3. find a blank directory somewhere on your hard drive (not in ~/android/system, that is) and:

git clone git://gitorious.org/rowboat/hardware-ti-sgx.git

git checkout ti_sgx_sdk-ddk_1.8

The binaries are in /gfx_rel_es5.x_android. You only need to copy these files into vendor/bn/encore/proprietary (replacing existing files of the same name). It won't hurt to copy everything though, as the extras will be ignored.

pvrsrvctl

pvrsrvinit

libeglinfo.so

libgles1test1.so

libgles2test1.so

libglslcompiler.so

libIMGegl.so

libpvr2d.so

libpvrANDROID_WSEGL.so

libPVRScopeServices.so

libsrv_init.so

libsrv_um.so

libtestwrap.so

libusc.so

libEGL_POWERVR_SGX530_125.so

libGLESv1_CM_POWERVR_SGX530_125.so

libGLESv2_POWERVR_SGX530_125.so

gralloc.omap3.so

then do a make clobber and then build as usual.

(you can get rid of the hardware-ti-sgx project you just cloned. You only wanted it for those binary files above.)

If something goes wrong, sorry, but you assumed all responsibility for trying this. You can probably go back to whatever you had been using though. There is a new kernel involved here too, and source for that is here, in case you want to try building it as well.

You may not notice a difference right off, but some things that didn't work before, such as the "Air Attack HD Part 1", game now seem to play. Probably others as well. And you MAY get some better battery life (but you tell me).

Another note: In device/bn/BoardConfig.mk there is a line that goes like this:

# USE_OPENGL_RENDERER := true

The # at the beginning means that this line is commented out. We tried uncommenting it, and it worked but wasn't stable with occasional freezes every 15 minutes or so. Our theory is it's memory-related, but if you feel daring, you can try it as well and maybe someone can track down what the deal is there (and fix it).

Thanks to keyodi for his kerneliciousness.

As for YOU, dear reader, aren't you glad you learned/are learning to build from source?

Also, if you haven't seen it, from the nook tablet world-- some interesting things.