01:00.29 | *** join/#htc-linux Dinde (n=kayser@sur-internet.net) |
03:20.46 | *** join/#htc-linux J4k3 (n=jsuter@openwrt.us) |
03:36.24 | *** join/#htc-linux kiko_ (n=Kiko@st0192.nas931.soka.nttpc.ne.jp) |
03:39.54 | *** join/#htc-linux Zoolooc (n=fredsiba@p54952DA0.dip0.t-ipconnect.de) |
04:17.39 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
04:28.16 | *** join/#htc-linux huhlig (n=UhligH@pool-96-229-224-170.lsanca.fios.verizon.net) |
05:12.25 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
05:42.36 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
05:42.45 | goxboxlive | good morning |
06:09.59 | *** join/#htc-linux dion (n=dion@inhex.net) |
06:22.40 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
06:39.01 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
06:50.28 | *** join/#htc-linux rob_w (n=bob@X10ca.x.pppool.de) |
06:53.17 | *** join/#htc-linux huhlig (n=UhligH@pool-96-229-224-170.lsanca.fios.verizon.net) |
06:56.04 | *** join/#htc-linux sadeness_ (n=LamersIn@nat1.rlan.ru) |
07:43.52 | *** join/#htc-linux rmoravcik (n=moravcik@gtsgw.ttc.cz) |
07:48.26 | *** join/#htc-linux kiozen (n=oeichler@p5492A7DA.dip0.t-ipconnect.de) |
08:02.26 | *** join/#htc-linux wild (n=root@st5a11.di.uniba.it) |
08:14.04 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
08:16.48 | wild | cr2 are you BabelO friend? |
08:38.28 | goxboxlive | wild: cr2 is german and BabelO is french. I guess they have never met in real life. But bought of them hang around here every day. |
08:38.42 | goxboxlive | s/bought/both/ |
08:45.00 | wild | wow :) ok.... fantastic... i know that BabelO is french!.... i want know if cr2 can help me like BabelO! |
08:47.00 | *** join/#htc-linux zoolooc (n=lucian@p54952DA0.dip0.t-ipconnect.de) |
09:34.23 | *** join/#htc-linux ltxda0 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
09:54.07 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
10:10.51 | *** join/#htc-linux dcordes (n=user0815@f048226202.adsl.alicedsl.de) |
10:51.56 | *** join/#htc-linux Keizer (n=keizer@c-69-139-42-47.hsd1.fl.comcast.net) |
11:57.12 | *** join/#htc-linux rob_w|laptop (n=rob_w@p549B9C1E.dip0.t-ipconnect.de) |
11:59.29 | *** part/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
12:04.24 | *** join/#htc-linux ltxda00 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
12:12.20 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
14:38.35 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-553f4e658de2d016) |
15:00.59 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-ccf62e1c98ac25ce) |
15:03.38 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
15:05.41 | *** join/#htc-linux magumbade (n=magumbad@p5497E28E.dip.t-dialin.net) |
15:15.33 | dcordes | hi |
15:17.12 | dcordes | cr2: ping |
15:28.52 | dcordes | somebody has a few minutes spare time to help me go on with kaiser/titan memory map? |
15:38.07 | zoolooc | hi dcordes, is that info already online somewhere in some wiki? |
15:48.06 | dcordes | zoolooc: you mean the display thing we did yesterday? |
15:48.43 | dcordes | maybe cr2 put it. Thing is he calculated something and I didn't really get what he did so I was not able to file it |
15:51.28 | dcordes | we found out something about i2c and touchscreen. |
15:51.51 | dcordes | zoolooc: you can check logs for more detail- I made some pastebins with the output |
15:54.19 | *** join/#htc-linux law|home (n=_law_@213.173.86.202) |
16:18.23 | dcordes | silent today ^^ |
16:23.00 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
16:33.35 | zoolooc | dcordes: I'm still @work, sorry for not responding |
16:34.31 | dcordes | nevermind |
16:34.46 | zoolooc | dcordes: well, last in the morning I've briefly read the IRC conversation and clicked on few pastebin links of yours, but I too can't understand what those addresses are all about |
16:35.29 | dcordes | would be great if we would, so we could do the job on our own |
16:35.43 | dcordes | I really tried to understand but didn't get far |
16:36.47 | dcordes | but I think the irqs for i2c and touchscreen are very important |
16:36.50 | zoolooc | not that it where not understandable, but I'm not at all into such low level programming, at least not now. Last time I had contact with such things was 15 years ago, I guess, when we had a uController architecture course at university :-) |
16:36.54 | dcordes | so it was not for nothing :) |
16:37.26 | dcordes | heh see- I have no clue about any level programming |
16:37.28 | zoolooc | sure those are important |
16:38.30 | zoolooc | you shouldn't mis-interpret what I said, "low-level" was meant in a sense of very close to hardware, registers, address spaces and such :-) |
16:38.44 | dcordes | yes I got this :) don't worry |
16:39.03 | dcordes | I already noticed you are it pro |
16:40.41 | dcordes | heh |
16:56.18 | *** join/#htc-linux wild (n=root@st5a11.di.uniba.it) |
16:56.57 | wild | anyone can help me to compile a kernel module? |
17:00.36 | goxboxlive | wild: What kind of kernel module? WHat device are you trying to compile for? |
17:02.47 | wild | goxboxlive: Device: blueangel, Kernl: my compiled kernel: 2.6.21-hh18 with noeabi gcc, and this is the module that i want compile: http://core.it.uu.se/core/files/aodv-uu-0.9.5.tar.gz |
17:02.52 | wild | can you help me? |
17:03.06 | wild | i have some errors :( |
17:03.15 | wild | while compiling |
17:03.23 | goxboxlive | wild: is it a part of the handhelds.org source tree*? |
17:04.06 | wild | no, but if you download it, you can read in README procedure to compile ARM IPAQ familiar....and so on |
17:04.48 | goxboxlive | ok, i'll look |
17:05.09 | wild | thankyou very much goxboxlive , i wait here! :( |
17:07.25 | wild | i ask BabelO too, but BabelO have the same error like me :( if you help me, i'm happy.... i try compile from days withoud success :( |
17:08.00 | wild | i think that is a different kind of toolchain... , i try severals compiler, but i have ever errors (sorry for my english) |
17:14.02 | goxboxlive | wild: I get errors too. I am testing with a gueabi crosscompiler |
17:14.37 | goxboxlive | wild: have you tested with openembedded? |
17:14.47 | goxboxlive | It exist in the openembedded repo |
17:15.07 | goxboxlive | you can build it for boueangel there too. Or any other device you might have |
17:15.48 | wild | goxboxlive: no, i have no experience with openembedded, can you explain what i should do? giveme links ecc... |
17:16.55 | goxboxlive | hmm i just saw that they existed in the nonworking folder. Here is link to get started: http://www.openembedded.org/wiki/GettingStarted |
17:17.27 | goxboxlive | You can compile almost everything there, and for several arch. |
17:17.53 | wild | openembedded give me cross compiler for my handheld kernel? |
17:18.34 | goxboxlive | wild: yes |
17:18.49 | goxboxlive | wild: is it blueangel you are using? |
17:18.58 | wild | goxboxlive: yes |
17:19.25 | goxboxlive | It gives you more than a kernel, it gives you a image you want, like gpe, opie, openmoko and so on |
17:19.34 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:19.34 | wild | but i need something to quikly... now i must study openembedded... it is simple procedure? |
17:20.13 | dcordes | wild: it's not complex but time intensive at the beginning |
17:20.17 | goxboxlive | wild: no, when you first have it working, but it will take some time. I can try to build the package for you in my Openembedded build |
17:22.27 | wild | goxboxlive: i appreciate your help, the main problem is that this work is for my thesis at university, i graduate on 14th december, the main task is compile kerenl for my device and module, the first work is done (compile kernel) |
17:22.32 | goxboxlive | It's not working in openmebedded weither.. It wouldnt build |
17:22.39 | wild | the second failed |
17:22.53 | wild | so.... fail in openembedded too :( |
17:22.55 | wild | grrrrrrrrrrrrrrrrrrrrrrr |
17:22.57 | goxboxlive | yes |
17:23.57 | wild | grrrr |
17:23.57 | wild | :( |
17:24.27 | wild | if you solve it, i can put your name in my work, goboxlive, BabelO and all that help me :( |
17:24.44 | wild | please let me know if you solve it |
17:25.17 | wild | my email is: wildspecial@yahoo.it |
17:25.35 | *** join/#htc-linux rob_w (n=bob@X01d4.x.pppool.de) |
17:33.13 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
17:38.52 | wild | goxboxlive: any news? |
17:39.34 | *** join/#htc-linux pH5 (n=ph5@e178243170.adsl.alicedsl.de) |
17:40.50 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:41.02 | goxboxlive | wild: no i have no ideas. sorry |
17:41.50 | goxboxlive | hi pH5 |
17:41.58 | pH5 | hi goxboxlive |
17:43.19 | wild | goxboxlive: ok...let me know! |
17:43.36 | goxboxlive | yes |
17:55.40 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
17:57.40 | *** join/#htc-linux Babel (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
18:05.02 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
18:23.35 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db03dc0.pool.einsundeins.de) |
19:03.56 | wild | Babel: i know, i'm Annoying..... any news? |
19:04.33 | dcordes | wild: which oe product do you want to build? join #oe for openembedded help |
19:05.28 | wild | mhh ok.... thanks! |
19:30.23 | dcordes | cr2: ping:) |
19:35.51 | *** join/#htc-linux Zoolooc (n=fredsiba@p54952DA0.dip0.t-ipconnect.de) |
19:53.08 | dcordes | hi Zoolooc |
19:53.52 | Zoolooc | hi dcordes |
19:54.19 | dcordes | do you have any idea on how to continue? |
19:54.50 | Zoolooc | unfortunately not |
20:04.04 | kiozen | anyone knows how to tell configure & make not to take libraries from the system's libdir but a user defined one? (yes I tried --libdir) |
20:15.40 | dcordes | ~seen PITAboy |
20:15.43 | apt | pitaboy <i=Windoze@adsl-221-110-242.rmo.bellsouth.net> was last seen on IRC in channel #htc-linux, 2d 17h 54m 4s ago, saying: 'well HTC wrote me back and said that since that putting linux on the device would void the warentee that they are unable to help'. |
20:17.48 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-2571bd5748bc83ba) |
20:17.59 | dcordes | heh nice statement- I wonder what his exact question was |
20:46.38 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
20:56.26 | J4k3 | blah. its a shame htc is such a stupid microsoft-centric company. I'd pay more than I paid for my apache for the ability to load linux with complete driver support... |
20:57.26 | dcordes | same here |
21:03.51 | J4k3 | theres a general lack of 'fun' CDMA devices. The GSM coverage where I live is fairly spotty |
21:05.13 | J4k3 | oh well, the apache will go back to ebay :| |
21:07.17 | dcordes | is apache gsm or cmda? |
21:13.40 | cr2 | J4k3: what's wrong with apache ? |
21:14.07 | J4k3 | cr2: eh.. WM5 is painful, the hacked WM6 is painful. :| |
21:14.22 | J4k3 | then I screwed up and loaded Verizon AKU3.3 on it, which is appareently blocking me from loading WM6 back on |
21:14.32 | J4k3 | so its extra painful to use. |
21:14.34 | cr2 | i have heard, once, that there the CDMA version of blueangel was working. |
21:14.48 | dcordes | hi cr2 |
21:14.52 | cr2 | J4k3: but there are not other working cdma phones afaik |
21:14.54 | cr2 | ho dcordes |
21:15.30 | cr2 | dcordes: i've looked at the android code today, and i'm actually more optimistic than i was before. |
21:16.38 | dcordes | sounds like very good news! |
21:17.15 | cr2 | dcordes: there are 2 core problems to boot the kaiser: mddi init of your toppoly LCD and the uncertainty about the gpio setup and operation. |
21:18.16 | dcordes | cr2: ok. how can I help? |
21:18.31 | cr2 | J4k3: apache has the best chances between CDMA phones to have linux support, you just need to invest some time into the CDMA modem operation research. |
21:19.38 | cr2 | J4k3: Kevin2 has done the initial traces, and there were some open questions. i have no idea about it because CDMA is very far away from me :) |
21:21.10 | cr2 | dcordes: it's a problem. actually, it's not a very big deal to make linux run on kaiser for a qualified person. in the PDA mode, with the already available information. |
21:23.15 | dcordes | cr2: what are the main requriements to be met in order to go from qualcomm to such linux? |
21:23.37 | dcordes | sorry- from the android kernel to a kernel that boots on kaiser |
21:24.28 | cr2 | the most realistic way to do it is just to analyze the kaiser SPL code, and adapt the android kernel to our needs. |
21:25.10 | dcordes | what's SPL code and how can I help analyzing it? |
21:25.39 | cr2 | the android kernel has the necessary information and code in a bit obfuscated form sometimes, but it's nevertheless priceless :) |
21:25.56 | cr2 | SPL is your secondary HTC bootloader |
21:26.15 | dcordes | is that similar to the different bootloader stages on the ipaqs? |
21:26.28 | cr2 | you can see it at 0x0 address, and it takes the first megabyte. |
21:26.45 | cr2 | yes, thek on it as a bios. |
21:26.57 | cr2 | it's loaded from NAND into SRAM at boot |
21:27.11 | cr2 | and can control your hardware. |
21:27.36 | cr2 | you can also dump the wince kernel from SDRAM, it also has all the necessary information |
21:29.05 | cr2 | and the spl is written based on the same qualcomm toolkit i guess. |
21:29.10 | dcordes | ok I will look for info on how to do so |
21:29.22 | cr2 | the overlaps between the code used by htc and android are sometimes amazing. |
21:29.45 | cr2 | even the debug messages are the same. |
21:33.14 | cr2 | it's not that important. |
21:33.42 | cr2 | motorola is certainly there, and after a780 i don't trust anything that comes out of motorola. |
21:34.31 | J4k3 | cr2: well, I'm tempted to go to GSM. I have a 150 ft (45M) tower on this place, I'd just need one of those amplifier-things |
21:34.37 | cr2 | it is a great linux device, but the way how motorola dealed with it, is simply mindbreaking. |
21:34.49 | cr2 | J4k3: that's certainly easier. |
21:34.53 | dcordes | cr2: could you point me into a direction regarding wince kernel dump from SDRAM? |
21:34.54 | J4k3 | I can get ok GSM coverage in my yard, and full signal about 1/3rd of the way up the tower. |
21:36.09 | cr2 | dcordes: it's probably easier to deal with the SPL, because the wince kernel has a lot of microsoft cruft inside, and you need to have some experience with it. |
21:36.14 | cr2 | SPL is much cleaner. |
21:36.24 | cr2 | J4k3: which phone you'd like to get ? |
21:37.32 | dcordes | cr2: see I try everything you tell me to. Just put orders ^^ |
21:37.55 | J4k3 | cr2: well thats the tough part. I want something with working wifi, bt, and cellular, and touch screeen |
21:38.29 | J4k3 | well, touch screen + keyboard |
21:38.33 | dcordes | J4k3: get a titan and help with msm7*00 progress |
21:38.47 | dcordes | well featured cdma toy |
21:39.36 | goxboxlive | pH5: any idea why tslib isent included anymore in console-image? |
21:40.10 | cr2 | dcordes: if he just wants to have a working linux phone, universal or blueangel is a much better option. |
21:40.38 | J4k3 | well, it doesn't *have* to be linux, I just see linux as having the highest chance of reliability. |
21:40.53 | J4k3 | wm just leads to cursing. |
21:41.28 | dcordes | agreed |
21:41.40 | cr2 | J4k3: this channel is about linux on htc phones :) |
21:41.50 | dcordes | although I only used wm for a day yet |
21:41.51 | J4k3 | cr2: I know :) |
21:42.43 | dcordes | cr2: are these cdma? |
21:43.02 | cr2 | wince is slow and unreliable, but working. just like other microsoft products. |
21:43.10 | cr2 | dcordes: umts/gsm |
21:43.32 | dcordes | I think he wants to go for a cdma device |
21:43.38 | J4k3 | yeah... wm6 reminds me of my first experiences with win95 on a 386DX/40 with 8MB ram. Slow, buggy, but cooler than anything else I'd seen before. |
21:43.43 | pH5 | goxboxlive: no. should it be in there? console doesn't have ts support anyway. |
21:44.06 | J4k3 | well, the iphone is slick too. my friend thats a manager for apple ts says they're fragile and sketchy |
21:44.26 | goxboxlive | pH5: it had before. |
21:44.38 | goxboxlive | ts_calibrate was included, but not now |
21:44.40 | dcordes | J4k3: fragile as in unstable? |
21:46.36 | goxboxlive | pH5: i ghad to add tslib_calibrate to the console image file |
21:47.12 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
21:47.24 | J4k3 | goxboxlive: he says the touchscreen has a tendency to get damaged unless you baby it |
21:47.44 | J4k3 | goxboxlive: its not like a regular pda touchscreen |
21:47.59 | goxboxlive | J4k3: ? |
21:48.35 | dcordes | cr2: so what about SPL? |
21:49.12 | cr2 | dcordes: i'm thinking what can be done. |
21:50.17 | dcordes | ok |
21:55.18 | Hymie | http://www.reghardware.co.uk/2007/11/21/usb_vacuum_cleaner/ |
21:56.41 | *** join/#htc-linux Zoolooc (n=fredsiba@p549531E9.dip0.t-ipconnect.de) |
21:57.48 | cr2 | Hymie: you need an usb host for that. with >100mA |
22:00.06 | cr2 | dcordes: i think the most realistic task is the following |
22:00.31 | cr2 | dcordes: do you have the android kernel locally ? |
22:03.04 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
22:03.56 | dcordes | cr2: yes. I git cloned it. |
22:04.14 | dcordes | (yesterday) |
22:04.41 | cr2 | dcordes: cd linux-msm/drivers/video/msm |
22:05.08 | dcordes | a second- let me fire up X |
22:06.46 | dcordes | cr2: ok. Am there |
22:13.31 | cr2 | look at the mdp.c file |
22:14.44 | cr2 | there are a lot of registers partly referenced in mdp_hw.h |
22:14.52 | cr2 | or used directly in the code. |
22:15.04 | cr2 | looks really obfuscated to me. |
22:15.27 | cr2 | but they all reference MSM_MDP_BASE |
22:16.16 | cr2 | see also mdp_csc_table.h and mdp_scale_tables.h |
22:16.30 | dcordes | just for my comprehension: what are mdp.c and mdp_hw.h |
22:17.06 | dcordes | only thing I understand is "used by framebuffer core" in mdp.c |
22:18.02 | cr2 | grep for MSM_MDP_BASE in this directory. |
22:19.08 | *** join/#htc-linux thinko (i=jdoe6alp@smaug.rackdragon.com) |
22:22.44 | dcordes | cr2: hm I can't figure how to do this. tried "cat * | grep MSM_MDP_BASE" but how do I get the filenames? |
22:24.38 | cr2 | grep MSM_MDP_BASE * |
22:26.08 | cr2 | you get a lot of stings like MSM_MDP_BASE + 0x40420 |
22:26.11 | dcordes | cr2: ok what can I take fro mthis? |
22:26.14 | dcordes | yes |
22:26.31 | cr2 | some are documented , others not. |
22:27.02 | dcordes | what does that mean 'a string is documented'? |
22:27.58 | cr2 | mdp_hw.h:#define MDP_INTR_STATUS (MSM_MDP_BASE + 0x00024) |
22:29.15 | dcordes | ok I get the impression that only the strings in mdp_hw.h are documented, right? |
22:31.00 | Zoolooc | hey, seems that some really serious hacking begun here |
22:31.12 | dcordes | hi Zoolooc |
22:32.48 | cr2 | yes. |
22:33.01 | cr2 | but can also see what values are written into other regs. |
22:33.55 | cr2 | since you know the MSM_MDP_BASE, you can write down the list of all registers referenced by the android code and (1) put them into a table. |
22:34.12 | cr2 | (2) you can check with haret, if you have different values. |
22:34.52 | cr2 | for the "dynamic" registers like irq status it's not very useful, but for some others it's very useful. |
22:35.02 | cr2 | to know how they are set up. |
22:40.42 | dcordes | cr2: Ok I made a list of all commented MSM_MDP_BASE strings found in mdp_hw.h |
22:41.50 | cr2 | dcordes: what about the others ? |
22:42.41 | dcordes | which others? |
22:43.09 | dcordes | I thought the undocumented strings were not of interest |
22:43.36 | cr2 | undocumented MSM_MDP_BASE + 0x50200 |
22:43.39 | cr2 | like that. |
22:44.20 | cr2 | this one is documented MSM_MDP_BASE + 0x5fffc |
22:44.42 | cr2 | but the name is not used ;) |
22:44.45 | cr2 | mdp_hw.h:#define MDP_SCALE_COEFF_LSB (MSM_MDP_BASE + 0x5fffc) |
22:46.12 | cr2 | f 2a 43 5e |
22:46.22 | cr2 | 69 |
22:47.17 | cr2 | 15 42 67 94 105 |
22:47.59 | dcordes | I cannot figure the difference between your example of undocumented and documented strings |
22:48.34 | cr2 | the register MSM_MDP_BASE + 0x5fffc is "documented", it's called MDP_SCALE_COEFF_LSB |
22:48.58 | cr2 | but there are registers that are used, but have no cleartext names. |
22:51.47 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-19edfa58ed9f9ad9) |
22:52.29 | dcordes | ok |
22:52.45 | dcordes | I think I got now what's documented |
22:56.35 | dcordes | what I don't understand is the purpose of the mission: What's MSM_MDP_BASE and why should I compare it with stuff on kaiser? |
22:56.43 | dcordes | *currently on kaiser |
22:59.08 | cr2 | these are video setup/control registers. |
22:59.16 | cr2 | and you have a different panel. |
23:00.23 | dcordes | ah I see- so I want to figure the difference between how my panel is controlled by the kernel, and how the halibut one is controlled by the kernel? |
23:01.23 | cr2 | yes. |
23:01.36 | Zoolooc | msm is halibut's framebuffer driver? |
23:01.49 | Zoolooc | and kaiser has this other panel, topolly? |
23:02.28 | Zoolooc | sorry, meant mdp |
23:02.31 | pH5 | MDP stands for Mobile Display Processor. |
23:02.57 | Zoolooc | so that's something generic, not specific to this soc? |
23:03.07 | pH5 | mdp/mddi is the display configuration part in the qualcomm chip, and the configuration has to be different for different lcds |
23:03.20 | pH5 | Zoolooc: it is specific to the msm7k soc. |
23:03.42 | pH5 | omap has the lcdc (lcd controller), pxa has pxafb (pxa frame buffer), etc. |
23:04.18 | dcordes | ah ok. that clearifies things |
23:04.30 | Zoolooc | hmm, and on kaiser it's also the same, only that these registers are used slightly different? |
23:04.44 | pH5 | think of it as parts of a graphics card embedded into the main cpu. |
23:05.14 | pH5 | Zoolooc: right, kaiser also uses a msm7k cpu. |
23:07.16 | cr2 | pH5: i don't see any big differences between the 7200 and 7200A gpio config. yet. |
23:07.37 | dcordes | cr2: is there anythign more specific I can do right now with haret? |
23:08.06 | pH5 | cr2: all the better |
23:09.39 | cr2 | dcordes: MDP_BASE is 0xaa200000 |
23:10.04 | cr2 | dcordes: you can just dump this area, so we can compare the values. |
23:10.29 | cr2 | the mddi setup is too complicated to be done traced with haret. |
23:10.36 | dcordes | what do I define as beginning and ending? |
23:11.06 | cr2 | pH5: but there are some other registers not used by androids. |
23:14.22 | pH5 | cr2: did you already find the imageon based part of the msm7200? |
23:15.18 | cr2 | pH5: these MDP offsets control the video part. |
23:15.42 | cr2 | i don't know how does it overlap with w228x |
23:15.51 | pH5 | cr2: that's what I'm curious about :) |
23:15.52 | cr2 | but we can compare the tables. |
23:16.04 | dcordes | cr2: "addlist mmutrace 0xaa200000; wi 30" ? |
23:16.22 | cr2 | well, if dcordes will create a table, my w228x table is more or less ready := |
23:16.43 | cr2 | dcordes: pd 0xaa200000+XXXX 4 |
23:16.47 | dcordes | roger |
23:17.06 | cr2 | dcordes: you can even write a script to cover all the regs, and include the comments. |
23:17.53 | dcordes | pd 0xaa200000+XXXX 4 wrong syntax |
23:19.07 | dcordes | that's where the script comes to stage? |
23:20.18 | Zoolooc | cr2: you mean a script like the one given haret to run, like default.txt ? |
23:20.38 | cr2 | yes. |
23:21.18 | Zoolooc | ok, cmon let's do it |
23:21.19 | dcordes | aka bootscript? |
23:21.55 | cr2 | yes. |
23:22.09 | cr2 | pH5: the htc-egpio is limited to 8regs ? |
23:22.32 | dcordes | pH5: I have work to do. Is there anything you want me to trace before I leave? |
23:22.40 | dcordes | cr2: sorry |
23:22.43 | pH5 | cr2: there is some hardcoded limit currently, might be 8. if you need more, just increase it. |
23:23.07 | Zoolooc | will fire up wlan and mount my kaiser, cr2: you might tell me what to do before I go to bode |
23:23.12 | cr2 | pH5: athena uses 8 but there are 9 of them. it seems kaiser too. |
23:23.40 | dcordes | bbiab |
23:23.42 | cr2 | pH5: maybe we'll bump it up to 16. |
23:23.51 | pH5 | cr2: all of them 8bit, 16bit aligned? |
23:24.59 | cr2 | yes. |
23:27.26 | pH5 | I'm just thinking about how to best have this fit with the gpio_chip structure that is maybe going into mainline soon. |
23:27.27 | pH5 | For the 8bit CPLDs we could easily fit up to 4 successive registers into one gpio_chip structure if they all have the same direction. |
23:28.29 | pH5 | but just bump it up to 9 now. why waste 7 words on every machine if nobody is using them. |
23:28.51 | cr2 | ok. |
23:29.06 | cr2 | i wonder if other cplds have the same config actually. |
23:29.34 | cr2 | the most weird config is alpine, but nobody seems to be interested in it lately. |
23:30.47 | cr2 | 0xbb8 1a,1b,19 |
23:31.11 | cr2 | pH5: do these numbers say you anything ? it's power-related. |
23:32.50 | pH5 | nothing. what are those numbers? |
23:33.29 | cr2 | no idea yet. |
23:33.44 | pH5 | 3000 could be a delay, 26,27 and 25 gpio numbers. |
23:33.53 | pH5 | you see, I have absolutely no idea about their context. |
23:35.12 | cr2 | ok. good idea actually. |
23:35.16 | cr2 | but the power can wait. |
23:35.26 | cr2 | i've localized all the gpio control stuff. |
23:35.41 | Zoolooc | cr2: anything useful you want me to dump from the kaiser? |
23:37.22 | cr2 | Zoolooc: the gpio register areas. |
23:37.32 | cr2 | looc at the titanmemorymap page. |
23:38.10 | Zoolooc | this one? |
23:38.13 | Zoolooc | http://wiki.xda-developers.com/index.php?pagename=TitanMemoryMap |
23:38.48 | cr2 | yes. the blockes named *GPIO* |
23:39.06 | cr2 | hehe. my spelling is great. |
23:39.14 | cr2 | probably drunk too much :) |
23:39.34 | Zoolooc | eyes tend to interpolate right, anyway :) |
23:39.44 | pH5 | heh, good night :) |
23:40.13 | cr2 | mcr p15. now i need a wiki page for them. |
23:40.27 | Zoolooc | cr2: alright, what's the exact command? pd ? |
23:41.37 | Zoolooc | like 'pd 0xa9000000 1' ? |
23:45.41 | cr2 | 4 at the end. |
23:51.07 | Zoolooc | cr2: http://rafb.net/p/1zUXpW28.html |
23:56.53 | cr2 | Zoolooc: you should add the offsets |
23:57.49 | cr2 | 0xa92* +0x834 to read the gpio0 registers |
23:58.18 | Zoolooc | that's MSM_MDP_BASE ? |