'2010/02/04'에 해당되는 글 4건

  1. 2010.02.04 android omnia kernel build
  2. 2010.02.04 android omnia porting current status
  3. 2010.02.04 android kernel build for samsung omnia
  4. 2010.02.04 Windows Mobile / DirectShow / SampleGrabber

android omnia kernel build

http://andromnia.blogspot.com/2009/08/andromnia-tutorial-so-far.html

 

What do you need to install Android OS on a Samsung Omnia ?

  1. A Samsung Omnia
  2. A linux PC (I made that with Ubuntu 9.04)
  3. A little basic shell command knowledge
  4. A Mini SD card (couple gig's)
  5. Some time ^^

First, get all the necessary packages:

sudo apt-get install linux-headers-$(uname -r) gcc make kernel-package libncurses5-dev fakeroot wget bzip2 git-svn curl git-core gedit build-essential debhelper libqt3-mt-dev libxtst-dev libqt3-headers qt4-qmake qt4-qtconfig libqt4-gui libqt4-core subversion

Next, get the latest version of the project (this step may take a while, it's about a giga):

svn co https://dotpt.com/svn/andromnia/trunk/ ~/andromnia

Get the cross compiler and extract it in your andromnia directory:

http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

Create this link :

ln -s ~/andromnia/arm-2008q3 ~/andromnia/arm_cross_compiler

Get the haret archive and extract it in your andromnia/haret directory (yes create it too):

http://pmaster.no/andromnia/haret.zip

Then, go to the kernel's directory and build it (takes some time, grab a coffee and/or a smoke):

cd ~/andromnia/kernel
make zImage

Finally, copy it to haret's directory for convenience's sake 

cp ~/andromnia/kernel/arch/arm/boot/zImage ~/andromnia/haret/zImage

Copy the contents of ~/andromnia/rootfs to the root of your sd card (should be formatted with ext2 or ext3)
HOT TIP: Don't forget to unmount before removing the cable/unplugging it!!!
Copy the contents of ~/andromnia/haret anywhere on your phone (except the sd card), run haret.exe and tap run!

Voilà ^^

android omnia porting current status

http://www.samsung-omnia.org/rom-discussion/android-runs-on-omnia/

 


Re: Android RUNS ON OMNIA

« Reply #10 on: August 11, 2009, 01:30:37 AM »


So I just wanted to get more updates running on this site. I hope some developers and chefs will hopefully go work on this project if they haven't already. Heres some links with more information.
The Modaco forum (looks like the hub of develpmont) http://www.modaco.com/content/i9x0-omnia-http-omnia-modaco-com/289028/project-andromnia-android-on-omnia/
Andromnia.net (A discussion forum similar to this site) http://www.andromnia.net
Androidomnia.com (Site with news and donations)http://androidomnia.com/
Changelog (revision notes) http://ferro.eu.org/andromnia/changelog.txt
Heres a list of what works and what doesn't as of August 6th 2009
CPU (PXA312)    - Working
128MB RAM    - Working
Boot Process    - Working (Kernel, Android and armDebian successfully booted)
Touchscreen    - Working
Backlight    - Working
LED    - Working
Battery    - Working (USB charging isn't working yet)
SD-Card    - Working (Internal memory recognized by Android)
Wifi    - Partitially working (some users reported wifi is disconnecting after few minutes or access point not found!)
Buttons    - Most buttons working (except power button)
GSM    - basic support (you can send and recieve sms but no calls yet)
Frequency Scaling   - In progress
Suspend/Resume    - In progress
Sound    - in progress
USB    - Not working
Bluetooth    - Not working
GPS    - Not working
Flash    - Not working
Bootloader    - Not working

'Computing' 카테고리의 다른 글

C++에서 C# DLL Interop  (0) 2010.02.09
android omnia kernel build  (0) 2010.02.04
android kernel build for samsung omnia  (0) 2010.02.04
Windows Mobile / DirectShow / SampleGrabber  (0) 2010.02.04
omnia에 android 설치  (0) 2010.01.15

android kernel build for samsung omnia

http://forum.xda-developers.com/showthread.php?t=431329

 

Complete steps for booting the android linux kernel (updates follow as we progress):

Install Dev Environment:

apt-get install linux-headers-$(uname -r) gcc make kernel-package libncurses5-dev fakeroot wget bzip2 git-svn curl

 

Download Cross Compiler
http://www.codesourcery.com/sgpp/lit...tal/release642

Select: GNU/Linux (and then Advanced Packages / IA32 GNU/Linux TAR)

 

Download and Unpack Cross Compiler
(http://www.codesourcery.com/sgpp/lit...ux-gnu.tar.bz2)

# wget http://www.codesourcery.com/sgpp/lit...ux-gnu.tar.bz2
# cd /usr/local ; tar -xjvf /tmp/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

 

Download Kernel (Thans to Oliver Ford!)
# git clone http://www.oliford.co.uk/hpipaq214/ipaq214.git v4

 

Change in Makefile:

# vi /ANDROID/v4/Makefile

ARCH ?= arm
CROSS_COMPILE ?= /usr/local/xscale/arm-2008q3/bin/arm-none-linux-gnueabi-

 

Adjust resolution (Thanks to z720!)
open the /arch/arm/mach-pxa/hpipaq214-lcd.c and change the folowing parameters:

.xres = 240 
.yres = 400
.pixclock = 96153.

 

Compile kernel:
make Image
The compiled and with Haret runable image will be in "arch/arm/boot/Image"

Download Haret (I used the PXA312 version from Oliver Ford from www.handhelds.com)
http://www.oliford.co.uk/hpipaq214/f...q214-aug08.exe

Change Haret Settings (default.txt)

set kernel "Image"
Set ramaddr 0xa0000000
Set RAMSIZE 0x04000000
Set cmdline "root=179:2 rootdelay=3 rw init=/sbin/init"
Set mtype 1653
Set kernelcrc 0
Set fbduringboot 1
Set forcefbduringboot 1

Bootlinux

Booting.....
If you copy the compiled Image to the directory in which you placed Haret, you should be off, the kernel will boot.. Mind you, this is just the booting kernel, the hard work will start from here!

 

Cross Compile busybox with static linking:
cd busybox-1.13.2/
Change Makefile to have the cross compiler active again:

ARCH            ?= arm
CROSS_COMPILE   ?= /usr/local/arm-2008q3/bin/arm-none-linux-gnueabi-

 

Make the static busybox (make menuconfig first and disable all non wanted busybox commands, leave ash, init, rclinux and telnetd active for later use!):
# LDFLAGS="--static" CFLAGS="--static" make
# file busybox
busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped
Copy the busybox to the new initrd directory:
# cp busybox /ANDROID/initrd
# cd /ANDROID/initrd
# ln -s busybox init
# ln -s busybox ash
# ln -s busybox rclinux
# mkdir dev; mkdir sys ; mkdir proc
# cp -dpr /dev/ttys1 /dev/ttys2 /dev/ttys3 /dev/ttys4 /ANDROID/initrd/dev
Make the initrd.gz ramdisk fromout the initrd directory
# find . | cpio --create --'format=newc' | gzip >../initrd.gz
Copy it to the directory in which the kernel is placed...
Change default.txt cmdline:

Set cmdline "root=/dev/ram0 ramdisk_size=8192 rootdelay=5 rootwait rw init=/ash lpj=loops_per_jiffy boot_delay=100"

 

Boot and see why we need a keyboard now Next step is maybe auto configure network and start telnetd in the ramdisk
[OLD]
Hi, I read the thread about running Android on the Kaiser and was very interested to get at least a linux kernel running on my phone.. However no luck..
Well.. Tried to compile the kernel for this specific architecture (PXA312) with the gnueabi toolchain. The android kernel compiled fine with some minor changes. After that, i tried to start the kernel with HaRET but could not get it to start. I cannot determine the RAMADDR and the mtype for the omnia.
http://www.arm.linux.org.uk/developer/machines/
http://www.codesourcery.com/gnu_tool...ux-gnu.tar.bz2
http://code.google.com/p/android/downloads/list
HaRET does not seem to recognize the omnia's PXA312... Also i cannot determine the mtype for this.. Anyone have any ideas on how to get the kernel to boot???


Last edited by us1111; 10th February 2009 at 04:44 PM..

'Computing' 카테고리의 다른 글

android omnia kernel build  (0) 2010.02.04
android omnia porting current status  (0) 2010.02.04
Windows Mobile / DirectShow / SampleGrabber  (0) 2010.02.04
omnia에 android 설치  (0) 2010.01.15
pda rom dump  (0) 2010.01.15

Windows Mobile / DirectShow / SampleGrabber

code project의 SampleGrabber 사용

http://www.codeproject.com/KB/mobile/samplegrabberfilter-wm6.aspx

 

VS2005에서 빌드할때 문제발생

method undefined

  1. CSampleGrabber::FindPin
  2. CSampleGrabber::JoinFilterGraph
  3. CSampleGrabber::QueryVendorInfo
  4. CSampleGrabber::NonDelegatingRelease

위 목록중에서 3개는 아래 방법으로 해결

  • Under Project Propeties/C++/Language change the compiler option  "Treat wchar_t as builtin type" to No and rebuild

마지막 1개는 아래 방법으로 해결

  • #ifdef DEBUG
    #define UNDEFINEDEBUGTEMPORARILY
    #undef DEBUG
    #endif
    #include <streams.h>
    #ifdef UNDEFINEDEBUGTEMPORARILY
    #define DEBUG
    #endif
  • streams.h안에 NonDelegatingRelease는 DEBUG에서만 정의되도록 되어있어서, CBaseFilter를 implement하는 모든 class들은 이를 DEBUG에서는 구현해야하나 보통 구현하지않게되므로, streams.h를 include할때 그냥 DEBUG를 undef해버림
  • codeproject의 소스는 그 외에도 precompiled header에서 streams.h를 include하고 있으므로 이또한 처리를 해주어야 한다.

'Computing' 카테고리의 다른 글

android omnia porting current status  (0) 2010.02.04
android kernel build for samsung omnia  (0) 2010.02.04
omnia에 android 설치  (0) 2010.01.15
pda rom dump  (0) 2010.01.15
ubuntu 9.10 desktop을 microsoft virtual pc 2007에 설치하기  (0) 2010.01.15
prev 1 next