tuna: Add and install init.partitions.rc

Change-Id: I49a54d1fdbec98396314cbb3eca06e979e53445e
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Add kernel parameters to BoardConfig

Change-Id: Ia688ad19ee3f474d33c09ab11d4fcfc7a305f340
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Set TARGET_BOOTLOADER_TYPE=fastboot

Set TARGET_BOOTLOADER_TYPE=fastboot so we can start using
ifeq ($(TARGET_BOOTLOADER_TYPE),fastboot)
to detect devices using fastboot --
ifeq ($(TARGET_BOOTLOADER_TYPE),uboot)
would break compatibility with our ICS builds (where uboot
is always the thing to use and TARGET_BOOTLOADER_TYPE is never
defined)

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
tuna: Build the kernel from source instead of relying on the prebuilt blob

Change-Id: Ia6f9df400b890ba1aa0a8f9c8130e0ef44368454
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Grab kernel from PRODUCT_OUT instead of in-source build

Change-Id: I331f3aca23c6f45a72ef6982800b752ad897f465
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Add script for merging blobs

The script merges the Linaro Android build with the blobs from the
Google firmware and the ClockworkMod Recovery.

Currently results in a working build, except:
- Google Apps aren't working yet (missing google account authentication)
- GPS doesn't work
- Needs more testing

Change-Id: If44d5d911204c9c9803c040c957aaa9e1b0ee7d1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
audio: Fix aliasing violation

Fix violation of aliasing rules

Change-Id: I79acda7fce5d8f476d89896ddf344a4001b6d256
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Don't try to copy Google Apps

Google Apps currently don't work if just copied off the binary image.

Change-Id: Iad64921e0a82344ed8079a35e7341bbe91d31dd3
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Give an additional warning before flashing the phone

Change-Id: I3d35751d2e34339ddfeafe233fb2c7562ea5a9ce
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Don't barf if fastboot or sudo aren't in PATH

Change-Id: Id562ca720220127d4b0d80f1116cb34253cdcfb0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Enable Gator build

Change-Id: Iacef926d9b9afc6a6a2af42107270df1c8ac7d3c
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Get blobs from 4.1.2 build

Change-Id: I568995fb9ea95375035bc2dfeb96ab220cb12a13
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
gnexus: Copy libsecril-client.so even when not copying Google Apps

libsecril-client.so is actually a client to the Samsung RIL,
unrelated to the Google Apps

Change-Id: If2193489175a08f6e002b681614abeeb30d5f160
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Allow adding the native toolchain to the build

Change-Id: I2fe491e1ff08561fb4e6d6aaf45ca7740b12c191
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Check out the correct branch of core/

Change-Id: Ic1e398953767c062dacf84c887d73032f130efad
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Get blobs from 4.2 release

Change-Id: Id9b4e5ef99f46dc7f5d5fff4c600988cdb3c350f
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Workaround for 4.2 simg2img move

Building simg2img from 4.2's system/extra tree isn't possible.
Use 4.1.2's simg2img for now
(Real fix will be to get 4.2's simg2img from its new location)

Change-Id: Ib141a512c919ff294f16953517a25947ce1f8319
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Drop 4.1.2 bits, build simg2img from its current location

Change-Id: Ida25af660b67563e80f2d3e985aa2e302da8ddb1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
tuna: Get blobs from 4.2.1

Get blobs from the 4.2.1 build, not the obsolete and no longer
available 4.2.0 build

Change-Id: I0c1a7cc00a73eed103d63f3f7d1ceecf8effa3d1
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
merge-gnexus-blobs: Update recovery, use 4.2.1 branch

Change-Id: Ifbe91ab0db25f10a28a02c7a05fd7effc20f53b4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>