Beagle Android Build released

Hi All,

In continuation to our efforts, for Android port on Beagle, we are
pleased to release Beagle-Android build.

Our Goal is to have stable customized Android build for Beagle Board.
We will try to add features and make sure Android works on Beagle Board
out of Box.

Here are steps to sync Beagle-Android build over repo:-

1. mkdir beagledroid
2. cd beagledroid
3. repo init -u
git://labs.embinux.org/repo/android/platform/beaglemanifest.git/
4. repo sync
5. make

Beagle Kernel with Android patches is located in kernel directory.

Enjoy Androing ...

Regards,

Taa Daa!

Mine Works (tm)

- dan

Hi Rupesh,

Thanks for creating a git for repository for the Beagle port:) I was
able to create a working image. However, the Music app does not
work. Is audio still broken?

Cheers,
Jay

Jay,

Regards, JayBird wrote:

I am trying to compile the repository, however, it bails out with an
error about sun java. I actually did install the JDK, but that didn't
solve the problem. It seems like a malformed comment field. I am using
Ubuntu 9.04.

Regards, Eelco

Eelco,

Are you able to compile original Android build from http://source.android.com successfully ?

Regards,
Rupesh Gujare

Shouldnt this be pinned?

Rupesh Gujare schrieb:

Hi All,

In continuation to our efforts, for Android port on Beagle, we are
pleased to release Beagle-Android build.

Our Goal is to have stable customized Android build for Beagle Board.
We will try to add features and make sure Android works on Beagle Board
out of Box.

Here are steps to sync Beagle-Android build over repo:-

1. mkdir beagledroid
2. cd beagledroid
3. repo init -u
git://labs.embinux.org/repo/android/platform/beaglemanifest.git/
4. repo sync
5. make

Beagle Kernel with Android patches is located in kernel directory.

I gave it a try and this kernel doesn't give me any output via DVI. According to the serial console output it seems to be booting fine., though.

Replacing the kernel with the one included in the older binary release from http://www.embinux.com/download_beagle.php works.

Besides that, how do you shut down the system. The documentation says something about the left windows key, but that seems to be doing nothing.

The applications run pretty unstable (that's with the old release as well), especially the keyboard application crashes often. Is this expected behaviour for the current state of the release or could there be something wrong with my setup (B6 with keyboard via hub at USB OTG in host mode)?

/Björn

Björn,

I gave it a try and this kernel doesn't give me any output via DVI.
According to the serial console output it seems to be booting fine., though.

Replacing the kernel with the one included in the older binary release
from http://www.embinux.com/download_beagle.php works.

I will look into this issue, looks like something is missing from omapfb
driver.

Besides that, how do you shut down the system. The documentation says
something about the left windows key, but that seems to be doing nothing.
  

I issue reboot command from serial console output. ( a dirty way to
bring down system )

The applications run pretty unstable (that's with the old release as
well), especially the keyboard application crashes often. Is this
expected behaviour for the current state of the release or could there
be something wrong with my setup (B6 with keyboard via hub at USB OTG in
host mode)?
  

Yes even I found this behavior, but I guess its generic issue with
Android apps. Our aim will be to fix anything that is platform specific,
and leave rest to android team.

Regards,

All:
I got the problem when I sync the repo, it always promoted:
unable to look up android.git.kernel.org(port 9418)(Name or service not known)

Is there any other way to get the repo?

Best regards,
Alpha

2009/4/27 Rupesh Gujare <rupesh.gujare@embinux.com>

Alpha,
Looks like you are behind firewall ? Check with network administrator.

Regards,
Rupesh Gujare.

Rupesh:
Can I use other way to download the whole repo(e.g. flashget)?

Best regards,
Alpha

2009/4/29 Rupesh Gujare <rupeshgujare@gmail.com>

Alpha,
No idea about other way to download build. Probably following link might help to get rid of firewall issue.

https://www.omapzoom.org/gf/project/omapandroid/wiki/?pagename=ConfiguringHostMachine

Regards,
Rupesh Gujare

Hi Rupesh,

Thanks for your efforts.
I successfuly compiled the kernel and android as per described in your
porting post.
Since I have some problems with my ethernet adapter I prefer to use
the mmc local boot and not NFS.
The flash contained the previous release of android from
http://www.embinux.com/download_beagle.php which worked fine.

I have copied the Android_RFS/* content into my ext3 partition (I
updated the bootargs with ext3).
Then I have replaced uImage on the FAT boot partition to:
~/beagleboard/kernel/arch/arm/boot/uImage
(I used beagleboard directory naming instead of beagledroid)

I see nothing through the terminal (using the DVI)
Maybe it is a same problem like Bjoern reported.

any idea?

The log contains many errors:

Texas Instruments X-Loader 1.4.2 (Aug 8 2008 - 16:59:05)
Reading boot sector
Booting from mmc

U-Boot 2009.01-00013-g52eddcd (Feb 03 2009 - 22:22:56)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 128 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Board revision Ax/Bx
Serial #5ac400030000000004013f8901001001
Hit any key to stop autoboot: 0
reading uImage

1886720 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.27-omap1-00125-g7fd866
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 1886656 Bytes = 1.8 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux.........................................................................................................................
done, booting the kernel.
Linux version 2.6.27-omap1-00125-g7fd8662 (jars@jars-desktop) (gcc
version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #1 Tue Apr
28 18:02:25 CEST 2009
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=00c5387f
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 ES3.0
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
CPU0: L1 I VIPT cache. Caches unified at level 2, coherent at level 3
CPU0: Level 1 cache is separate instruction and data
CPU0: I cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets,
      supports RA
CPU0: D cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets,
      supports RA WB WT
CPU0: Level 2 cache is unified
CPU0: unified cache: 262144 bytes, associativity 8, 64 byte lines, 512
sets,
      supports WA RA WB WT
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
32512
Kernel command line: console=ttyS2,115200n8 noinitrd root=/dev/
mmcblk0p2 video=omapfb:mode:1280x720@50 init=/init rootfstype=ext3 rw
rootdelay=1 nohz=off
Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125496KB available (3480K code, 657K data, 136K init)
Calibrating delay loop... 511.52 BogoMIPS (lpj=1998848)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
USB: No board-specific platform config found
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Error: Driver 'twl4030_usb' is already registered, aborting...
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc: USB Host mode controller at d80ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 245
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
omapfb: configured for panel omap3beagle
omapfb: DISPC version 3.0 initialized
Console: switching to colour frame buffer device 128x48
omapfb: Framebuffer initialized. Total vram 3145728 planes 1
omapfb: Pixclock 48000 kHz hfreq 44.7 kHz vfreq 57.7 Hz
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.2: new low speed USB device using musb_hdrc and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
usb 1-1.4: new low speed USB device using musb_hdrc and address 4
usb 1-1.4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V 16-bit)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand":
0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x10000000 : "File System"
usbmon: debugfs is not available
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
twl4030_rtc twl4030_rtc: Power up reset detected.
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
input: CHICONY HP Basic USB Keyboard as /class/input/input0
input: USB HID v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on usb-
musb_hdrc-1.2
input: Microsoft Basic Optical Mouse as /class/input/input1
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on usb-
musb_hdrc-1.4
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
usbcore: registered new interface driver snd-usb-audio
ASoC version 0.13.2
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
SmartReflex driver initialized
Disabling unused clock "sr2_fck"
Disabling unused clock "sr1_fck"
Disabling unused clock "mcbsp_fck"
Disabling unused clock "mcbsp_fck"
Disabling unused clock "mcbsp_fck"
Disabling unused clock "mcbsp_ick"
Disabling unused clock "mcbsp_ick"
Disabling unused clock "mcbsp_ick"
Disabling unused clock "gpt2_ick"
Disabling unused clock "gpt3_ick"
Disabling unused clock "gpt4_ick"
Disabling unused clock "gpt5_ick"
Disabling unused clock "gpt6_ick"
Disabling unused clock "gpt7_ick"
Disabling unused clock "gpt8_ick"
Disabling unused clock "gpt9_ick"
Disabling unused clock "wdt3_ick"
Disabling unused clock "wdt3_fck"
Disabling unused clock "gpio2_dbck"
Disabling unused clock "gpio3_dbck"
Disabling unused clock "gpio4_dbck"
Disabling unused clock "gpio5_dbck"
Disabling unused clock "gpio6_dbck"
Disabling unused clock "gpt9_fck"
Disabling unused clock "gpt8_fck"
Disabling unused clock "gpt7_fck"
Disabling unused clock "gpt6_fck"
Disabling unused clock "gpt5_fck"
Disabling unused clock "gpt4_fck"
Disabling unused clock "gpt3_fck"
Disabling unused clock "gpt2_fck"
Disabling unused clock "gpt1_ick"
Disabling unused clock "wdt1_ick"
Disabling unused clock "wdt2_ick"
Disabling unused clock "wdt2_fck"
Disabling unused clock "gpio1_dbck"
Disabling unused clock "gpt1_fck"
Disabling unused clock "cam_ick"
Disabling unused clock "cam_mclk"
Disabling unused clock "des1_ick"
Disabling unused clock "sha11_ick"
Disabling unused clock "rng_ick"
Disabling unused clock "aes1_ick"
Disabling unused clock "ssi_ick"
Disabling unused clock "mailboxes_ick"
Disabling unused clock "mcbsp_ick"
Disabling unused clock "mcbsp_ick"
Disabling unused clock "gpt10_ick"
Disabling unused clock "gpt11_ick"
Disabling unused clock "i2c_ick"
Disabling unused clock "mcspi_ick"
Disabling unused clock "mcspi_ick"
Disabling unused clock "mcspi_ick"
Disabling unused clock "mcspi_ick"
Disabling unused clock "hdq_ick"
Disabling unused clock "mspro_ick"
Disabling unused clock "mmchs_ick"
Disabling unused clock "des2_ick"
Disabling unused clock "sha12_ick"
Disabling unused clock "aes2_ick"
Disabling unused clock "icr_ick"
Disabling unused clock "pka_ick"
Disabling unused clock "ssi_ssr_fck"
Disabling unused clock "hdq_fck"
Disabling unused clock "mcspi_fck"
Disabling unused clock "mcspi_fck"
Disabling unused clock "mcspi_fck"
Disabling unused clock "mcspi_fck"
Disabling unused clock "mcbsp_fck"
Disabling unused clock "mcbsp_fck"
Disabling unused clock "i2c_fck"
Disabling unused clock "mspro_fck"
Disabling unused clock "mmchs_fck"
Disabling unused clock "gpt11_fck"
Disabling unused clock "gpt10_fck"
Disabling unused clock "iva2_ck"
Disabling unused clock "dpll5_ck"
Disabling unused clock "dpll4_m6x2_ck"
Disabling unused clock "dpll4_m5x2_ck"
Disabling unused clock "dpll3_m3x2_ck"
Disabling unused clock "sys_clkout1"
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
1
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00
UTC (946684800)
Waiting 1sec before mounting root device...
mmc0: host does not support reading read-only switch. assuming write-
enable.
mmc0: new SD card at address aaaa
mmcblk0: mmc0:aaaa SD02G 1931264KiB
mmcblk0: p1 p2
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 136K
Warning: unable to open an initial console.
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
sh: can't access tty; job control turned off
# warning: `rild' uses 32-bit capabilities (legacy support in use)

Yos,

  Logs looks good to me, I can see android booting fine and starting its
services.
Problem is with display, probably with video mode supported by your LCD
or sync problems.
It is working fine with my LCD. But yes, as reported previously looks
like, some problems do exists.
I am limited as I don't have the hardware to test with. I will try to
address this issue.

Regards,

Rupesh,

Just let me know if you need any help or information with that.
Note that the previous release worked for the same LCD monitor without
any problem.
Also, while in boot the android logo is available on the monitor. But
after booting the monitor doesn't detect the DVI input and hence works
only on the other analog input.

Regards,