| 00:00.37 | gmzhuo | when I excute busybox-a,it says /bin/ash: busybox-a: not found | 
| 00:01.18 | WyrM | just not found? | 
| 00:02.27 | gmzhuo | yes | 
| 00:03.03 | gmzhuo | [gmzhuo@gbsoft bin]$ file busybox | 
| 00:03.04 | gmzhuo | busybox: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.4.3, stripped | 
| 00:03.04 | gmzhuo | [gmzhuo@gbsoft bin]$ file busybox-a | 
| 00:03.04 | gmzhuo | busybox-a: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped | 
| 00:03.04 | gmzhuo | [ | 
| 00:03.11 | WyrM | I don't think its trying to execute busybox-a at all. | 
| 00:03.38 | gmzhuo | what's the diffrent of SYSV? | 
| 00:03.44 | WyrM | I was expecting a shared library not found error, but not just a "not found" | 
| 00:04.43 | gmzhuo | so I think kernel even dont recognized it is one elf excutable | 
| 00:05.13 | gmzhuo | If it says shared library not found,I know what to do :) | 
| 00:06.28 | gmzhuo | what's the diffrent of addtional SYSV? | 
| 00:06.38 | WyrM | don't know. | 
| 00:09.22 | gmzhuo | how about pcap now? | 
| 00:17.42 | WyrM | gmzhuo: the pcap irq using genirq seems to be working. | 
| 00:17.42 | *** part/#openezx p3t3r__ (n=peter@wlan.net-you.de) | 
| 00:18.05 | WyrM | but I still need some more tests before pushing the changes to git.openezx | 
| 01:03.28 | *** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca) | 
| 01:08.42 | *** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca) | 
| 03:08.12 | *** join/#openezx gDD (i=io@125.116.34.192) | 
| 03:08.45 | *** join/#openezx LoneStar (n=xinzhen@114.92.166.227) | 
| 03:10.15 | *** join/#openezx arne (i=nobody@dslc-082-082-064-158.pools.arcor-ip.net) | 
| 03:34.42 | *** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca) | 
| 04:52.05 | *** join/#openezx gDD (i=io@125.116.34.192) | 
| 05:32.12 | *** join/#openezx gDD (i=io@125.116.34.192) | 
| 05:56.12 | *** join/#openezx gDD (i=io@125.116.34.192) | 
| 05:56.21 | *** join/#openezx pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) | 
| 08:09.35 | *** join/#openezx l403 (n=l@85.132.159.239) | 
| 08:59.15 | *** join/#openezx l403 (n=l@85.132.159.239) | 
| 09:04.38 | *** join/#openezx gmzhuo (n=gmzhuo@222.210.147.75) | 
| 09:23.11 | *** join/#openezx ao2 (n=none0@91-234-dsl.kielnet.net) | 
| 09:25.25 | *** join/#openezx gDD (i=io@125.116.34.245) | 
| 09:28.18 | yang | Hey ao2 | 
| 09:28.28 | ao2 | hi yang | 
| 09:28.36 | yang | ao2: Perhaps I might go to Umbria in May | 
| 09:30.36 | ao2 | ah yang, Umbria is nice also. I was reading there was a heartquake yesterday there. | 
| 09:30.42 | yang | oh | 
| 09:31.39 | ao2 | ah, no, it is not umbria, sorry | 
| 09:31.44 | ao2 | I mixed up my mind | 
| 09:32.00 | yang | L'Aquila | 
| 09:32.16 | ao2 | yes, it is Abruzzo, another region | 
| 09:33.11 | yang | I see it on news now | 
| 09:34.36 | yang | We have an earthquake area too, the last strong one was in 2004 i think | 
| 09:35.19 | yang | lucky for you to be in Germany at this time ! | 
| 09:44.33 | *** join/#openezx florian_kc (n=fuchs@port-217-146-132-69.static.qsc.de) | 
| 09:52.37 | *** join/#openezx gDD (i=io@125.116.13.181) | 
| 09:55.01 | *** part/#openezx Ainulindale (n=ainu@vol75-9-82-239-74-247.fbx.proxad.net) | 
| 09:58.59 | ao2 | yes yang, although it was very very light where I live. I have to leave now, see you later | 
| 09:59.09 | florian | good morning | 
| 10:00.10 | yang | gmzhuo: xingzuo.org expires today, if it makes any interest to you | 
| 10:16.43 | *** join/#openezx gDD (i=io@60.179.21.67) | 
| 10:41.18 | gDD | i've checked the discussions on motorola sourceforge E6 page, so there still no kernel source for E6? | 
| 10:49.46 | gmzhuo | no kernel source for e6 | 
| 10:54.40 | WyrM | something broke bp on gen1. | 
| 10:54.49 | WyrM | bp rdy irq never comes. :( | 
| 10:59.12 | gDD | hmm, i should really write a blog on blogger.com and title is "Never buy/purchasing a Motorola phone" then this is my last thing can do for my Xxxxing E6... | 
| 11:14.23 | gDD | but we have A1200 source right? E6 is almost the same as, at least that is great! | 
| 11:18.50 | *** join/#openezx florian (n=fuchs@port-217-146-132-69.static.qsc.de) | 
| 12:14.13 | gmzhuo | Wyrm,I'll test it on gen2 | 
| 12:14.33 | WyrM | its probably working on gen2. | 
| 12:14.38 | WyrM | handshake is easy on gen2. | 
| 12:14.44 | WyrM | on gen1 it's a pain :( | 
| 12:16.10 | gmzhuo | If we can know which type in gen-blob,we can handshake in gen-blob | 
| 12:16.28 | gmzhuo | so gen1 and gen2 can be the same | 
| 12:18.02 | WyrM | hum, its harder to detect the phone reliably than it is to pass machid ;) | 
| 12:18.16 | WyrM | im looking into the handshake code again.. | 
| 12:18.31 | WyrM | trying to reset BP, and do the handshake since step1. | 
| 12:20.19 | gmzhuo | seem's in 42pclean,there has reset | 
| 12:20.43 | WyrM | gmzhuo: yes, on gen2 the flashmode is reversible too. | 
| 12:20.59 | WyrM | but I never managed to revert from flash mode to normal mode on gen1. | 
| 12:26.44 | gmzhuo | broken on gen2 twoo | 
| 12:27.41 | WyrM | I no longer get bp rdy interrupts here. | 
| 12:27.44 | WyrM | don't know why. | 
| 12:39.24 | gmzhuo | maybe I make one mistake before,bp still work on gen2 | 
| 12:39.36 | gmzhuo | I'll test it later | 
| 12:46.21 | WyrM | ahhh. | 
| 12:46.25 | WyrM | found the problem. | 
| 12:46.42 | WyrM | no, false alarm :( | 
| 12:56.48 | gmzhuo | got so many oop msg | 
| 12:56.59 | WyrM | gmzhuo: these are easy to solve. | 
| 12:57.03 | WyrM | and not oops. | 
| 12:57.04 | WyrM | :) | 
| 12:57.27 | gmzhuo | when request gpio | 
| 12:57.33 | WyrM | its just unrequested gpio, eric wanted to be more verbose so we fix it :) | 
| 12:58.09 | WyrM | previously it was just a "gpio xx autorequested" message... | 
| 12:58.20 | WyrM | now they made it very noisy! | 
| 12:58.58 | WyrM | anyway. im requesting gpios as it was supposed to be done.. | 
| 12:59.04 | WyrM | and it doesn't fix the issue. | 
| 12:59.33 | WyrM | configuring the usb port before the handshake is done makes it work here. | 
| 12:59.43 | WyrM | but I don't want to do this, as IIRC this breaks gen2. | 
| 13:02.07 | *** join/#openezx ysakaed (n=ysakaed@118-166-235-101.dynamic.hinet.net) | 
| 13:03.47 | gmzhuo | gen2 broken too | 
| 13:04.13 | gmzhuo | but there has rdy irq,but can't set device address | 
| 13:12.44 | gmzhuo | dose there any more gpio operation? | 
| 13:15.40 | WyrM | what do you mean? | 
| 13:15.45 | WyrM | I think its timing. | 
| 13:16.34 | WyrM | something changed on timing, here I no longer get bp rdy interrupts, but if I don't wait for rdy interrupt and configure the usb port it works. | 
| 13:17.51 | gmzhuo | I got bp rdy,but faield to set device address,even I set UP3OCR when machine init | 
| 13:18.11 | WyrM | weird. | 
| 13:18.23 | WyrM | I remember that on gen2 you need to wait for the interrupt. | 
| 13:18.40 | WyrM | otherwise it will fail to setup the port. | 
| 13:33.02 | gmzhuo | got it work on gen2 | 
| 13:33.23 | gmzhuo | But I know you will not accept it | 
| 13:33.32 | WyrM | heh | 
| 13:33.37 | WyrM | what was needed? :) | 
| 13:33.46 | WyrM | I got it working on gen1 too. | 
| 13:34.01 | gmzhuo | I make ezx_bp.c module_init as late_callinit | 
| 13:34.06 | WyrM | but I want to understand what's happening, not just to workaroung the issue someway | 
| 13:34.45 | WyrM | late_callinit? | 
| 13:34.53 | WyrM | this is called before module_init right? | 
| 13:35.06 | gmzhuo | no,after module_init | 
| 13:35.29 | gmzhuo | On gen2 I see bp rdy irq is too early, | 
| 13:35.40 | WyrM | I don't see bp_rdy here. | 
| 13:35.55 | WyrM | so, your fix will probably make things worse for gen1... | 
| 13:36.02 | gmzhuo | usb detect should be done after bp rdy | 
| 13:36.06 | WyrM | im bisecting to see which commit broke it. | 
| 13:36.08 | gmzhuo | yes | 
| 13:36.37 | gmzhuo | but maybe no | 
| 13:37.35 | gmzhuo | port setup should be mmediately after bp rdy | 
| 13:37.53 | gmzhuo | but you don't got bp rdy,that's weird | 
| 13:40.48 | WyrM | even weirder is that I don't need the third step... | 
| 13:41.08 | WyrM | if I setup the port without caring about the handshake it works. | 
| 13:44.20 | gmzhuo | You try to setup the port in machine init and make module_init as later_initcall in ezx_bp.c | 
| 13:45.08 | WyrM | Bisecting: 4992 revisions left to test after this | 
| 13:45.13 | WyrM | patience.... | 
| 13:48.06 | gmzhuo | Not work on e6 | 
| 13:48.07 | *** join/#openezx stefan_schmidt (n=stefan@c0035.wlan.rz.tu-bs.de) | 
| 13:56.16 | gmzhuo | maybe bp is too critical,only excute device detect operation once | 
| 13:56.41 | gmzhuo | WyrM, | 
| 13:57.15 | WyrM | yes, probably. | 
| 13:57.37 | gmzhuo | I got bp work UP3OCR = 2 when machine_init old_scheme_first = 0 and ezx_bp.c is module_init | 
| 13:58.28 | gmzhuo | But I think maybe we will meet bp broken again | 
| 14:00.37 | gmzhuo | So we will not change hub.c in mainline now:) | 
| 14:01.17 | gmzhuo | but it's not safe enougth | 
| 14:01.25 | WyrM | This is definitely some timing issue. | 
| 14:01.46 | gmzhuo | yes | 
| 14:02.21 | WyrM | but even if I remove ts0710, leaving only the handshake code... | 
| 14:02.29 | WyrM | it still doesn't complete here. | 
| 14:02.30 | WyrM | :( | 
| 14:03.27 | gmzhuo | before bp shake,the new detect method is excute,after shake complete,the old method is excute,so I got E6 work | 
| 14:05.00 | gmzhuo | anyway,we can be sure the problem is timing issue,and we know how to deal it,right | 
| 14:16.34 | WyrM | I don't know how to deal with it. :/ | 
| 14:21.24 | gmzhuo | have you test let port setup when machine init &old_scheme_first = 0 on A1200? | 
| 14:21.42 | WyrM | I want to fix gen1 now. | 
| 14:21.48 | WyrM | will test gen2 later. | 
| 14:25.02 | *** join/#openezx tombhadAC (n=tombhad@pD95DE0CB.dip.t-dialin.net) | 
| 14:26.43 | WyrM | gmzhuo: late_initcall doesn't work here. | 
| 14:27.01 | WyrM | (im not using the mux drivers, only handshake). | 
| 14:27.03 | WyrM | I see: | 
| 14:27.15 | WyrM | pxa_set_low_gpio_type failed: GPIO is configured | 
| 14:27.15 | WyrM | setting trigger mode 1 for irq 8 failed (pxa_set_low_gpio_type+0x0/0x150) | 
| 14:27.37 | WyrM | seems that its called when gpio is not ready yet. | 
| 14:28.09 | WyrM | also, late_initcall seems to be called AFTER module_init. | 
| 14:29.05 | WyrM | ahh, sorry, you said it was after. | 
| 14:35.29 | WyrM | gmzhuo: git log -p arch/arm/mach-pxa/pxa27x.c | 
| 14:35.37 | WyrM | commit a58fbcd8ad17ddaa0c7aadbbbd20de4ebc807fa4 | 
| 14:35.45 | WyrM | I think it's the culprit.. | 
| 14:35.50 | WyrM | bp_rdy is gpio0 | 
| 14:40.48 | *** join/#openezx stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de) | 
| 14:42.41 | gmzhuo | and?? | 
| 14:43.18 | *** join/#openezx Gottox (n=Gottox@s01.de) | 
| 14:43.42 | WyrM | do you really get a         DEBUGP("BP rdy irq\n"); on e6? | 
| 14:44.01 | gmzhuo | yes | 
| 14:44.05 | WyrM | or your handshake passes on the first call? | 
| 14:44.11 | gmzhuo | no | 
| 14:44.14 | WyrM | I can't get the interrupt here. | 
| 14:44.14 | gmzhuo | later irq | 
| 14:45.26 | WyrM | im suspecting the changes on pxa_init_gpio are the culprit. | 
| 14:49.04 | gmzhuo | <4>BP rdy irq | 
| 14:49.04 | gmzhuo | <4>bp handshake entered! | 
| 14:49.14 | WyrM | :/ | 
| 14:49.21 | WyrM | then this can't be this change... | 
| 15:07.50 | WyrM | I need to go. | 
| 15:07.57 | WyrM | will continue this later tonight. | 
| 15:13.19 | gmzhuo | bye | 
| 15:15.47 | *** join/#openezx johanbr (n=j@JBrannlund2.MathStat.Dal.Ca) | 
| 16:51.37 | *** join/#openezx janneg (n=janne@tichy.grunau.be) | 
| 17:16.34 | *** join/#openezx purl (i=ibot@rikers.org) | 
| 17:16.34 | *** topic/#openezx is OpenEZX Developer Lounge -- new gen-blob at http://people.openezx.org/wyrm/gen-blob/gen-blob -- http://openezx.org | 
| 17:29.38 | *** join/#openezx janneg (n=janne@tichy.grunau.be) | 
| 17:45.51 | *** join/#openezx pleemans (n=toi@d54C2AAB7.access.telenet.be) | 
| 19:57.23 | *** join/#openezx purl (i=ibot@rikers.org) | 
| 19:57.23 | *** topic/#openezx is OpenEZX Developer Lounge -- new gen-blob at http://people.openezx.org/wyrm/gen-blob/gen-blob -- http://openezx.org | 
| 21:47.34 | *** join/#openezx florian (n=fuchs@f049068214.adsl.alicedsl.de) | 
| 22:20.50 | *** join/#openezx sabrod (n=sab@lns-bzn-20-82-64-21-102.adsl.proxad.net) | 
| 22:57.10 | *** join/#openezx WyrM (n=wyrm@189.13.109.253) | 
| 23:17.30 | *** join/#openezx flyhorse|linux (n=flyhorse@116.18.197.187) |