You are absolutely right.

I will try out the 2.6.27, I will get a kernel 2.6.26 from iMX27 PDK
Freescale and try to do it.

Unfortunately I am faraway from my machine, I will send you the
patching procedure as soon as possible.


On Tue, Nov 17, 2009 at 3:47 AM, vadivelan m <[email protected]> wrote:
> Hi vera,
>
> Thanks for your help.
> But still we will be having problem even 2.6.22 / 2.6.23 comes up.
>             May i know why should we try linux 2.6.23 ? because
> android expects
>              linux 2.6.25 version or 2.6.27 , 29 to port android
> 1.0 / 1.5 / 1.6 etc
> So working on 22,23 will not help us.  we should start from 24/25
> version.
>
> If you refer from 2.6.19 to 2.6.23  the imx 27 folder structure (arch/
> arm/mach-mx27)is same.
> applying patches is not a problem.
>
> where as in 2.6.24 onwards folder structure support for imx27 is not
> at all there.
> i got some patches for 24, 25 . but i dont know how to appy that.
> Because the plain linux downloaded from kernel.org or arm-linux git is
> not having the folder structure for imx27 .
> In this case how to apply the patches?
>
> The folder structure is supported from 2.6.27 onwards. Almost we did
> the changes here. its coming till mounting file system . but blocked
> in starting user space process, boot prompt... (waiting to get boot
> prompt..... but blocked)
>
> Thanks and regards ,
> vels
>
>
> On Nov 13, 2:35 am, Hamilton Vera <[email protected]> wrote:
>> Hi Vels, here are the downloads, sorry about the delay
>>
>> Android 
>> kernels:http://download.theforce.com.br/linux-2.6.22.android.tar.gzhttp://download.theforce.com.br/linux-2.6.23-android-m3-rc20.tar.gzhttp://download.theforce.com.br/linux-2.6.23-android-m5-rc14.tar.gz
>>
>> Patches from freescale to kernel 
>> 2.6.22http://download.theforce.com.br/pactches.tgz
>>
>> Patched kernel 2.6.22 from freescale 
>> :http://download.theforce.com.br/linux-2.6.22.ltib.tgz
>>
>> Kernel 2.6.25 from Freescale android 
>> githttp://download.theforce.com.br/linux-2.6.25-rc5-mx-fromfreescale.tar.gz
>>
>> http://download.theforce.com.br/md5sum.txt
>>
>> What is the problem with the freescale kernel 2.6.22 ? Maybe I can help you.
>>
>> On Wed, Nov 11, 2009 at 3:11 AM, vadivelan m <[email protected]> wrote:
>> > Hi vera,
>>
>> > Even i have downloaded from freescale git. But the same problem.imx27
>> > features are not there.
>>
>> > I think you are working on LTIB ( linux 2.6.22 kernel ) provided in
>> > freescale.com
>> > This is not running for me.
>>
>> > please upload the working kernel code and provide the link for me .
>>
>> > Thanks and regards ,
>> > vels
>>
>> > On Nov 10, 7:57 pm, Hamilton Vera <[email protected]> wrote:
>> >> Hi Vels,
>>
>> >> Basically I got the running kernel from Ltib  
>> >> (http://www.ltib.org/resources-download http://www.bitshrine.org/gpp
>> >> ).
>>
>> >> I will upload the kernel files to a webserver and send you a link to
>> >> download ok?
>>
>> >> The latest kernel that I got from freescale's  git is the v2.6.25-rc5,
>> >> but checking the code it does not have any specific code forimx27
>> >> added from freescale. In fact it is just a copy from the android git
>> >> server.
>>
>> >> Thanks!
>>
>> >> On Tue, Nov 10, 2009 at 8:23 AM,vadivelanm <[email protected]> wrote:
>> >> > Hi vera,
>>
>> >> > You are correct. Applying patches will be good if you know the full
>> >> > details ( clock , memory map etc ) of the board. otherwise most of the
>> >> > time
>> >> > will be spent just in making linux up.
>>
>> >> > You can take from freescale git repository and try. That will be
>> >> > better .
>>
>> >> > I have tried to download the same. but i am keep on getting the error.
>> >> > i dont know how to get it from you. is there any way ?
>> >> > If possible you just tell me the procedure you followed .. ( on which
>> >> > linux , commands , etc )
>>
>> >> > Thanks and regards ,
>> >> > vels
>>
>> >> > On Nov 9, 7:55 pm, Hamilton Vera <[email protected]> wrote:
>> >> >> Hi Vels, I am trying to use kernel 2.6.23.
>>
>> >> >> I have a patched kernel from freescale (2.6.22-5), I am trying to
>> >> >> deploy 2.6.23 over 2.6.22. Unfortunately it is not an easy task for
>> >> >> me.
>>
>> >> >> About freescale git ,maybe you can try this one:
>>
>> >> >> git clone  http://opensource.freescale.com/pub/scm/linux-2.6-mx.git
>>
>> >> >> I am downloading right now, I think it will work here. If you have
>> >> >> problems please let me know, I will post the files somewhere so you
>> >> >> can download them.
>>
>> >> >> Thanks
>>
>> >> >> On Mon, Nov 9, 2009 at 6:51 AM,vadivelanm <[email protected]> 
>> >> >> wrote:
>> >> >> > Hi vera,
>>
>> >> >> > Actually i am trying on plain 2.6.27 linux from arm git.
>>
>> >> >> > May i know which version and from where (open soure web ) you started
>> >> >> > your work. ?
>> >> >> > I think freescale opensource git (opensource.freescale.git) is giving
>> >> >> > all their version of linux. But i am facing some problem in
>> >> >> > downloading it. Have you tried it? -- If you have downloaded help me
>> >> >> > how you have downloaded.
>>
>> >> >> > For me git clone git://opensource.freescale.com/linux-2.6-mx.git is
>> >> >> > not downloading some socket error i am getting .
>>
>> >> >> > It will be good to start from their kernel..
>>
>> >> >> > Thanks and regards ,
>> >> >> > Vels
>>
>> >> >> > On Nov 5, 4:26 pm, Hamilton Vera <[email protected]> wrote:
>> >> >> >> Hi Vels,
>>
>> >> >> >> Actually I do have a working 2.6.22 kernel with patches  working on
>> >> >> >> imx27ads using ltib and openembeded, we are trying to deploy kernel
>> >> >> >> 2.6.26 from freescale but we still have problems with the PMIC, so 
>> >> >> >> we
>> >> >> >> are working on this.
>>
>> >> >> >> In fact I just want to copy what you did to help solve your problem
>> >> >> >> and finally ( with your permission ) have a documentation aboutimx27
>> >> >> >> and android atwww.imxdev.org:)
>>
>> >> >> >> Thanks
>>
>> >> >> >> On Thu, Nov 5, 2009 at 5:37 AM,vadivelanm <[email protected]> 
>> >> >> >> wrote:
>> >> >> >> > hi vera,
>>
>> >> >> >> > first you have to make your basic linux 2.6.X up on board.
>> >> >> >> > Provide information like
>>
>> >> >> >> > the linuxversion you are having on board. :
>> >> >> >> > so that i can tell  you which android version you can go ...
>>
>> >> >> >> > Thanks and regards,
>> >> >> >> > vels
>>
>> >> >> >> > On Nov 4, 2:46 am, Hamilton Vera <[email protected]> 
>> >> >> >> > wrote:
>> >> >> >> >> Hi Vels, I am starting with animx27, can you describe the steps 
>> >> >> >> >> you
>> >> >> >> >> followed to deploy android?
>>
>> >> >> >> >> Actually we are working with ltib and openembeded, now I am 
>> >> >> >> >> gathering
>> >> >> >> >> info about to android to play with it.
>>
>> >> >> >> >> Maybe you have to do some links to the devices, as we do in ltib
>>
>> >> >> >> >> ln -s /dev/vc/0 /dev/tty0
>> >> >> >> >> ln -s /dev/vc/1 /dev/tty1
>> >> >> >> >> ln -s /dev/vc/2 /dev/tty2
>>
>> >> >> >> >> Maybe you can get more help in our sitewww.imxdev.org.
>>
>> >> >> >> >> []'s
>>
>> >> >> >> >> Hamilton Vera
>>
>> >> >> >> >> On Tue, Nov 3, 2009 at 7:26 AM,vadivelanm 
>> >> >> >> >> <[email protected]> wrote:
>> >> >> >> >> > Hi ,
>>
>> >> >> >> >> > I am trying to port android 1.5 onIMX27based platform. But i am
>> >> >> >> >> > blocked in making linux 2.6.27 up.
>>
>> >> >> >> >> > Its blocking at Freeing init memory .
>> >> >> >> >> > While exploring through the code
>>
>> >> >> >> >> > init/main.c -> rest_init -> kernel_init -> init_post
>>
>> >> >> >> >> > Here it is trying to open the initial consloe
>> >> >> >> >> > sys_open(initial consloe...)   is get hanging . ... i could 
>> >> >> >> >> > not see
>> >> >> >> >> > any prints after Freeing init memory.......
>>
>> >> >> >> >> > While exploring sys_open -> do_sys_open-> fd_install()  -->  
>> >> >> >> >> > here
>> >> >> >> >> > after no print statements are coming .....
>>
>> >> >> >> >> > we have tried
>>
>> >> >> >> >> > ---> console baud rate -- its ok 115200n8
>>
>> >> >> >> >> > please see the logs below and help me to go forward..... This 
>> >> >> >> >> > will
>> >> >> >> >> > help others also. .. . .
>>
>> >> >> >> >> > Launch LinuxUncompressing
>> >> >> >> >> >> Linux......................................................................
>> >> >> >> >> >> done, booting the kernel.
>> >> >> >> >> >> Linux version 2.6.28-arm2 ([email protected]) (gcc 
>> >> >> >> >> >> version 4.1.1) #75
>> >> >> >> >> >> Wed Oct 28 13:12:53 IST 2009
>> >> >> >> >> >> CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
>> >> >> >> >> >> CPU: VIVT data cache, VIVT instruction cache
>> >> >> >> >> >> Machine: Freescale i.MX27ADS
>> >> >> >> >> >> Memory policy: ECC disabled, Data cache writeback
>> >> >> >> >> >> Built 1 zonelists in Zone order, mobility grouping on.  Total 
>> >> >> >> >> >> pages: 16256
>> >> >> >> >> >> Kernel command line: root=/dev/ram rw mem=64M 
>> >> >> >> >> >> console=ttymxc0,115200
>> >> >> >> >> >> MXC GPIO hardware
>> >> >> >> >> >> MXC IRQ initialized
>> >> >> >> >> >> PID hash table entries: 256 (order: 8, 1024 bytes)
>>
>> >> >> >> >> >>  Clock input source is 26000000
>>
>> >> >> >> >> >>  After for loop
>> >> >> >> >> >>  test1
>> >> >> >> >> >>  CCM_PCCR1 = fe5aef88
>> >> >> >> >> >>  b4 spll_clk.disableConsole: colour dummy device 80x30
>> >> >> >> >> >> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>> >> >> >> >> >> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>> >> >> >> >> >> Memory: 64MB = 64MB total
>> >> >> >> >> >> Memory: 60780KB available (1956K code, 252K data, 92K init)
>> >> >> >> >> >> Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)
>> >> >> >> >> >> Security Framework initialized
>> >> >> >> >> >> Mount-cache hash table entries: 512
>> >> >> >> >> >> CPU: Testing write buffer coherency: ok
>> >> >> >> >> >> kernel thread started : M.V<5>SCSI subsystem initialized
>> >> >> >> >> >> checking if image is initramfs...it isn't (no cpio magic); 
>> >> >> >> >> >> looks like an initrd
>> >> >> >> >> >> do_sys_open entry<6>Freeing initrd memory: 1792K
>> >> >> >> >> >> NetWinder Floating Point Emulator V0.97 (extended precision)
>> >> >> >> >> >> VFS: Disk quotas dquot_6.5.1
>> >> >> >> >> >> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>> >> >> >> >> >> JFS: nTxBlock = 489, nTxLock = 3914
>> >> >> >> >> >> msgmni has been set to 122
>> >> >> >> >> >> io scheduler noop registered
>> >> >> >> >> >> io scheduler anticipatory registered
>> >> >> >> >> >> io scheduler deadline registered
>> >> >> >> >> >> io scheduler cfq registered (default)
>> >> >> >> >> >> Serial: IMX driver
>> >> >> >> >> >> imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
>> >> >> >> >> >> console [ttymxc0] enabled
>> >> >> >> >> >> imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
>> >> >> >> >> >> imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
>> >> >> >> >> >> imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
>> >> >> >> >> >> imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
>> >> >> >> >> >> imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
>> >> >> >> >> >> brd: module loaded
>> >> >> >> >> >> loop: module loaded
>> >> >> >> >> >> st: Version 20080504, fixed bufsize 32768, s/g segs 256
>> >> >> >> >> >> Driver 'st' needs updating - please use bus_type methods
>> >> >> >> >> >> Driver 'sd' needs updating - please use bus_type methods
>> >> >> >> >> >> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
>> >> >> >> >> >> do_sys_open entrydo_sys_open entry<5>RAMDISK: Compressed 
>> >> >> >> >> >> image found at block 0
>> >> >> >> >> >> EXT2-fs warning: mounting unchecked fs, running e2fsck is 
>> >> >> >> >> >> recommended
>> >> >> >> >> >> VFS: Mounted root (ext2 filesystem).
>> >> >> >> >> >> Freeing init memory: 92K
>>
>> ...
>>
>> read more »
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to