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.42 | florian | good morning |
14:51.39 | booba | hi |
14:51.56 | booba | it is the afternoon here |
15:07.32 | pH5 | ~ugt |
15:07.35 | apt | extra, 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.16 | booba | okok :) |
15:09.19 | booba | good morning :) |
15:09.51 | pH5 | :) |
15:11.51 | booba | i am here because i got a htc wizard |
15:12.18 | booba | and , hum |
15:12.18 | booba | i hate windows |
15:13.21 | booba | but 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.37 | Kevin2 | Hi |
18:17.04 | cr2 | hi Kevin2 |
18:17.42 | Kevin2 | I see you've made some pretty good progress on the phone. Cool. |
18:17.43 | cr2 | i have some progress and some questions. |
18:17.50 | Kevin2 | :-) |
18:18.08 | cr2 | not really on the phone. it still does not work as expected. |
18:18.37 | cr2 | i have disassembled the first 0x800 ROM bytes (IPL) |
18:18.51 | Kevin2 | Looks 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.42 | cr2 | it gives the resume process and also shows how the SPL is loaded. |
18:20.21 | cr2 | ok. do you know how to get from the virtual address to the exe/dll/whatever ? |
18:21.03 | Kevin2 | No. |
18:21.37 | cr2 | ok. 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.52 | Kevin2 | I thought one of your wince status commands showed the vm ranges. |
18:22.04 | cr2 | dump ps |
18:22.31 | cr2 | dump 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.18 | cr2 | back to G3 - it seems that reading raw data blocks is actually very easy. |
18:24.51 | Kevin2 | Have you seen the m-sys docs? DOC_G3_512Mb_1Gb_Rev20.pdf |
18:25.11 | cr2 | your wiki link is dead for me. |
18:30.02 | Kevin2 | Hrmm. 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.49 | cr2 | i have found the newer product docs, and they document only the registers listed on this page. |
18:32.17 | cr2 | maybe 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.50 | Kevin2 | I've been in contact with the original author of haret. He seems willing to open the original repository for feature enhancements. |
18:46.36 | cr2 | that's good. for other cpus :) |
18:46.37 | Kevin2 | I 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.38 | Kevin2 | cr2: Were you the original person to port haret to gcc? |
18:47.41 | cr2 | i'd like to see some debug enhancements: for example two sockets instead of one. |
18:48.42 | cr2 | yes. i was pissed off by the wine (not)performance on my amd64 machine. |
18:49.09 | cr2 | and i hate microsoft anyway. |
18:50.29 | cr2 | i'll connect two telnet sessions, give some hardware related commands in one, and watch wi,wreg,wasic3gpio,etc in the other one. |
18:52.02 | cr2 | i'd also like to remove the remaining c++'isms. |
18:52.49 | cr2 | yes. and it should be made possible to trace the mapped virtual addresses to the processes/dlls. |
18:53.36 | cr2 | then we will have a real RE tool. |
18:53.37 | Kevin2 | Hrrm. My linboot rework adds a C++ object. |
18:54.09 | cr2 | do you really need it ? the original haret has a lot of c++ anyway. |
18:54.12 | Kevin2 | I 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.36 | cr2 | that's good for the mainstream version. |
18:54.56 | Kevin2 | You 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.01 | Kevin2 | I'd also like to turn commands into objects. The file script.cpp has just grown too unwieldy. |
18:56.02 | cr2 | c++ is a very fragile language with a lot of side effects compared to C. all imho, of course. |
18:56.36 | Kevin2 | True. My code doesn't work, and I traced it down to the arm-g++ compiler not calling constructors on statically initialized objects. |
18:56.54 | cr2 | all the called functions from script.cpp can be moved elsewhere. it was just easier to add and test commands for me. |
18:57.17 | cr2 | asic3.cpp is a terrible mess too. |
18:57.46 | cr2 | but i have a big advantage. it works where i need it :D |
18:58.02 | cr2 | s/ i / it / |
19:00.49 | Kevin2 | Hrmm. It seems "dump modules" only shows dlls for the current pid. |
19:02.00 | cr2 | maybe there is some flag missing ? |
19:03.47 | cr2 | CreateToolhelp32Snapshot(TH32CS_SNAPALL,0) |
19:04.19 | cr2 | i think we can traverse the internal structures directly, but then it will be much less portable. |
19:05.38 | cr2 | has somebody here a running evc4 ? |
19:06.08 | Kevin2 | h32ProcessID [in] Process identifier of the process to be included in the snapshot. This parameter can be zero to indicate the current process. |
19:07.52 | cr2 | can you provide here the link? |
19:08.35 | Kevin2 | http://windowssdk.msdn.microsoft.com/en-us/library/ms682489.aspx |
19:08.50 | cr2 | thanks. |
19:08.53 | Kevin2 | It even has a description for how to go through all modules/heaps in the system. |
19:09.33 | cr2 | is it all implemented in wince ? |
19:09.39 | Kevin2 | Hrrm. That is a win 86 document. |
19:10.20 | *** join/#htc-linux goxboxlive (n=jrs@9.80-202-160.nextgentel.com) |
19:10.53 | cr2 | but if the second parameter is pid, we know them too. |
19:12.44 | Kevin2 | Hrrm. This link looks promising: http://msdn.microsoft.com/library/en-us/wcecoreos5/html/wce50lrfCreateToolhelp32Snapshot.asp?frame=true |
19:13.06 | Kevin2 | It defines a TH32CS_GETALLMODS |
19:14.32 | cr2 | hmm. now we only need to find the numeric value of this flag ;-) |
19:17.10 | cr2 | it seems we need a second loop in the pids, so we can replace 0 by pid. |
19:17.44 | cr2 | OS Versions: Windows CE 2.0 and later. |
19:17.55 | cr2 | that's very good. |
19:18.45 | *** join/#htc-linux awelux (n=awelux__@dslb-084-058-185-178.pools.arcor-ip.net) |
19:20.08 | cr2 | heh. #define TH32CS_GETALLMODS 0x80000000 |
19:20.16 | cr2 | it is already ther.e |
19:21.41 | cr2 | just add |TH32CS_GETALLMODS to TH32CS_SNAPALL |
19:27.01 | rob_w | good night |
19:28.59 | *** join/#htc-linux goxboxlive_ (n=jrs@9.80-202-160.nextgentel.com) |
19:30.44 | cr2 | goxboxlive_: got a new dist ready ? :) |
19:31.36 | goxboxlive_ | me, no |
19:31.53 | goxboxlive_ | everything is f**ked up |
19:32.20 | goxboxlive_ | it wouldnt build x11-diet |
19:33.51 | goxboxlive_ | cr2 : Can you build konqueror for me? |
19:34.09 | cr2 | bitbake konqueror? |
19:34.16 | goxboxlive_ | yes |
19:34.23 | cr2 | i'll try. |
19:34.37 | goxboxlive_ | konqueror-embedded |
19:34.45 | cr2 | ERROR: Nothing provides dependency konqueror |
19:34.48 | cr2 | ok. |
19:37.13 | cr2 | Kevin2: i have added TH32CS_GETALLMODS and it does not work. |
19:38.22 | Kevin2 | You're using wince 5, right? Maybe iterating through all pids will work. |
19:38.41 | Kevin2 | Does the listing show any modules with a pid different than the current pid? |
19:39.53 | cr2 | wince5, yes. i'll look again. |
19:40.42 | *** join/#htc-linux gw280 (i=authdeni@vm.gwright.org.uk) |
19:40.58 | cr2 | ok. replace TH32CS_SNAPALL by TH32CS_SNAPMODULE |
19:41.01 | cr2 | now it works. |
19:41.52 | cr2 | bah. that's a huge output. |
19:42.29 | *** join/#htc-linux pH5_ (n=ph5@p5485E2E8.dip.t-dialin.net) |
19:42.54 | cr2 | pid is 0 |
19:43.07 | cr2 | i need sort| uniq now ;) |
19:44.37 | cr2 | Kevin2: is there something special about base=7f* addresses ? |
19:45.31 | Kevin2 | cr2: You can have haretconsole post process the output. |
19:45.40 | Kevin2 | I don't know anything about the 7f stuff. |
19:50.02 | cr2 | pH5_: base=01350000 size=00043000 hmod=93920b40 mod=rilgsm.dll |
19:50.43 | cr2 | bad,bad,bad. it is probably RIL_devspecific... |
19:54.01 | cr2 | base=03f60000 size=00094000 hmod=93eff7e0 mod=coredll.dll |
19:54.14 | cr2 | base=7f610000 size=00049000 hmod=92c28640 mod=phcanlrc.dll |
19:54.39 | cr2 | base=905c3000 size=00004000 hmod=93eff2cc mod=hd.dll |
19:54.48 | cr2 | base=905c7000 size=0000b000 hmod=93eff524 mod=osaxst0.dll |
19:55.14 | cr2 | so there are 3 groups. |
19:58.06 | cr2 | http://blogs.msdn.com/sloh/archive/2005/02/28/381706.aspx |
20:04.49 | cr2 | Kevin2: i guess we can do a much more intelligent "dump mmu" now. |
20:05.29 | Kevin2 | I'd say teach haretconsole how to do it. These things are easy in python. :-) |
20:06.39 | cr2 | :) then do it :) |
20:08.25 | cr2 | goxboxlive_: | ERROR:konq-embed/add-ons/pppdialer/pics/big/Makefile.am: nested automake conditionals (XMLUI vs. LARGEICONS) |
20:31.47 | Kevin2 | Hey cr2 - does -O work with your haret on universal? |
20:33.13 | cr2 | yes. |
20:33.55 | Kevin2 | Cool. It runs noticeably faster and it is much smaller with optimization on. |
20:36.30 | cr2 | -O2 ? |
20:37.22 | Kevin2 | You could try it. My previous experience with optimization flags show a huge win with -O1, and relatively minor increments thereafter. |
20:38.29 | cr2 | ok. |
20:39.15 | cr2 | btw, is there an 'include' command in perl ? |
20:40.50 | Kevin2 | Yes. 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) |