IRC log for #htc-linux on 20081125

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.12dcordes-kaismorning
10:34.37toermorning :)
10:34.49methrilmorning
10:38.18*** join/#htc-linux data|2 (n=datachao@189.27.181.165.adsl.gvt.net.br)
10:43.40Marajinmorning dcordes-kais
10:57.12Magister7it's a dinner time here now :)
10:57.42*** join/#htc-linux holymoo (n=biteme@S01060016b6b53675.vf.shawcable.net)
10:59.29Magister7can 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.58Marajin'lo rmoravcik
11:00.29rmoravcikMarajin: hi!
11:01.59*** join/#htc-linux pwr (n=pwr@82.78.117.52)
11:03.23Marajinhow's it going?
11:03.33Magister7vogue's driver works, but volume is very low...
11:12.34dcordes-kaishm no clue about msm sound
11:12.54dcordes-kaisbut 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.42Magister7dcordes-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.49zsircusr2dcordes-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.17dcordes-kaiszsircusr2 aren't they the same for vogue/tian?
11:45.23dcordes-kaistitan
11:46.15tmztwould dumping smem help? it that in wiki somewhere?
11:46.34tmztisn't
11:47.12dcordes-kaistmzt titan and vogue memory mapping are equal afaik
11:48.24tmzteverything is in aDSP or there is a codec also?
11:49.05tmztwhat is asoc support for kaiser, is there external amplifier or anything like that?
11:49.32dcordes-kaisno clue
11:50.00dcordes-kaisonly know barry is able to make noises with the speaker
11:50.31tmztthese things might be closer on kaiser/titan because of formfactor, like ts
11:53.11dcordes-kaiswhy?
11:53.49dcordes-kaisI mean why does it depend on form factor? dsp stuff takes much room?
11:53.55tmztok, I mean like polaris and vogue touchscreens where more similar and kaiser and titan keyboards
11:53.58tmztno, not dsp
11:54.30tmztother components, like audio codec or routing or amplifier
11:54.53dcordes-kaisok
11:55.08tmztdsp works because Magister7 has sound, it just is not loud enough or the asoc settings are wrong
11:55.52dcordes-kaisand I wonder why he can't use vogue's volume control mechanism/registers.
11:56.59tmztwhat is on asic/pasic?
11:58.55tmztok, then, dcordes-kais, sound works with good volume on kaiser?
12:00.07tmztwow, dzo updates vogue tree now??
12:01.25*** join/#htc-linux mokolade_ (n=mokolade@85.221.112.173)
12:03.16tmztwhere are the sound drivers in the kernel?
12:12.39tmztdcordes-kais: do you know how programs other than android play audio on msm?
12:14.02tmztaudio->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.21dcordes-kaistmzt no I never tried audio on kaiser
12:47.38dcordes-kaistmzt yes h upfates it frequently
13:04.01Magister7dcordes-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.31drasarHi 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.22dcordes(Plat='PocketPC' OEM='HTC_Kaiser')
15:10.22dcordesCPU is ARM ARM arch 6 stepping 4 running in system mode
15:10.22dcordesEnter 'HELP' for a short command summary.
15:10.23dcordesHaRET(1)# pd 0xa86000a0 4
15:10.23dcordesa86000a0 | 0001fff5                            | ....
15:10.23dcordesHaRET(2)# pd 0xa86000a4 4
15:10.25dcordesa86000a4 | fff60b79                            | y...
15:10.27dcordesHaRET(3)# pd 0xa86000a8 4
15:10.29dcordesa86000a8 | 0001ffef                            | ....
15:10.31dcordesHaRET(4)# pd 0xa86000ac 4
15:10.33dcordesa86000ac | fff00069                            | i...
15:10.35dcordesHaRET(5)# pd 0xa8600000 4
15:10.37dcordesa8600000 | 2015fcaf                            | ...
15:15.04BabelOdrasar: what about power module ?
15:21.58drasarBabelO: Can you look in file blueangel_power.c?
15:22.24BabelOwhat dio you want to know about thios module ?
15:22.43drasarBabelO: When is the function blueangel_set_charge() invoked?
15:24.06BabelOdrasar: this function is invoked by the general powermanagement system for handheld device you can found in drivers/power
15:25.52BabelOdrasar: if you look in bluenagel_power.c you see that this function come in a struct of pda_power_pdata
15:26.26BabelOso generic function is set_charge(), this is just in your kernel  menuconfig
15:27.20Magister2k7can 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.24BabelOMagister2k7: http://www.handhelds.org/moin/moin.cgi/HaRET
15:29.48drasarBabelO: 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.25BabelOdrasar: do you compile the power module in ?
15:31.21drasarBabelO: Compilation is ok, loading is ok, but no message
15:31.57BabelOyou really miss something then, set_charge is started from an event of the battery measure
15:32.11BabelOare you able to read battery value
15:32.34drasarBabelO: How can I do that?
15:32.58drasarBabelO: Is there any interface for it?
15:33.51BabelOwait have to check if it is that but i think
15:34.17BabelOdrasar: don't know where battery is plugged on hima ? on BA it is on ds14wm bus
15:34.22BabelOds1wm i mean
15:34.30BabelOit is dallas one wire
15:36.59Marajindcordes: yo
15:37.53*** join/#htc-linux dcordes_ (n=dcordes_@unaffiliated/dcordes)
15:38.46Marajindcordes: yo
15:39.04Marajindcordes_: yo to you even
15:39.18Magister2k7BabelO: I saw that. But... how can I figure what memory addresses to watch, for example, to find sound params?
15:40.44BabelOMagister2k7: depend of your device
15:41.07BabelOMagister2k7: if it is pxa device, you have to download pxa manual and check adress
15:41.34dcordes_Magister2k7, no I had no aswer to your questions sorry
15:41.37dcordes_Marajin, yoyo
15:41.42BabelOelse look at mmu dump with haret, it show you memory range in use and try to trace on them
15:41.48Magister2k7BabelO: it's a msm7500 device (HTC Titan/Mogul)
15:42.01Marajindcordes_: 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.26BabelOMagister2k7: to know adress where to look, the only thing you can do is looking at android sources
15:42.31drasarBabelO: Do you mean GPIO pin with that dallas wire or something else?
15:42.44Magister2k7dcordes_: bad...
15:42.53BabelOdrasar: no it is more like a memory range with register on BA
15:43.37dcordes_Marajin, ok then something in OE changed
15:43.54dcordes_Marajin, I bet you have the same 404 as me because it tries some very odd url
15:44.08dcordes_Marajin, maybe some mirrors were set for linuxtogo.org in Oe
15:44.17BabelOdrasar: do you look where i tell you in drivers/power
15:44.26Magister2k7BabelO: 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.11BabelOlook 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.16Magister2k7BabelO: and one more question - do I need to pass virtual, or physical address to Haret?
15:45.46BabelOdrasar: it used usb online pin or ac_online
15:46.17dcordes_bbl
15:46.41BabelOMagister2k7: not sure msm7500 is well supported on Haret and you have to trace not too small range and not too big :)
15:47.30BabelOMagister2k7: 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.28drasarBabelO: Hehe, I'm looking there and I haven't got any module compiled
15:49.17BabelOdrasar: then .. :)
15:53.27Magister2k7BabelO: 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.57BabelOMagister2k7: no virtual adress is good for trace function
15:54.43BabelOMagister2k7: 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.50BabelOand 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.18Magister2k7BabelO: 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.50BabelOMagister2k7: there is another haret wiki i think but can't not find the link
16:00.37Magister2k7BabelO: tell me if you find it please
16:00.38BabelOMagister2k7: it is this one linked to web page i give you http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
16:06.06Magister2k7BabelO: yes, I see that. thanks
16:06.31BabelOMagister2k7: 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.42drasarBabelO: It seems to work right now :) Thanks ;)
16:20.05BabelOdrasar: 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.36drasarBabelO: 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.44BabelOdrasar: 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.18PocketIRChey in running android on the touch. is there a way to get the keyboard to be portrait? or get the keypad keyboard
16:48.53Magister2k7PocketIRC: 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.56PocketIRCanyone had luck getting the camera driver to kernel yet?
16:51.03Magister2k7PocketIRC: dzo is working on it. there is already some code in repository, but AFAIK it's not fully functional for now
16:52.02PocketIRCyeah I'm coding some software but I can't finish since I'm using camera to get input
16:54.17Magister2k7PocketIRC: Try to contact dzo, maybe you can help him.
16:56.10PocketIRChas 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.00Magister2k7by
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.43cr2hi
18:28.23cr2somebody with a raph/diam around ?
18:34.45toeryes
18:37.42cr2toer: can you dump the SD clock regs and the clock enable reg like it's done by NetRipper ?
18:38.07cr2btw, you have a raph ?
18:38.25*** join/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig)
18:39.02toerindeed
18:39.12cr2ok
18:39.21cr2raph100 or 800 ?
18:41.06cr2i'm also interested about the clock register with bt on and off (fm radio on/off)
18:42.28toergsm so that would be 100?
18:42.30cr2somebody should add the "cken" parser to regs_msm.py like it's done for regs_pxa.py
18:42.37cr2the known bits are
18:42.48cr2yes
18:43.06cr27 - sd0
18:43.10cr28 - sd1
18:43.23cr217 -DM1
18:43.33cr226 - DM2
18:43.46cr227 - sd2
18:43.50cr228 - sd3
18:44.20cr2the rest is black magic
18:45.09cr2which can be traced on g1 though. by some motivated person.
19:07.52cr2toer: still alive ?
19:07.58cr2~ping NetRipper
19:07.58aptpong NetRipper
19:09.44toeryes and i have to start over loged to the sd card and plugged it out stupid
19:10.49cr2haret can be put on the nand partition
19:11.10toerthats what im doing now
19:11.45cr2i've documented the SD divisors, but can't put it on wiki ;) weird firewall.
19:11.54cr2telnet to raph
19:11.57cr2and do
19:12.16cr2pd 0xa8600000 0x100
19:12.24cr2pastebin the output
19:13.47cr2dcordes: FYI, the a0 and a4 (a8 and ac) registers are split into 16bit words
19:14.32cr2dcordes: and there are 7 parameters used ot set the required frequency
19:16.23toerhttp://pastebin.com/d7c1bea98
19:16.53cr2dcordes: if the register values are known, one can calculate the 7 paramaters
19:16.55cr2dcordes: i know the 7 params used by raph100 SPL. i guess diamond SPL will use the same values.
19:16.55cr2dcordes: the values dumped by Netripper are a bit different.
19:16.55cr2dcordes: so i need more statistics.
19:17.45cr2dcordes: the values used by dzo on vogue are strange. i'd like to know where do they come from.
19:18.07cr2toer: ading
19:18.50cr2toer: 0xa8600000, not 0x86*
19:20.32*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8216.pool.einsundeins.de)
19:21.44toerhttp://pastebin.com/d3e7d8694
19:22.43cr22219feaf. ok
19:23.08cr2can you switch on bt (fm radio) ?
19:23.25cr2and do 'pd 0xa8600000 4'
19:25.54toerHaRET(1)# pd 0xa8600000 4
19:25.55toera8600000 | 2019fe2f                            | /..
19:28.02cr2hm. strange
19:30.49cr2still, there is some consistent pattern.
19:31.38cr2can you do pd 0xa8600000 0x100
19:31.45cr2with the camera switched on ?
19:33.54toerhttp://pastebin.com/m7c6b9b34
19:35.48cr2ok
19:36.37cr2no differences. interesting
19:38.24cr2you have 0xa0c for the mddi clock. wiki has =0xa19
19:39.54NetRipperhi guys
19:40.02toeri have a "scandinavian" version it may be possible there is other differences than the hardware keyboard
19:40.10cr2hi NetRipper
19:40.32cr2toer: can you check the lcd panel type ?
19:41.02cr2NetRipper: can you dump the 0x100 bytes from the clock area ?
19:41.13NetRipperok
19:41.34cr2NetRipper: and you should fix the virt vs phys mess for i2c and sd.
19:41.50NetRipperyes i need to verify that on newer build
19:42.10NetRipperyou sure it should show the physical addresses in /dev/iomem?
19:42.13cr2NetRipper: can you post the link to the board file ?
19:42.25cr2yes
19:42.29NetRipperok
19:42.39cr2all other addresses there are physical
19:43.23NetRippercr2, 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.40toercr2: how do i check the lcd panel type?
19:44.30cr2toer: dump the SMEM 0x01f* megabyte area, documented in wiki
19:46.34cr2<PROTECTED>
19:46.49cr2i think the model_id is the same value
19:47.57NetRippercr2, http://netripper.pastebin.com/m367d821a
19:52.13*** join/#htc-linux p3t3r__ (n=peter@134.245.164.105)
19:53.41cr2NetRipper: i don't see any obvious reason why SD and i2c show up with virt addresses
19:53.44cr2ithey are not in the board file(s)
19:54.12cr2and the trout-mmc* needs _major_ patching anyway.
19:54.16NetRipperno
19:54.19NetRipperaha
19:54.23NetRipperwhat kind of patching?
19:54.31NetRipperbtw, the whole trout stuff is working on a different base address
19:54.44NetRipperi tried initing the trout mmc from raphael board
19:54.46cr2sd/i2c ??
19:55.18NetRipperwhat is the board responsible for regarding sd? should it work the way like it is in htcraphael?
19:55.36NetRipperonly function they apply there is the 'sd card in or out' stuff
19:55.44cr2the power for sdio is on different gpios, and the gpio alt settings are different too.
19:55.58cr2no, it should be some generic msm720xA support
19:56.28cr2in or out should use a different gpio too
19:56.34NetRipperyes
19:56.36cr2check raphael_gpio page
19:57.25NetRipperbut i mean, the amount of work done for trout-mmc* seems quite big
19:57.46cr2yes
19:58.06NetRipperis all that stuff mandatory to get it working?
19:58.10toercr2: can you point me to the right wikipage
19:58.23cr2btw, testing nand with android is the most stupid idea i can imagine :)
19:58.33NetRippertoer, http://wiki.xda-developers.com/index.php?pagename=RaphaelResearch
19:58.35NetRippertoer, memorymap
19:58.40cr2toer: http://wiki.xda-developers.com/index.php?pagename=RaphaelMemoryMap
20:01.22cr2NetRipper: you'd have a different SD card
20:01.45cr2you and toer have different SD timing register settings.
20:01.57NetRipperi had haret running from the sd card while doing the dumps, perhaps that caused a problem
20:02.39cr2not a problem, just different settings
20:03.00NetRipperwhy would two raphaels have different sdcard settings
20:03.03NetRipperor
20:03.06NetRippercould it be the sd card itself?
20:03.20cr2yes
20:03.30NetRipperi mean.. usually the sd clock is adjusted depending ont he card
20:03.42cr2mmc will have different clock setting
20:03.46NetRipper:p
20:03.47NetRipperok
20:04.32cr2the SPL has 144kHz (minimal), 19MHz (mmc?), and 12/24 (SD) and 48 (SD2.0) MHz speeds
20:05.05cr2i don't know what g1 driver uses
20:05.42NetRipperok
20:05.45cr2clock control for g1 may be sorted out only by dumping and disassembling  the microkernel anyway.
20:05.47NetRipperg1 driver has max of 24mhz
20:05.52cr2or oemsbl
20:06.11cr2that one i'd also like to look at
20:06.59NetRipperits the mmc driver, sec
20:07.02cr2if the card identifies itself as SD2.0 you can bump the clock
20:07.02cr2or at least try to ;)
20:07.17cr2mmc is <=20MHz by spec
20:07.28cr2at least mmc<4
20:07.32NetRipperthey had it at 20mhz
20:07.46NetRipperthey upped it to 24 in one of the last patches where they use pio instead of polling
20:08.16NetRipperbut its in the android-msm-2.6.27 tree not .25
20:08.31cr225 is the spec value AFAIR
20:08.37NetRipperaha
20:08.48cr2so they use 19 and 24
20:09.15NetRipperhttp://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.23NetRipper<PROTECTED>
20:09.23NetRipper<PROTECTED>
20:09.39cr2-a86000a0 | 0001fff4 fff50b44 0001fff5 fff60044 | ....D.......D...
20:09.39cr2+a86000a0 | 0001fff4 fff50044 0001fffa fffb0044 | ....D.......D...
20:09.53cr2these are your differences
20:09.57NetRipperaha
20:10.06NetRipperbut in my dump there was no difference between sd card in and out
20:10.13cr2NetRipper: these are just hints
20:10.34cr2the real clock management is done by arm9 (on g1)
20:10.42NetRipperah
20:10.49cr2we have a privilege to do it ourselves ;)
20:10.53NetRipperbut the arm9 needs to be configured
20:10.56NetRipperto do it
20:11.21cr2yes, it's just a different microkernel that androids are using
20:11.53cr2we are also should be doing the gpio alt setup ourselves
20:12.05cr2that's the major differences to g1
20:12.12toerok, the wiki page didnt make me wiser.. i'm kind of new to this :s
20:13.01cr2a8000000+0x081034      panel_id
20:13.21cr2pd 0xa8081034 4
20:13.39toerHaRET(19)# pd 0xa8081034 4
20:13.40toera8081034 | 00000004                            | ....
20:13.59cr2and +0xfc048
20:14.22toerHaRET(20)# pd +0xfc048 4
20:14.23toer000fc048 | 01070360                            | `...
20:14.27cr2pd 0x01ffc048 4
20:14.52toerHaRET(21)# pd 0x01ffc048 4
20:14.53toer01ffc048 | 00000001                            | ....
20:15.04*** join/#htc-linux tronad0r (n=chatzill@190.68.143.202)
20:15.07cr2ok
20:15.18cr2so your panel_id seems to be '4'
20:15.38cr2NetRipper: we have 5 ?
20:15.43NetRipperem
20:15.45NetRipperlet me see
20:16.03NetRipperi have the same results
20:16.21NetRippera8081034 | 00000004                            | ....
20:16.26NetRipper01ffc048 | 00000001                            | ....
20:16.31cr2hm.
20:16.54cr2i don't remember then.
20:17.14cr2everything should be put into wiki ;)
20:18.48NetRipperHitachi (5), Sharp(0xa) or Toppoly(2,0x11).
20:18.53NetRipperyou did document it
20:19.32NetRipperexpected 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.27cr2this is the real code:
20:25.27cr2read 150000
20:25.27cr2id=0
20:25.27cr2if bit 0x10 is not set -> id+=1
20:25.28cr2if bit 0x04 is not set -> id+=2
20:25.30cr2=0 -> panel id 5 (hitachi)
20:25.32cr2=1 -> panel id 0xa (sharp)
20:25.34cr2=2 -> panel id 0x11 (toppoly2)
20:25.36cr2=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.11NetRipper150000 is a memory location?
20:26.11*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
20:29.44cr2no, it's and mddi_external read
20:29.56cr2for toshiba_gpio area
20:30.08cr2should be documented in wiki
20:30.12NetRipperaha
20:33.01tronad0rwhat HTC phones can run Android??
20:33.42NetRippervogue/polaris/kaiser
20:33.48NetRipperafaik
20:34.08cr2ok, need to finish some other work. bye
20:38.54kalemasHello. 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.32tronad0rjoin #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.10joshjdevlhi
23:25.02joshjdevli'm interested in helping out porting android to the htc hd
23:25.38joshjdevli'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.17NetRippercr2, 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.56NetRipperjoshjdevl, new to what, linux in general, linux development, linux on embedded?
23:27.59NetRipper:)
23:28.06joshjdevllinux on embedded
23:28.17joshjdevli'm a software engineer who just got an htc hd, so thats why i'm interested
23:28.28joshjdevli've done linux, c development
23:28.37NetRipperok
23:29.12NetRipperand you're fed up with windows mobile already? ;)
23:29.14joshjdevli'm not familiar with much embedded development, though everything else should be ok
23:29.16joshjdevlyes
23:29.19NetRipper:D
23:29.21NetRipperanyway
23:29.32NetRipperwhat's codename for touch hd?
23:29.36NetRipperhtc name
23:29.37joshjdevlblackstone
23:29.41NetRipperok
23:30.31NetRipperim unsure, but i think it might be similar to xperia
23:30.57NetRipperanyway
23:31.01NetRipperxperia is also similar to raphael
23:31.03NetRipperand diamond
23:31.12NetRipperso i guess you're best off on the tree we're working on as well
23:31.33NetRipperhttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25
23:31.37NetRipperwhich is that one
23:31.42joshjdevlk
23:32.39NetRipperhttp://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
23:32.42NetRipperis a page for raphael/diamond
23:32.57NetRipperat 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.17NetRipperhi cr2
23:33.55cr2uff, time to go home ;)
23:33.59NetRipperhehe
23:34.04NetRippertime to go to bed you mean
23:34.04NetRipper:p
23:34.10cr2something new ?
23:34.15NetRipper00: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.45cr2NetRipper: i think you'd find out why are the virtual addresses pop up in /proc/iomem
23:35.03cr2hmm.
23:35.12NetRipperyep, i couldnt yet
23:35.13NetRipper:P
23:35.58cr2ask somebody with kaiser et al. to post /proc7iomem
23:36.28NetRipperdcordes, can you pastebin output of /proc/iomem on your kaiser? :p
23:37.23cr2joshjdevl: have you already run haret ob blackstone ?
23:37.41joshjdevlno
23:37.54NetRipperthat might actually be a better start
23:37.58joshjdevlok
23:38.00joshjdevli'll do that first
23:38.09joshjdevlthx
23:38.11NetRipperyou can check out the RaphaelResearch page
23:38.16NetRipperespecially memorymap
23:38.18cr2well, add earlyharetlog.txt a nd post the haretlog.txt file
23:38.25toercr2: still need those sd clocks?
23:38.38joshjdevlok
23:38.42cr2toer: you have already done it ?
23:39.21cr2joshjdevl: then you may check where is your FBRAM, wince "dmesg" and dump the SMEM area
23:39.59cr2joshjdevl: then you may dump the clocks area too
23:40.16NetRipper(hint: read back in log at topic)
23:40.16NetRipper:)
23:40.49NetRipperhm
23:40.57toercr2: yes
23:41.11cr2then you may do the gpio/irq tracing, but it's a more difficult and time-consuming task.
23:41.27toerhttp://dalaker.com/raphael/sd_clocks_for_cr2.txt
23:42.10cr2toer: i consider the SD clocks a more or less solved problem. don't know why vogue uses strange values
23:42.13NetRipperi thought there was real-time logging on the webpage?
23:42.18cr2toer: ok, i've saved it for further references-.
23:42.24NetRippercan only see from yesterday ;)
23:42.43cr2NetRipper: irclog.iclem.net
23:43.12NetRippercr2, ah, thanks
23:43.16joshjdevlcr2: ok cool, i'll install haret and then gather the FBRAM, SMEM, and clocks area
23:43.26cr2ok, i really need to go. this wis a crazy week ;)
23:43.35NetRipper:)
23:43.39NetRippercya later cr2
23:43.45cr2NetRipper: btw, i'll be in Amsterdam on 4-5 dec
23:43.54NetRippercool ;)
23:44.03NetRipperwhat's to do there?
23:44.09cr2with the car. i hope.
23:44.16cr2good night.
23:44.20NetRippergood night;)
23:44.43NetRipperim off to bed as well
23:44.54joshjdevlc y, thx guys
23:46.20toerso am i

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.