irclog2html for #htc-linux on 20070317

00:21.16*** join/#htc-linux tudenbart (n=willi@xdsl-213-196-246-227.netcologne.de)
02:49.01*** join/#htc-linux Ro_En_PC (n=roen@p54a67854.dip.t-dialin.net)
03:30.30*** join/#htc-linux Hawk|- (n=Hawk@p549AF6F3.dip.t-dialin.net)
04:41.49*** part/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
04:47.41*** join/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
04:48.06*** part/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
04:48.24*** join/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
05:25.07Kevin2Cool - I can dump the raw irda traffic from hermes.
05:42.44*** join/#htc-linux Hawk|- (n=Hawk@p549AF6F3.dip.t-dialin.net)
05:51.24*** join/#htc-linux silven (n=zmc@adsl-72-50-84-120.prtc.net)
06:03.33*** join/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
06:48.17*** join/#htc-linux TeringTu1y (n=maarten@55-100-dyn.ipact.nl)
07:00.47*** join/#htc-linux TeringTuby (n=maarten@55-100-dyn.ipact.nl)
07:20.29*** join/#htc-linux Hawk||- (n=Hawk@p549AF6F3.dip.t-dialin.net)
07:33.36*** join/#htc-linux TeringTu1y (n=maarten@55-100-dyn.ipact.nl)
07:40.10*** join/#htc-linux TeringTuby (n=maarten@55-100-dyn.ipact.nl)
07:43.28*** join/#htc-linux Hawk|- (n=Hawk@p549AF6F3.dip.t-dialin.net)
07:50.51*** join/#htc-linux TeringTu1y (n=maarten@55-100-dyn.ipact.nl)
08:00.25*** join/#htc-linux dullard_asleep (n=jim@adsl-static-1-30.uklinux.net)
08:01.20*** join/#htc-linux TeringTuby (n=maarten@55-100-dyn.ipact.nl)
08:08.12*** join/#htc-linux sadeness_ (n=LamersIn@88.87.88.27)
08:19.49*** join/#htc-linux pH5 (n=ph5@e178207036.adsl.alicedsl.de)
08:20.23*** join/#htc-linux cyrill62 (n=cyrill62@44.247.6.195.dynamic.adsl.abo.nordnet.fr)
08:22.48*** join/#htc-linux Hawk||- (n=Hawk@p549AF6F3.dip.t-dialin.net)
08:56.27*** join/#htc-linux [sadeness] (n=LamersIn@88.87.88.27)
08:56.56*** join/#htc-linux Hawk|- (n=Hawk@p549AF6F3.dip.t-dialin.net)
09:13.29*** join/#htc-linux Hawk||- (n=Hawk@p549AF6F3.dip.t-dialin.net)
11:13.42*** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn244.91-127-6.t-com.sk)
11:40.34*** join/#htc-linux lilliput (n=Touriste@82-47-146-8.cable.ubr11.brad.blueyonder.co.uk)
11:44.54*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
12:18.37*** join/#htc-linux pancake (n=xxx@55.pool85-52-227.static.orange.es)
12:46.34*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.7)
12:51.56*** join/#htc-linux BoSJo (n=bosjo@45.84-48-72.nextgentel.com)
13:00.12BoSJoAnybody know whats up with http://gnulinux.biz/ been down for two days now :-(
13:01.43*** join/#htc-linux crashmatrix (n=crashmat@s5590785f.adsl.wanadoo.nl)
13:12.21*** join/#htc-linux tudenbart (n=willi@xdsl-213-196-242-100.netcologne.de)
13:33.46*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
13:38.27*** join/#htc-linux BoSJo_ (n=bosjo@45.84-48-72.nextgentel.com)
13:41.27*** join/#htc-linux bd2 (n=cbou@89.113.85.104)
14:11.08Kevin2Well, I can get the irda messages now, but no new info was revealed.  The boot is still halting after uncompress.
14:14.52pH5aww. is it hanging before any fb access?
14:21.55Kevin2Before the console is setup yes.  I can write to the fb during the boot, but it seems to fail randomly during the early init stages.
14:22.14Kevin2I just got serial stuff going, but it doesn't tell me much more - hang after the uncompress stage.
14:29.09pancakehi Kevin2 are you working on hermes?
14:34.44bd2Kevin2, hi! You are Kevin O'Connor, right? ;-)
14:36.03bd2could you please enlighten me on this code found in ad7877, http://paste.lisp.org/display/38277 ? (questions in comments)
14:37.13bd2is it some special behaviour if this chip, or I missed something?
14:39.16Kevin2pancake: Yes
14:39.59Kevin2bd2: The code is correct, because we read the value only after injecting a write on the ssp bus.  So, we write a request out, but we read the _previous_ request.
14:40.46pancakeKevin2: great! I've an hermes too, and I want to help on the linux port
14:41.03bd2Kevin2, ah.. thanks
14:41.26Kevin2pancake: I'm pretty much stumped at this point.  I can only guess we aren't shutting down something - but what it is, I don't know.
14:42.14pancakeafaik the kernel hangs after jumping to the kernel entry point
14:42.55pancake(from haret) i read that you're using irda to show the printk messages
14:43.08pancakehow can I do that?
14:43.47Kevin2Do you have an irda dongle on your host?
14:44.23pancakeyup, several ones on different boxes and gadgets
14:46.01Kevin2Well, if you have a simple serial one, it may be easier for you - just line up the phone and your irda dongle and "cat" the serial port for you host dongle.
14:46.27pancakei need any patch for the kernel or just some change the default.txt?
14:46.29Kevin2I have a usb dongle and had to go a bit further to get at the info.  I installed the "systemtap" utility and then ran:
14:47.01Kevin2Eek - don't have the command anymore..
14:47.21pancakeoops
14:47.40Kevin2pancake: The default hermes kernel should early boot messages on.
14:48.02pancakedirectly via irda?
14:48.05Kevin2You can enable more by turning on serial console and by enabling CONFIG_DEBUG_LL (which is in the "kernel hacking" menu).
14:49.06pancakeok
14:50.13Kevin2The command was something like:  stap -v -e 'probe module("irda*").function("async_unwrap_char") { printf("%d\n", $byte) }'
14:50.57Kevin2Oh yeah, you need to turn on "enable incoming beams" on the hermes in wince.
14:50.58pancakeuhm, it's not in portage..will look for it, seems interesting
14:51.17pancakesadeness: have phun
14:51.45Kevin2you should probably verify the irda stuff is running by launching "irdadump" on your host.
14:52.24pancakeok
14:56.40pancakewhat distro and crosscompiler toolchain are you using?
15:05.05Kevin2pancake: I use fedora core 6.
15:37.13Kevin2Chapter 24 of the SC32442A guide has some good info -- The SC32442A holds 13 bus masters..
15:37.38Kevin2One of them is an "External bus master"..
15:45.57*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
15:54.39pancakesry i was dinning
15:54.58pancakei'll try later all this stuff, now i'm gonna chip the wii :)
15:55.36pancakelater
16:08.52*** join/#htc-linux BoSJo (n=bosjo@45.84-48-72.nextgentel.com)
16:52.42*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:22.10*** join/#htc-linux Ralith (n=ralith@soggy202.drizzle.com)
17:51.20*** join/#htc-linux drbombay[lap] (n=drbombay@pdpc/supporter/active/drbombay)
18:07.46*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
18:59.34cr2Kevin2: hi. i'm confused by this 'irda' terminology in the log.
19:21.24*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-1-41.dynamic.mnet-online.de)
19:30.48Kevin2cr2: What do you mean?
19:31.43Kevin2Hrmm.  The pins necessary to use an "external bus master" are not configured.  This is good, but I still don't know why the boot fails..
19:41.31cr2Kevin2: what is irda ? is it sir or fir ?
19:41.50cr2i'm editing the gpio wiki page.
19:42.32cr2GPJ is at +0xd0 ? and what is at +0x80 ? i see it in the disassembly.
19:42.47Kevin2Not sure what you are asking.  The s3c uart2 is hooked up to the IR port.  I can watch the results from my IR usb dongle in SIR mode.
19:43.06cr2ok, so it is SIR
19:43.20cr2pxa had separate sir and fir hardware.
19:43.54Kevin2It may be possible to put the hermes in FIR mode - I don't know.  The messages I saw were in SIR mode though.
19:44.35cr2Kevin2: can you switch the small cam on, play sound and dump the whole gpio block ? 0x56xxxx up to +0xe0
19:45.08cr2somebody has made the dump in December, but said it was confusing. i'd like to compare and add this data to wiki.
19:47.00Kevin2You want two different dumps, or one dump with both sound and camera?
19:47.52cr2one.
19:48.20cr2they are easy to separate. i'm not interested in the gpio levels now, only the CON regs.
19:49.49Kevin2http://pastebin.ca/399142
19:49.57Kevin2They don't have sound.  I'll try to turn sound on too.
19:51.03cr2ok.
19:51.12Kevin2How do you play sounds?
19:51.14*** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org)
19:54.22cr2put and mp3 file on the microSD card.
19:55.01cr2or you can also record the sound, only the i2s direction should be different.
19:57.24cr2btw, did you edit include/asm-arm/arch-s3c2410/uncompress.h ?
19:59.56cr2ok, +0x80 is MISCCR
20:00.54cr2+0x88 is extint0
20:01.18*** join/#htc-linux psokolovsky_ (n=psokolov@favoured-food.volia.net)
20:01.52cr2too much pain to decode these things by hand.
20:05.16Kevin2http://pastebin.ca/399169
20:05.27Kevin2with sound playing, no camera
20:05.39cr2thanks.
20:06.03Kevin2I did modify uncompress.h originally, but once I got IR going, I put it back to the original state.
20:06.32cr2ok, so you get the uncompressing................. over IR ?
20:10.31cr2GCS4 is not active in this list, but GCS5
20:11.12cr2well, wifi can enable it itself.
20:12.33cr2what is PMIC ? power management IC ?
20:13.44Kevin2Yes.  I get past the uncompress stage, but no messages after that.
20:14.00cr2wince kernel disassembly is not very good because of the broken segments ;-)
20:14.14cr2i don't have rilgsm too.
20:17.25cr2acx100 uses s3gpio and cpld gpio, i can see which bits.
20:18.25cr2for some reason it manipulates the cpu pwm settings.
20:25.21cr2PWRTIACX should work on hermes.
20:39.18cr2Kevin2: it seems that both SPI channels are enabled. 1 is for the keyboard, the second - don't know. they can use dma.
20:40.22cr2can you dump 0x59xxxxxx up to +0x40 ?
20:41.10Kevin2http://pastebin.ca/399202
20:41.26Kevin2Although spi can use dma, it needs to be setup via the dma controller.
20:45.09cr2the spi0 prescaler is 0xff, so the clock is PCLK/512
20:45.33cr2i've already forgot what is our PCLK ;)
20:47.48Kevin2What kernel command line do you use to have console on serial?
20:48.30cr2console=ttyS2 ?
20:48.48cr2ttyS2,115200,8,1
20:53.38cr2Kevin2: can you look at 0x4b* 00,40,80,c0 DMA srcaddr registers ?
20:55.32cr2maybe just dump the 0x4b* +0xff
20:55.39Kevin2The whole 0x4b.. range is zeros for me.
20:56.18cr2hm. interesting.
20:56.27cr2sound will certainly use DMA.
20:57.17Kevin2I've pushed all my register dumps to: http://handhelds.org/~koconnor/HTCHermes/regs/
20:59.21cr2ok, thanks.
21:03.51*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
21:05.37*** part/#htc-linux zsircusr (i=scatterp@efnet.will.cause-lagging.net)
21:09.27*** part/#htc-linux rmoravcik (n=rmoravci@adsl-dyn244.91-127-6.t-com.sk)
21:13.29cr2goxboxlive: have you already bought htc athena ? :)
21:40.02Kevin2The only thing I get is:  Uncompressing Linux.... done, booting the kernel.\r\n
21:47.18cr2which kernel are you using ?
21:52.12Kevin2Latest hh.org kernel.
21:55.24cr2ok.
22:33.37*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.7)
22:58.54*** join/#htc-linux ParaNoir_ (n=ParaNoir@84-53-96-51.fiber.unet.nl)

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.