Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Ilya Petrov
2009/6/16 hu zhangli : > hi muromec: >       nice to meet you! >       how about your kernel version about this android_patch, a & b means > which versions? i simply checked out "common" kernel from android repo, got diff from vanilla 2.6.29 and ported to 2.6.30. >      after i download zImage to

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread hu zhangli
so at present you have boot up android on A1200 phone? android-2.6.30_2 is different between vanilla 2.6.29 and android common project 2.6.29 or 2.6.30?? could you feel convenient to instruct basic porting step? On Tue, Jun 16, 2009 at 11:35 AM, hu zhangli wrote: > hi muromec: > nice

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread hu zhangli
what is mean vanilla 2.6.29 means from stable 2.6.29 from kernel.org? so use the diff stable 2.6.29 and android common project 2.6.29 TAG, right, then manual to port to 2.6.30 by hand? at present i express my step: 1. check out the newest openezx branch. 2. choose a1200 config switch to make s

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Ilya Petrov
2009/6/16 hu zhangli : >  what is mean vanilla 2.6.29  means from stable 2.6.29 from kernel.org? > so use the diff stable 2.6.29 and android common project 2.6.29 TAG, right, > then manual to port to 2.6.30 by hand? yep. > at present i express my step: > 1. check out the newest openezx branch. >

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread hu zhangli
1. but i see your build out log , it seem to 2.6.30.rc4. pls correct me? 2. i conform to http://wiki.openezx.org/Kernel_hacking_-_linux-2.6, keep sync with openezx.git. firstly i just check out ezx/current , then build, use bootusb to download zImage to a1200, the phone is crash, the panel is

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Ilya Petrov
2009/6/16 hu zhangli : > 1. but i see your build out log , it seem to 2.6.30.rc4. pls correct me? no. > 2. i conform to http://wiki.openezx.org/Kernel_hacking_-_linux-2.6, keep > sync with openezx.git. > >firstly i just check out ezx/current , then build, use bootusb to > download zImage to a

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 18:40 +0800, hu zhangli escreveu: > > 1. but i see your build out log , it seem to 2.6.30.rc4. pls correct me? Yes, but the source code on openezx.git is 2.6.30, I dont update the built image as frequently as i update the source. I can upload a zImage of the latest openezx.g

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 11:35 +0800, hu zhangli escreveu: > after i download zImage to A1200 , the lcd panel is confused and > no kernel message print. could you recommend one way to dump out the > startup message? You can use boot_usb/gen-blob to read the phone RAM after the crash. You will pr

bp suspend problem

2009-06-16 Thread Ilya Petrov
Hi! I`m trying to suspend a1200 with "echo mem > /sys/power/state" and getting this: http://pastebin.com/fe222ff7 looks like happened two things: 1) bp awaked ap just after sleep 2) bp paniced or lost from ap after resume after reading ohci-pxa27x.c and old ipc driver i see following: * old

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 15:52 +0300, Ilya Petrov escreveu: > Hi! > > I`m trying to suspend a1200 with "echo mem > /sys/power/state" and getting > this: > > http://pastebin.com/fe222ff7 > > looks like happened two things: > > 1) bp awaked ap just after sleep > 2) bp paniced or lost from ap after

Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu: > Hi Daniel, > I'm on the ezx/current branch, and using the .config file from > arch/arm/configs/ezx_defconfig. > I tried to get memdump but failed. When I insert the battery back, the > phone automatically boot into the stock operating system, so I h

Re: White screen issue

2009-06-16 Thread 龙智
2009/6/16 Daniel Ribeiro > Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu: > > Hi Daniel, > > I'm on the ezx/current branch, and using the .config file from > > arch/arm/configs/ezx_defconfig. > > I tried to get memdump but failed. When I insert the battery back, the > > phone automatically boot

Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 21:34 +0800, 龙智 escreveu: > > 2009/6/16 Daniel Ribeiro > Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu: > > Hi Daniel, > > I'm on the ezx/current branch, and using the .config file > from > > arch/arm/configs/ezx_defconfig. >

Re: bp suspend problem

2009-06-16 Thread Ilya Petrov
2009/6/16 Daniel Ribeiro : >> * in new driver we disabled this behaviour and leaving suspend to hci driver > > Correct. btw, is this ok, to have "UP3OCR = 2;" in ezx-bp driver? >> * hci driver not suspends ports, it stops and resets whole hci > > It disconnects, suspends and resumes the port. If

Re: White screen issue

2009-06-16 Thread 龙智
Hi Daniel, I'm on the ezx/current branch, and using the .config file from arch/arm/configs/ezx_defconfig. I tried to get memdump but failed. When I insert the battery back, the phone automatically boot into the stock operating system, so I haven't chance to enter gen-blob usb mode(BTW, I suppose I

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 17:11 +0300, Ilya Petrov escreveu: > 2009/6/16 Daniel Ribeiro : > >> * in new driver we disabled this behaviour and leaving suspend to hci > >> driver > > > > Correct. > > btw, is this ok, to have "UP3OCR = 2;" in ezx-bp driver? In fact no. But this is the same issue that w

Re: White screen issue

2009-06-16 Thread 龙智
I tried many times, and exactly get the same result. I did that as following: 1. upload kernel to the phone, cause the white screen 2. remove the battery, and then put it back as soon as possible 3. run boot_usb setflag usb & boot_usb gen-blob 0 to enter gen-blob USB mode, then LCD display: Ope

Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:04 +0800, 龙智 escreveu: > I tried many times, and exactly get the same result. I did that as > following: > 1. upload kernel to the phone, cause the white screen > 2. remove the battery, and then put it back as soon as possible > 3. run boot_usb setflag usb & boot_usb gen-bl

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread hu zhangli
1. to daniel , pls update newest zImage and related CONFIG. i remember i only use boot-usb to download the android 2.6.25, i dont use gen-blob. why? when the battery is quickly insert, at this time the system log will be still in the ram. so use boot_usb to dump the kernel message, but as you sa

Re: White screen issue

2009-06-16 Thread 龙智
Daniel, can you tell me how to check host dmesg? I've never used this. 2009/6/16 Daniel Ribeiro > Em Ter, 2009-06-16 às 23:04 +0800, 龙智 escreveu: > > I tried many times, and exactly get the same result. I did that as > > following: > > 1. upload kernel to the phone, cause the white screen > > 2

Re: White screen issue

2009-06-16 Thread 龙智
Daniel, When I send gen-blob to the phone, I got a warning: $ sudo ./boot_usb gen-blob 0 $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $ Serching for EZX phone: E2/A1200/E6/A910 found. Uploading kernel: 100% OK Warning, params is not supported on your phone, please consider using gen-blob Calling t

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:27 +0800, hu zhangli escreveu: > 1. to daniel , pls update newest zImage and related CONFIG. > > i remember i only use boot-usb to download the android 2.6.25, i dont > use gen-blob. why? On .25 we were using an UDC driver that could deal with the weird state that the b

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:31 +0800, hu zhangli escreveu: > CONFIG_CMDLINE="root=/dev/nfs > nfsroot=192.168.1.1:/home/liaoweiguo/android_0.9beta_sdk_nfs > rw > ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0:ezx:usb0:off > mem=...@0xa000 mem=...@0xac00"

Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:41 +0800, 龙智 escreveu: > Daniel, > When I send gen-blob to the phone, I got a warning: > $ sudo ./boot_usb gen-blob 0 > $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $ > Serching for EZX phone: E2/A1200/E6/A910 found. > Uploading kernel: 100% OK > Warning, params is not su

Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:38 +0800, 龙智 escreveu: > Daniel, can you tell me how to check host dmesg? I've never used this. Just write "dmesg" on your terminal. This will show your host kernel messages. -- Daniel Ribeiro signature.asc Description: Esta é uma parte de mensagem assinada digitalment

Re: bp suspend problem

2009-06-16 Thread Ilya Petrov
2009/6/16 Daniel Ribeiro : > In fact no. But this is the same issue that we have with UP2OCR. It is > needed to setup the USB port3, both on init and after resume. > Hum, you are right. But anyway, the reset shouldn't stop bp from working > afaik. It doesn't on other phones (tough i haven't tested

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 19:10 +0300, Ilya Petrov escreveu: > maby we should *fix* hci driver to make it responsible of setting UPxOCR and > suspending ports? Heh, dont forget that the logic we are talking about here is used on ALL platforms, including X86. Its generic OHCI, and the Host Controller d

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread hu zhangli
""On the Wiki: There is a bug in the mainline pxa-udc's driver (not used in OpenEZX's 2.6.25 or older kernels that used a different pxa-udc driver (the one in svn server)and don't necessitate the 'boot_usb gen-blob 0' command) that cause a "kernel panic", so the only way to use usb without any chan

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Fred .
On Tue, Jun 16, 2009 at 5:27 PM, hu zhangli wrote: > 1. to daniel , pls update newest zImage and related CONFIG. > > i remember i only use boot-usb to download the android 2.6.25, i dont use > gen-blob. why? > when the battery is quickly insert, at this time the system log will be > still in th

New zImage release on http://people.openezx.org/wyrm/images/

2009-06-16 Thread Daniel Ribeiro
Hi, I uploaded a new build to http://people.openezx.org/wyrm/images/latest/ Newcomers, please test this kernel, as usual, i uploaded a buildlog, a config file, and all the patches that were applied to the mainline linux kernel to generate the zImage and modules. It was quickly tested on a1200, a

Re: New zImage release on http://people.openezx.org/wyrm/images/

2009-06-16 Thread Ilya Petrov
> [   34.914588] Creating 14 MTD partitions on "EZX A1200/A910/E2/E6 NOR flash": > [   34.924893] 0x-0x0006 : "bootloader" > [   34.941737] 0x0006-0x0008 : "bootloader setup" > [   34.960033] 0x0008-0x000a : "linux loader" > [   34.977368] 0x0

Re: New zImage release on http://people.openezx.org/wyrm/images/

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 21:14 +0300, Ilya Petrov escreveu: > damm. looks like nonworking bp Humm, usually when BP is not working i don't have: [ 52.670924] usb 1-3: new full speed USB device using pxa27x-ohci and address 4 [ 52.714437] usb 1-3: config 1 has an invalid interface number: 13 but m

Re: about porting Android sdk1.5 to a1200, which two version about this patch, thanks

2009-06-16 Thread Fred .
On Tue, Jun 16, 2009 at 6:25 PM, hu zhangli wrote: > ""On the Wiki: There is a bug in the mainline pxa-udc's driver (not used in > OpenEZX's 2.6.25 or older kernels that used a different pxa-udc driver (the > one in svn server)and don't necessitate the 'boot_usb gen-blob 0' command) > that cause

Re: bp suspend problem

2009-06-16 Thread Ilya Petrov
2009/6/16 Daniel Ribeiro : > Heh, dont forget that the logic we are talking about here is used on ALL > platforms, including X86. Its generic OHCI, and the Host Controller > driver only provides some hardware specific functions to the generic > code. ok, can we use .init and .exit fields in pxaoh

Re: bp suspend problem

2009-06-16 Thread Daniel Ribeiro
Em Qua, 2009-06-17 às 00:52 +0300, Ilya Petrov escreveu: > 2009/6/16 Daniel Ribeiro : > > > Heh, dont forget that the logic we are talking about here is used on ALL > > platforms, including X86. Its generic OHCI, and the Host Controller > > driver only provides some hardware specific functions to