00:42.48 | *** join/#htc-linux Moku (n=John@f054165124.adsl.alicedsl.de) |
01:01.39 | *** join/#htc-linux Sti_0239 (n=Where_is@92.144-65-87.adsl-dyn.isp.belgacom.be) |
01:08.44 | *** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey) |
01:26.02 | *** join/#htc-linux toi_ (n=pleemans@d5153128F.access.telenet.be) |
01:27.37 | *** join/#htc-linux rm (n=rm@fsf/member/rm) |
02:41.31 | *** join/#htc-linux joschkopf79 (n=joschi@g226196173.adsl.alicedsl.de) |
03:43.57 | *** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com) |
05:06.43 | *** join/#htc-linux AndyCR (n=Andy@71-211-33-123.clsp.qwest.net) |
05:39.53 | *** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-66-242.hsd1.nj.comcast.net) |
06:02.26 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
06:38.26 | *** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com) |
06:41.45 | *** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl) |
06:50.33 | *** join/#htc-linux Magister7 (n=Magister@78.111.177.240) |
06:51.46 | *** join/#htc-linux kiozen (n=oeichler@p54929F6D.dip0.t-ipconnect.de) |
06:58.31 | *** join/#htc-linux AndyC1 (n=Andy@71-211-33-123.clsp.qwest.net) |
07:00.52 | *** join/#htc-linux maejrep (n=madCoder@c-71-225-238-170.hsd1.pa.comcast.net) |
07:17.20 | *** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
07:49.51 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
08:07.56 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
08:13.42 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
08:15.22 | *** join/#htc-linux methril|gone (n=Methril@213.27.233.98) |
08:17.39 | *** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
08:38.53 | *** join/#htc-linux toi (n=pleemans@d5153128F.access.telenet.be) |
08:43.55 | *** join/#htc-linux lpotter (n=ljp@CPE-124-191-144-181.vic.bigpond.net.au) |
08:46.00 | *** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no) |
08:53.26 | *** join/#htc-linux methril|gone (n=Methril@213.27.233.98) |
09:03.23 | *** join/#htc-linux stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de) |
09:09.21 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
09:09.34 | *** part/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
09:11.38 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
09:18.06 | *** join/#htc-linux methril|gone (n=Methril@213.27.233.98) |
09:48.02 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
10:12.03 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
10:12.18 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
10:21.52 | *** join/#htc-linux mokolade (n=mokolade@85.221.112.173) |
10:34.06 | *** join/#htc-linux dcordes-kais (n=dcordes@ip-90-186-111-112.web.vodafone.de) |
10:34.12 | dcordes-kais | morning |
10:34.37 | toer | morning :) |
10:34.49 | methril | morning |
10:38.18 | *** join/#htc-linux data|2 (n=datachao@189.27.181.165.adsl.gvt.net.br) |
10:43.40 | Marajin | morning dcordes-kais |
10:57.12 | Magister7 | it's a dinner time here now :) |
10:57.42 | *** join/#htc-linux holymoo (n=biteme@S01060016b6b53675.vf.shawcable.net) |
10:59.29 | Magister7 | can someone help me to find how volume can be set on my titan? |
10:59.47 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
10:59.58 | Marajin | 'lo rmoravcik |
11:00.29 | rmoravcik | Marajin: hi! |
11:01.59 | *** join/#htc-linux pwr (n=pwr@82.78.117.52) |
11:03.23 | Marajin | how's it going? |
11:03.33 | Magister7 | vogue's driver works, but volume is very low... |
11:12.34 | dcordes-kais | hm no clue about msm sound |
11:12.54 | dcordes-kais | but dsp is on arm9 I thinks o you must do it with proc comm ors o |
11:15.19 | *** join/#htc-linux bertramt_ (n=chatzill@63.246.89.17) |
11:19.13 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) [NETSPLIT VICTIM] |
11:19.13 | *** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
11:19.13 | *** join/#htc-linux Abracadabra (n=aaabraca@unaffiliated/abracadabra) [NETSPLIT VICTIM] |
11:19.13 | *** join/#htc-linux SmallR2002 (n=SmallR20@79-77-25-250.dynamic.dsl.as9105.com) [NETSPLIT VICTIM] |
11:19.29 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
11:32.33 | *** join/#htc-linux datachaos (n=datachao@c91547b9.virtua.com.br) |
11:34.42 | Magister7 | dcordes-kais: i know, and the Vogue's code does it. There are some memory addresses, but I do not know how to trace them.. |
11:35.20 | *** join/#htc-linux zsircusr2 (n=Magister@78.111.180.115) |
11:35.49 | zsircusr2 | dcordes-kais: i know, and the Vogue's code does it. There are some memory addresses, but I do not know how to trace them.. |
11:45.17 | dcordes-kais | zsircusr2 aren't they the same for vogue/tian? |
11:45.23 | dcordes-kais | titan |
11:46.15 | tmzt | would dumping smem help? it that in wiki somewhere? |
11:46.34 | tmzt | isn't |
11:47.12 | dcordes-kais | tmzt titan and vogue memory mapping are equal afaik |
11:48.24 | tmzt | everything is in aDSP or there is a codec also? |
11:49.05 | tmzt | what is asoc support for kaiser, is there external amplifier or anything like that? |
11:49.32 | dcordes-kais | no clue |
11:50.00 | dcordes-kais | only know barry is able to make noises with the speaker |
11:50.31 | tmzt | these things might be closer on kaiser/titan because of formfactor, like ts |
11:53.11 | dcordes-kais | why? |
11:53.49 | dcordes-kais | I mean why does it depend on form factor? dsp stuff takes much room? |
11:53.55 | tmzt | ok, I mean like polaris and vogue touchscreens where more similar and kaiser and titan keyboards |
11:53.58 | tmzt | no, not dsp |
11:54.30 | tmzt | other components, like audio codec or routing or amplifier |
11:54.53 | dcordes-kais | ok |
11:55.08 | tmzt | dsp works because Magister7 has sound, it just is not loud enough or the asoc settings are wrong |
11:55.52 | dcordes-kais | and I wonder why he can't use vogue's volume control mechanism/registers. |
11:56.59 | tmzt | what is on asic/pasic? |
11:58.55 | tmzt | ok, then, dcordes-kais, sound works with good volume on kaiser? |
12:00.07 | tmzt | wow, dzo updates vogue tree now?? |
12:01.25 | *** join/#htc-linux mokolade_ (n=mokolade@85.221.112.173) |
12:03.16 | tmzt | where are the sound drivers in the kernel? |
12:12.39 | tmzt | dcordes-kais: do you know how programs other than android play audio on msm? |
12:14.02 | tmzt | audio->volume = 0x2000; |
12:24.32 | *** join/#htc-linux mokolade_ (n=mokolade@85.221.112.173) |
12:29.29 | *** join/#htc-linux Magister7 (n=Magister@93.180.228.19) |
12:36.48 | *** join/#htc-linux LanceHaig (i=3ee81b22@foresight/member/lhaig) |
12:45.01 | *** join/#htc-linux LanceHaig (i=3ee81b22@foresight/member/lhaig) |
12:45.53 | *** part/#htc-linux LanceHaig (i=3ee81b22@foresight/member/lhaig) |
12:47.21 | dcordes-kais | tmzt no I never tried audio on kaiser |
12:47.38 | dcordes-kais | tmzt yes h upfates it frequently |
13:04.01 | Magister7 | dcordes-kais: did you answered me something about audio? my connection is somewhat unstable... |
13:21.28 | *** join/#htc-linux nebi (n=nebi@c-ac8fe253.02-145-7570701.cust.bredbandsbolaget.se) |
13:47.42 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
13:52.17 | *** join/#htc-linux bryanlet (n=bryanlet@206-248-152-226.dsl.teksavvy.com) |
14:11.42 | *** join/#htc-linux Magister2k7 (n=Miranda@vicont.in.ua) |
14:15.07 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
14:15.37 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
14:20.01 | *** join/#htc-linux jdeluca (n=chatzill@ATuileries-152-1-40-193.w82-123.abo.wanadoo.fr) |
14:46.04 | *** join/#htc-linux drasar (n=maik@77.93.211.13-msol.msol.cz) |
14:52.31 | drasar | Hi there. I've got questions about "blueangel_power" power module. Can somebody help me please? |
15:07.25 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
15:10.22 | dcordes | (Plat='PocketPC' OEM='HTC_Kaiser') |
15:10.22 | dcordes | CPU is ARM ARM arch 6 stepping 4 running in system mode |
15:10.22 | dcordes | Enter 'HELP' for a short command summary. |
15:10.23 | dcordes | HaRET(1)# pd 0xa86000a0 4 |
15:10.23 | dcordes | a86000a0 | 0001fff5 | .... |
15:10.23 | dcordes | HaRET(2)# pd 0xa86000a4 4 |
15:10.25 | dcordes | a86000a4 | fff60b79 | y... |
15:10.27 | dcordes | HaRET(3)# pd 0xa86000a8 4 |
15:10.29 | dcordes | a86000a8 | 0001ffef | .... |
15:10.31 | dcordes | HaRET(4)# pd 0xa86000ac 4 |
15:10.33 | dcordes | a86000ac | fff00069 | i... |
15:10.35 | dcordes | HaRET(5)# pd 0xa8600000 4 |
15:10.37 | dcordes | a8600000 | 2015fcaf | ... |
15:15.04 | BabelO | drasar: what about power module ? |
15:21.58 | drasar | BabelO: Can you look in file blueangel_power.c? |
15:22.24 | BabelO | what dio you want to know about thios module ? |
15:22.43 | drasar | BabelO: When is the function blueangel_set_charge() invoked? |
15:24.06 | BabelO | drasar: this function is invoked by the general powermanagement system for handheld device you can found in drivers/power |
15:25.52 | BabelO | drasar: if you look in bluenagel_power.c you see that this function come in a struct of pda_power_pdata |
15:26.26 | BabelO | so generic function is set_charge(), this is just in your kernel menuconfig |
15:27.20 | Magister2k7 | can anyone point me to some Haret howto or manual, with usage examples? How to trace memory, how to find what address to trace etc. |
15:28.24 | BabelO | Magister2k7: http://www.handhelds.org/moin/moin.cgi/HaRET |
15:29.48 | drasar | BabelO: Ok. I'm trying to use that module with a little changes on himalaya, but when I load that module, no message is printed, so blueangel_set_charge() is not invoked :( |
15:30.25 | BabelO | drasar: do you compile the power module in ? |
15:31.21 | drasar | BabelO: Compilation is ok, loading is ok, but no message |
15:31.57 | BabelO | you really miss something then, set_charge is started from an event of the battery measure |
15:32.11 | BabelO | are you able to read battery value |
15:32.34 | drasar | BabelO: How can I do that? |
15:32.58 | drasar | BabelO: Is there any interface for it? |
15:33.51 | BabelO | wait have to check if it is that but i think |
15:34.17 | BabelO | drasar: don't know where battery is plugged on hima ? on BA it is on ds14wm bus |
15:34.22 | BabelO | ds1wm i mean |
15:34.30 | BabelO | it is dallas one wire |
15:36.59 | Marajin | dcordes: yo |
15:37.53 | *** join/#htc-linux dcordes_ (n=dcordes_@unaffiliated/dcordes) |
15:38.46 | Marajin | dcordes: yo |
15:39.04 | Marajin | dcordes_: yo to you even |
15:39.18 | Magister2k7 | BabelO: I saw that. But... how can I figure what memory addresses to watch, for example, to find sound params? |
15:40.44 | BabelO | Magister2k7: depend of your device |
15:41.07 | BabelO | Magister2k7: if it is pxa device, you have to download pxa manual and check adress |
15:41.34 | dcordes_ | Magister2k7, no I had no aswer to your questions sorry |
15:41.37 | dcordes_ | Marajin, yoyo |
15:41.42 | BabelO | else look at mmu dump with haret, it show you memory range in use and try to trace on them |
15:41.48 | Magister2k7 | BabelO: it's a msm7500 device (HTC Titan/Mogul) |
15:42.01 | Marajin | dcordes_: did you manage to get virtual/kernel bitbaked? I managed to get OE updated finally but it fails and I didn't get around to checking why yet |
15:42.26 | BabelO | Magister2k7: to know adress where to look, the only thing you can do is looking at android sources |
15:42.31 | drasar | BabelO: Do you mean GPIO pin with that dallas wire or something else? |
15:42.44 | Magister2k7 | dcordes_: bad... |
15:42.53 | BabelO | drasar: no it is more like a memory range with register on BA |
15:43.37 | dcordes_ | Marajin, ok then something in OE changed |
15:43.54 | dcordes_ | Marajin, I bet you have the same 404 as me because it tries some very odd url |
15:44.08 | dcordes_ | Marajin, maybe some mirrors were set for linuxtogo.org in Oe |
15:44.17 | BabelO | drasar: do you look where i tell you in drivers/power |
15:44.26 | Magister2k7 | BabelO: I saw some addresses, but when I try to trace them I get nothing. And sometimes Haret tells me "tracing of ... address is not well supported" I cannot remember exactly. But it allows to override with an option. |
15:45.11 | BabelO | look in pda_power.c, you will see that set_charge is called by timer, all your information you look for are in update_charger() |
15:45.16 | Magister2k7 | BabelO: and one more question - do I need to pass virtual, or physical address to Haret? |
15:45.46 | BabelO | drasar: it used usb online pin or ac_online |
15:46.17 | dcordes_ | bbl |
15:46.41 | BabelO | Magister2k7: not sure msm7500 is well supported on Haret and you have to trace not too small range and not too big :) |
15:47.30 | BabelO | Magister2k7: about adress there is p2v or v2p to convert virtual to physical or the reverse, for example show p2v(0xfff1000) give you the virtual adress of 0xfff1000 |
15:48.28 | drasar | BabelO: Hehe, I'm looking there and I haven't got any module compiled |
15:49.17 | BabelO | drasar: then .. :) |
15:53.27 | Magister2k7 | BabelO: so I need to use v2p if I have virtual address? And what do you mean - not to small and not too big? |
15:53.57 | BabelO | Magister2k7: no virtual adress is good for trace function |
15:54.43 | BabelO | Magister2k7: ask Kevin2 for not too small not too big :) on omap850 0x2 size is too smal if i want to trace register at 0xfff1000 0xfff1002 0xfff1004 |
15:54.50 | BabelO | and some memory region can't be traced |
15:56.30 | *** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com) |
15:57.10 | *** join/#htc-linux zycho (n=zycho@a89-182-214-211.net-htp.de) |
15:58.18 | Magister2k7 | BabelO: thanks, will try tonight... |
15:58.39 | *** part/#htc-linux zycho (n=zycho@a89-182-214-211.net-htp.de) |
15:58.40 | *** join/#htc-linux datachaos (n=datachao@c91547b9.virtua.com.br) |
15:59.50 | BabelO | Magister2k7: there is another haret wiki i think but can't not find the link |
16:00.37 | Magister2k7 | BabelO: tell me if you find it please |
16:00.38 | BabelO | Magister2k7: it is this one linked to web page i give you http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation |
16:06.06 | Magister2k7 | BabelO: yes, I see that. thanks |
16:06.31 | BabelO | Magister2k7: the p2v exemple is there too, documentation well done :) |
16:16.04 | *** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net) |
16:19.42 | drasar | BabelO: It seems to work right now :) Thanks ;) |
16:20.05 | BabelO | drasar: link the led event with battery charge trigger :) |
16:22.45 | *** join/#htc-linux LanceHaig (i=3efdda0a@foresight/member/lhaig) |
16:24.59 | *** join/#htc-linux mokolade_ (n=mokolade@85.221.112.173) |
16:32.36 | drasar | BabelO: I've got one more (maybe stupid) question :) What are the IRQs in that power module good for? Is it just for USB/charger plugging detection? |
16:40.44 | BabelO | drasar: yes |
16:45.46 | *** join/#htc-linux ltxda0 (n=anon@unaffiliated/ltxda) |
16:46.46 | *** join/#htc-linux PocketIRC (n=pocketir@173.98.244.97) |
16:48.18 | PocketIRC | hey in running android on the touch. is there a way to get the keyboard to be portrait? or get the keypad keyboard |
16:48.53 | Magister2k7 | PocketIRC: no, you need to modify kernel to get this |
16:49.02 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
16:49.10 | *** join/#htc-linux mokolade_ (n=mokolade@85.221.112.173) |
16:49.56 | PocketIRC | anyone had luck getting the camera driver to kernel yet? |
16:51.03 | Magister2k7 | PocketIRC: dzo is working on it. there is already some code in repository, but AFAIK it's not fully functional for now |
16:52.02 | PocketIRC | yeah I'm coding some software but I can't finish since I'm using camera to get input |
16:54.17 | Magister2k7 | PocketIRC: Try to contact dzo, maybe you can help him. |
16:56.10 | PocketIRC | has anyone's sd gone to the grave |
17:15.54 | *** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net) |
17:17.19 | *** join/#htc-linux rakeem_ (n=rakeem@n058153112154.netvigator.com) |
17:17.20 | *** join/#htc-linux p3t3r__ (n=peter@134.245.164.105) |
17:19.22 | *** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda) |
17:20.37 | *** part/#htc-linux drasar (n=maik@77.93.211.13-msol.msol.cz) |
17:27.41 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:28.00 | *** part/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
17:29.50 | *** join/#htc-linux miknix_ghost (n=miknix@bl4-87-5.dsl.telepac.pt) |
17:42.00 | Magister2k7 | by |
17:43.59 | *** join/#htc-linux data|2 (n=datachao@c91547b9.virtua.com.br) |
17:50.24 | *** join/#htc-linux kalemas (n=kalemas@30.57.117.87.donpac.ru) |
17:50.50 | *** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl) |
17:55.49 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d4f8.pool.einsundeins.de) |
18:01.06 | *** join/#htc-linux nizox_ (n=none@2a01:e35:8a13:a2b0:21c:c0ff:fe25:ff68) |
18:09.03 | *** join/#htc-linux p3t3r__1 (n=peter@134.245.164.105) |
18:10.56 | *** join/#htc-linux mokolade (n=mokolade@85.221.112.173) |
18:26.59 | *** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de) |
18:27.43 | cr2 | hi |
18:28.23 | cr2 | somebody with a raph/diam around ? |
18:34.45 | toer | yes |
18:37.42 | cr2 | toer: can you dump the SD clock regs and the clock enable reg like it's done by NetRipper ? |
18:38.07 | cr2 | btw, you have a raph ? |
18:38.25 | *** join/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig) |
18:39.02 | toer | indeed |
18:39.12 | cr2 | ok |
18:39.21 | cr2 | raph100 or 800 ? |
18:41.06 | cr2 | i'm also interested about the clock register with bt on and off (fm radio on/off) |
18:42.28 | toer | gsm so that would be 100? |
18:42.30 | cr2 | somebody should add the "cken" parser to regs_msm.py like it's done for regs_pxa.py |
18:42.37 | cr2 | the known bits are |
18:42.48 | cr2 | yes |
18:43.06 | cr2 | 7 - sd0 |
18:43.10 | cr2 | 8 - sd1 |
18:43.23 | cr2 | 17 -DM1 |
18:43.33 | cr2 | 26 - DM2 |
18:43.46 | cr2 | 27 - sd2 |
18:43.50 | cr2 | 28 - sd3 |
18:44.20 | cr2 | the rest is black magic |
18:45.09 | cr2 | which can be traced on g1 though. by some motivated person. |
19:07.52 | cr2 | toer: still alive ? |
19:07.58 | cr2 | ~ping NetRipper |
19:07.58 | apt | pong NetRipper |
19:09.44 | toer | yes and i have to start over loged to the sd card and plugged it out stupid |
19:10.49 | cr2 | haret can be put on the nand partition |
19:11.10 | toer | thats what im doing now |
19:11.45 | cr2 | i've documented the SD divisors, but can't put it on wiki ;) weird firewall. |
19:11.54 | cr2 | telnet to raph |
19:11.57 | cr2 | and do |
19:12.16 | cr2 | pd 0xa8600000 0x100 |
19:12.24 | cr2 | pastebin the output |
19:13.47 | cr2 | dcordes: FYI, the a0 and a4 (a8 and ac) registers are split into 16bit words |
19:14.32 | cr2 | dcordes: and there are 7 parameters used ot set the required frequency |
19:16.23 | toer | http://pastebin.com/d7c1bea98 |
19:16.53 | cr2 | dcordes: if the register values are known, one can calculate the 7 paramaters |
19:16.55 | cr2 | dcordes: i know the 7 params used by raph100 SPL. i guess diamond SPL will use the same values. |
19:16.55 | cr2 | dcordes: the values dumped by Netripper are a bit different. |
19:16.55 | cr2 | dcordes: so i need more statistics. |
19:17.45 | cr2 | dcordes: the values used by dzo on vogue are strange. i'd like to know where do they come from. |
19:18.07 | cr2 | toer: ading |
19:18.50 | cr2 | toer: 0xa8600000, not 0x86* |
19:20.32 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8216.pool.einsundeins.de) |
19:21.44 | toer | http://pastebin.com/d3e7d8694 |
19:22.43 | cr2 | 2219feaf. ok |
19:23.08 | cr2 | can you switch on bt (fm radio) ? |
19:23.25 | cr2 | and do 'pd 0xa8600000 4' |
19:25.54 | toer | HaRET(1)# pd 0xa8600000 4 |
19:25.55 | toer | a8600000 | 2019fe2f | /.. |
19:28.02 | cr2 | hm. strange |
19:30.49 | cr2 | still, there is some consistent pattern. |
19:31.38 | cr2 | can you do pd 0xa8600000 0x100 |
19:31.45 | cr2 | with the camera switched on ? |
19:33.54 | toer | http://pastebin.com/m7c6b9b34 |
19:35.48 | cr2 | ok |
19:36.37 | cr2 | no differences. interesting |
19:38.24 | cr2 | you have 0xa0c for the mddi clock. wiki has =0xa19 |
19:39.54 | NetRipper | hi guys |
19:40.02 | toer | i have a "scandinavian" version it may be possible there is other differences than the hardware keyboard |
19:40.10 | cr2 | hi NetRipper |
19:40.32 | cr2 | toer: can you check the lcd panel type ? |
19:41.02 | cr2 | NetRipper: can you dump the 0x100 bytes from the clock area ? |
19:41.13 | NetRipper | ok |
19:41.34 | cr2 | NetRipper: and you should fix the virt vs phys mess for i2c and sd. |
19:41.50 | NetRipper | yes i need to verify that on newer build |
19:42.10 | NetRipper | you sure it should show the physical addresses in /dev/iomem? |
19:42.13 | cr2 | NetRipper: can you post the link to the board file ? |
19:42.25 | cr2 | yes |
19:42.29 | NetRipper | ok |
19:42.39 | cr2 | all other addresses there are physical |
19:43.23 | NetRipper | cr2, http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=arch/arm/mach-msm;h=3e113ba1d3208ee0dc8b422c32cf6c652ce13082;hb=refs/heads/htc-msm-2.6.25 |
19:43.26 | *** join/#htc-linux ulaas (n=ulaas@88.253.4.134) |
19:43.40 | toer | cr2: how do i check the lcd panel type? |
19:44.30 | cr2 | toer: dump the SMEM 0x01f* megabyte area, documented in wiki |
19:46.34 | cr2 | <PROTECTED> |
19:46.49 | cr2 | i think the model_id is the same value |
19:47.57 | NetRipper | cr2, http://netripper.pastebin.com/m367d821a |
19:52.13 | *** join/#htc-linux p3t3r__ (n=peter@134.245.164.105) |
19:53.41 | cr2 | NetRipper: i don't see any obvious reason why SD and i2c show up with virt addresses |
19:53.44 | cr2 | ithey are not in the board file(s) |
19:54.12 | cr2 | and the trout-mmc* needs _major_ patching anyway. |
19:54.16 | NetRipper | no |
19:54.19 | NetRipper | aha |
19:54.23 | NetRipper | what kind of patching? |
19:54.31 | NetRipper | btw, the whole trout stuff is working on a different base address |
19:54.44 | NetRipper | i tried initing the trout mmc from raphael board |
19:54.46 | cr2 | sd/i2c ?? |
19:55.18 | NetRipper | what is the board responsible for regarding sd? should it work the way like it is in htcraphael? |
19:55.36 | NetRipper | only function they apply there is the 'sd card in or out' stuff |
19:55.44 | cr2 | the power for sdio is on different gpios, and the gpio alt settings are different too. |
19:55.58 | cr2 | no, it should be some generic msm720xA support |
19:56.28 | cr2 | in or out should use a different gpio too |
19:56.34 | NetRipper | yes |
19:56.36 | cr2 | check raphael_gpio page |
19:57.25 | NetRipper | but i mean, the amount of work done for trout-mmc* seems quite big |
19:57.46 | cr2 | yes |
19:58.06 | NetRipper | is all that stuff mandatory to get it working? |
19:58.10 | toer | cr2: can you point me to the right wikipage |
19:58.23 | cr2 | btw, testing nand with android is the most stupid idea i can imagine :) |
19:58.33 | NetRipper | toer, http://wiki.xda-developers.com/index.php?pagename=RaphaelResearch |
19:58.35 | NetRipper | toer, memorymap |
19:58.40 | cr2 | toer: http://wiki.xda-developers.com/index.php?pagename=RaphaelMemoryMap |
20:01.22 | cr2 | NetRipper: you'd have a different SD card |
20:01.45 | cr2 | you and toer have different SD timing register settings. |
20:01.57 | NetRipper | i had haret running from the sd card while doing the dumps, perhaps that caused a problem |
20:02.39 | cr2 | not a problem, just different settings |
20:03.00 | NetRipper | why would two raphaels have different sdcard settings |
20:03.03 | NetRipper | or |
20:03.06 | NetRipper | could it be the sd card itself? |
20:03.20 | cr2 | yes |
20:03.30 | NetRipper | i mean.. usually the sd clock is adjusted depending ont he card |
20:03.42 | cr2 | mmc will have different clock setting |
20:03.46 | NetRipper | :p |
20:03.47 | NetRipper | ok |
20:04.32 | cr2 | the SPL has 144kHz (minimal), 19MHz (mmc?), and 12/24 (SD) and 48 (SD2.0) MHz speeds |
20:05.05 | cr2 | i don't know what g1 driver uses |
20:05.42 | NetRipper | ok |
20:05.45 | cr2 | clock control for g1 may be sorted out only by dumping and disassembling the microkernel anyway. |
20:05.47 | NetRipper | g1 driver has max of 24mhz |
20:05.52 | cr2 | or oemsbl |
20:06.11 | cr2 | that one i'd also like to look at |
20:06.59 | NetRipper | its the mmc driver, sec |
20:07.02 | cr2 | if the card identifies itself as SD2.0 you can bump the clock |
20:07.02 | cr2 | or at least try to ;) |
20:07.17 | cr2 | mmc is <=20MHz by spec |
20:07.28 | cr2 | at least mmc<4 |
20:07.32 | NetRipper | they had it at 20mhz |
20:07.46 | NetRipper | they upped it to 24 in one of the last patches where they use pio instead of polling |
20:08.16 | NetRipper | but its in the android-msm-2.6.27 tree not .25 |
20:08.31 | cr2 | 25 is the spec value AFAIR |
20:08.37 | NetRipper | aha |
20:08.48 | cr2 | so they use 19 and 24 |
20:09.15 | NetRipper | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=drivers/mmc/host/msm_sdcc.c;h=8a04edaba9b9e70f9e57090988673597be0082ed;hb=refs/heads/htc-msm-2.6.25 |
20:09.23 | NetRipper | <PROTECTED> |
20:09.23 | NetRipper | <PROTECTED> |
20:09.39 | cr2 | -a86000a0 | 0001fff4 fff50b44 0001fff5 fff60044 | ....D.......D... |
20:09.39 | cr2 | +a86000a0 | 0001fff4 fff50044 0001fffa fffb0044 | ....D.......D... |
20:09.53 | cr2 | these are your differences |
20:09.57 | NetRipper | aha |
20:10.06 | NetRipper | but in my dump there was no difference between sd card in and out |
20:10.13 | cr2 | NetRipper: these are just hints |
20:10.34 | cr2 | the real clock management is done by arm9 (on g1) |
20:10.42 | NetRipper | ah |
20:10.49 | cr2 | we have a privilege to do it ourselves ;) |
20:10.53 | NetRipper | but the arm9 needs to be configured |
20:10.56 | NetRipper | to do it |
20:11.21 | cr2 | yes, it's just a different microkernel that androids are using |
20:11.53 | cr2 | we are also should be doing the gpio alt setup ourselves |
20:12.05 | cr2 | that's the major differences to g1 |
20:12.12 | toer | ok, the wiki page didnt make me wiser.. i'm kind of new to this :s |
20:13.01 | cr2 | a8000000+0x081034 panel_id |
20:13.21 | cr2 | pd 0xa8081034 4 |
20:13.39 | toer | HaRET(19)# pd 0xa8081034 4 |
20:13.40 | toer | a8081034 | 00000004 | .... |
20:13.59 | cr2 | and +0xfc048 |
20:14.22 | toer | HaRET(20)# pd +0xfc048 4 |
20:14.23 | toer | 000fc048 | 01070360 | `... |
20:14.27 | cr2 | pd 0x01ffc048 4 |
20:14.52 | toer | HaRET(21)# pd 0x01ffc048 4 |
20:14.53 | toer | 01ffc048 | 00000001 | .... |
20:15.04 | *** join/#htc-linux tronad0r (n=chatzill@190.68.143.202) |
20:15.07 | cr2 | ok |
20:15.18 | cr2 | so your panel_id seems to be '4' |
20:15.38 | cr2 | NetRipper: we have 5 ? |
20:15.43 | NetRipper | em |
20:15.45 | NetRipper | let me see |
20:16.03 | NetRipper | i have the same results |
20:16.21 | NetRipper | a8081034 | 00000004 | .... |
20:16.26 | NetRipper | 01ffc048 | 00000001 | .... |
20:16.31 | cr2 | hm. |
20:16.54 | cr2 | i don't remember then. |
20:17.14 | cr2 | everything should be put into wiki ;) |
20:18.48 | NetRipper | Hitachi (5), Sharp(0xa) or Toppoly(2,0x11). |
20:18.53 | NetRipper | you did document it |
20:19.32 | NetRipper | expected nothing less from you ;) |
20:21.34 | *** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde) |
20:24.49 | *** join/#htc-linux stefan_schmidt (n=stefan@p5B03624A.dip.t-dialin.net) |
20:25.27 | cr2 | this is the real code: |
20:25.27 | cr2 | read 150000 |
20:25.27 | cr2 | id=0 |
20:25.27 | cr2 | if bit 0x10 is not set -> id+=1 |
20:25.28 | cr2 | if bit 0x04 is not set -> id+=2 |
20:25.30 | cr2 | =0 -> panel id 5 (hitachi) |
20:25.32 | cr2 | =1 -> panel id 0xa (sharp) |
20:25.34 | cr2 | =2 -> panel id 0x11 (toppoly2) |
20:25.36 | cr2 | =3 -> panel id 2 (toppoly) |
20:25.45 | *** part/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig) |
20:25.45 | *** join/#htc-linux metter (n=metter@160-63.3-85.cust.bluewin.ch) |
20:26.11 | NetRipper | 150000 is a memory location? |
20:26.11 | *** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com) |
20:29.44 | cr2 | no, it's and mddi_external read |
20:29.56 | cr2 | for toshiba_gpio area |
20:30.08 | cr2 | should be documented in wiki |
20:30.12 | NetRipper | aha |
20:33.01 | tronad0r | what HTC phones can run Android?? |
20:33.42 | NetRipper | vogue/polaris/kaiser |
20:33.48 | NetRipper | afaik |
20:34.08 | cr2 | ok, need to finish some other work. bye |
20:38.54 | kalemas | Hello. I just launched x11-gpe-image on magician, there is a lot of work , right? virtual keyboard does not insert a character, no hardwarekeys configuration, system info fails... |
20:45.37 | *** join/#htc-linux nebi (n=nebi@c-ac8fe253.02-145-7570701.cust.bredbandsbolaget.se) |
20:51.29 | *** join/#htc-linux infernixx (n=nix@unaffiliated/infernix) |
20:53.23 | *** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
21:02.32 | tronad0r | join #android |
21:02.45 | *** part/#htc-linux tronad0r (n=chatzill@190.68.143.202) |
21:03.44 | *** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net) |
21:05.04 | *** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net) |
21:14.44 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
21:40.33 | *** join/#htc-linux metter_ (n=metter@23-224.1-85.cust.bluewin.ch) |
22:18.25 | *** join/#htc-linux LunohoD_ (n=alex@e180073114.adsl.alicedsl.de) |
22:35.30 | *** join/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig) |
22:37.03 | *** part/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig) |
22:51.56 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
22:53.52 | *** join/#htc-linux p3t3r__1 (n=peter@134.245.164.105) |
22:58.35 | *** join/#htc-linux p3t3r__2 (n=peter@134.245.164.105) |
23:01.31 | *** join/#htc-linux nashpa (n=dliviu@dliviu.plus.com) |
23:03.44 | *** join/#htc-linux p3t3r__3 (n=peter@134.245.164.105) |
23:14.45 | *** join/#htc-linux p3t3r__ (n=peter@134.245.164.105) |
23:22.58 | *** join/#htc-linux joshjdevl (n=josh@69.54.176.209) |
23:24.01 | *** join/#htc-linux joshjdevl (n=josh@69.54.176.209) |
23:24.10 | joshjdevl | hi |
23:25.02 | joshjdevl | i'm interested in helping out porting android to the htc hd |
23:25.38 | joshjdevl | i'm fairly new to this, so if someone can give me some small tasks to do, i can start helping out that way |
23:27.17 | NetRipper | cr2, the SDC1-4 are mapped just like any other device, i dont know why it shows virtual addresses in /proc/iomem... btw the macro that goes by all _PHYS and _BASE stuff is in arch/arm/mach-msm/io.c |
23:27.56 | NetRipper | joshjdevl, new to what, linux in general, linux development, linux on embedded? |
23:27.59 | NetRipper | :) |
23:28.06 | joshjdevl | linux on embedded |
23:28.17 | joshjdevl | i'm a software engineer who just got an htc hd, so thats why i'm interested |
23:28.28 | joshjdevl | i've done linux, c development |
23:28.37 | NetRipper | ok |
23:29.12 | NetRipper | and you're fed up with windows mobile already? ;) |
23:29.14 | joshjdevl | i'm not familiar with much embedded development, though everything else should be ok |
23:29.16 | joshjdevl | yes |
23:29.19 | NetRipper | :D |
23:29.21 | NetRipper | anyway |
23:29.32 | NetRipper | what's codename for touch hd? |
23:29.36 | NetRipper | htc name |
23:29.37 | joshjdevl | blackstone |
23:29.41 | NetRipper | ok |
23:30.31 | NetRipper | im unsure, but i think it might be similar to xperia |
23:30.57 | NetRipper | anyway |
23:31.01 | NetRipper | xperia is also similar to raphael |
23:31.03 | NetRipper | and diamond |
23:31.12 | NetRipper | so i guess you're best off on the tree we're working on as well |
23:31.33 | NetRipper | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25 |
23:31.37 | NetRipper | which is that one |
23:31.42 | joshjdevl | k |
23:32.39 | NetRipper | http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux |
23:32.42 | NetRipper | is a page for raphael/diamond |
23:32.57 | NetRipper | at the update of 2008-10-29 it has some building instructions |
23:33.14 | *** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de) |
23:33.17 | NetRipper | hi cr2 |
23:33.55 | cr2 | uff, time to go home ;) |
23:33.59 | NetRipper | hehe |
23:34.04 | NetRipper | time to go to bed you mean |
23:34.04 | NetRipper | :p |
23:34.10 | cr2 | something new ? |
23:34.15 | NetRipper | 00:27:01 < NetRipper> cr2, the SDC1-4 are mapped just like any other device, i dont know why it shows virtual addresses in /proc/iomem... btw the macro that goes by all _PHYS and _BASE stuff is in arch/arm/mach-msm/io.c |
23:34.45 | cr2 | NetRipper: i think you'd find out why are the virtual addresses pop up in /proc/iomem |
23:35.03 | cr2 | hmm. |
23:35.12 | NetRipper | yep, i couldnt yet |
23:35.13 | NetRipper | :P |
23:35.58 | cr2 | ask somebody with kaiser et al. to post /proc7iomem |
23:36.28 | NetRipper | dcordes, can you pastebin output of /proc/iomem on your kaiser? :p |
23:37.23 | cr2 | joshjdevl: have you already run haret ob blackstone ? |
23:37.41 | joshjdevl | no |
23:37.54 | NetRipper | that might actually be a better start |
23:37.58 | joshjdevl | ok |
23:38.00 | joshjdevl | i'll do that first |
23:38.09 | joshjdevl | thx |
23:38.11 | NetRipper | you can check out the RaphaelResearch page |
23:38.16 | NetRipper | especially memorymap |
23:38.18 | cr2 | well, add earlyharetlog.txt a nd post the haretlog.txt file |
23:38.25 | toer | cr2: still need those sd clocks? |
23:38.38 | joshjdevl | ok |
23:38.42 | cr2 | toer: you have already done it ? |
23:39.21 | cr2 | joshjdevl: then you may check where is your FBRAM, wince "dmesg" and dump the SMEM area |
23:39.59 | cr2 | joshjdevl: then you may dump the clocks area too |
23:40.16 | NetRipper | (hint: read back in log at topic) |
23:40.16 | NetRipper | :) |
23:40.49 | NetRipper | hm |
23:40.57 | toer | cr2: yes |
23:41.11 | cr2 | then you may do the gpio/irq tracing, but it's a more difficult and time-consuming task. |
23:41.27 | toer | http://dalaker.com/raphael/sd_clocks_for_cr2.txt |
23:42.10 | cr2 | toer: i consider the SD clocks a more or less solved problem. don't know why vogue uses strange values |
23:42.13 | NetRipper | i thought there was real-time logging on the webpage? |
23:42.18 | cr2 | toer: ok, i've saved it for further references-. |
23:42.24 | NetRipper | can only see from yesterday ;) |
23:42.43 | cr2 | NetRipper: irclog.iclem.net |
23:43.12 | NetRipper | cr2, ah, thanks |
23:43.16 | joshjdevl | cr2: ok cool, i'll install haret and then gather the FBRAM, SMEM, and clocks area |
23:43.26 | cr2 | ok, i really need to go. this wis a crazy week ;) |
23:43.35 | NetRipper | :) |
23:43.39 | NetRipper | cya later cr2 |
23:43.45 | cr2 | NetRipper: btw, i'll be in Amsterdam on 4-5 dec |
23:43.54 | NetRipper | cool ;) |
23:44.03 | NetRipper | what's to do there? |
23:44.09 | cr2 | with the car. i hope. |
23:44.16 | cr2 | good night. |
23:44.20 | NetRipper | good night;) |
23:44.43 | NetRipper | im off to bed as well |
23:44.54 | joshjdevl | c y, thx guys |
23:46.20 | toer | so am i |