IRC log for #htc-linux on 20071030

00:00.05BabelOwhere did you think spi tsc2046 port is mapped ?
00:00.14cr2_0xfffc1000
00:00.20cr2_phys
00:00.33BabelOyes, i think i try it too yesturday
00:00.37cr2_i don't think, it's in bl and wince touch.dll
00:00.40BabelOchecking again quicly ;)
00:00.41cr2_also on herald.
00:03.27BabelOnothing, just the ts irq, what filter i need to use here ? 0xfff ?
00:06.00rakeemAre you guys running the CE ROM through IDA Pro?
00:06.18BabelOrakeem: just IDA demo version ;)
00:06.58rakeemRight, but that's what you refer to often to see what calls are made, beyond what HaRet reveals?
00:07.47cr2_rakeem: there is also a python disassemble script by pH5. sometimes it's better than ida. and faster anyway.
00:07.48mazzanetcr2_: http://pastebin.ca/754431
00:08.43rakeemThis eats ARM binaries and excretes assembler?
00:09.10cr2_mazzanet: a0dfea80 looks like a ram address. strange.
00:09.24BabelOrakeem: yes
00:09.39cr2_rakeem: yes, it uses objdump as a backend, so it can do wince coff and raw binary.
00:10.06mazzanetcr2_: probably nothing, but is it normal to need to softreset twice to boot back into wince?
00:10.09cr2_mazzanet: you have 240x320 LCD ?
00:10.32rakeemOoer...  You're losing me again...  I'll keep earwigging on the channel and reading from the web of lies...  Cheers...
00:10.42mazzanetyep
00:10.59cr2_mazzanet: 64MB RAM ?
00:11.21mazzanetyep
00:13.01cr2_which haret version is it ?
00:13.08mazzanet0.5
00:13.32cr2_83 gpios is for pxa26x
00:13.39cr2_pxa27x has 120
00:13.55mazzanet`vfh VRAM 240*10 0x0099` does indeed make the top 10 pixels blue too
00:13.59mazzanethmm curious
00:13.59BabelOgood night, it is late here even with the day light saving ;)
00:14.45rakeemI don't mean this to be taken the wrong way, but I'm would it be fair to say that cracking software (w4r3z style;) is somewhat childish beside this stuff?
00:15.58Kevin2cr2_: "cvs up" and run new command "alloctest"
00:16.00cr2_rakeem: unlike cracking it's fully legal, and makes much more fun.
00:16.16mazzanetcr2_: i just did some dumping
00:16.25cr2_ImCoKeMaN: are you still here ?
00:16.27mazzanetthat address that it tried to jump to
00:16.31mazzanet<PROTECTED>
00:16.35ImCoKeMaNjust got back
00:16.36mazzanetit's in vram
00:17.01mazzanetHaRET(10)# vfh vram 240*20 0x0044
00:17.01mazzanetHaRET(11)# pdump 0xa0dfea80 255
00:17.01mazzaneta0dfea80 | 00440044 00440044 00440044 00440044 | D.D.D.D.D.D.D.D.
00:17.02mazzaneta0dfea90 | 00440044 00440044 00440044 00440044 | D.D.D.D.D.D.D.D.
00:17.03cr2_ImCoKeMaN: can you run the latest CVS haret by Kevin2 ? and this alloctest command ?
00:17.29cr2_mazzanet: ok, but it's strange that PXA SRAM is not used for the FB.
00:17.43ImCoKeMaNcan ya link me =)
00:18.02Kevin2cr2_ /  ImCoKeMaN: http://www.handhelds.org/~koconnor/haret/haret-20071029.exe
00:19.30cr2_Kevin2: i'll fix and extend the ATIDBG command. it can provide a lot of useful data.
00:21.29ImCoKeMaNok i loaded it, what you want me to run?
00:21.39ImCoKeMaNor you want me to wait til you add your feature?
00:22.07cr2_ImCoKeMaN: run 'alloctest'
00:23.06ImCoKeMaNHaRET(1)# alloctest
00:23.06ImCoKeMaNline 1: Expected <count>
00:23.26ImCoKeMaNalso for the command kevin wanted me to run: HaRET(2)# set mmutrace p2v(0xc0000000) 1024*1024
00:23.27ImCoKeMaNline 2: MMUTRACE(1 args) expected
00:23.27ImCoKeMaNline 2: Expected index for var MMUTRACE
00:24.05cr2_ImCoKeMaN: alloctest 4096
00:24.34cr2_not 'set mmutrace', but 'addlist mmutrace'
00:24.35ImCoKeMaNabout 4096 lines
00:24.38Kevin2ImCoKeMaN: Sorry, it is "addlist mmutrace p2v(0xc0000000) 1024*1024"  and then "wi 1".
00:24.57Kevin2ImCoKeMaN: Run cr2_'s tests first.  :-)
00:24.57cr2_ImCoKeMaN: can you pastebin the 4096 lines ?
00:25.26ImCoKeMaNnever used that, but i suppose i could
00:25.28ImCoKeMaNirq:8001ab88@A02D43F8=809e00ec abort:8000104c@A02D43F0=809e0110 prefetch:8001a6f
00:25.28ImCoKeMaN8@A02D43EC=809e013c data=809af000 sizes=c:000011ac,t:000351ac
00:25.29ImCoKeMaNBeginning memory tracing.
00:25.29ImCoKeMaN00: Mapping 94e00000 accesses to e1100000 (tbl c0002402)
00:25.29ImCoKeMaNReplacing windows exception handlers...
00:25.29ImCoKeMaNFinished installing exception handlers.
00:25.31ImCoKeMaNRestoring windows exception handlers...
00:25.33ImCoKeMaNFinished restoring windows exception handlers.
00:25.35ImCoKeMaNHandled 1021 irq, 427 abort, 88 prefetch, 0 lost, 0 errors
00:25.37ImCoKeMaNthats the wi 1 output
00:26.10rakeemcr2:  On the contrary, your work here is not merely legal, but noble and important.  If morality is to be mentioned at all, it can only be with regard to the lack thereof displayed by the vested interests whose goal it is to confine these technologies to a pointless lifecycle as an infantile toy, to last year's rubbish.  Whatever the practical successes, this and similar projects have made an indelible impression on many. Non-geeks included.
00:28.34Kevin2ImCoKeMaN: Can you run "clear mmutrace" followed by "addlist mmutrace 0xb4e00000 1024*1024" and then "wi 1"?
00:29.50ImCoKeMaNhttp://pastebin.com/m56f706bd
00:30.48ImCoKeMaNhttp://pastebin.com/m8c86b4b
00:32.04cr2_rakeem: linux is a viable and really working alternative on the phone. imagine what could have been done if we had the full hw docs ;-)
00:32.14cr2_ImCoKeMaN: looks interesting.
00:34.01ImCoKeMaNhehe, so you think the titan will be able to get a nice linux working on it too?
00:34.37Kevin2cr2_: What do you think? 0xb4e00000 looks like the irq pending register, and 0x18 looks like the ack register.  Not sure what 0x40 is..  And 0x28 looks weird.
00:35.45cr2_28 is something else.
00:35.50rakeemI know...  If we *did* leave ethics aside entirely, a division of labour between hacking the hardware and TI / ATi / HTC's corporate networks might yield some progress...    8-|
00:37.07cr2_ImCoKeMaN: can you try 'alloctest 8192' ?
00:37.16Kevin2ImCoKeMaN: Do you connect via wifi or usb?
00:37.23ImCoKeMaNvia usb
00:37.37ImCoKeMaNnot sure if wifi sync works, might be able to try BT sync
00:37.37cr2_ImCoKeMaN: titan has wifi ?
00:37.40ImCoKeMaNyup
00:37.43cr2_ok.
00:38.16rakeemIs the titan similar in anatomy / evolution to the Univesal?
00:38.40cr2_Kevin2: irq acking can be checked in the wince internals.
00:38.41ImCoKeMaNnot really from anything i can tell
00:39.13ImCoKeMaNgrr you blew up my memory cr2 hehe
00:39.19cr2_rakeem: no. titan uses a qualcomm CPU without any docs. universal is the device where all hardware has linux drivers.
00:39.37cr2_ImCoKeMaN: sure. 8192*4096=32M alloc :)
00:40.11ImCoKeMaNso got any better bright ideas?
00:40.32cr2_take a number between 4096 and 8192
00:40.41rakeemQualcomm are doing the CPU now?  So not even Omap / XScale development kits to give you clues?  Jesus.
00:40.54ImCoKeMaNi have about 24 mb free
00:40.57Kevin2Okay, there were 1041 irqs and 1041 traps at addr 800537fc -- so we've definitely found the main irq register.
00:42.08cr2_rakeem: it seems that htc uses omap850 on cheap phones now, and qualcomm's msm7x00 on better ones. both are dual-ARM core devices.
00:42.35cr2_ImCoKeMaN: try 20MB
00:42.56cr2_<PROTECTED>
00:43.11ImCoKeMaN5120?
00:43.18cr2_5000
00:43.23ImCoKeMaNk
00:44.11*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
00:44.26rakeemRight, my Tornado's an Omap850.  Another thing that pisses me off is that the core architecture was funded by the British taxpayer back in the days of Acorn RISC machines...  Surely as a British citizen I should at least be entitled to a copy of the manual...
00:44.44cr2_:)
00:45.41cr2_rakeem: they want to "protect" the "secure" parts of the microcontroller. the ARM part is open.
00:46.18ImCoKeMaNsorry i got 6100 instead =)
00:46.23rakeemSecure as in crypto / big brother?
00:46.55cr2_ImCoKeMaN: more is better.
00:47.32ImCoKeMaNhttp://pastebin.com/d42af6df5
00:47.38cr2_rakeem: they don't want that you mess with the radio (understandable), but there is also SIM access and HW RNG and such.
00:47.40rakeemcr2:  More crypto is better too...  ;-)
00:49.18cr2_ImCoKeMaN: great. so it's really 64MB for wince, and something like 32MB for the DSP/framebuffer/etc.
00:49.39ImCoKeMaNso it does really have 96mb ram?
00:50.09cr2_rakeem: if you use builtin crypto, you are doing something wrong.
00:50.12cr2_ImCoKeMaN: yes.
00:50.14ImCoKeMaNi did see somewhere that it said that, but it was pre-release leaked info and never looked founted
00:50.17ImCoKeMaNnice
00:50.24cr2_64+
00:50.30ImCoKeMaNsure would kick ass if there was a way to do something with the extra hehe
00:51.15cr2_it is already used by wince.
00:51.20Kevin2ImCoKeMaN: Can you run - "addlist irqs p2v(0xc0000000) 0x100"    "clear mmutrace"   "addlist mmutrace 0xb2a00000 2*1024*1024"  "wi 1"
00:51.40cr2_to store some data, and as a framebuffer RAM.
00:52.48ImCoKeMaNhttp://pastebin.com/d790ff098
00:53.12ImCoKeMaNyeah but it only leaves 24 free out of the regular 64mb so it's a pain
00:53.17rakeemHave you read Dr. Markus Kuhn's work at defeating tamperproof cryptoprocessors?  If that's their goal they're screwed.  Also, I remember reading on another forum (by a regular here I suspect) that the GSM processing in my Tornado is all handled within user addressable registers by the OMAP....
00:53.32ImCoKeMaNonly 47mb is even listed for prog mem
00:53.45ImCoKeMaNseems like they could do something more efficient with that ram
00:55.23rakeemcr2:  <Sorry missed your earlier comment about built in crypto>
00:56.01cr2_rakeem: there is a gsm driver for tornado written by a french guy. the DSP uses a piece of main DRAM through its own MMU. the source is available: http://vivien.chappelier.free.fr/typhoon/gsm.html
00:56.30rakeemThat's the guy!
00:56.49cr2_btw, it's the same on qualcomm i guess. only a bit more clean, because the address spaces are physically separated.
00:57.02cr2_and the second core runs microkernel linux.
00:57.48cr2_ok guys. it#s really late now. good night.
00:58.34rakeemNighty night...  I shall keep reading....
00:58.43rakeemI've gotta go to work now...  9am here.....
00:58.53ImCoKeMaNnight cr2_
00:59.37ImCoKeMaNKevin2: is there anymore you would like?
01:00.21Kevin2Yeah - can you download haretconsole?
01:00.28Kevin2Do you run linux on your host?
01:00.37ImCoKeMaNnot natively right now
01:00.47Kevin2Okay.
01:00.50ImCoKeMaNi can load it up, but i don't have the sync stuff set up that way
01:01.02Kevin2Do you have python on your windows machine?
01:01.19ImCoKeMaNprobly not yet, it's a fairly new install, but i can get it
01:01.27Kevin2No big deal.
01:01.32ImCoKeMaNhehe ok
01:01.34*** join/#htc-linux _ecze (n=ecze@eczema.ecze.com)
01:01.54Kevin2Can you run "clear irqs" and then "addlist irqs p2v(0xc0000000) 0x100 32 0"
01:02.15Kevin2Actually, make that "addlist irqs p2v(0xc0000000) 0x8100 32 0"
01:03.11ImCoKeMaNthen wi 1 again?
01:03.17Kevin2Yep.
01:03.56ImCoKeMaNirq:8001ab88@A02D43F8=80a060ec abort:8000104c@A02D43F0=80a06110 prefetch:8001a6f
01:03.56ImCoKeMaN8@A02D43EC=80a0613c data=809d5000 sizes=c:000011ac,t:000351ac
01:03.56ImCoKeMaNBeginning memory tracing.
01:03.56ImCoKeMaNWatching IRQS(00): Addr 94e00000(@c0000000)
01:03.56ImCoKeMaN00: Mapping b2a00000 accesses to e1100000 (tbl a9302402)
01:03.57ImCoKeMaN01: Mapping b2b00000 accesses to e1200000 (tbl a9202402)
01:03.59ImCoKeMaNReplacing windows exception handlers...
01:04.01ImCoKeMaNFinished installing exception handlers.
01:04.03ImCoKeMaN000000: mem 94e00000=00000100 (00000000)
01:06.22Kevin2Okay, otherwise quiet?
01:06.48ImCoKeMaN000000: mem 94e00000=00000100 (00000000)
01:06.48ImCoKeMaNRestoring windows exception handlers...
01:06.48ImCoKeMaNFinished restoring windows exception handlers.
01:06.48ImCoKeMaNHandled 1033 irq, 335 abort, 56 prefetch, 0 lost, 0 errors
01:06.56ImCoKeMaNthat was the rest
01:07.29Kevin2Great.  Now, try running wi 15.  Then try tapping the screen while it is running.
01:08.15ImCoKeMaNnice
01:08.20ImCoKeMaNthat makes it move lots
01:09.18ImCoKeMaNhttp://pastebin.com/d233e5be0
01:16.06Kevin2ImCoKeMaN: Interesting.
01:16.51ImCoKeMaNso you'll have a nice linux zimage for me in a few mins then right?
01:17.27Kevin2ImCoKeMaN: No, linux will be a long way off.
01:18.06ImCoKeMaNhehe i know i'm just teasin
01:18.29Kevin2Can you run "vd 0xb2b00000 0x1000"
01:19.07ImCoKeMaNHaRET(16)# vd 0xb2b00000 0x1000
01:19.07ImCoKeMaNb2b00000 | 1438fb54 1438fb54 1438fb54 1438fb54 | T.8.T.8.T.8.T.8.
01:19.07ImCoKeMaNb2b00010 | 1438fb54 1438fb54 1438fb54 1438fb54 | T.8.T.8.T.8.T.8.
01:19.07ImCoKeMaNb2b00020 | 1438fb54Terminating haret due to unhandled exception (pc=0001e624)
01:20.59Kevin2Picky picky.  Let's try "vd 0xb2b00800 0x100"
01:21.51*** join/#htc-linux rakeem__2 (n=root@n220246173102.netvigator.com)
01:22.16ImCoKeMaNhttp://pastebin.com/d60fbd6f8
01:25.21Kevin2Okay --  addlist irqs p2v(0xc0000000) 0x8100 32 0  --  addlist mmutrace 0xb2a00000 2*1024*1024  --  wi 10
01:25.31Kevin2And can you hit a button during the "wi" ?
01:26.05ImCoKeMaNdo i have to clear first?
01:26.25Kevin2It wont hurt, but you shouldn't have to.
01:29.00ImCoKeMaNhttp://pastebin.com/d391fbf3f
01:29.10ImCoKeMaNpushed 2 buttons, stuff loaded in between then
01:37.00Kevin2ImCoKeMaN: You pressed the same button twice, or two different buttons?
01:37.07ImCoKeMaNtwo diff
01:37.29ImCoKeMaNnotes, then comm manager
01:40.51*** join/#htc-linux huhlig (n=UhligH@c-76-20-46-192.hsd1.ca.comcast.net)
01:43.30Kevin2ImCoKeMaN: Lets try something different.  Can you grab http://www.handhelds.org/~koconnor/haret/haret-20071029b.exe
01:43.37Kevin2and then run "watch gpios 1"
01:44.04*** join/#htc-linux the_sys0p (n=the_sys0@117.121.1.245)
01:48.03ImCoKeMaNHaRET(1)# watch gpios 1
01:48.03ImCoKeMaNBeginning memory tracing.
01:48.03ImCoKeMaNHaRET(2)# watch gpios 10
01:48.03ImCoKeMaNBeginning memory tracing.
01:49.27Kevin2Hrmm.  Is your machine detected as an msm7500?
01:49.40ImCoKeMaNgeneric arm
01:51.13Kevin2Okay.  Can you create the file "earlyharetlog.txt" and then look for the line "Wince reports processor: ..."
01:51.22ImCoKeMaNk
01:51.24Kevin2In the file haretlog.txt
01:52.51ImCoKeMaNDetecting current machine
01:52.51ImCoKeMaNTrying to detect machine (Plat='PocketPC' OEM='TITA100')
01:53.04ImCoKeMaNlooks liek titan was never added to the machlist.txt
01:54.44Kevin2Dump mistake in haret - can you retry with http://www.handhelds.org/~koconnor/haret/haret-20071029c.exe
01:56.04ImCoKeMaNline 2: expected a number got 0addlist
01:56.23ImCoKeMaNbut then loads and says generic msm7500
01:57.12Kevin2Oops - try http://www.handhelds.org/~koconnor/haret/haret-20071029d.exe
01:57.17ImCoKeMaNstill does: HaRET(1)# watch gpios 1
01:57.17ImCoKeMaNBeginning memory tracing.
01:57.17ImCoKeMaNHaRET(2)# watch gpios 10
01:57.17ImCoKeMaNBeginning memory tracing.
01:58.45ImCoKeMaNthere we go
01:59.54ImCoKeMaNhttp://pastebin.com/d28d583b7
02:02.58Kevin2Can you run "ibit gpios 290 203" and then rerun "watch gpios 1"
02:03.53ImCoKeMaNhttp://pastebin.com/d1d690468
02:04.17Kevin2Also, if you can get haretconsole ( http://www.handhelds.org/~koconnor/haret/haretconsole-20071029.tar.gz ) it will help a lot.
02:04.31Kevin2Great!  Now try "watch gpios 20" -- and then try hitting a button.
02:06.28ImCoKeMaNhmm i hit three, but onlt ones that made any diff was the notes button, it did this:
02:06.31ImCoKeMaN008378: mem 92b0083c=03e51003 (00000004)
02:06.32ImCoKeMaN008417: mem 92b0083c=03e51007 (00000004)
02:06.32ImCoKeMaN008622: mem 92b0080c=000001a8 (00000008)
02:06.32ImCoKeMaN008622: mem 92b00840=0000001c (00000008)
02:06.32ImCoKeMaN009701: mem 92b0080c=000001a0 (00000008)
02:06.32ImCoKeMaN009701: mem 92b00840=00000014 (00000008)
02:07.13Kevin2Hrmm.  Is there a pattern for press and then release?  (Try holding it for a couple of seconds, and then releasing it.)
02:08.05ImCoKeMaNit doesn't seem to show much til the prog comes up, but i held it this time and it did:
02:08.16ImCoKeMaN003251: mem 92b0083c=03e51003 (00000004)
02:08.16ImCoKeMaN003293: mem 92b0083c=03e51007 (00000004)
02:08.16ImCoKeMaN003612: mem 92b0080c=000001a8 (00000008)
02:08.16ImCoKeMaN003612: mem 92b00840=0000001c (00000008)
02:08.16ImCoKeMaN004248: mem 92b0080c=000001a0 (00000008)
02:08.16ImCoKeMaN004248: mem 92b00840=00000014 (00000008)
02:08.18ImCoKeMaN005379: mem 92b0080c=000001a8 (00000008)
02:08.20ImCoKeMaN005379: mem 92b00840=0000001c (00000008)
02:08.22ImCoKeMaN006405: mem 92b0080c=000001a0 (00000008)
02:08.24ImCoKeMaN006405: mem 92b00840=00000014 (00000008)
02:10.23Kevin2Hrmm.  That is odd.
02:10.43Kevin2What happens if you hit the touchscreen while in "watch gpios"?
02:11.32*** join/#htc-linux the_sys0p` (i=nroberts@117.75.144.139)
02:11.41ImCoKeMaN2 lines each tap
02:11.41ImCoKeMaN001665: mem 92b00840=00000004 (00000010)
02:11.41ImCoKeMaN001801: mem 92b00840=00000014 (00000010)
02:11.41ImCoKeMaN003098: mem 92b00840=00000004 (00000010)
02:11.41ImCoKeMaN003253: mem 92b00840=00000014 (00000010)
02:11.42ImCoKeMaN004021: mem 92b00840=00000004 (00000010)
02:11.44ImCoKeMaN004163: mem 92b00840=00000014 (00000010)
02:11.46ImCoKeMaN004820: mem 92b00840=00000004 (00000010)
02:11.48ImCoKeMaN004917: mem 92b00840=00000014 (00000010)
02:12.52Kevin2Cool - you found your pen down gpio.
02:13.08ImCoKeMaNend button is:
02:13.09ImCoKeMaN003535: mem 92b0083c=03e51003 (00000004)
02:13.09ImCoKeMaN003614: mem 92b0083c=03e51007 (00000004)
02:13.09ImCoKeMaN003912: mem 92b0080c=000001a8 (00000008)
02:13.09ImCoKeMaN003912: mem 92b00840=0000001c (00000008)
02:13.09ImCoKeMaN004501: mem 92b0080c=000001a0 (00000008)
02:13.11ImCoKeMaN004501: mem 92b00840=00000014 (00000008)
02:13.56Kevin2Does wince play sound when you hit a button?
02:15.03ImCoKeMaNit did with teh notes button
02:15.24ImCoKeMaNohhh and the end button
02:15.28Kevin2I think what you're seeing is the speaker power on gpio.
02:15.29ImCoKeMaNit's just super quiet
02:15.32ImCoKeMaNgood catch
02:15.43Kevin2Heh, I've done this before.  :-}
02:15.53ImCoKeMaNreally? never would have guessed =P
02:17.05Kevin2If you want to verify the sound thing -- click on "listen" and open a second telnet window.
02:17.24Kevin2In the first window, run "watch gpios ...", and in the second run "playsound 5"
02:19.50ImCoKeMaNyup
02:19.50ImCoKeMaN005013: mem 92b0083c=03e51003 (00000004)
02:19.51ImCoKeMaN005049: mem 92b0083c=03e51007 (00000004)
02:19.51ImCoKeMaN005261: mem 92b0080c=000001a8 (00000008)
02:19.51ImCoKeMaN005261: mem 92b00840=0000001c (00000008)
02:19.51ImCoKeMaN008016: mem 92b0080c=000001a0 (00000008)
02:19.52ImCoKeMaN008016: mem 92b00840=00000014 (00000008)
02:21.56ImCoKeMaNdarn python is 10mb
02:22.44Kevin2Heh.  The haretconsole stuff really helps - it will pull apart the memory dumps and show meaningful names.
02:22.59ImCoKeMaNi jsut have crappy net here
02:27.26Kevin2I'm going to have to call it a night.  Lets see if cr2 has further suggestions tomorrow.
02:27.35ImCoKeMaNhehe ok
02:27.44ImCoKeMaNhe'll probly have fun with the buffer
02:28.12ImCoKeMaNthanks for the help, and i hope this was useful
02:29.51Kevin2Yep - we've found the irq registers and confirmed the gpio locations.  This gives the basis for more a lot more research.
05:56.07*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz)
06:00.35*** join/#htc-linux |dion| (n=dion@inhex.net)
06:01.47*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
06:10.28*** join/#htc-linux par (i=par@dipole.idlepattern.com)
06:16.49*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
06:22.02*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
06:33.19*** join/#htc-linux the_sys0p (i=nroberts@118.147.4.135)
06:58.01*** join/#htc-linux goxboxlive (n=jrs@195.159.97.196)
07:01.41*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
07:04.26goxboxlivegood morning
07:08.43parhi goxboxlive
07:08.53parwhats new on the xanadux front
07:09.03pardid you get your universal pimped out?
07:09.08goxboxlivepar: nothing much
07:09.17goxboxliveyes i have it running
07:10.20parwhat kernel is that latest
07:20.36*** join/#htc-linux rob_w (n=bob@M8029.m.pppool.de)
07:29.04goxboxliveStill 2.6.21-hh17. but it hasent ahppend anythin since allmost .16 i think :-)
07:31.51parah, .16 was last time i was around
07:33.06*** join/#htc-linux rob_w (n=bob@M8029.m.pppool.de)
07:35.56mazzanetbleh this is frustrating
07:39.18rob_wmazzanet: what ?
07:41.26mazzanetfiddling with my o2 xda atom
07:41.39mazzanethangs on jumping to kernel
07:42.12*** join/#htc-linux bd2__ (n=cbou@85.21.88.2)
07:51.25*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
08:08.28mazzanetcr2_: i just opened the best up
08:08.55mazzanetcr2_: Intel PXA272FC5416
08:23.00mazzanetand while i was at it i documented everything else
08:42.37*** join/#htc-linux Robwoerle (n=bob@Mbaae.m.pppool.de)
08:57.20*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
08:59.47*** join/#htc-linux BabelO (n=Miranda@81.80.236.75)
09:25.11mazzanetcr2_: http://wiki.xda-developers.com/index.php?pagename=HTC_Atom
09:28.26cr2_mazzanet: hi. g3 or g3 mdoc ?
09:28.37cr2_s/or g3/or g4/
09:28.50cr2_moko uses wm9713 too ?
09:29.35cr2_CPLD is not for i2c. it's either egpio or just some bt/wifi addon.
09:31.43*** join/#htc-linux rob_w (n=bob@Ma9c5.m.pppool.de)
09:42.22mazzanetmdoc?
09:42.48mazzanetah
09:42.49mazzanetumm
09:43.30mazzanet*grabs screwdriver*
09:46.15mazzanetG3
09:46.33mazzanet512mb
09:46.37mazzanet(:O?)
09:47.05mazzanetor not..
09:48.28mazzanetwhat the heck is DiskOnChip G3 63MB (512MB) supposed to mean?
09:52.06cr2_64MB = 512Mb
09:52.26cr2_so it's g3 64MB
09:52.34mazzanetah :P
09:52.35cr2_like on ba. ok.
09:53.01cr2_well, you need an older gnu-haret do make some easy dumps.
09:53.14cr2_but afaik the latest version crashes on atom.
09:53.28cr2_i've added too much debug stuff for other devices ;)
09:53.51mazzanetcr2_: i've compiled that many kernels today and i can't get any further than jumping to the address
09:56.53cr2_you need to dump your LCD parameters first.
09:57.06cr2_otherwise your LCD will not show anything useful.
09:57.29cr2_it can be done by hand, but it's too much pain.
09:57.54cr2_gnulinux.biz is down ;)
09:58.43cr2_check this one http://jornada820.sourceforge.net/files/haret/
09:58.54cr2_gnuharet-*
09:59.02cr2_and tell me if it crashes
10:00.10mazzaneti think i'll start by putting the thing back together :P
10:05.59mazzanetcr2_: it crashes when i connect
10:06.54cr2_mazzanet: ok, but it strats ? then try do add a command in the default.txt
10:07.38mazzanetyeah it id's the cpu and then crashes
10:07.58cr2_on telnet connect ?
10:08.03mazzanetyeah
10:08.08cr2_hmm. wait.
10:10.11cr2_ok, does it start at all ? do you see the dialog with the 'Run' button ?
10:10.35mazzanetyeah
10:10.49mazzanetthen it listens fine
10:10.59mazzanettelnet connects
10:11.34mazzanetprints the usual speil until 'enter help for help' and then crashes
10:15.03mazzanetboot2 makes it think a little bit and then crash
10:15.32cr2_ok.
10:15.40cr2_so edit the default.txt file
10:16.12cr2_try
10:16.19cr2_dump PXA27xLCCR xxx
10:16.25cr2_and press 'Run'
10:16.31cr2_check the xxx file
10:18.44mazzanetxxx 0 bytes
10:31.28*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
10:36.27cr2_hmm.
10:39.00cr2_dump PXA27xCKEN yyy
10:40.16cr2_otherwise this code needs to be ported to mainline haret.
10:42.10mazzanetyep 0 again
10:42.13cr2_i think things like that can be done in the haret command language:
10:42.16cr2_uint32 *lccr0 = (uint32 *)memPhysMap (LCCR0);
10:42.25cr2_<PROTECTED>
10:42.57cr2_memPhysMap is easy
10:43.24cr2_but i'm not sure if it supports A ? B: C
10:43.30cr2_probably not.
10:44.03cr2_then it's something for the haretconsole python register decoder.
10:45.23cr2_if you have some time, you can do it manually:
10:45.25cr2_<PROTECTED>
10:45.26cr2_<PROTECTED>
10:45.26cr2_<PROTECTED>
10:45.26cr2_<PROTECTED>
10:45.35cr2_<PROTECTED>
10:45.36cr2_<PROTECTED>
10:45.36cr2_<PROTECTED>
10:45.36cr2_<PROTECTED>
10:46.26cr2_just dump the LCCR* register block.
10:47.02cr2_phys 0x44000000
10:47.39mazzanethow big is it?
10:49.30cr2_3 registers.
10:50.11cr2_define LCCR0           __REG(0x44000000)  /* LCD Controller Control Register 0 */
10:50.12cr2_#define LCCR1           __REG(0x44000004)  /* LCD Controller Control Register 1 */
10:50.12cr2_#define LCCR2           __REG(0x44000008)  /* LCD Controller Control Register 2 */
10:50.12cr2_#define LCCR3           __REG(0x4400000C)  /* LCD Controller Control Register 3 */
10:51.50mazzanet44000000 | 07b008f9 020314ef 02020d3f 04300003
10:54.17cr2_start decoding :)
10:54.36cr2_the bits are above.
10:54.50cr2_the only missing thing is the pixclock.
10:54.57cr2_but it's more involved.
10:55.40cr2_btw, dump the LCCR4 too.
10:59.52mazzanet0x07b008f9 is all 0s
11:03.16cr2_mazzanet: it's the LCCR0 value.
11:03.37cr2_you only need to pick necessary bits from it.
11:03.43mazzanetoh value not address
11:04.08cr2_the LCCR1 and LCCR2 may be more important.
11:17.31cr2_BabelO: http://sourceforge.net/projects/navipowm
11:20.22BabelOcr2_: it is a good idea, and i like the prepare "TMC stuff" :)
11:25.50mazzanetcr2_: http://pastebin.com/f2a20a0a7
11:25.52mazzanet:D
12:22.34cr2_mazzanet: ok, then register atom at armlinux. ok, i can do it too.
12:36.12cr2_BabelO: TMC is interesting, but i don't understand why he wants to reinvent the wheel in some other areas.
12:38.32BabelOcr2_ : TMC on artemis :), the tda chipset which manage radio over i2c can receive rds data as it seem, just need to decode them
12:40.30cr2_wow. that's interesting.
12:43.07BabelOcr2_ : i just say that in all htc marketing about artemis they say about tmc
12:43.56cr2_BabelO: that's a start http://wiki.xda-developers.com/index.php?pagename=ArtemisCPLD
12:44.40cr2_BabelO: i can send you the .asm, so you can fill many gpios and cpld gpios.
12:45.40BabelOoh , there is lot of bank on cpld :)
12:46.07BabelOcr2_: ok send me i create a wiki account ;)
12:48.27cr2_BabelO: somebody again used the old .12 ba kernel+familiar and is unhappy about the 1GB limit ;)
12:48.34cr2_can we kill it completely ?
12:50.46BabelOcr2_: i think yes , only thing is thatit have gcommunicator running
12:53.26BabelOcr2_ : dn sound record ;)
12:54.52BabelOcr2_: can you send me asm file, i ll look if i understand something in it ;)
12:56.05cr2_BabelO: ok, i've forgot about gomunicator.
12:56.29cr2_BabelO: you only need to grep for 'set_gpio'
12:56.49cr2_and look for r0 and r1 settings before.
12:56.57BabelOcr2_: ok, do you see my trace from yesturday about bt and other ?
12:58.12cr2_BabelO: yes. but these are cpld traces.
13:02.57cr2_BabelO: sent.
13:03.58BabelOcr2_: thanks
13:08.40BabelOcr2_: lol, 16 Mb of text file in a windows viewer
13:12.19cr2_BabelO: apple_iphoneMACH_APPLE_IPHONEAPPLE_IPHONE1506
13:13.00BabelOcr2_: uh already someone want linux on it ;)
13:13.21cr2_somebody was not bright enough -> heraldMACH_HERMESHERMES1461
13:13.24BabelOcr2_: some interestiong function like serialpower ;)
13:13.43BabelOcr2_: yes that's pH5 :)
13:14.05cr2_wtf is it MACH_HERMES ?
13:14.25BabelOcr2_: i make a mistake and can't go back to correct value :(
13:14.32cr2_ok.
13:14.34BabelOs/i make/he make/
13:14.37cr2_but artemis is ok.
13:15.14BabelOcr2_: what about Perseus2_io ? this say something to me , i already see it somewhere
13:16.01cr2_perseus2 is the omap730 reference design from TI.
13:18.26BabelOcr2_: ok and it is in the code
13:19.08BabelOcr2_: ok i understand beter now, i see some set_gpio_dir, set_gpio_data and set_cpld_r0_r1 :)
13:19.10cr2_i've fixed herald/hermes
13:19.27cr2_set_cpld_r0_r1 should be set_cpld_r0_r1_r2
13:19.36cr2_it's a triple
13:19.42cr2_bank,bit,value
13:21.41cr2_xda_atom               MACH_XDA_ATOM           XDA_ATOM                1529
13:22.09BabelOko
13:22.17cr2_mazzanet: now you can start hacking a new kernel.
13:23.32BabelOcr2_: woh hitachi are doing lcd now ;)
13:26.19cr2_mazzanet: the .pixclock is needed too.
13:30.59cr2_hehe. one more spoiled by windows ;)
13:31.02cr2_../src/TargetIncludes.hpp:34: error: conflicting declaration ‘typedef unsigned int size_t’
13:45.44BabelOcr2_: vibrator on cpld too
13:45.59BabelObut i did not see r2
13:47.38cr2_BabelO: r2 is on/off
13:47.58BabelOcr2_: ok so 0xff or 0x00
13:48.14cr2_BabelO: there is enormous amount of gpios in the LCD startup.
13:48.18cr2_1 or 0
13:48.28cr2_&0xff is not important
13:48.34BabelOi see that lcd take a big part
13:49.10BabelOcr2_: 0x0 or 0xff seem to be ok, as they have low time and high time for pwm i  think
13:50.29cr2_ok.
13:50.55cr2_fmradio is (4,1,1) (4,2,1) and (4,4,1)
13:53.11BabelOcr2_: audio seem to be as complex as for universal lot of possible routing
13:53.25mazzanetcr2_: how does one find pixclock?
14:01.06BabelOcr2_: can you refresh my memory about CMP     R3, #0x69, it is some compare stuff but where it store result or jump ??? in R3 too ?
14:01.29BabelOcr2_: i ve some CMP without any BNE or so after
14:08.13*** join/#htc-linux x7500denmark (n=x7500den@88.212.77.130)
14:10.04x7500denmarkhi cr2_ I get the harel up and run in the default.txt what was it I should write in it :)
14:12.11*** join/#htc-linux ivucica (i=ivucica@161.53.76.44)
14:14.13cr2_BabelO: it sets the bits the status register. MOVS may be used later too.
14:14.39cr2_mazzanet: look at the haret source. i'll post a link.
14:14.43BabelOcr2_: ok
14:15.24cr2_x7500denmark: pwf x7500 0xa0100000 0x200000
14:17.37cr2_mazzanet: it's in the pxa27xDump() function. http://xanadux.cvs.sourceforge.net/xanadux/haret/haret-gnu/src/script.cpp?view=markup
14:17.54x7500denmarkthanks cr2_ it ask for a zImage
14:18.51cr2_x7500denmark: remove everything from default.txt and put only this line.
14:19.23x7500denmarkok :)
14:19.49cr2_x7500denmark: if you just want to have fun later, get athena-boot.exe from http://jornada820.sourceforge.net/files/haret
14:20.09cr2_hehe, 27-May-2007
14:23.48BabelOcr2_ : im not sure about your cpld naming, if i ve cpld_r0_r1(6,1,1) and 6,2,1 ? it is D0 and D1 ? or D1 and D2, i know it is a stupid question but i always make mistake with that :)
14:25.52x7500denmarkokay hehe ;)
14:28.56*** join/#htc-linux x7500denmark (n=x7500den@88.212.77.130)
14:29.29*** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com)
14:32.10cr2_BabelO: what is D?
14:32.45BabelOcr2_: it is bank D like you set in wiki ? isn't ?
14:35.15cr2_the wiki is copied from athena :)
14:35.25cr2_artemis has A-H
14:36.01cr2_it's necessary to check with the code where is the bank, or compare with the traces.
14:36.07cr2_i'm not 100% sure.
14:38.10BabelOcr2_: ok
14:47.21cr2_BabelO: write the omap gpio direction in the wiki too
14:47.42BabelOcr2_: but the direction change :(
14:47.54cr2_ok. then write IO
14:47.59BabelOok
14:48.13cr2_btw, 33 is also USB_En on tornado.
14:48.30cr2_http://vivien.chappelier.free.fr/typhoon/doc.html
14:55.03cr2_BabelO: write down the triples for cpld, we can decode them later.
14:55.36BabelOok
15:02.59*** join/#htc-linux rob_w (n=bob@Maf8b.m.pppool.de)
15:22.09*** join/#htc-linux TimRiker (n=timr@216.49.181.128)
15:41.39*** join/#htc-linux x7500denmark (n=x7500den@3e6b30d0.rev.stofanet.dk)
15:46.02ivucicahow much space do i need for openembedded to build its base stuff? (i'm running "bitbake nano" so i believe it's a bare minimum)
15:46.09ivucicawill 2.3gb do?
15:50.48TimRikerivucica: should do. seem I normally use around 2G for full embedded builds.
15:51.23TimRiker'course I normally use uclibc and not glibc
15:58.16ivucicaTimRiker: eff, i'll use glibc
15:59.28ivucicaTimRiker: uclibc is the ucLinux's variant on libc theme, right?
15:59.37ivucicameaning it's optimized for no-mmu environments?
16:33.44BabelOcr2_: Pcc_cam_clk_ct so i can pick timing from here
16:39.02*** join/#htc-linux |dion| (n=dion@inhex.net)
16:58.50*** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com)
17:12.30*** join/#htc-linux lieter (n=lieter@a62-251-100-248.adsl.xs4all.nl)
17:30.46*** join/#htc-linux UhligH_ (n=UhligH@c-76-20-46-192.hsd1.ca.comcast.net)
17:33.12TimRikerivucica: uclibc is optimised for small size. mmu-full and mmu-less are fully supported.
17:33.46ivucicaTimRiker: thanks
17:34.16TimRikeruclibc is often faster than glibc in addition to being less than 1/4 the size.
17:35.02ivucicai may be an ignorant fool for saying this, but i am sticking to glibc due to compatibility reasons
17:35.15ivucicai think most h3800 pre-built packages are made for glibc
17:35.30ivucicai'm actually trying to use openembedded to build a custom kernel
17:37.37*** join/#htc-linux pH5 (n=ph5@e178240013.adsl.alicedsl.de)
17:40.56ivucicaTimRiker: does qemu-native really take very long to compile, or is it just my configuration?
17:41.25*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
17:54.32*** join/#htc-linux mfisher (n=moe@HSI-KBW-091-089-001-192.hsi2.kabelbw.de)
17:56.22ivucicaok, cya folks, this appears to be progressing ... slowly, but progressing
17:56.23ivucicabye!
18:06.18TimRikeranyone here hear anything from google about the alleged gphone? sounds like they are at least talking to HTC.
18:29.29cr2_TimRiker: no idea. do you know how is the iphone-linux going ?
18:39.21*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
18:46.36TimRikernope, not checked in on that either. though with the iPhone hacks, the platform is nice and open. Not as much motivation there for me as to get the useless windows mobile off a device.
18:47.30cr2_i'm more interested in the commodity hardware too.
18:48.21cr2_but since the msm7x00 is produced by samsung, there may be some overlaps.
19:20.12*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:30.14*** join/#htc-linux maniacxs (n=maniacxs@p5B21B6D6.dip0.t-ipconnect.de)
19:32.24maniacxshi i fetched the new image for qtopia/opie-ii
19:32.42maniacxsand trying to get the phone running...
19:33.09maniacxssorry the image for the htc-universal
19:34.26BabelOmaniacxs: can you post your ROM version + rom radio please ?
19:36.13*** join/#htc-linux slarner_ (n=slarner@213.165.224.54)
19:36.45maniacxsBabelO: R: 1.10.03; G: 43.44. P8; D: 1.30.113 GER   This is what it shows on boot i hope this is the needed info
19:36.49ImCoKeMaNcr2_: did you look at the titan info i took after you left last night?
19:38.59cr2_ImCoKeMaN: yes. we are making progress. i've told you before that the serial ports look like something from samsung. now we know that the cpu is produced by samsung told us by wince ;)
19:39.40goxboxliveBabelO: there?
19:39.57BabelOgoxboxlive: yes ;), do you see maniacxs question ?
19:40.37goxboxliveThat seems like some gps cords. Am i right?
19:41.17goxboxlivesorry :-/
19:41.25pH5cr2_: the qualcomm chips are produced by samsung?
19:41.53BabelOgoxboxlive: no yesturday you say that there is some issue with rom radio, which version did you use ? 1.18
19:42.01goxboxlivemaniacxs: i am using radio 1.15
19:42.38goxboxliveBut i dont think that is has something to do with the radiorom. I heard that ellisway has problmes with one of his sim card.
19:43.08BabelOyes that what he s saying yesturday
19:45.10maniacxsi try to put the new t-mobile image on it. maybe it is better then
19:45.18maniacxs"new"
19:49.13goxboxlivemaniacxs: do youhave another sim card just to test, so you dont flash your phone for nothing?
19:50.44maniacxsno i do not have another sim card.
19:51.42maniacxscurrently there is nothing on the phone so this is not really a problem.
19:54.02goxboxliveok
19:58.15maniacxshm the latest t-mobile image from their webpage has radio 1.17
20:00.39maniacxsthe 1.18 is this the radio or extended radio?
20:07.35cr2_pH5: S3CA460 there too
20:10.52pH5heh, the world is small.
20:13.17cr2_pH5: and the serial ports are like on S3C24xx. now i need to remember their address.
20:14.03cr2_pH5: the herald is really weird with this i2c. btw, i've fixed the hh.org mach-types for MACH_HERALD
20:18.29BabelOmaniacxs: bettar is to have 1.15 same as goxboxlive , and it is just radio i think
20:23.54maniacxsnice ... green  windows
20:34.26maniacxswhat ip does the usb0 has in the image?
20:34.31maniacxsby default?
20:37.03maniacxsno it happened again there appears a screen with a num pad (seems to be the dialing pad) with the info please wait ...
20:37.34BabelOmaniacxs: ip adress is 192.168.0.202 for universal
20:39.03maniacxsthanks
20:39.53maniacxsshould there be a gsmd?
20:40.08BabelOmaniacxs: no , it is qtopia
20:46.44maniacxsups it crashed..
20:51.07maniacxsgoxboxlive: do you have in "call networks" -> modem -> current state unknown in the technology field, too?
21:00.00goxboxlivemaniacxs: as far as i remember yes. Remember, the phonevendor file for universal is a major hack. I just made it so i could have the pone and modem working.
21:08.05ImCoKeMaNso how can haret console be used on windows after python is installed
21:09.46ImCoKeMaNnevermind got it
21:13.08maniacxsok
21:13.41cr2_pH5: do you know what is MMC CMD4 ?
21:13.46maniacxsthe pin request should it come automaticly?
21:14.01cr2_pH5: sorry. it's a mistake.
21:14.26ImCoKeMaNcr2 anything you want me to test with haretconsole now?
21:15.23cr2_ImCoKeMaN: can you trace the 0xb13* and 0xb14* spaces ?
21:15.33cr2_while working with the SD card.
21:16.06cr2_i think these are 2 samsung sdio controllers.
21:16.53ImCoKeMaNso what do i need to run? then i can just do any file views on sd card? or do i need to copy paste to make writes?
21:17.12ImCoKeMaNsorry, first time this detailed digging
21:17.14cr2_addlist mmutrace 0xb1300000 1024*1204
21:17.27cr2_addlist mmutrace 0xb1400000 1024*1024
21:17.34cr2_wi 5
21:36.25ImCoKeMaNhttp://pastebin.com/dea8b3cb
21:39.21cr2_ImCoKeMaN: looks like sdio1 is the SD controller. http://wiki.xda-developers.com/index.php?pagename=TitanMemoryMap
21:39.45cr2_may be helpful to compare it with the samsung SD regs.
21:40.19cr2_ImCoKeMaN: are you logged in over wifi or usb ?
21:40.59ImCoKeMaNusb
21:41.44cr2_can you check the 0xb2500000 ?
21:42.21cr2_then you may trace  0xb2400000  with wifi switched on and off.
21:47.35ImCoKeMaNhttp://pastebin.com/d6be9843e
21:49.03cr2_ok, so you see the activity there.
21:49.35cr2_Kevin2: it is very interesting to resolve the addresses back to .exe/.dll in the log
21:49.38cr2_000212: mmutrace 03c65870: e5933070(ldr) b2501070 00000020 (00000000)
21:50.39cr2_03c65870 is the (probably .dll) address
21:50.55cr2_ImCoKeMaN: can you pastebin the 'lsmod' output ?
21:57.42ImCoKeMaNhttp://pastebin.com/d40fd897b
21:58.36cr2_ok.
22:00.23cr2_base=03C5E000 size=00011000 hmod=82F25EDC mod=msm7500usbfn.dll
22:00.32cr2_base=03C6F000 size=00029000 hmod=82EA4000 mod=keybddr.dll
22:00.36cr2_hmm.
22:00.50cr2_it seems i need to sort it on base= column
22:09.42ImCoKeMaNi can connect via wifi if it helps, but it seems when conncted to usb it doesn't like to turn on even though ihavew activesync allow it
22:09.58cr2_ok.
22:10.03mazzanetcr2_: i calculated my run clock to be 286mhz, does that sound right? :|
22:10.50cr2_no.
22:11.03cr2_.pixclock ?
22:11.28*** join/#htc-linux ImCoKeMaN_ (n=me@rrcs-67-78-122-67.sw.biz.rr.com)
22:11.36ImCoKeMaN_i can connect via wifi if it helps, but it seems when conncted to usb it doesn't like to turn on even though ihavew activesync allow it
22:11.50cr2_ImCoKeMaN_: your previous trace.
22:12.05cr2_03ba9f9c: e5831080(str) b1400080 ac900000
22:12.24cr2_03ba9e24: e5933080(ldr) b1400080 00000000
22:12.44cr2_base=03BA5000 size=0000a000 hmod=82EDBC1C mod=sdhc.dll
22:12.57ImCoKeMaNlooks like sdcard access there
22:13.04cr2_base=03BAF000 size=0000f000 hmod=82F5D960 mod=sdbus.dll
22:13.21cr2_yes, it's inside the sdhc.dll
22:13.32cr2_see how easy it is :)
22:13.49ImCoKeMaNnice
22:14.13cr2_haret can decode it automatically
22:14.33cr2_so you can trace the remaining address spaces :)
22:14.59ImCoKeMaNso how do i get haret to do that?
22:15.22ImCoKeMaNthat was why kevin told me to get haretconsole i think, but i'm not sure from there
22:15.30cr2_we need to ask Kevin2 to patch haret for that.
22:15.45ImCoKeMaNhehe sounds good
22:16.08cr2_so you'll get the dll/exe name for the address
22:16.11ImCoKeMaNthat should take him all of about 5 minutes at the rate he does that, i have 4 versions from yesterday lol
22:16.33cr2_yes, it's not difficult.
22:16.52cr2_http://wiki.xda-developers.com/index.php?pagename=TitanMemoryMap
22:17.11cr2_you see, there are many unknown fields here.
22:18.18cr2_the diagramm shows the subsystems we are looking for
22:18.20cr2_http://www.cdmatech.com/download_library/pdf/msm7500_chipset.pdf
22:18.42cr2_page 4
22:20.05cr2_we have found SDRAM, SRAM, USB and MMC/SDIO
22:20.18cr2_still unsure about MDDI.
22:20.44cr2_finding the keypad should be easy.
22:21.07cr2_bluetooth is on the  uart
22:21.16cr2_can be traced too.
22:23.16cr2_yeah, 3 uarts. like on S3C
22:23.32cr2_is this I O sign on uart3 mean IR ?
22:26.57cr2_tnetw1251
22:27.44cr2_atcmd,data and virser_dmr_dpram. ok.
22:28.13cr2_need to locate the dpram too.
22:37.25mazzanetcr2_: the CCSR keeps changing...
22:37.28*** join/#htc-linux toi (n=pleemans@d5152D3B4.access.telenet.be)
22:37.28*** join/#htc-linux gw280 (n=george@vm.gwright.org.uk)
22:38.35mazzanetso far i've seen it as 0x30000108, 0x30000208, 0x30000308 and 0x3000210
22:44.27cr2_mazzanet: does it affect pixclock ?
22:44.52cr2_you only need to calculate pixclock.
22:45.03cr2_the rest does not matter.
22:47.02mazzanetit does
22:47.17mazzanetout(data, "lcdlck_pixclock: %d pcd=%d\n", (pcd*2*1000000)/ (K / 1000000), pcd);
22:47.31mazzanetK = L / k;
22:47.36mazzanetL  = l * BASE_CLK;
22:47.48mazzanetl  = *ccsr & 0x1f;
22:48.39mazzanetk = (l <= 7) ? 1 : (l <= 16) ? 2 : 4;
22:49.26cr2_the math is a bit bizarre.
22:49.55cr2_what is the pcd value ?
22:50.29cr2_<PROTECTED>
22:51.06cr2_so l > 7 and <= 16
22:53.05*** join/#htc-linux x7500denmark (n=x7500den@88.212.77.130)
22:53.55mazzanetpcd i got from lccr which is..
22:54.12mazzanet3
22:54.31x7500denmarkhi cr2_  i running the haret now but nothing hapens ?? only a x7500 file on 2 mb is in the directory ?? :)
22:55.21cr2_x7500denmark: yes. pack this file and put it somewhere i can get it.
22:55.51cr2_mazzanet: if you know pcd and K you can calculate the pixclock.
22:55.55x7500denmarkok have you a mail ?
22:56.35cr2_x7500denmark: 2mb is too much.
23:00.51x7500denmarkok what do you use normally ?
23:02.28mazzanetcr2_: the changing value does affect pixclock
23:02.38mazzaneti get values of 71428, 57692, 76923, 92307
23:11.51x7500denmarkcr2_ here :) http://www.4shared.com/dir/4395552/c1bab9ff/sharing.html
23:19.23x7500denmarkcr2_ the athenaboot.exe works can i get acces from ubuntu with usb cable ?
23:20.35cr2_x7500denmark: got the file, you can remove it.
23:20.49cr2_x7500denmark: i think yes.
23:21.13cr2_ImCoKeMaN: your wifi is newer than on other phones. it's 1251 and not 1250
23:21.49ImCoKeMaNyay i'm a winner
23:22.14ImCoKeMaNwait you judging by a file?
23:23.03x7500denmarkcr2_ ok how does this work. sorry i am new :)
23:23.11ImCoKeMaNcuz i'm running an updated OS now
23:23.30*** join/#htc-linux the_sys0p (i=nroberts@118.147.4.135)
23:24.14cr2_x7500denmark: you have run linux, and have overwritten parts of wince dmesg :)
23:25.17cr2_x7500denmark: yes, your boardid is 6. it seems everybody has the same hardware. ok, maybe x7501 is different.
23:26.19cr2_Board ID: 6
23:26.19cr2_1583 on board
23:26.19cr2_CHW::Initialize - signalling H/W reset
23:26.19cr2_CHW::Initialize ChipId(0x70) is 158230- signalling H/W reset
23:26.42cr2_but i still have not found where it is on a running device ;)
23:27.14cr2_mazzanet: Initial Values: cccr: 02000310 cken: 0158cec1 oscc: 00000003 ccsr: 30000310
23:27.29x7500denmarkok do i use tty ?? to get acces ? :)
23:27.32cr2_mazzanet: this is pxa270 at 624MHz
23:27.59cr2_x7500denmark: there is no spi keyboard driver yet. you can login only over usb.
23:28.30x7500denmarkok how can i do that :)
23:28.37cr2_ImCoKeMaN: i have still not found the serial ports.
23:28.47cr2_ImCoKeMaN: do you have IR ?
23:29.01ImCoKeMaNi have wifi i can console with
23:29.12ImCoKeMaNi do have ir, but not on lappy
23:29.40cr2_ImCoKeMaN: ok.
23:32.54cr2_ImCoKeMaN: have you already done 'dump mmu' ?
23:33.17ImCoKeMaNi think i pasted sent it to ya before, but you need it again?
23:33.34mazzanetcr2_: i see...
23:33.35mazzanet41300000 | 02000210 00dd5ae7 00000003 30000210 | .....Z.........0
23:33.55mazzanet41300000 | 00000108 00dd5ae7 00000003 30000108 | .....Z.........0
23:34.01mazzanet41300000 | 02000208 00dd5ae7 00000003 30000208 | .....Z.........0
23:34.07cr2_ImCoKeMaN: it's too big to be pasted.
23:34.20ImCoKeMaNyeah i meant sent...i think i have a link...
23:34.28cr2_i'll look
23:34.41ImCoKeMaNftp://ppcgeeks:ezupload@ftp.ppcgeeks.com/Titan/Users/ImCoKeMaN/mmu.txt
23:34.49cr2_ok
23:34.50mazzanet41300000 | 02000408 00dd5ae7 00000003 30000308 | .....Z.........0
23:34.51ImCoKeMaN300k?
23:35.02mazzanetso which one would i use to calculate? :P
23:35.36cr2_mazzanet: well, probably it's easier to port this command to haret.
23:36.31mazzanethm
23:36.52mazzaneti might just take the value as soon after startup as possible
23:40.09cr2_ImCoKeMaN: if we will trust wince registry, then the BT is on uart0 and IR is on uart2. AFAIR it's the same as on hermes. we only need to find the base address.
23:40.51cr2_these are probably the same serial ports as on S3C24xx
23:40.53mazzanet30000210 is is the winner
23:40.56ImCoKeMaNk, well i'm about to head for dinner
23:41.09cr2_ok.
23:41.13ImCoKeMaNi can prob read buffer or a /msg if ya have stuff for me to test though
23:42.01cr2_i'm tired myself. will go to bed soon :)
23:42.34cr2_we are moving much faster than i've expected.
23:44.20mazzanetarm-linux-ld: no machine record defined
23:44.21mazzanetmake: *** [.tmp_vmlinux1] Error 1
23:44.22mazzanethrm.
23:45.16*** join/#htc-linux rakeem__ (n=root@n219079205166.netvigator.com)
23:47.58cr2_mazzanet: too early.
23:48.13cr2_there is no code fo your device.
23:48.25cr2_you need the .pixclock to see the penguin :)
23:48.44mazzaneti just added code :P
23:48.55mazzanetarch/arm/mach-pxa/xda_atom/
23:49.19mazzanetthis is at the very very end of the kernel compile too
23:52.13cr2_copy the a701 code
23:52.42cr2_but replace the LCD params.
23:55.27mazzanetthat's what i did
23:58.47mazzaneta la http://pastebin.ca/755900

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