compilling and load ICS into pandaboard ES

124 views
Skip to first unread message

Chirag Shah

unread,
Mar 18, 2012, 12:12:27 AM3/18/12
to pandaboard
hi all,
I am trying to cross compile and load ICS into my pandaboard ES. I am
following steps from source.android.com but i never find a step to
load toolchain and set path of if. so i am curious how compilation
scripts will know which tool chain tobe used to compile source for my
pandaboard?

I am realy struglling with setting environment and compiling/loading
ICS into pandaboard. so i wanted to confirm that source.android.com is
missing steps to mention about it or i do not understand process
exactly?

is this the reliable link (source.android.com) to follow to setup and
load ICS into pandaboard if i am doing it for the first time?

Regards,
chirag shah

Chirag Shah

unread,
Mar 18, 2012, 12:13:35 AM3/18/12
to pandaboard

Joshi, Vikas

unread,
Mar 19, 2012, 12:07:07 AM3/19/12
to panda...@googlegroups.com
Those instructions build AOSP fs. You need the cross compiler if you are building the kernel from source.
On AOSP master there is a pre-built kernel. In any case look at: http://omappedia.org/wiki/Android_Panda_Build_Source

Vikas

Vladimir Olovyannikov

unread,
Mar 19, 2012, 12:52:22 PM3/19/12
to panda...@googlegroups.com
Hi VJ,
It seems that master AOSP branch is broken if you build under Ubuntu 10.04LTS 64 bit for now.
I am getting Error 127 building for Pandaboard ES as following:
host C: emulator <= external/qemu/android/main-emulator.c
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emulator.o] Error 127

Vladimir.

Chirag Shah

unread,
Mar 19, 2012, 7:13:06 PM3/19/12
to pandaboard
I am also getting the same error. Please let us know when its fixed. I
currently stuck at this point in my project.

Chirag

Joshi, Vikas

unread,
Mar 19, 2012, 10:59:36 PM3/19/12
to panda...@googlegroups.com

Did you follow instructions at: http://source.android.com/source/initializing.html for initializing the environment?

I built on 11.10 Ubuntu and did not see below error.

 

Vikas

Vladimir Olovyannikov

unread,
Mar 20, 2012, 1:01:06 AM3/20/12
to panda...@googlegroups.com
I followed those instructions to the letter.
Vikas, that's the point: I guess we both (Chirag and me) have Ubuntu 10.04LTS. And master branch cannot be built currently under it.
Thank you for confirmation regarding 11.10.

Vladimir.

Vladimir Pantelic

unread,
Mar 20, 2012, 4:55:05 AM3/20/12
to panda...@googlegroups.com
Vladimir Olovyannikov wrote:
> Hi VJ,
> It seems that master AOSP branch is broken if you build under Ubuntu 10.04LTS 64 bit for now.
> I am getting Error 127 building for Pandaboard ES as following:
> host C: emulator <= external/qemu/android/main-emulator.c
> prebuilts/tools/gcc-sdk/gcc: line 40:
> prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
> make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emulator.o] Error 127

You don't need qemu anyway to biuld the SW for the device,
simplest thing might be to just disable building it in the
appropriate Android.mk

> Vladimir.

yeah, me too :)

Chirag Shah

unread,
Mar 20, 2012, 11:16:09 AM3/20/12
to pandaboard
Hey Vladimir Olovyannikov,

We are not only the one who are pissed of from this error. look at
"http://groups.google.com/group/android-building/topics".

Hey VJ : On ubuntu 11.10 also i am getting same error.

Chirag Shah

unread,
Mar 20, 2012, 11:16:59 AM3/20/12
to pandaboard

Joshi, Vikas

unread,
Mar 20, 2012, 11:05:26 PM3/20/12
to panda...@googlegroups.com
You are using 11.10 64 bit or 11.10 32 bit?
Mine is 64 bit.

Vikas

Vladimir Olovyannikov

unread,
Mar 21, 2012, 5:04:01 PM3/21/12
to panda...@googlegroups.com
Thanks Vladimir,

I disabled qemu build, and got ICS build. However, after I "flashed" the images onto the SD card and rebooted, I could only pass to iridescent Android logo; zygote never started, though there are no errors. Also the shell is not available, so there is no logcat; Android logo stays sparkling forever. I am playing with Pandaboard ES Rev. B1. So far I found only one repo which I built and which works fine on my board, and it is not from the googlesource, but a clone from bitbucket; with that repo I got working WiFi and Ethernet, so I'm pretty happy, but would like to have AOSP master running on the board. Any idea what could be wrong?

Thanks,
Vladimir.

Joshi, Vikas

unread,
Mar 21, 2012, 11:06:39 PM3/21/12
to panda...@googlegroups.com

I got a word from someone who tried AOSP master and he says AOSP master is fixed as of 12 hrs ago. I am going to download and give it a try.

I will let you know if I successfully boot it up.

 

Vikas

Chirag Shah

unread,
Mar 22, 2012, 12:37:50 AM3/22/12
to pandaboard
Hi I have given git reset command in qemu and tools folder of
prebuilds, i was able to build android successfully.

But when i was following steps from devices/ti/panda/README,
===========================================================
i am getting following error while giving command
COMMAND : "sudo out/host/linux-x86/bin/fastboot -p panda flash
userdata"
ERROR MESSAGE: "error : cannot load <path to android
source>/ ........ /userdata.img"
============================================================

Before executing this command i have given following commands and all
applies successfully.
# do not insert SD card, reboot the board
sudo device/ti/panda/usbboot device/ti/panda/bootloader.bin
# now insert the SD card
sudo out/host/linux-x86/bin/fastboot oem format
sudo out/host/linux-x86/bin/fastboot flash xloader device/ti/panda/
xloader.bin
sudo out/host/linux-x86/bin/fastboot flash bootloader device/ti/panda/
bootloader.bin
# reboot the board to fastboot mode again(hold user button, then
toggle power button)
sudo out/host/linux-x86/bin/fastboot erase cache

What could be the reason of this error ?
(1) Whether my android not compiled successfully or
(2) xloader.bin/bootloader.bin are not correct for pandaboard ES ?
(3) Another observation is that when i load bootloader.bin through
usbboot, it detects OMAP4440 device instead pandaboard ES has OMAP4460.

shubh

unread,
Apr 5, 2012, 3:58:04 AM4/5/12
to pandaboard
Hi Vikas, could u tell me what are the changes you made for make wifi
work, I am trying to on Panda 4430 with ICS source.

let me know if u have any suggestion.

thanks
On Mar 22, 8:06 am, "Joshi, Vikas" <v-jos...@ti.com> wrote:
> I got a word from someone who tried AOSP master and he says AOSP master is fixed as of 12 hrs ago. I am going to download and give it a try.
> I will let you know if I successfully boot it up.
>
> Vikas
>
> From: panda...@googlegroups.com [mailto:panda...@googlegroups.com] On Behalf Of Vladimir Olovyannikov
> Sent: Thursday, March 22, 2012 2:34 AM
> To: panda...@googlegroups.com
> Subject: Re: [pandaboard] compilling and load ICS into pandaboard ES
>
> Thanks Vladimir,
>
> I disabled qemu build, and got ICS build. However, after I "flashed" the images onto the SD card and rebooted, I could only pass to iridescent Android logo; zygote never started, though there are no errors. Also the shell is not available, so there is no logcat; Android logo stays sparkling forever. I am playing with Pandaboard ES Rev. B1. So far I found only one repo which I built and which works fine on my board, and it is not from the googlesource, but a clone from bitbucket; with that repo I got working WiFi and Ethernet, so I'm pretty happy, but would like to have AOSP master running on the board. Any idea what could be wrong?
>
> Thanks,
> Vladimir.
>
> On Tuesday, 20 March 2012 01:55:05 UTC-7, Vladimir Pantelic wrote:
> Vladimir Olovyannikov wrote:
> > Hi VJ,
> > It seems that master AOSP branch is broken if you build under Ubuntu 10.04LTS 64 bit for now.
> > I am getting Error 127 building for Pandaboard ES as following:
> > host C: emulator <= external/qemu/android/main-emulator.c
> > prebuilts/tools/gcc-sdk/gcc: line 40:
> > prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bi n/i686-linux-gcc: No such file or directory
> > make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emu lator.o] Error 127
Reply all
Reply to author
Forward
0 new messages