1. Follow below steps to download all required sources: a) Create the workspace in home directory: $ mkdir ~/panda_work $ export PANDA_WORK=~/panda_work $ mkdir ~/panda_work/android $ export ANDROID_ROOT=~/panda_work/android b) Download the android4.4, it may take some time: $ cd $ANDROID_ROOT $ export MANIFEST_REPO=https://android.googlesource.com/platform/manifest $ export MANIFEST_BRANCH=android-4.4.2_r1 $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo $ chmod a+x repo $ ./repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} $ ./repo sync -f -j4 c) Download the Binaries for PandaBoard: $ cd $ANDROID_ROOT $ wget https://dl.google.com/dl/android/aosp/imgtec-panda-20130603-539d1ac3.tgz $ tar zxvf imgtec-panda-20130603-539d1ac3.tgz $ ./extract-imgtec-panda.sh d) Add support of PandaBoard in downloaded android 4.4 sources: $ cd $ANDROID_ROOT $ git clone https://github.com/sola-dolphin1/sola_device_ti_panda.git -b kitkat device/ti/panda e) Download the tool-chain for compiling x-loader, u-boot and kernel: $ cd $PANDA_WORK $ git clone https://android.googlesource.com/platform/prebuilt $ export ARCH=arm $ export CROSS_COMPILE=$PWD/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- f) Download the X-loader : $ cd $PANDA_WORK $ git clone git://git.omapzoom.org/repo/x-loader.git $ cd x-loader $ git checkout -b omap4_dev origin/omap4_dev g) Download the U-boot: $ cd $PANDA_WORK $ git clone git://git.omapzoom.org/repo/u-boot.git $ cd u-boot $ git checkout -b omap4_dev origin/omap4_dev h) Download the Kernel: $ cd $PANDA_WORK $ git clone https://android.googlesource.com/kernel/omap.git kernel $ cd kernel $ git checkout -b android-omap-panda-3.0 origin/android-omap-panda-3.0 2. Apply required patches (attached in mail): a) Apply patch in U-boot $ cd u-boot $ git apply 0001-change-bootarges.patch b) Apply Kernel patch: $ cd $PANDA_WORK $ cd kernel $ git apply 0001-panda-jb4.2_kernel.patch 3. Compile the sources: a) Compile X-loader: $ cd x-loader $ make omap4430panda_config $ make ift $ cp -a MLO $ANDROID_ROOT/device/ti/panda/xloader.bin b) Compile U-boot: $ cd u-boot $ make omap4430panda_config $ make $ cp -a u-boot.bin $ANDROID_ROOT/device/ti/panda/bootloader.bin c) Compile Kernel: $ cd $PANDA_WORK $ cd kernel $ make panda_defconfig $ make $ cp -a arch/arm/boot/zImage $ANDROID_ROOT/device/ti/panda/kernel d) Compile Android: $ cd $ANDROID_ROOT $ source build/envsetup.sh $ lunch aosp_panda-userdebug $ make -j4 4. Now flash the images to Panda-board SD card: A) Flashing with Fastboot PS : If flashing for first time Make a partition fat32 and copy xloader.bin and bootloader.bin/u-boot.bin to it and boot the board. Connect USB to board and follow below given steps after board prompts "Fastboot mode is entered ..." i) sudo ./out/host/linux-x86/bin/fastboot oem format ii) sudo ./out/host/linux-x86/bin/fastboot flash xloader ./device/ti/panda/xloader.bin iii) sudo ./out/host/linux-x86/bin/fastboot flash bootloader ./device/ti/panda/bootloader.bin iv) sudo ./out/host/linux-x86/bin/fastboot flash boot ./out/target/product/panda/boot.img v) sudo ./out/host/linux-x86/bin/fastboot flash system ./out/target/product/panda/system.img vi) sudo ./out/host/linux-x86/bin/fastboot flash cache ./out/target/product/panda/cache.img vii) sudo ./out/host/linux-x86/bin/fastboot flash userdata ./out/target/product/panda/userdata.img viii) sudo ./out/host/linux-x86/bin/fastboot reboot B) Format the SD card with script present in /device/ti/panda sudo ./mksdcard_pandaboard.sh /dev/sdX $ANDROID_ROOT