irclog2html for #htc-linux on 20060930

06:41.34*** join/#htc-linux rob_w (n=bob@p85.212.146.32.tisdip.tiscali.de)
07:00.53*** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net)
07:39.44*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
07:44.03*** join/#htc-linux booba (n=booba@AAnnecy-256-1-130-46.w90-10.abo.wanadoo.fr)
08:05.50*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
08:11.36*** join/#htc-linux lpotter (n=ljp@c210-49-127-23.rochd1.qld.optusnet.com.au)
08:26.04*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
08:34.52*** join/#htc-linux booba (n=booba@AAnnecy-256-1-130-46.w90-10.abo.wanadoo.fr)
08:52.01*** join/#htc-linux pH5 (n=ph5@p5485DF7A.dip.t-dialin.net)
09:53.48*** join/#htc-linux booba (n=booba@AAnnecy-256-1-197-146.w90-10.abo.wanadoo.fr)
10:04.43*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
10:34.06*** join/#htc-linux awelux (n=awelux__@dslb-084-058-185-178.pools.arcor-ip.net)
10:57.57*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
10:59.17*** join/#htc-linux _awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
11:09.49*** join/#htc-linux _awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
11:18.47*** join/#htc-linux _awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
11:23.22*** join/#htc-linux pH5 (n=ph5@p5485DF7A.dip.t-dialin.net)
11:29.59*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179)
11:50.15*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
12:03.07*** join/#htc-linux _awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
12:18.16*** part/#htc-linux _awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
12:55.51*** join/#htc-linux kamui (n=kamui@ip70-171-82-42.no.no.cox.net)
14:22.29*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
14:34.59*** join/#htc-linux florian (n=fuchs@p5083A0A9.dip0.t-ipconnect.de)
14:43.42floriangood morning
14:51.39boobahi
14:51.56boobait is the afternoon here
15:07.32pH5~ugt
15:07.35aptextra, extra, read all about it, ugt is Universial Greeting Time. Created in #mipslinux, it is a rule that states that whenever somebody enters an IRC channel it is always morning, and it is always late when the person leaves. The local time of any other people in the channel, including the greeter, is irrelevant. http://www.total-knowledge.com/~ilya/mips/ugt.html
15:09.16boobaokok :)
15:09.19boobagood morning :)
15:09.51pH5:)
15:11.51boobai am here because i got a htc wizard
15:12.18boobaand , hum
15:12.18boobai hate windows
15:13.21boobabut linux doesn't seem to work enough on wizard, does it ?
15:15.27*** join/#htc-linux florian (n=fuchs@p5083A0A9.dip0.t-ipconnect.de)
16:06.14*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.203.dyn.sub-9.broadband.voliacable.com)
16:32.05*** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be)
16:51.19*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.203.dyn.sub-9.broadband.voliacable.com)
17:12.08*** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.203.dyn.sub-9.broadband.voliacable.com)
17:49.57*** join/#htc-linux psokolovsky__ (n=psokolov@ip.85.202.124.203.dyn.sub-9.broadband.voliacable.com)
17:51.22*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179)
17:59.35*** join/#htc-linux awelux (n=awelux__@dslb-084-058-185-178.pools.arcor-ip.net)
18:12.37Kevin2Hi
18:17.04cr2hi Kevin2
18:17.42Kevin2I see you've made some pretty good progress on the phone.  Cool.
18:17.43cr2i have some progress and some questions.
18:17.50Kevin2:-)
18:18.08cr2not really on the phone. it still does not work as expected.
18:18.37cr2i have disassembled the first 0x800 ROM bytes (IPL)
18:18.51Kevin2Looks like you were using the "wi" stuff.  You can't query r13/r14 -- although it is technically possible to extract the info, it is really hard to get at those registers.
18:19.42cr2it gives the resume process and also shows how the SPL is loaded.
18:20.21cr2ok. do you know how to get from the virtual address to the exe/dll/whatever ?
18:21.03Kevin2No.
18:21.37cr2ok. m-systems has documented some G3 registers, but not all of them. this is the list of the documented(+) and registers used by IPL: http://wiki.xda-developers.com/index.php?pagename=HTC_DiskOnChip
18:21.52Kevin2I thought one of your wince status commands showed the vm ranges.
18:22.04cr2dump ps
18:22.31cr2dump modules - it is better, but it does not show the complete list for some reason.
18:23.17*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
18:24.18cr2back to G3 - it seems that reading raw data blocks is actually very easy.
18:24.51Kevin2Have you seen the m-sys docs?  DOC_G3_512Mb_1Gb_Rev20.pdf
18:25.11cr2your wiki link is dead for me.
18:30.02Kevin2Hrmm.  Yeah, they must use some temporary link system.  In any case you should probably be able to find it on the m-sys web site.
18:30.49cr2i have found the newer product docs, and they document only the registers listed on this page.
18:32.17cr2maybe somebody has this file on his local disk ? i had it, but it is gone with my hdd ;)
18:36.47*** join/#htc-linux bosjo (n=bosjo@35.84-48-213.nextgentel.com)
18:45.50Kevin2I've been in contact with the original author of haret.  He seems willing to open the original repository for feature enhancements.
18:46.36cr2that's good. for other cpus :)
18:46.37Kevin2I think it would be a good idea to gather all the haret versions and combine them into a single source tree.  Much of the recent enhancements can be used on many platforms.
18:47.38Kevin2cr2: Were you the original person to port haret to gcc?
18:47.41cr2i'd like to see some debug enhancements: for example two sockets instead of one.
18:48.42cr2yes. i was pissed off by the wine (not)performance on my amd64 machine.
18:49.09cr2and i hate microsoft anyway.
18:50.29cr2i'll connect two telnet sessions, give some hardware related commands in one, and watch wi,wreg,wasic3gpio,etc in the other one.
18:52.02cr2i'd also like to remove the remaining c++'isms.
18:52.49cr2yes. and it should be made possible to trace the mapped virtual addresses to the processes/dlls.
18:53.36cr2then we will have a real RE tool.
18:53.37Kevin2Hrrm.  My linboot rework adds a C++ object.
18:54.09cr2do you really need it ? the original haret has a lot of c++ anyway.
18:54.12Kevin2I made a "machine" object to encapsulate all the hardware actions of a machine.  I then have the linboot code just call the machine->preparehardware() method.
18:54.36cr2that's good for the mainstream version.
18:54.56Kevin2You could do it in C..  I'm not a big fan of c++, but other developers seem to intuitively grasp it.  Doing it the old fashion way in C just confuses some people.
18:56.01Kevin2I'd also like to turn commands into objects.  The file script.cpp has just grown too unwieldy.
18:56.02cr2c++ is a very fragile language with a lot of side effects compared to C. all imho, of course.
18:56.36Kevin2True.  My code doesn't work, and I traced it down to the arm-g++ compiler not calling constructors on statically initialized objects.
18:56.54cr2all the called functions from script.cpp can be moved elsewhere. it was just easier to add and test commands for me.
18:57.17cr2asic3.cpp is a terrible mess too.
18:57.46cr2but i have a big advantage. it works where i need it :D
18:58.02cr2s/ i / it /
19:00.49Kevin2Hrmm.  It seems "dump modules" only shows dlls for the current pid.
19:02.00cr2maybe there is some flag missing ?
19:03.47cr2CreateToolhelp32Snapshot(TH32CS_SNAPALL,0)
19:04.19cr2i think we can traverse the internal structures directly, but then it will be much less portable.
19:05.38cr2has somebody here a running evc4 ?
19:06.08Kevin2h32ProcessID      [in]     Process identifier of the process to be included in the snapshot. This parameter can be zero to indicate the current process.
19:07.52cr2can you provide here the link?
19:08.35Kevin2http://windowssdk.msdn.microsoft.com/en-us/library/ms682489.aspx
19:08.50cr2thanks.
19:08.53Kevin2It even has a description for how to go through all modules/heaps in the system.
19:09.33cr2is it all implemented in wince ?
19:09.39Kevin2Hrrm.  That is a win 86 document.
19:10.20*** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com)
19:10.53cr2but if the second parameter is pid, we know them too.
19:12.44Kevin2Hrrm.  This link looks promising: http://msdn.microsoft.com/library/en-us/wcecoreos5/html/wce50lrfCreateToolhelp32Snapshot.asp?frame=true
19:13.06Kevin2It defines a TH32CS_GETALLMODS
19:14.32cr2hmm. now we only need to find the numeric value of this flag ;-)
19:17.10cr2it seems we need a second loop in the pids, so we can replace 0 by pid.
19:17.44cr2OS Versions: Windows CE 2.0 and later.
19:17.55cr2that's very good.
19:18.45*** join/#htc-linux awelux (n=awelux__@dslb-084-058-185-178.pools.arcor-ip.net)
19:20.08cr2heh. #define TH32CS_GETALLMODS       0x80000000
19:20.16cr2it is already ther.e
19:21.41cr2just add |TH32CS_GETALLMODS to TH32CS_SNAPALL
19:27.01rob_wgood night
19:28.59*** join/#htc-linux goxboxlive_ (n=jrs@9.80-202-160.nextgentel.com)
19:30.44cr2goxboxlive_: got a new dist ready ? :)
19:31.36goxboxlive_me, no
19:31.53goxboxlive_everything is f**ked up
19:32.20goxboxlive_it wouldnt build x11-diet
19:33.51goxboxlive_cr2 : Can you build konqueror for me?
19:34.09cr2bitbake konqueror?
19:34.16goxboxlive_yes
19:34.23cr2i'll try.
19:34.37goxboxlive_konqueror-embedded
19:34.45cr2ERROR: Nothing provides dependency konqueror
19:34.48cr2ok.
19:37.13cr2Kevin2: i have added TH32CS_GETALLMODS and it does not work.
19:38.22Kevin2You're using wince 5, right?  Maybe iterating through all pids will work.
19:38.41Kevin2Does the listing show any modules with a pid different than the current pid?
19:39.53cr2wince5, yes. i'll look again.
19:40.42*** join/#htc-linux gw280 (i=authdeni@vm.gwright.org.uk)
19:40.58cr2ok. replace  TH32CS_SNAPALL by TH32CS_SNAPMODULE
19:41.01cr2now it works.
19:41.52cr2bah. that's a huge output.
19:42.29*** join/#htc-linux pH5_ (n=ph5@p5485E2E8.dip.t-dialin.net)
19:42.54cr2pid is 0
19:43.07cr2i need sort| uniq now ;)
19:44.37cr2Kevin2: is there something special about base=7f* addresses ?
19:45.31Kevin2cr2: You can have haretconsole post process the output.
19:45.40Kevin2I don't know anything about the 7f stuff.
19:50.02cr2pH5_: base=01350000 size=00043000 hmod=93920b40 mod=rilgsm.dll
19:50.43cr2bad,bad,bad. it is probably RIL_devspecific...
19:54.01cr2base=03f60000 size=00094000 hmod=93eff7e0 mod=coredll.dll
19:54.14cr2base=7f610000 size=00049000 hmod=92c28640 mod=phcanlrc.dll
19:54.39cr2base=905c3000 size=00004000 hmod=93eff2cc mod=hd.dll
19:54.48cr2base=905c7000 size=0000b000 hmod=93eff524 mod=osaxst0.dll
19:55.14cr2so there are 3 groups.
19:58.06cr2http://blogs.msdn.com/sloh/archive/2005/02/28/381706.aspx
20:04.49cr2Kevin2: i guess we can do a much more intelligent "dump mmu" now.
20:05.29Kevin2I'd say teach haretconsole how to do it.  These things are easy in python.  :-)
20:06.39cr2:) then do it :)
20:08.25cr2goxboxlive_: | ERROR:konq-embed/add-ons/pppdialer/pics/big/Makefile.am: nested automake conditionals (XMLUI vs. LARGEICONS)
20:31.47Kevin2Hey cr2 - does -O work with your haret on universal?
20:33.13cr2yes.
20:33.55Kevin2Cool.  It runs noticeably faster and it is much smaller with optimization on.
20:36.30cr2-O2 ?
20:37.22Kevin2You could try it.  My previous experience with optimization flags show a huge win with -O1, and relatively minor increments thereafter.
20:38.29cr2ok.
20:39.15cr2btw, is there an 'include' command in perl ?
20:40.50Kevin2Yes.  You can import modules.  I'm not expert in perl, however.
22:04.25*** part/#htc-linux awelux (n=awelux__@dslb-084-058-185-178.pools.arcor-ip.net)
22:27.53*** join/#htc-linux WizMaui_ (n=WizMaui@62.112.90.179)
23:15.57*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-94-92.dynamic.mnet-online.de)
23:37.32*** join/#htc-linux awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de)
23:39.26*** join/#htc-linux awelux_ (n=awelux__@dslb-084-058-144-021.pools.arcor-ip.net)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.