AOSP Master on PandaBoard

1,746 views
Skip to first unread message

VJ

unread,
Mar 21, 2012, 12:17:57 AM3/21/12
to Android Building
I just pulled AOSP master branch code, compiled on Ubuntu 11.10 64 bit
and trying to boot it up on PandaBoard.
It just does not boot up. I get the android splash screen and in the
serial terminal get below messages. Has anybody tried recently (this
week) to build AOSP master and boot up on Panda?

Vikas

[ 7.655548] PVR: Installing device LISR SGX ISR on IRQ 53 with
cookie ee496f00
[ 7.666442] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from
f0b20000
[ 7.677734] PVR: SysFinalise: Version string: SGX revision = 1.2.0
[ 7.778900] sr_class1p5_calib_work: mpu: Calibration complete:
Voltage Nominal=1200000 0
[ 7.817932] (stk) : timed out waiting for ldisc to be un-installed
[ 7.935211] (stk) :ldisc_install = 1
[ 9.104278] (stk) :ldisc installation timeout
[ 9.109619] (stk) :ldisc_install = 0
[ 10.178375] misc dsscomp: [ed803800] ignoring set failure -22
[ 10.274658] (stk) : timed out waiting for ldisc to be un-installed
[ 10.407806] (stk) :ldisc_install = 1
[ 11.567993] (stk) :ldisc installation timeout
[ 11.570373] (stk) :ldisc_install = 0
[ 12.737792] (stk) : timed out waiting for ldisc to be un-installed
[ 12.851623] (stk) :ldisc_install = 1
[ 14.009948] (stk) :ldisc installation timeout
[ 14.016052] (stk) :ldisc_install = 0
[ 15.185089] (stk) : timed out waiting for ldisc to be un-installed
[ 15.302246] (stk) :ldisc_install = 1
[ 16.451263] (stk) :ldisc installation timeout
[ 16.455566] (stk) :ldisc_install = 0
[ 17.618225] (stk) : timed out waiting for ldisc to be un-installed
[ 17.630584] Bluetooth: st_register failed -22
[ 20.308502] alarm_set_rtc: no RTC, time will be lost on reboot
[ 64.369018] usb 1-1.3: USB disconnect, device number 5
[ 65.894104] usb 1-1.3: new low speed USB device number 6 using ehci-
omap
[ 66.025878] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 66.034057] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 66.042694] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 66.048339] usb 1-1.3: Manufacturer: PIXART
[ 66.059570] input: PIXART USB OPTICAL MOUSE as /devices/platform/
omap/usbhs_omap/ehci-o4
[ 66.074249] generic-usb 0003:093A:2510.0004: input: USB HID v1.11
Mouse [PIXART USB OPT0



[ 126.063751] usb 1-1.3: USB disconnect, device number 6
[ 127.589355] usb 1-1.3: new low speed USB device number 7 using ehci-
omap
[ 127.716094] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 127.724334] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 127.733032] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 127.738494] usb 1-1.3: Manufacturer: PIXART
[ 127.753509] input: PIXART USB OPTICAL MOUSE as /devices/platform/
omap/usbhs_omap/ehci-o5
[ 127.768768] generic-usb 0003:093A:2510.0005: input: USB HID v1.11
Mouse [PIXART USB OPT0
[ 187.758056] usb 1-1.3: USB disconnect, device number 7
[ 189.282012] usb 1-1.3: new low speed USB device number 8 using ehci-
omap
[ 189.414001] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 189.421875] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 189.430694] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 189.436187] usb 1-1.3: Manufacturer: PIXART
[ 189.452178] input: PIXART USB OPTICAL MOUSE as /devices/platform/
omap/usbhs_omap/ehci-o6
[ 189.469696] generic-usb 0003:093A:2510.0006: input: USB HID v1.11
Mouse [PIXART USB OPT0
[ 249.452850] usb 1-1.3: USB disconnect, device number 8
[ 250.974761] usb 1-1.3: new low speed USB device number 9 using ehci-
omap
[ 251.103942] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 251.111907] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 251.120727] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 251.126220] usb 1-1.3: Manufacturer: PIXART
[ 251.141082] input: PIXART USB OPTICAL MOUSE as /devices/platform/
omap/usbhs_omap/ehci-o7
[ 251.156982] generic-usb 0003:093A:2510.0007: input: USB HID v1.11
Mouse [PIXART USB OPT0
[ 311.147460] usb 1-1.3: USB disconnect, device number 9
[ 312.675292] usb 1-1.3: new low speed USB device number 10 using
ehci-omap
[ 312.804382] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 312.812377] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 312.821563] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 312.827331] usb 1-1.3: Manufacturer: PIXART
[ 312.843170] input: PIXART USB OPTICAL MOUSE as /devices/platform/
omap/usbhs_omap/ehci-o8
[ 312.858093] generic-usb 0003:093A:2510.0008: input: USB HID v1.11
Mouse [PIXART USB OPT0
[ 372.842071] usb 1-1.3: USB disconnect, device number 10
[ 374.357543] usb 1-1.3: new low speed USB device number 11 using
ehci-omap
[ 374.486846] usb 1-1.3: New USB device found, idVendor=093a,
idProduct=2510
[ 374.494995] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 374.503540] usb 1-1.3: Product: USB OPTICAL MOUSE

Julien Bonjean

unread,
Mar 21, 2012, 10:32:24 AM3/21/12
to android-...@googlegroups.com
Hi,

I can confirm this, I tried AOSP master last week on my Pandaboard and
had the same result.

Regards,

Julien


--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

Martin Siegumfeldt

unread,
Mar 21, 2012, 5:24:27 PM3/21/12
to android-...@googlegroups.com
I am currently blocked by potentially the same issue - the starup process basically stalls when dexopt'int the Settings. It is compiled through Ubuntu 10.10 64 bit.

On Wednesday, March 21, 2012 3:32:24 PM UTC+1, Julien Bonjean wrote:
Hi,
ntu
To post to this group, send email to android-building@googlegroups.com

To unsubscribe from this group, send email to

Steve Toh

unread,
Mar 22, 2012, 4:37:10 PM3/22/12
to android-...@googlegroups.com
I can also confirm the dexopt issue as well, it gets stuck here:
I/SystemServer(  148): Account Manager
D/PackageManager(  148): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
I/SystemServer(  148): Content Manager
D/PackageManager(  148): generateServicesMap(android.content.SyncAdapter): 4 services unchanged
I/ActivityThread(  148): Pub settings: com.android.providers.settings.SettingsProvider
I/SystemServer(  148): System Content Providers
D/dalvikvm(  148): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm(  148): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@app@SettingsPr...@classes.dex)
D/dalvikvm(  148): DexOpt: --- BEGIN 'SettingsProvider.apk' (bootstrap=0) ---

Tomasz Gucio

unread,
Mar 26, 2012, 12:50:10 PM3/26/12
to Android Building
Same problem here on PandaBoard ES. repo sync'ed today, built with Img
Tec binaries (ML74K) and it gets stuck in this very place.

Steve Toh

unread,
Mar 26, 2012, 1:38:11 PM3/26/12
to android-...@googlegroups.com
This isn't proper git/repo usage, but here's what you can do to get a working master build again.

Go to your base aosp directory and run:
repo forall -c "git checkout \`git rev-list -n 1 --before='2012-03-07 12:00' aosp/master\`"

Tomasz Gucio

unread,
Mar 26, 2012, 2:02:33 PM3/26/12
to Android Building
Thanks Steve - will give it a try tomorrow.

By the way - I just tried the ENG build and it works just fine. (The
one failing was userdebug.) Something dexopt-related then?


Best,
Tomek

Tomasz Gucio

unread,
Mar 27, 2012, 11:04:09 AM3/27/12
to Android Building
Ok, the pre- 7th March revision works like a charm.

Thanks again Steve.


Cheers,
Tomek

Jean-Baptiste Queru

unread,
Mar 27, 2012, 11:06:44 AM3/27/12
to android-...@googlegroups.com
The fix was submitted yesterday, so the head should now work fine as well.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.

> To post to this group, send email to android-...@googlegroups.com


> To unsubscribe from this group, send email to

> android-buildi...@googlegroups.com


> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

earlmit

unread,
Mar 27, 2012, 5:13:32 PM3/27/12
to Android Building
I just downloaded AOSP yesterday and built for panda and it worked but
there are couple caveats
regarding instructions provided in device/ti/panda/README. In my case
I had to add 'sudo' for
all the fastboot commands and for the last two I had to use '-p
panda', otherwise I would get error
about some environment environment variable not being set. Even if I
set the variable it was still
ignored.

So below is summary of exactly what I did (with my mods) derived from
instructions originally provided by:
http://source.android.com/source/downloading.html
http://source.android.com/source/building-devices.html
and device/ti/panda/README in the source tree

# download AOSP source and build on ubuntu host

% curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/
repo
% chmod a+x ~/bin/repo
% mkdir -p ~/panda/aosp
% cd ~/panda/aosp
% repo init -u https://android.googlesource.com/platform/manifest
% repo sync
% source build/envsetup.sh
# target = full build running on panda + development configuration
with additional debugging tools
% lunch full_panda-eng
% time make -j8

# download/install proprietary (binary only) driver for panda GPU
# Note: The file extract-imgtec-panda.sh is actually an executable
# not a shell script. It will ask you to confirm license
agreement
# before unpacking files.

% cd ~/panda/aosp
# see http://code.google.com/android/nexus/drivers.html#panda
% wget https://dl.google.com/dl/android/aosp/imgtec-panda-iml74k-cfb7bdad.tgz
% tar xvfz imgtec-panda-iml74k-cfb7bdad.tgz
% chmod 777 extract-imgtec-panda.sh
% ./extract-imgtec-panda.sh

# make sure fastboot has been built

% source build/envsetup.sh
% lunch full_panda-eng
% make fastboot

# setup your panda board as follows:
# remove SD card
# connect panda serial port to ubuntu host (i.e. minicom)
# conncet panda mini-usb port to ubuntu host via usb
# connect panda power cable
# (optional) connect HDMI cable to display monitor
# (optional) connect ethernet
# (optional) connect USB mouse

# download bootloader (that supports fastboot protocol) into panda's
RAM using USB

% sudo device/ti/panda/usbboot device/ti/panda/bootloader.bin

# should see entering fastboot message in minicom
# now insert SD card into panda
# run fastboot on host to remotely update panda's SD card
# Note: I had to add 'sudo' or fastboot commands would not work

% cd ~/panda/aosp
% 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

# run make again to update SD images with drivers you downloaded

% source build/envsetup.sh
% lunch full_panda-eng
% make

# write contents to panda's SD card
# Note: If you don't use -p option commands fail the env variable is
ignore

% sudo ./out/host/linux-x86/bin/fastboot erase cache
% sudo ./out/host/linux-x86/bin/fastboot -p panda flash userdata
% sudo ./out/host/linux-x86/bin/fastboot -p panda flashall

# configure time/date and dhcp on panda

% sudo ./out/host/linux-x86/bin/adb shell date $(date +%s)
% sudo ./out/host/linux-x86/bin/adb shell dhcpcd eth0

# should see ICS running on monitor (move mouse around to active
screen)

This was for pandaboard. I haven't tried pandaboard-es yet.

-earlm

Tomasz Gucio

unread,
Mar 28, 2012, 10:49:34 AM3/28/12
to Android Building
Indeed - just built today's master branch and it works flawlessly.

Many thanks for the quick answers.


Best,
Tomek

Jean-Baptiste Queru

unread,
Jun 19, 2012, 10:03:23 AM6/19/12
to android-...@googlegroups.com
"repo init -b master ; repo sync"

JBQ

On Mon, Jun 18, 2012 at 8:46 PM, Johannes Grad <johann...@gmail.com> wrote:
> I just needed to do the same thing, I was trying to get 4.0.3 from December
> for the Pandaboard.
> Since Pandaboard is only supported in the main branch, checking out the
> 4.0.3 branch doesn't appear to be an option.
>
> So is there a "proper" way to do this in repo?
> Or is this the best option?
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Jean-Baptiste Queru

unread,
Jun 19, 2012, 11:01:33 AM6/19/12
to android-...@googlegroups.com
There's no way to do that.

JBQ

On Tue, Jun 19, 2012 at 7:59 AM, Johannes Grad <johann...@gmail.com> wrote:
> Yes, but how would I go back in time to an earlier version?
>
> In this thread people were trying to get back to the March 7 version.
> And I wanted to get back to the December 21 version.
>
> Does repo have an option for that?
> Or do people simply use repo forall to call git directly, as Steve showed?
Reply all
Reply to author
Forward
0 new messages