IRC log for #htc-linux on 20071206

00:28.42*** join/#htc-linux don102 (n=don@p54BAE325.dip.t-dialin.net)
00:28.56don102hi
00:28.59don102i have a big problem
00:29.10don102with my htc ...
00:29.46don102i upgraded a ROM version.. and it boots up with a white screen...
00:31.56don102but now i have a big problem
00:32.03don102i can't come into the bootloader
00:32.07don102what can I do...
00:32.32don102this are the facts. i have no possibility to boot into windows...
00:33.54don102and i have no chance to get into the bootloader with "Camera + On + softreset"
00:33.56don102what can i do?
00:34.18don102I really need help :-/
00:56.43*** join/#htc-linux thinko (i=jdoe6alp@smaug.rackdragon.com)
02:20.25*** join/#htc-linux eway (n=ellis@homealone.good1.com)
04:00.31*** join/#htc-linux Zoolooc (n=fredsiba@84.149.41.29)
05:22.32*** part/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
05:32.10*** join/#htc-linux goxboxlive (n=jrs@195.159.97.196)
05:32.26goxboxlivegood morning
06:33.28*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
07:22.38*** join/#htc-linux kyppcgeek (n=PocketIR@156.sub-75-205-66.myvzw.com)
07:28.46kyppcgeek?
07:29.51*** part/#htc-linux kyppcgeek (n=PocketIR@156.sub-75-205-66.myvzw.com)
07:42.35*** join/#htc-linux kyppcgeek (n=PocketIR@156.sub-75-205-66.myvzw.com)
07:42.55kyppcgeekanyone here?
07:53.12*** join/#htc-linux dcordes (n=user0815@f048228117.adsl.alicedsl.de)
07:54.00dcordesmoin
07:56.54*** join/#htc-linux sadeness_ (n=LamersIn@nat1.rlan.ru)
07:58.53dcordescan somebody give me a hand extracting the bootloader out of htc devices? I have several romdumps of htc kaiser but have no idea how to get a bootloader out
08:07.57dcordesthey are in *.raw and consist of 3 files eache
08:43.14*** join/#htc-linux Pryan2 (i=ircap8@84.125.95.179.dyn.user.ono.com)
08:55.56dcordeshi Pryan2 6
08:58.14*** join/#htc-linux rmoravcik (n=moravcik@gtsgw.ttc.cz)
08:59.18*** join/#htc-linux rmoravcik (n=moravcik@gtsgw.ttc.cz)
09:20.10*** join/#htc-linux BabelO (n=fcr@81.80.236.75)
09:25.44BabelOhi
09:29.31BabelOgoxboxlive: around ? :)
09:52.20dcordeshi BabelO
09:52.56dcordescan you help me with kaiser bootloader?
09:53.34BabelOdcordes: for what ?
09:55.24dcordesBabelO: i need to dump it and dont know how
09:55.36dcordesi have 3 *.raw files
09:58.39dcordesBabelO: i sarched the xda wiki/forums for solutions but only found 'rom coking things'
10:00.57dcordesBabelO: any idea?
10:06.49BabelOdcordes: i never remember, boot is 1Mb or 2Mb after something, don't know if the first Mb after screen buffer is boot or Wince mapped kernel file
10:07.24dcordesBabelO: ok but how do i get that stuff out of the raw file?
10:12.35BabelOdcordes: with objdump i think, you can disassemble by hand
10:12.57BabelOyou need to found the start
10:14.34dcordesBabelO: i just received email from fellow kaiseruser. he has the location of the bootloader so i can dump it easily
10:22.19BabelOok
10:27.00dcordesBabelO: it is at 0x00001000 can that be?
10:29.10BabelOdcordes: don't know
10:29.23dcordesok will just try when home
10:33.37goxboxliveBabelO: hi, yes i'm around. I have just been at the Liquor Store for bying liquor to a christmas party at work tomorrow. Up here in Norway we are not allowed to buy wine or other alcohol drinks in a regular stor. Only beer can be buoght in a regular store.
10:36.01BabelOgoxboxlive: ok :) http://linuxbox2.free.fr/imlife/home.png and http://linuxbox2.free.fr/imlife/weather.png
10:36.52BabelOgoxboxlive: i do that quickly :) i ve to finish coding all, after i ask someone for graphics help ... lol
10:40.14goxboxliveBabelO: i think it looks cool. BTW, what is this ORange F ? Is it on your Greenphone?
10:40.56sadenessbut the sun is a bit oval :D
10:41.39BabelOsadeness: yes, i know, i do that quicly, i want to have an homescreen like it is on wince6 with htc plugin ;)
10:42.01BabelOgoxboxlive: yes it is on gp, my provider
10:44.21goxboxliveBabelO: I havent got the provider working on universal.
10:44.38goxboxliveBabelO: Have you looked further on the BA modem and Qtopia?
10:45.14BabelOgoxboxlive: not at the moment
10:45.38goxboxliveok
10:47.23BabelOgoxboxlive: i like the idea to have a nice homescreen on qtopia ;)
10:47.33BabelOneed to do better graphics
10:49.00goxboxliveBabelO: i agree, but i think first of all we need to have the modem working. Why do we want a nice homescreen when it's not usable if you see what i mean. Has ljp responded you about the modem yet?
10:49.55goxboxliveI have compiled all the mux plugins now in the source and also tried editing them, but no luck. It stil segfaukts
10:50.28goxboxliveI just wish there where a dirty trick we could do to just have it working like universal does.
10:56.20BabelOgoxboxlive: yes agree with you, need to look more on it
10:58.19*** join/#htc-linux rob_w|laptop (n=rob_w@gw.suellberg-hamburg.de)
11:04.58*** join/#htc-linux lieter_ (n=lieter@a62-251-100-248.adsl.xs4all.nl)
11:24.35goxboxlivegood :-)
11:24.49*** join/#htc-linux wireddd (n=wired@66-188-77-4.dhcp.athn.ga.charter.com)
12:02.57*** join/#htc-linux moby_wan_kenoby (n=kvirc@80.168.34.147)
12:56.48*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
14:55.56dcordesBabelO: hey to get back to kaiser spl: It is at 0x00001000 - which haret command downloads it?
14:57.23BabelOdcordes: it is dump command like pd or pf to dump to file
14:57.35BabelObut this is physic adress
14:57.50dcordesBabelO: oh- so I need logic?
14:58.40BabelOso something like pd p2v(0x00001000) 0xfff for example
15:04.19dcordesBabelO: dude that made my device reboot
15:04.34dcordesis this a bad thing?
15:05.03dcordesBabelO: I put "pd p2v(0x00001000) 0xfff" and it reset
15:37.23BabelOdcordes: yes wrong idea p2v is for physic -> virtual and pd use physic adress
15:57.10*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
15:58.32*** join/#htc-linux Stamrogh_ (n=Stamrogh@c83-254-131-136.bredband.comhem.se)
15:59.26*** join/#htc-linux GPFerror (n=gpferror@76.187.41.132)
16:41.31*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
17:37.59*** join/#htc-linux pH5 (n=ph5@e178212102.adsl.alicedsl.de)
18:11.07*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:24.27*** join/#htc-linux Zoolooc (n=fredsiba@p54953FA2.dip0.t-ipconnect.de)
18:32.09Pryanhi
18:35.07dcordesZoolooc: hi. Did you try getting the kais bootloader?
18:41.50*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
18:42.02*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:45.55Pryanreboot in linux
18:51.16Zooloochello
18:51.27Zooloocdcordes: no, unfortunately no time at all
18:51.40*** join/#htc-linux dimoniet (n=mal@81.203.51.20.dyn.user.ono.com)
18:54.01*** join/#htc-linux Pryan (n=pryan@84.125.95.72.dyn.user.ono.com)
18:58.28dcordesZoolooc: ambition gone?
18:58.30*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
18:58.44dcordesI don't see us getting anywhere if nobody contributes :(
19:01.19dcordespH5: http://git.android.com/?p=linux-msm.git could you take a look at the last but one entry? Might this be of revealance for kaiser so I can try a rebuild?
19:02.18*** join/#htc-linux TimRiker (n=timr@216.49.181.128)
19:04.29pH5dcordes: you can rebuild all you want. but it won't help you a bit until haret is fixed :)
19:05.44dcordesI didn't understand it was a haret problem
19:06.28dcordespH5: will it be possible at all for Kevin2 to fix w/o machine?
19:06.59pH5dcordes: as long as it hangs in haret, it doesn't even matter if you try to boot a proper zImage or a mp3 file. the problem is that (to my understanding) haret hangs where it tries to disable the interrupts.
19:11.04dcordespH5: ah of course... I'm already getting confused on the whole thing. Did you notice Kevin2's attempts working around the problem? http://irclog.iclem.net/?chan=htc-linux&day=1 see from 17:58 if you have a minute spare time
19:20.27pH5ah, now I understand why the msm_fb driver needs this strange updater thread
19:21.22*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
19:22.51dcordespH5, sorry term died. I didn't know there was an msm_fb. I thought the fb would be device(display) specific.
19:23.18pH5dcordes: if you look at the sources, there is a mddi_client_toshiba.c file
19:23.36dcordeslet me see
19:23.42pH5all the gpio/voltage parts are of course display specific
19:24.06pH5but the core (msm_fb, mdp, etc.) responsible for frame buffer and dma transfer is universal.
19:25.33dcordespH5, in how far can we make use of this?
19:27.10pH5dcordes: no idea. i don't even know now if haret hangs or actually jumps into the kernel
19:27.43pH5because the haret boot messages obviously can't work if the frame buffer -> mddi dma is software-driven and we just have turned off the interrupt controller.
19:28.03dcordesthat's a thing I'm also wondering. I thought about possible led or backlight drivers from other devices to see if it jumps into the kernel or not
19:28.18pH5dcordes: do you have some easy feedback mechanism like a vibrator that is controlled by a simple gpio pin?
19:28.29pH5dcordes: or that :)
19:29.02dcordesDon't ask me how these are controlled.....
19:29.29pH5dcordes: does watch gpios work on msm already?
19:29.45dcordesit has front keypad backlight, display backlight, keyboard backlight, vibrator
19:29.50pH5you have to go one step back and map the hardware events.
19:30.05pH5turn on/off vibrator, lights, etc. and see which gpios (if any) change.
19:30.41dcordesok I think vibrator is best place to start because you can make it have an event without big hassle on the device
19:31.23dcordespH5, I don't know what's watch gpios form top of the head, only know cr2_ and me researched some touchscreen location by me touching the screen and tracing stuff
19:31.34dcordesthat will be the thing?
19:32.27pH5dcordes: yes
19:32.36dcordespH5, connection open
19:36.04dcordespH5, how did I initiate the recording again?
19:36.16pH5watch gpios?
19:36.27dcordesyes so I can see where vibra is
19:36.47pH5watch gpios <timeout in seconds>
19:37.52dcordes5
19:38.17dcordesdamnation
19:38.22dcordesit spams the whole screen in one scond
19:38.50dcordestricky
19:40.21pH5dcordes: use ibits to mask out those spamming gpios
19:40.29pH5ibit gpios <number>
19:40.33dcordescool
19:40.51dcordesnumber==077.400 ?
19:41.32pH5no, the gpio number.
19:41.41dcordes92b00840:
19:41.45pH5(or numbers, you probably have multiple gpios switching all the time)
19:42.02dcordesyes like 5 lines per second
19:43.38dcordespH5, don't be angry with me but what part of the line is the gpio number now ^^ ?
19:44.32dcordespH5, in this example, what's th gpio#? 077.864 GPIOS 92a00c20: ?(203)=800
19:45.25pH5first number is the time, the second is the register address, I think. 203 should be the gpio number
19:45.42pH5try "ibit gpios 203" and look if this line still appears
19:45.43dcordesgreat
19:45.53dcordesi issued 203 and 290 because those are the spammers
19:46.01dcordesaha! perfect!
19:46.13pH5if you have many gpios to disable you can even to "ibit gpios 203 290" etc.
19:46.27dcordespH5, fsck, seems like vibrator is one of the spammers
19:46.48pH5dcordes: not necessarily. maybe the vibrator is not on a cpu gpio but connected to something else :(
19:46.50dcordesI don't see anything when I make it vibrrate
19:47.10pH5the cpld perhaps, if there is any (and as this is a htc device, there probably is)
19:47.13dcordespH5, a cpu gpio means it is directly controlled by the cpu?
19:47.26pH5dcordes: yes, directly connected to one of the cpu pins
19:47.29dcordespH5, hwat is cpld?
19:47.30dcordesok
19:47.52pH5~wiki cpld
19:47.57dcordesdude how can they not connect the vibrator to the cpu. They knew I would use it as indicator for msm kernel booting or not ^^
19:48.20pH5it is a programmable chip. htc uses them quite often to add more gpios and irqs to the systems.
19:48.31dcordesto access mor hardware
19:48.32pH5dcordes: lol :)
19:49.07dcordespH5, how do I want to find out cpld existence/address?
19:50.18pH5dcordes: KaiserMemoryMap says there is a CPLD at phys 0xa9800000
19:50.35pH5you can try to watch that region with the mmutrace mechanism
19:51.19dcordesdo I have to restart to get rid of ibit gpios filters or is that irrelevant?
19:51.26pH5irrelevant
19:51.42dcordesmmutrace add??
19:52.35pH5addlist mmutrace p2v(0xa9800000) 0x1000
19:52.42pH5wi 1
19:52.59pH5maybe you have to ignore some spamming irqs with "ibit irqs <number>", similar to gpios.
19:53.28dcordeshttp://pastebin.ca/raw/807529
19:53.35dcordesno looks sleek
19:54.46pH5that was with the vibrator switching? anything if you add irq 16 and 19 to ibits?
19:55.45dcordespH5, <dcordes> http://pastebin.ca/raw/807529 not vibrator, it is the thing you just told me to do, cpld
19:55.58dcordesdid I get your question twisted
19:56.21pH5dcordes: what I'm looking for is the gpio that the vibrator is connected to.
19:56.32dcordespH5, now your question reached my userspace.
19:57.02pH5if you don't have something strange like a cpld connected over i2c, there should be a register *somewhere* in your memory space where a single bit switches with the vibrator being turned on or off.
19:57.23pH5we know this register is not one of the cpu gpio registers (or otherwise we would have seen something with watch gpios)
19:57.25dcordesaye how do I find out?
19:57.39dcordesok
19:57.49pH5so the next idea was to watch the cpld's memory space (that I got from the MemoryMap, no idea if it is correct) while triggering the vibrator
19:58.23pH5for that you should mask out the irqs that appear in that log (16 and 19) and do a "wi 10" again, and trigger the vibrator somehow.
19:58.38dcordesaaah ok ^^
19:58.51dcordesHaRET(7)# bit irqs 16 19
19:58.54pH5if there is no signal either, that'd mean that either the cpld is not mapped at that location (a98..) or that the vibrator isn't connected to the cpld :)
19:59.04dcordeslet's see first
19:59.27dcordes001.734 IRQS 94e00000: ?(6)=40
19:59.27dcordes001.979 IRQS 94e00000: ?(6)=40
19:59.29dcordescha ching
19:59.38dcordesit appeared definetly on vibrator brrrr
20:00.15pH5dcordes: nah, not good. we want to see something change at a9400000(and following)
20:00.22dcordes:-(
20:00.32pH5the IRQs are only input signals. vibrator control is definitively an output
20:00.51dcordespH5, http://pastebin.ca/807535
20:01.36dcordespH5, those two lines definetly appear when I hit the vibrator switch and it brrrs, not hwen I do normal touch
20:01.39dcordesanywhere
20:02.21pH5interesting
20:02.57dcordespH5, so does this get us anywhere?
20:03.39pH5dcordes: no. can you do *anything* during wi 10 to make some memory accesses to a94... appear? (turn on/off lights, change backlight brightness, switch bluetooth, whatever)
20:04.12dcordespH5, so we can point out different potential CPLD candidates?
20:04.43pH5dcordes: to see that mmutrace actually works on the msm and/or that there is actually something mapped at a94...
20:04.52dcordespH5, do you know a fucntion in windows mobile (or even haret) to turn offl ight?
20:04.56dcordesdisplay backligt
20:05.35pH5dcordes: no idea. on magician I could switch the backlight by holding the power button for a long time, but I guess that doesn't make sense on the kaiser, which doesn't have a transflective lcd.
20:05.48dcordespH5, same here
20:05.53dcordeswhat's a transflective lcd?
20:05.59pH5oh, or so it does?
20:06.07pH5a lcd that you can still read when the backlight is turned off
20:06.17dcordesI hold down the "power" button on the side and display is off, keys locked
20:06.26dcordeslol didn't observe this on kaiser
20:06.32dcordesbut wait let me try
20:06.49dcordessorry I don't hold it down, I just press it short
20:06.57dcordesholding it down makes kaiser want to go shutdown
20:07.17pH5yeh, I don't think you can read the display without the backlight being turned on on the kaiser.
20:08.20cr2_hi
20:08.31pH5hi cr2_
20:08.46cr2_does haret watch for the gpio changes on msm7x00 ?
20:08.49dcordespH5, so I simply wi something and see what happens on baclight
20:09.21pH5cr2_: it looks like it, Kevin2 added some addresses in the gpio register space to the GPIOS list for msm
20:09.56dcordespH5, within my current haret session, I cannot see any IRQ reactions on display turn on/off
20:10.01dcordeson wi 20
20:10.10dcordesturned it like 5x on/off
20:10.13dcordesnothing
20:10.24dcordesit only prints something afterwards
20:11.11cr2_ah, there are no backlight control commands in haret.
20:11.20dcordespH5, cr2_ sounds like I should upgrade my haret version?
20:11.48dcordesI have the last msm revision (#4) Kevin2 made on 1.12. during vsfb attempts
20:18.53dcordespH5, still around?
20:23.14*** join/#htc-linux Stamrogh (n=Stamrogh@c83-254-132-174.bredband.comhem.se)
20:26.30dcordes:-(
20:26.39pH5dcordes: occasionally. looks like this doesn't get us any further, either.
20:26.59dcordeshow come?
20:27.29dcordesyou mean the whole CPLD thing we just did or are you refering to my haret upgrade question?
20:27.31pH5dcordes: me being around occasionally or this not getting us any further?
20:27.39pH5ah :)
20:28.09pH5dcordes: well, until now we didn't see any access to the alleged CPLD registers yet.
20:28.12*** join/#htc-linux Stamrogh__ (n=Stamrogh@c83-254-132-174.bredband.comhem.se)
20:28.47dcordesyou take this form inactivity on wi and display backlight activity?
20:28.55pH5maybe Kevin has some more insights into memory tracing, or you could try to give the other unknown memory regions from the MemoryMap the same treatment.
20:29.40pH5dcordes: the recipe is always the same. watch some memory region with mmutrace, fiddle with some hardware, and as soon as you see something change in wi you know that this hardware is related to that memory region.
20:32.28dcordespH5, what's the "aim of the exercise"? find hradware that can be abused as boot indicator?
20:32.36pH5yes.
20:33.00dcordesok
20:33.13pH5leds or vibrator or backlight, anything that blinks or buzzes.
20:33.24dcordesI thought vibrator didn't work for the latter?
20:33.50pH5dcordes: wrong. you just didn't find out how to control it yet.
20:34.02dcordesoh ok. So how would I go on about the vibrator?
20:34.09dcordesand what wer the two lines?
20:34.18dcordeswhich appeared after it buzzed?
20:34.43pH5irq 6
20:35.03pH5you could try to find out if irq 6 has some significance from in the linux-msm sources.
20:35.18dcordeslol
20:35.40dcordesyou know I'm a DAU in such things
20:35.58pH5dcordes: you have to start somewhere :)
20:36.03dcordestrue
20:36.30dcordesso how would I start finding places that refer to irq 6 in linux-msm source?
20:36.41dcordeshihi
20:37.12pH5true, all this weird stuff takes a lot of time to understand. I'd start to look in irq.c or the headers that it references.
20:37.23pH5maybe this is no use, but who knows..
20:37.59*** join/#htc-linux Stamrogh___ (n=Stamrogh@c83-254-132-174.bredband.comhem.se)
20:38.33dcordesI definetly need somebody of your engagement in kaiser lobby
20:41.02dcordespH5, I will try my luck with backlight now
20:42.33dcordespH5, kaiser has a light sensor
20:42.54dcordesit knows when it is in a dark enviornment and turns on keyboard backlight on keybaord strok in such situation
20:45.43dcordespH5, what do you think, keyboard backlight hooked up to CPLD/GPIOS?
20:49.35pH5dcordes: probably. unless the msm has pwm registers that are used for the backlight.
20:49.40dcordeskeyboardstrokes show resonance on watch gpios
20:50.00pH5dcordes: that is good always the same gpio number?
20:50.03dcordestouch screen doesn't which is good so I can easily switch the backlight on
20:50.07dcordeslemme see
20:51.24dcordesaaah wtf no
20:51.34dcordesI entered which made haret boot my lockupkernel
20:51.50pH5whoops :)
20:52.06dcordesbut I made some observations
20:52.15dcordes_most_ of the keys show same resonance in haret
20:52.29dcordesthey give few lines (<10) with differing gpio numbers
20:52.54dcordeswhat's intersting is that all 4 arrow keyys show no resonance
20:54.24dcordesI will try to get a clean result by pressing all the keys one by one (in a text editor, lol)
20:55.44pH5dcordes: I think those gpios are used for the internal matrix keyboard controller in the msm
20:55.51pH5the arrow keys are connected to gpios on the cpld
20:56.17pH5at least that is the way they did it on the herald (omap850)
20:56.58pH5now you only need to find the memory region (with mmutrace) that changes when you press the arrow keys ;)
20:57.49pH5but if you are unlucky, as on the herald, you have the cpld connected via i2c (which means it is not easy to control from early linux boot or during the last haret stages)
20:58.11cr2_pH5: cpld is mmaped
20:58.19pH5cr2_: for sure?
20:58.23cr2_on kaiser
20:58.30cr2_at 0x98000000
20:58.33pH5that's good. but then why don't we see any response in mmutrace?
20:58.45pH5ah, wait. then I got the  wrong address.
20:58.48cr2_i think so, but it needs to be checked
20:59.16cr2_kaiser and titan have different cpld mappings
20:59.27pH5cr2_: KaiserMemoryMap says 0xa9800000
20:59.58dcordesI'm here to try. please...
21:00.27pH5dcordes: repeat the wi experiment with p2v(0x98000000) as address
21:00.34dcordesalright
21:00.39pH5and change the buzzer, press the arrow keys etc. during wi
21:00.43dcordesbrrr one?
21:01.01pH5dcordes: everything you got ;)
21:01.23dcordesI didn't addlist mmutrace stuff before I made keybaord experiment
21:01.52dcordesonly ibitted spamming gpios
21:02.10pH5dcordes: that's ok, most of the keyboard keys are connected to gpios as you found.
21:02.12dcordesanyway I'm in a new session now
21:02.14pH5but the arrow keys are not
21:02.21pH5so for them we have to look at the cpld again
21:02.37pH5(and not at a9800000, but 98000000, as cr2_ says)
21:02.58dcordespH5, just to make sure we don't spend valuable time for nothing, where can I put keyboard stroke wi output from last experiment?
21:03.55dcordesI will just have it local..
21:04.56pH5dcordes: You should make a new KaiserGPIO wiki page, not immediately, but at least before your computer crashes the next time and you lose the locally stored information :)
21:05.45cr2_pH5: hmm. maybe 0xa9800000 is correct.
21:06.17dcordespH5,  where I will list it e.g. like "keytroke T => gpio 23,456,345 etc?
21:06.41pH5I'd say try both then. Unless somebody knows for sure that 0x98000000 is not a CS region.
21:07.04dcordesis there a way to easily figure out the wrong one?
21:07.23dcordesah i will retry vibrr experiment as you said, will that clearify situation?
21:08.08pH5dcordes: I wouldn't worry about the matrix assignments right now. just a list of gpio by number (like MagicianGPIO) and mark all of the keyboard related gpios. this list can be filled in as you learn more.
21:08.38pH5dcordes: it can, but only if you get a result for one of the addresses..
21:09.25pH5cr2_: do you remember where you got that kaiser cpld information from?
21:10.28dcordesI need a small stand up bird that hits the listen button on kaiser. like the one homer uses to maintain the power plant remotely
21:12.20dcordesok I have a dump file now where I pressed all buttons
21:14.33cr2_pH5: SPL
21:15.04cr2_pH5: i'll recheck it.
21:21.41cr2_pH5: the main source of confusion is the different mapping used by SPL compared to wince
21:33.28dcordespH5, cr2_ "addlist mmutrace p2v(0x98000000) 0x1000; ibit irqs 16 19; wi 10" ===> "002.587 IRQS 94e00000: ?(6)=40; 002.793 IRQS 94e00000: ?(6)=40"
21:35.11dcordespH5, that's pretty much the same output I got for the same with "a" prefixed
21:36.54cr2_dcordes: what does 'show gpios' say ?
21:37.17cr2_wine is completely confused on my display.
21:39.17dcordesI need a new favourite pastebin
21:40.00dcordescr2_, http://paste.ubuntu-nl.org/47157/
21:40.17dcordescr2_, what do you try to run on it?
21:45.03cr2_dcordes: why are you tracing '0x9' and not '0xb' ?
21:45.40dcordescr2_, <pH5> dcordes: repeat the wi experiment with p2v(0x98000000) as address
21:45.53dcordes<cr2_> at 0x98000000
21:46.20cr2_dcordes: can you change the 0x9* to 0xb* on gpio trace ?
21:46.25dcordessure
21:46.31dcordesI will reopen
21:46.37cr2_0x98* was my mistake i guess
21:46.44dcordesnvm
21:46.51dcordesgood for my training
21:47.34dcordescr2_,  0xb98000000? I'm not sure on zero count
21:48.08pH5dcordes: this is 32bit arch, so 0xb9800000, 8 hex digits.
21:48.27pH5cr2_: 0xb9800000 is phys?
21:48.29dcordesaha valuable bit of info :)
21:48.35*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
21:48.59cr2_yes, haret has "addlist gpios p2v(0xa9200800)\n" hardcoded
21:49.50cr2_which translates into 0x92xxxxx
21:50.05cr2_which is not the address used by wince.
21:50.15cr2_wince uses 0xb2xxxxx
21:51.08goxboxlivecr2_: did u look at this? http://www.compulab.co.il/x270em/html/x270-em-datasheet.htm
21:51.13cr2_so either haret/you includes all virtual mappings, or p2v() in addlist is just evil.
21:51.51cr2_goxboxlive: yes. how much does it really cost ? i don't buy into "starts at $120" ;)
21:52.14cr2_the bare motherboard - maybe.
21:52.38goxboxlivecr2_: thats only the base. The complete one without case $649
21:53.03goxboxliveit's expensive
21:53.09cr2_+customs tax
21:53.17pH5goxboxlive: devboards tend to be
21:53.26goxboxliveok
21:53.35cr2_so i don't see any advantage. htc is commodity hardware.
21:53.38goxboxlivecr2_: i think that is included for german
21:54.20goxboxlivecr2_: but here the drivers are finished, and with a case you can use it as a main phone. We cant do that toda.
21:54.23goxboxlivetoda
21:55.00cr2_goxboxlive: from what i have read at the customs homepage, you are in hot water, if it's not person->person post.
21:55.31cr2_i don't know how do they actually sell moko1 phones. it's a bit of mystery for me.
21:55.56cr2_goxboxlive: is there a list of hardware drivers ?
21:57.54*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
21:58.11dcordes~lart alicedsl
21:58.11apteats alicedsl and falls over dead
21:59.17dcordespH5, cr2_ http://paste.ubuntu-nl.org/47162/
21:59.30dcordeskaiser locked up seconds after I issued wi
22:00.53cr2_dcordes: you should replace the 0x9 to 0xb for each of the addresses here: http://paste.ubuntu-nl.org/47157
22:01.09cr2_as in
22:01.20cr2_addlist gpios 0xb2b00800
22:01.31dcordesin a new session?
22:01.52dcordesor with addlist mmutrace before
22:02.11cr2_yes, add all these commands before running 'wi'
22:05.40cr2_pH5: hehe, this x270 has an i2c gpio extender.
22:06.50dcordesexhausting
22:07.18dcordescr2_, now I wi and hit vibrator?
22:07.34dcordess/vibrator/vibration_alert
22:08.01cr2_dcordes: yes.
22:08.31cr2_you can put these commands into a script file, and run it at the beginning.
22:08.58dcordesI didn't use sed n'either a script
22:09.12dcordesraw keyboard work
22:11.39cr2_ok. do you see something coming out of wi ?
22:11.52dcordesI'm playing around with it
22:12.02cr2_imho, you should. otherwise it's one more haret bug.
22:12.09dcordestrying to figure what is the actual brrr and what is the event that happens when I switch the "mode"
22:12.19dcordesI'm using the SOUND menu of htc today screen
22:12.36dcordeswhen bbrrr mode is active, and I hit it again, there is output
22:12.37cr2_ok, let's check if you see the gpio changes at all.
22:12.57cr2_and you create "brrrr" with the 'nled' command
22:13.13dcordeswhat's nled?
22:13.21cr2_run help
22:13.32cr2_NotificationLED
22:13.39dcordeshow can I run it when I have the wi active?
22:14.07cr2_listen 9998; telnet kaiser 9998
22:14.35cr2_listen 9998 in haret
22:15.03cr2_and telnet to that port. so you'll have a "command" link and a "trace" link for haretconsole.
22:15.51dcordeshttp://paste.ubuntu-nl.org/47170/
22:16.32cr2_ok, this is strange.
22:16.53dcordessome activity is only initiated by the raw button hit
22:18.21dcordescr2_, check this http://paste.ubuntu-nl.org/47171/
22:22.11cr2_dcordes: there are irq changes only.
22:22.21dcordeswhich means?
22:22.40cr2_something is wrong.
22:23.34dcordesthat's bad
22:24.07dcordescr2_, with the cpld address?
22:24.28cr2_no, the msm7x00 gpio
22:27.20dcordesI just tried to check led/gpio
22:27.58dcordesdisabling spammer gpios with ibit and turning on one led with nledset 0 0
22:29.11dcordescr2_, no output
22:29.24dcordesbbiab
22:36.15cr2_TD035STEE1 in this em-270
22:37.19cr2_Kevin2: and they init it over pxa-ssp
22:42.26dcordescr2_, If you want me to try something just poke
22:46.28*** join/#htc-linux adamg2 (n=adamg@80-192-177-87.cable.ubr03.blac.blueyonder.co.uk)
23:28.33dcordespH5, cr2_ thanks a lot for your help today
23:28.35dcordesbye
23:35.27paulproteushttp://wiki.openmoko.org/wiki/One_transistor_too_many
23:35.36paulproteusHTC-Linux doesn't have *that* problem, at least.
23:41.42FoxdieI can't seem to get HTC linux working properly on my universal
23:41.54FoxdieI can get wifi enabled but not bluetooth or gsm / gprs
23:43.15cr2_paulproteus: you should talk to pH5 about calypso suspend
23:43.57cr2_Foxdie: bt/gsm should work if you've loaded the respective modules
23:44.20cr2_Foxdie: i must admit that the current gui controls are bad.
23:45.33FoxdieI don't even know how to get that working
23:45.47FoxdieI know how to get a shell but dialler is broken
23:46.06FoxdieSeems you guys need a QC guy ;)
23:46.09Foxdie(Quality Control)
23:46.21Foxdieif you want I'll help with that
23:48.30paulproteuscr2_, Ouch re: calypso
23:48.41paulproteusFoxdie, Are you using goxboxlive's images?
23:49.32cr2_Foxdie: do you run the latest wince5se ?
23:50.33paulproteusIf BTW I buy a Universal that has WinCE 6, not 5, would that be a problem?
23:50.56FoxdieI'm using his images yes, currently Angstrom X11
23:51.08cr2_there are no wince6 phones afaik.
23:51.10Foxdieand I'm running WM6, but its 6 months old now
23:51.46FoxdieUniversal will never be released with WM6 because its not financially viable for cell networks to release updates
23:51.50paulproteusFoxdie, The OpenMoko images?
23:52.07FoxdieI think so, yes, they were under the OpenMoko section
23:52.08cr2_what is called wm6 is just a minor wince5 modification
23:52.16paulproteusFoxdie, Try the Qtopia image.
23:52.20paulproteuscr2_, Oh, I didn't realize.
23:52.23Foxdiecr2_: its only really the shell thats different
23:52.32paulproteusFoxdie @ http://linuxtogo.org/~htcpxa/htcuniversal/index.html
23:52.34FoxdieQtopia... *shudders*
23:52.45FoxdieI remember having a Zaurus C860 with Qtopia
23:52.49Foxdiecouldn't really do anything with it
23:52.57paulproteusFoxdie, Please, just try it for me. (-:
23:53.12paulproteusCheck out the modification time.
23:53.15paulproteusIt's way more recent.
23:53.15cr2_zaurus had qtopia2. nonphone
23:53.19Foxdieooh
23:53.32cr2_this is qtopia4 for the phones
23:53.32Foxdieokay, I will try it tomorrow, will email myself the link at work and put it on there
23:54.05Foxdiedone
23:54.10Foxdieand now I must go to bed, take care all
23:54.18cr2_good night
23:54.29FoxdieCR2, I will catch you tomorrow and offer to test / write down bugs in rom releases if you'd like
23:56.39paulproteusNight, Foxdie.
23:58.04cr2_Foxdie: it's goxboxlive who is creating the roms.
23:58.16cr2_i can't recreate them anyway.
23:58.36cr2_i need to create my own then, because it's not documented anywhere.
23:58.46cr2_how to create a rom.

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