IRC log for #htc-linux on 20100222

00:00.16cr2_NetRipper: 3 funcs, one after another
00:00.20NetRipperok
00:02.52cr2_NetRipper: http://xda.privatepaste.com/f6fcf77b80
00:03.05*** join/#htc-linux ToAsT_ (~quassel@235-41.200-68.tampabay.res.rr.com)
00:04.44ToAsT_phh: woot.. quassel is pretty nice:P
00:04.46NetRipperthat first one reads cpu id, and identifies the processor
00:06.16NetRipperand recursively clears cache i think
00:06.32NetRipperit's a whole lot shorter than the hierarchial cache flush in linux
00:06.35cr2_the last is called with R1 param, but it's only a loop counter
00:06.46cr2_ok
00:07.30NetRipperthat c7, c14, 2 clears cache by set/way, but there are multiple caches so you need to set a cache, clear it, move on to next
00:07.40cr2_ok
00:07.56NetRipperc7, c14, 0 clears all caches when they're ARMv7 compatible, but doesnt work on this cpu
00:08.12cr2_not used in wince too
00:08.44cr2_buggy hw ? :)
00:08.47NetRipperso they just clear hierarchially and simply don't finish with c7, c14, 0 (which they do in linux)
00:08.57NetRipperdifferent hw
00:09.02cr2_ok
00:09.03NetRippermaybe buggy rev yes
00:09.06cr2_nexus ?
00:09.24cr2_and debug boards.
00:09.31cr2_they have the same cpu
00:09.44NetRipperwell i don't know if they use zImage or Image for nexus
00:09.49cr2_hm. different rev. maybe.
00:09.57NetRipperif they use zImage there, that means they don't have this problem
00:10.23cr2_can we compare your dmesg with nexus ?
00:10.30NetRipper(cos the problems is in the decompression code)
00:10.35cr2_or is the cpuid not so accurate ?
00:10.52cr2_decompression is written in asm ?
00:10.53*** join/#htc-linux M1DLGpc_ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
00:11.24NetRippercr2_, no, but the c-stack setup is, and for the decompression it enables mmu temporarily
00:11.55cr2_insane :)
00:12.15NetRipperand when they're done, they disable mmu again.. and to get it back in proper state for loading the uncompressed linux kernel.. as it expects D-cache to be clear, they need toc lear it
00:12.56cr2_ok
00:13.37cr2_googling for nexus dmesg
00:13.52NetRippercr2_, btw do you want msmclkkhz as a seperate command as well or just move it all into dump?
00:14.12cr2_NetRipper: dump what ?
00:14.31NetRipperthat msmclkkhz
00:14.47NetRipperi'm moving it into a dump msmclkkhz <start> <end> command
00:15.05cr2_as you like
00:15.07NetRipperbtw is it 0-255 or 1-256?
00:15.14cr2_0 works
00:15.21NetRipperyea but 1000000 works too
00:15.25cr2_maybe you can provide a full int32
00:15.37cr2_the rpc param is int32
00:15.41NetRipperi think it does a modulus 256
00:15.44tmztNetRipper: does nexus use zImage?
00:15.52NetRippertmzt, no that's what i'd like to know
00:15.57NetRippertmzt, so i dont know
00:16.00tmztthere's 2.6.29 and 2.6.32
00:16.01cr2_tmzt: do you know somebody with nexus ?
00:16.15tmztmaybe you can ask San since this is a cpu thing and not firmware
00:16.18NetRippertmzt, i'm aware of that, but that doesnt tell us if they use Image or zImage
00:16.18cr2_tmzt: nexus and devmem2 :)
00:16.35NetRippersan?
00:16.43cr2_NetRipper: from android
00:18.01tmztMakefile.boot is part of the zImage generation
00:18.18NetRippertmzt, ah, it's not used in Image?
00:18.26tmztthe inner image/vmlinux is compressed as piggy.gz and attached to the decompressor
00:18.35tmztthis happends in boot/compressed
00:18.53cr2_NetRipper: i think they should use zimage
00:19.50tmztcr2_: I have a nice 4gb notebook
00:20.04cr2_tmzt: >4G
00:20.16tmztI don't see any reason more ram couldn't be installed, if greater than 2gb sodimms exist
00:20.47cr2_NetRipper: it's zimage
00:20.56NetRippercr2_, why "should"?
00:21.05cr2_NetRipper: the gzip text strings at top
00:21.10NetRipperok
00:21.23*** join/#htc-linux phh_ (~quassel@2a01:e35:2e4b:b2b0:250:8dff:fee1:c793)
00:21.44cr2_NetRipper: can i decode .img ?
00:21.58NetRipper.img?
00:22.02tmztwhat's .img?
00:22.14tmztboot.img?
00:22.27tmztthere should be a reverse mkbootimg
00:22.59cr2_yes
00:23.20cr2_hehe. microp firmware
00:23.25tmztwhere?
00:23.34tmztI really needed that
00:23.45tmztI want to be able to flash my old one
00:23.52tmztwanted
00:23.59cr2_what is yamato ?
00:24.07cr2_tmzt: on nexus
00:24.33cr2_why is -france.acdb is a different file ?!?
00:27.15*** join/#htc-linux jumoit (~samuel@121.77.87.145)
00:27.48NetRipperarf my reply on the mailing list is being held for approval
00:28.01NetRippercos i used a mail address i didn't reg with
00:29.29NetRipperit's late.. bedtime, nn :)
00:29.57tmztyamato? I don't know
00:30.11cr2_tmzt: cant find nexus dmesg
00:33.22*** join/#htc-linux mickey|sofa (~M@e180129213.adsl.alicedsl.de)
00:33.41*** join/#htc-linux mickey_away (~mickey@80.81.242.146)
00:37.37cr2_[    0.000000] Linux version 2.6.29-g4c17402 (android-build@apa26.mtv.corp.google.com) (gcc version 4.4.0 (GCC) ) #1 PREEMPT Fri Dec 11 12:17:58 PST 2009
00:37.38cr2_[    0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c5387f
00:38.20cr2_now, where is NetRipper's dmesg ?
00:39.48cr2_mahimahi-microp 0-0066: microp version [0B][15]
00:40.43cr2_nandid: 5500bcec maker ec device bc
00:41.14*** join/#htc-linux DarkMasterHalo (~sam@modemcable187.118-80-70.mc.videotron.ca)
00:41.38cr2_mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 64000000 Hz
00:42.04cr2_hm. how do they get this PCLK value ??
00:43.01cr2_ulpi is different, but that's ok
00:44.27tmztthey went to 50mhz from 49
00:44.37tmztoh
00:45.04cr2_http://forum.xda-developers.com/showthread.php?p=5477033
00:45.48cr2_misc kgsl: firmware: requesting yamato_pm4.fw
00:46.01cr2_kgsl is xserver ?
00:46.17cr2_misc kgsl: firmware: requesting yamato_pfp.fw
00:46.37cr2_hm. the kernel has acdb parser ?
00:46.51cr2_acdb: 588 bytes for device 607, rate 48000.
00:47.26*** join/#htc-linux Neo31 (~Neo31@unaffiliated/neo31)
00:48.29tmztkgsl is the gl kernel driver
00:48.29*** join/#htc-linux balsat (~balsat@87.72.13.34)
00:48.48cr2_so what is yamato ?
00:48.48tmztis this on leo?
00:48.50tmztah
00:48.54tmztgpu I think
00:48.54cr2_no, on nexus
00:48.59tmztI had seen it
00:49.01tmztsame thing
00:49.15tmztI just wondered if wm used the term kgsl
00:50.02tmztnever saw a gpu needing firmware though
00:50.14tmztthere's an xda thread about the gpu core
00:50.58cr2_w100 ?
00:51.11tmztdon't think so
00:51.17tmztz430 or something
00:51.20tmztati chip
00:51.25cr2_uploaded microcode
00:51.35Neo31Hello, does the MicroSD write/read speed (mSD class 2, 4 or 6) inflect starting android from the memory card on an HTC TP ?
00:51.52cr2_ok. tts
00:53.23NetRipper~leo-ramconsole
00:53.24apthmm... leo-ramconsole is pwf myramconsole 0x2FFC0000 0x40000
00:57.03NetRippercr2_, that line is exactly same in my dmesg: [    0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c5387f
00:57.09NetRipper*gone*
01:18.10*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
01:28.55*** join/#htc-linux jeremychang (~jeremycha@61-30-10-70.static.tfn.net.tw)
02:04.38*** join/#htc-linux makkonen (~makkonen@cpe-66-69-229-9.austin.res.rr.com)
02:10.00*** join/#htc-linux ToAsTcfh (~toast@235-41.200-68.tampabay.res.rr.com)
02:15.26*** join/#htc-linux mcdull (~mcdull@110.4.31.122)
02:16.43*** join/#htc-linux ToAsTcfh (~toast@235-41.200-68.tampabay.res.rr.com)
02:16.59*** join/#htc-linux ToAsTcfh|lappy (~quassel@235-41.200-68.tampabay.res.rr.com)
02:21.17*** part/#htc-linux LargePrime (~chatzilla@99-148-91-126.lightspeed.dttnmi.sbcglobal.net)
02:29.01*** join/#htc-linux enjalot (~enjalot@wg-d232033.dsl.fsu.edu)
02:32.32*** join/#htc-linux MrPippy (~pip@75.42.179.196)
02:37.51*** join/#htc-linux nacho-g (~nacho-g@190.189.189.218)
02:41.00*** join/#htc-linux mastermerlin_ (~merlin@pD957B51C.dip.t-dialin.net)
03:19.02*** join/#htc-linux ToAsTcfh|lappy_ (~quassel@235-41.200-68.tampabay.res.rr.com)
03:34.23*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
03:35.36*** join/#htc-linux randomblame (~randombla@c-71-59-184-96.hsd1.wa.comcast.net)
03:52.33*** join/#htc-linux rzk (~rzk@daemonet.ru)
03:53.43xJDxEVERYONE SHUT UP NOW!
03:53.59ToAsTcfhlol
03:54.03randomblameyou shut up
03:54.03xJDx:p
03:54.07randomblame:D
03:54.07ToAsTcfhu get it to work?
03:54.11xJDxfine :(
03:54.15xJDxToAsTcfh: nah :'(
03:54.27xJDxIt worked,  but was rebooting
03:54.29ToAsTcfhdude its right there
03:54.42xJDxI know!
03:54.51ToAsTcfhu just gotta get it in the right hands
03:54.59xJDxyour hands?
03:55.00xJDxlol
03:55.12ToAsTcfhu cant let the heroc out do the g1
03:55.17xJDxfuck this hurts
03:55.37xJDx(eating)
03:55.41xJDxI know I cant
03:55.48xJDxThe G1 is like the pwnage tool.
03:56.11randomblamemsm_fb is complicated, far too many things interacting with each other
03:57.04ToAsTcfhbah buy a g1 fuck it
03:57.07ToAsTcfh:P
03:57.14ToAsTcfhn1 i mean
03:57.18xJDxlol
03:57.27xJDxI have 2 Magics though
03:57.37ToAsTcfhthen everyone will want the desire
03:58.13ToAsTcfhanyone get the desire build to boot yet on the g1 or sapphire?
03:58.25xJDxNo idea
03:58.56xJDxI came out with a release for 2.0 because everyone was asking how
03:59.14xJDxthen I went back in my hole
03:59.53randomblameif I wanted to make a dummy board panel.c all I'd need to include was an init mddi_dummy_client for the most part right
04:00.50tmztjust nop the init
04:00.57tmztlike every other version
04:01.01tmztdummy is broken
04:01.40randomblamethe problem is it's not starting at all with my mach type, with diamond mtype mddi.c causes kernel panic
04:01.59randomblamewith my mtype I don't get any messages from mddi or msmfb
04:02.24randomblameso I want to make it start how do I do that with the init nopd
04:03.13tmztlook at qualcomm-on-msm gito
04:03.28tmztjust #ifdef 0 all the actuall init
04:03.48tmzt#if 0
04:16.56xJDxToAsTcfh: I can't work out if it's the kernel being broken, or if it's how i'm adding it back ;\
04:19.06xJDxIm guessing it's the kernel though, since different kernels give different results
04:23.01*** join/#htc-linux reefermattness (~mjg@2002:4c12:4faa:1234:222:3fff:fef1:efa1)
04:26.41randomblamegitorious is sooooo slow
04:35.57xJDxActually
04:36.05xJDxI think I might know why this one didnt
04:36.06xJDxwork
04:36.31xJDx@ ToAsTcfh: I built it for a 32A board instead of a 32B
04:55.41*** join/#htc-linux jooprzol_ (~quassel@ip70-189-79-143.ok.ok.cox.net)
05:20.46xJDxD/AndroidRuntime(  150): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
05:20.49xJDxFUCKING WOOT.
05:29.25ToAsTcfhxJDx u got it?!
05:29.31xJDxYes, and no
05:29.36xJDxYes, it was all perfect
05:29.41xJDxBut then I had a boot loop
05:29.45xJDxAssumed kernel was bad
05:29.54ToAsTcfh:(
05:29.54xJDxrebooted with default kernel
05:30.06xJDxrealised that webkit from system.img is causing the boot loop
05:30.33ToAsTcfhbah
05:30.34xJDxso the kernel appears to be correct ;\
05:30.51xJDxIm just gonna run a sync, might force webkit from eclair branch
05:30.55ToAsTcfhdude if u get it right it will work. no doubt about it
05:31.18xJDxIm not actually even using the same thing anymore
05:31.27ToAsTcfh:/
05:31.28xJDxI have bits everywhere now, I'm in desperation, lol
05:31.57ToAsTcfhdude phh and mrpippy patches are the way to go. they work
05:32.15xJDxThat's pretty much what I did before
05:32.17ToAsTcfhmy device is not much different then urs
05:32.44ToAsTcfhif u get the patches ported correctly it will work
05:33.28ToAsTcfhhttp://forum.xda-developers.com/showthread.php?t=593015
05:33.42ToAsTcfhuse the libs out of my rom for opengl
05:33.52ToAsTcfhegl file
05:33.59ToAsTcfhin lib
05:34.16ToAsTcfhanyhow those libs work with 2.x builds
05:34.56ToAsTcfhonce u get the patches ported to ur kernel and they compile it should work without a hitch
05:35.10ToAsTcfhmrpippys patch alone will work
05:35.12xJDxErr
05:35.16xJDxhold up
05:36.02ToAsTcfhphhs patch only inccreases the framerates
05:36.40ToAsTcfhphh: patch actually works well too. we get better then stock frame rates
05:37.07ToAsTcfh30.8 fps is the best so far
05:37.58ToAsTcfhwith just mrpippys patch we only got 19.8 fps so its a big jump
05:38.13xJDxthats pretty impressive
05:38.34ToAsTcfhyeah they both did great work
05:38.51xJDxhttp://jd.pastebin.com/d43204b0f
05:38.54xJDxCheck that out
05:38.56xJDxthat's my diff
05:39.04ToAsTcfhbut yeah just use the libs from my rom and use mrpippys patch
05:40.41ToAsTcfhbut yeah u should just be able to apply mrpippys patch then go back and put the rejects in and make the proper changes
05:41.15ToAsTcfhif ur having trouble with all the merging
05:41.18xJDxBut what are you applying the patch to? Surely it's not the default Android Kernel?
05:41.31*** join/#htc-linux Bry8Star_ (~Bry8Star@cpe-76-170-247-232.socal.res.rr.com)
05:41.36ToAsTcfhthe default htc kernel
05:41.51ToAsTcfhstraight to the tar bal
05:42.18xJDxoh, the one HTC supplies?
05:42.25ToAsTcfhyes
05:42.38xJDxfrom
05:42.38xJDxhttp://developer.htc.com/
05:42.39xJDx?
05:42.42ToAsTcfhyes
05:42.58xJDxwow
05:43.04xJDxI've been using the Android one
05:43.09ToAsTcfhi g2g man but this is ur best bet
05:43.17ToAsTcfhtrust me
05:43.53ToAsTcfhor u can backport the whole thing urself. but ill bet a hundred bucks this will take alot less time
05:44.11xJDxI have the source
05:44.19xJDxbut the merge will f*** me up
05:44.59ToAsTcfhjust apply the patch and go through and put the reject in where they go
05:45.16xJDxAight
05:46.03ToAsTcfhtrust me i worked hard on this and then phh: come along and i had it donre in 5 minutes
05:46.42xJDxHeh
05:46.42ToAsTcfhit took me longer to compile then apply the patch i think
05:47.04xJDxIf it's not from GIT, can I use git apply?
05:47.15ToAsTcfhidk
05:47.48ToAsTcfhpatch p0> ur.patch i think
05:48.40xJDx;\
05:48.47xJDxThat wouldnt work for me before
05:48.50xJDxill try it again lol
05:49.38ToAsTcfhpatch -p0 < patch-file-name-here
05:49.45xJDxYeh
05:49.49xJDxThat's the normal way
05:50.02xJDxBut I couldnt get it to work with the gitorious patches
05:50.04xJDx;\
05:50.06ToAsTcfhthats  a ggod way to start
05:51.32ToAsTcfhhttp://www.pastebin.com/m37db1d8c
05:52.04xJDxHeh
05:52.05xJDxhttp://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/a95f49b0c480da1a9d9cdbe0cf1aee6de3828eb5.patch
05:52.34ToAsTcfhhttp://www.pastebin.com/m7f611186
05:53.28ToAsTcfhyep thats it. put it in the root of ur kernel dir. and call it mrpippy.patch
05:53.49ToAsTcfhpatch -p0 < mrpippy.patch
05:54.05xJDxYeh I know how to patch
05:54.11xJDxbut it was going nuts the other day
05:54.16xJDxwith Gitorious output ;\
05:54.17ToAsTcfhlol then it should work
05:54.34xJDxI'm not new to linux lol
05:54.38xJDxIt's my primary OS
05:54.54ToAsTcfhme too. but this should work
05:54.55xJDxHowever, I'm new to kernel shit and GIT (I hate GIT, sure i've mentioned that before though :P)
05:55.07ToAsTcfhyes u have
05:55.09xJDxI hope so ToAsTcfh :P
05:55.28xJDxI might try a make before I patch
05:55.34xJDxthat way I know everything is working
05:55.40ToAsTcfhanyhow g2g. good luck man and let me know how it goes
05:55.47xJDxThanks bro
05:55.52xJDxwill do :)
05:56.07xJDx1am?
05:56.13xJDxPfft its 5pm :P
05:56.33ToAsTcfh1am here yes
05:56.43xJDxSleep :)
05:56.44xJDxPeace
05:57.14ToAsTcfhpeace
05:57.31xJDxDont worry
05:57.38xJDxIt wouldn't even build for me
05:57.38xJDxahahahaha
06:03.38*** join/#htc-linux f22 (~pcm_2@c-68-82-52-241.hsd1.nj.comcast.net)
06:03.58*** join/#htc-linux nacho-g (~nacho-g@190.189.189.218)
06:04.53ToAsTcfhhtc source doesnt come with a .config fyi
06:10.32xJDxYeh I know
06:10.56xJDxjust using the one that came with my vf ROM
06:11.13xJDxhad to choose a few more with make oldconfig
06:23.52tmztdefconfig
06:40.43Paul_awaydo you sleep sometimes?
06:44.45*** join/#htc-linux gigitt (~cad64c2a@gateway/web/freenode/x-tsujnxdrrdmyllxa)
06:52.57MrPippyoO got it loaded on rhod eth0: Broadcom Dongle Host Driver
06:54.55xJDxwho Paul_away?
06:55.20*** join/#htc-linux M1DLGpc_ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
06:57.23*** join/#htc-linux zachy (~george@ip-85-160-50-50.eurotel.cz)
07:12.24*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
07:14.14*** join/#htc-linux mcdull_ (~blackston@n11648167249.netvigator.com)
07:15.42mcdullis the newest kernel fixed DIAM100 3D?
07:25.29*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
07:34.44mcdullI got no GUI after setting fb to 3MB.
07:39.57*** join/#htc-linux kiozen (~oeichler@p549211DB.dip0.t-ipconnect.de)
07:40.13*** join/#htc-linux droid001 (~g1@p4FDCBED7.dip.t-dialin.net)
07:40.21*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
07:47.47*** join/#htc-linux Speedy2 (~mike@bzq-79-180-18-85.red.bezeqint.net)
07:48.33Speedy2www.search2.net
07:48.57*** part/#htc-linux Speedy2 (~mike@bzq-79-180-18-85.red.bezeqint.net)
07:55.16*** join/#htc-linux luminoso (~lumos@av-217-129-141-118.netvisao.pt)
07:56.44*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
08:02.22randomblamewhy do I never see this? console: switching to colour frame buffer device
08:04.00randomblameI wonder if my config is screwey
08:37.33randomblamehmm should be console=ttyMSM2 not tty0
08:43.52*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
08:57.46mcdullrandomblame, what are you exploring recently?
08:58.18randomblametrying to get a frame buffer working on an unsupported device
08:58.34randomblamesame as usual
08:58.36randomblame:D
09:01.57*** join/#htc-linux mickey|office (~Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
09:02.20randomblameI don't understand what calls the panel files under mach-msm
09:03.36mcdullI see.. how big is the flamebuffer should be? how to calculate?
09:04.08randomblamemy understanding is that it doesn't matter the size or even the memory address
09:04.32randomblamemy problem is that with my mach type msm_fb doesn't start at all
09:04.34mcdullyou mean it doesnt matter of the size or the kernel / driver will re-assign the size?
09:05.13randomblameit's automagic as far as phh has lead me to believe
09:05.33randomblamethe size doesn't matter, it's 2mb which is plenty big for my resolution
09:05.56randomblameand the address doesn't matter, even though it's physical not virtual - which puzzles me deeply
09:06.20mcdullumm.. so as the gpu0.  If the calculation in the description is correct, it may requires > 2MB for a WVGA device
09:06.42randomblamethis device is 240x400
09:06.50randomblamenot really that thirsty for video memory
09:06.57mcdullme 2.. I have no idea on what the pre-setting of pmem do.  where 1MB gpu0 will do the job nicely.
09:07.28randomblameyeah 1mb would be fine for this device, later that might have to be lowered for extra application memory
09:07.44randomblamebut right now I can't get msm fb to even start
09:08.04mcdull1mb is fine on my WVGA device which is hard to believe. Even it is 16bit color.
09:08.41randomblameI swear to god grep is broken in ubuntu
09:08.50mcdullwell.. 1 MByte seems to be enough on 800x480x16
09:09.00mcdullha.. any proof?
09:09.09randomblameI've been waiting 10 minutes for it to finish this query
09:09.43mcdullit takes forever if you are running on virtual machine.
09:10.30randomblametrying to figure out what file printk's the message "console: switching to colour frame buffer device"
09:10.40randomblamebecause I never get that
09:10.55randomblameyeah virtual machines suck
09:11.21randomblameI tried installing ubuntu natively but it hates my fake raid array and it killed my windows partition *sigh*
09:11.52mcdulllet me check if I got the message ..
09:11.56mcdullin dmesg?
09:12.25mcdull[    1.863189] Console: switching to colour frame buffer device 60x100
09:12.41mcdullcant do a global string for string?
09:12.46randomblamewhat messages are before and after that
09:14.03mcdull[    1.831298] mddi_epson_probe
09:14.04mcdull[    1.831542] setup_vsync
09:14.04mcdull[    1.831787] vsync on gpio 97 now 1
09:14.04mcdull[    1.833099] msmfb_probe() installing 480 x 800 panel
09:14.04mcdull[    1.863189] Console: switching to colour frame buffer device 60x100
09:14.04mcdull[    1.922973] msm_serial: driver initialized
09:14.06mcdull[    1.923767] msm_serial_hs.1: ttyHS1 at MMIO 0xa0300000 (irq = 52) is a MSM HS UART
09:14.08mcdull[    1.924957] msm_serial_hs module loaded
09:14.10mcdull[    1.929077] loop: module loaded
09:14.12mcdull[    1.929687] pmem: 1 init
09:14.26mcdullshould be the msmfb_probe() matter
09:14.49randomblameahh so it's dependent on the board-x-panel.c
09:15.29randomblameI wonder if it matters what console you call in your default.txt
09:15.39randomblameshouldn't
09:15.47mcdullbut I cannot find the string in the kernel source.
09:16.04randomblameyou're on a new device too right?
09:19.35mcdullblac100
09:20.50randomblameoh
09:23.37*** join/#htc-linux aavan (~aavan@91.183.57.198)
09:23.41*** part/#htc-linux aavan (~aavan@91.183.57.198)
09:26.34MrPippyarrrgh i can load dhd (compiled from the devour source) (but i have to use polling instead of interrupts), start wpa_supplicant, scan successfully with wpa_cli, but it won't associate to a network, wpa_supplicant spits out ioctl[SIOCSIWESSID]: Invalid argument
09:34.29MrPippynot sure where to go from there...i guess tomorrow i'll try getting it to work with our in-tree bcm4329
09:35.32MrPippythe devour source is actually a newer drop from broadcom, but the nexus one driver is getting bug fixes
09:37.01MrPippysomeone can think about how we can possibly make this work with android userland....afaik the wlan.ko path and name are hardcoded into the source
09:37.11WoutMrPippy: which board are you working on, rhod?
09:37.17MrPippyeverything else (eth0 instead of tiwlan0, wpa_supplicant args) can be taken care of through shell somehow
09:37.18MrPippyy
09:37.20MrPippyyeah
09:37.54randomblamemr pippy any idea what calls the board-x-panel.c files in mach msm?
09:38.19Woutcool :) so with my limited knowledge I assume that what you just said means that there is progress on wifi?
09:38.57MrPippyyeah real progress on wifi, it scanned for networks successfully
09:39.26*** join/#htc-linux playdo (~88020165@gateway/web/freenode/x-fpfgbkcytveecwhr)
09:39.29Woutwow :) great news
09:42.58MrPippyrandomblame: they get compiled in and run themselves, the device_initcall() at the bottom tells which function runs when it loads
09:43.43MrPippyand then in the init functions, have to make sure that only one panel init runs for each device
09:44.30randomblamebah
09:44.41randomblameso I could just make my own and it would work fine
09:44.48randomblameit would load itself?
09:44.50*** join/#htc-linux M1DLGpc__ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
09:46.23*** join/#htc-linux Wout (~55927d21@gateway/web/freenode/x-plfewnwaxhfkbegl)
09:46.51MrPippyyeah as long as its being compiled in
09:46.59randomblamewith make file
09:47.02randomblamenice
09:47.21randomblamenow I have to figure out the bare minimum to get output
09:54.26*** join/#htc-linux mcdull (~mcdull@203.210.9.159)
10:06.57WoutGuys, is there any way to make the androd clock sync with winmo? Right now, it's always an hour ahead
10:08.03*** join/#htc-linux goxboxlive (~jrs@mail2.hjellnesconsult.no)
10:08.38Woutand can someone please explain this to me?
10:08.41Wout[root@localhost Desktop]# killall -9 adb adb: no process found [root@localhost Desktop]# ./adb shell * daemon not running. starting it now * * daemon started successfully * error: device not found
10:09.06Woutphone is in debug mode, I'm in the terminal as root, not processes running
10:09.12Wout(previous adb processes)
10:10.03mcdullwinmo with rtc set to local clock
10:10.11*** join/#htc-linux leobaillard (~leobailla@leobaillard.org)
10:10.30mcdullandroid with rtc set to gmt
10:10.36mcdullfor me 8hr diff
10:10.48randomblamemy clock is 72 years off
10:10.51randomblame:D
10:11.46Woutlinux is hard... :/
10:15.41*** join/#htc-linux kri5 (~kri5@cowdy.vlmc.org)
10:40.14*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
10:42.54*** join/#htc-linux sxe (~quassel@ip-62-143-102-161.unitymediagroup.de)
10:43.00phh[10:30:28] <MrPippy> arrrgh i can load dhd (compiled from the devour source) (but i have to use polling instead of interrupts), start wpa_supplicant, scan successfully with wpa_cli, but it won't associate to a network, wpa_supplicant spits out ioctl[SIOCSIWESSID]: Invalid argument <----- nnnooooo :'( I wanted to make it working ... anyway I'll have to take care of the android part I guess.
10:44.03randomblameyay I'm making progress
10:50.23phhrandomblame: such as ?
10:50.45*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
10:52.33*** join/#htc-linux jazka (jaska@b0xi.net)
10:59.02*** join/#htc-linux kri5 (~kri5@cowdy.vlmc.org)
10:59.48*** join/#htc-linux Wout (~wout85@s55927d21.adsl.wanadoo.nl)
11:02.09*** join/#htc-linux dzo__ (~dzo@mail.marginz.co.nz)
11:05.52*** join/#htc-linux leaigor (~laigor@188.134.16.241)
11:09.06phhgsensor works \o/
11:09.10phh@1sample/second.
11:09.36Paul_Isheninit did not work before?
11:09.37Wout!! cool
11:09.51phhPaul_Ishenin: not on rhod
11:09.56Paul_Isheninah...
11:10.05Woutyou know what that means......
11:10.13Woutpapijump! :D
11:10.14Paul_Isheninit works not reliavble on diamond too
11:10.19phhWout: papijump sucks
11:10.24phhPaul_Ishenin: Oo
11:10.28phhit works perfectly on my dia
11:10.28phhm
11:10.32phhWout: abduction is better than that
11:10.37phhWout: but only 1sample/second
11:10.40phhwon't be playable
11:10.45Paul_Isheninin games - yes. in android interface - no
11:10.48Woutwhats the normal sample refresh rate?
11:10.54randomblamephh: mddi inits
11:10.59phhWout: ~ 50/s I think
11:11.04randomblamethen crashes
11:11.04Paul_Isheninsometimes it rotates the applications, sometimes not
11:11.21phhrandomblame: you can see it inits ?
11:11.27phhI mean on the screen
11:11.49randomblameno in ramconsole i see its messages
11:12.08randomblameit crashes before anything good happens
11:12.19randomblame[    9.327850] mddi: init() base=0xc500e000 irq=16
11:12.19randomblame[    9.292083] htcraphael_mddi_power_client(1)
11:12.23randomblame[    9.292602] mddi cmd send rtd: int 23a000, stat 808063, rtd val e
11:12.23randomblame[    9.292816] Unable to handle kernel NULL pointer dereference at virtual address 00000000
11:12.23Paul_Ishenincalculator, browser and other application does not rotate often. while the game with ball works fine
11:12.30phhrandomblame: so maybe it doesn't work :p
11:12.40phhPaul_Ishenin: android bug afaik
11:12.57randomblamelol at least it starts now
11:13.19Paul_Isheninphh, I saw no reports for android phones
11:13.52Paul_Isheninreports that it works bad. vice versa I often read how nice it works in the android interface
11:14.05phhreally ?
11:14.06phhhum.
11:14.13phhI'll have to check I guess.
11:14.24phhPaul_Ishenin: just in case, you're not running a january build ?
11:14.39phh(a major bug has been fixed meanwhile)
11:14.47Paul_Isheninno, I don't
11:15.24Paul_IsheninI'm runing a build from 8 Feb + own built kernel
11:15.27phhthough, I don't have major troubles with it, just need to hit it a bit in the direction I want it to go to (some sort of hysteresis I guess)
11:17.28Paul_Isheninphh. maybe we can include more application with the next release? like calculator, gallery and camera?
11:18.32phhi have no real opinion about that
11:18.41Paul_IsheninI can give you a link for them
11:19.17Paul_Isheninthey are standard android application but as you know they are hard to find
11:19.26phhyes
11:19.39phhwhich gallery btw ? the awesome looking one in 3D or the other one ?
11:20.11Paul_Isheninstandard gallery application from android virtual image
11:20.29Paul_Ishenindo you need a link?
11:20.34phhyes
11:28.35Paul_Isheninimo it will simplify things for others if we include them
11:40.58*** join/#htc-linux Vito89 (~quassel@195.113.242.139)
11:44.52randomblamewtf, anyone see the date of the latest commit on msm
11:45.27Paul_Isheninfeb 22
11:45.44randomblameFriday April 05 2019
11:46.17Paul_Isheninah, that one if there for a long time already
11:46.24randomblamelol
11:52.35*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
11:56.31*** join/#htc-linux GNUtoo (~GNUtoo@host49-13-dynamic.54-79-r.retail.telecomitalia.it)
12:13.29phhwow. bma150 mostly reports only 0s
12:14.31phhwell, not only.
12:14.59phhalso some garbage
12:16.54phhwhy is there no haret for linux :'(
12:20.21Paul_Isheninwhat haret for linux do you need?
12:20.45Paul_Isheninto start new android kernel from android?
12:20.46phhmmutrace
12:20.56phhto know what my driver actually does
12:21.58Paul_Isheninphh, before the release I suppose you need to fix hw3d for diamond?
12:22.22phhPaul_Ishenin: stop speaking about bad things :(
12:22.34Paul_Ishenin:))
12:22.54phhyes I'll fix it... but I want to fix it for my rhod first ! :'(
12:23.04phh(but for diam the fix is really easy. for rhod it's totally unknown.)
12:25.05Paul_Isheninmaybe move the gpu0 block to the case?
12:25.32phhthe problem is not how the code handle it, the problem is to which address set it for WVGA devices
12:25.34Paul_Isheninthen you can fix rhoduim without breaking the diamond?
12:25.50phhah that. yes right.
12:26.28*** join/#htc-linux GeekLad (~GeekLad@adsl-178-230-51.jax.bellsouth.net)
12:43.17*** join/#htc-linux DaveWM (~dave@173-19-136-12.client.mchsi.com)
13:01.08*** join/#htc-linux jazka (jaska@b0xi.net)
13:11.32phhah, gsensor definitly works, I only have to calibrate the axis and I can play abduction on this awesome device
13:12.00makkonengood that you're getting down to the really important stuff. :-)
13:12.06phh:p
13:12.23phhbut something is really weird ...
13:13.01phhI'm currently playing with memory allocation (for 3D) too, so I have only 100MB of RAM (less than diamond)
13:13.09phhand abduction is way smoother than on diamond ...
13:13.26phhI wonder if SMI is really that fast.
13:14.23*** part/#htc-linux jumoit (~samuel@121.77.87.145)
13:14.57*** join/#htc-linux GNUtoo (~GNUtoo@host49-13-dynamic.54-79-r.retail.telecomitalia.it)
13:15.07phhI remember I benchmarked it, but I don't remember of the results -_-'
13:19.08*** join/#htc-linux Wr4i7h (~abc@89.180.41.114)
13:19.23Paul_Isheninphh, you init change does not work for some reason
13:19.31Paul_IsheninI mean camera related
13:19.39phhPaul_Ishenin: really ?
13:19.40phhhum
13:19.51Paul_IsheninI had to create that devices manyally again
13:20.02makkonenabduction drags like crazy on raph. gets faster when you get near the top and there's less things to render.
13:20.31phhmakkonen: with default graphic settings, it's just unplayable on diamond
13:20.38phhon my rhod it's just perfect
13:22.24phhmight be related to the "boost HW" stuff
13:22.28phhor to pmem in SMI VS EBI
13:22.40phhI need a raph to test :p
13:24.17phhPaul_Ishenin: try adding mount -o remount,rw / before the mkdir ?
13:34.02*** join/#htc-linux luminoso (~lumos@av-217-129-141-118.netvisao.pt)
13:35.06*** join/#htc-linux luminoso_ (~lumos@av-217-129-141-118.netvisao.pt)
13:35.48*** join/#htc-linux luminoso__ (~lumos@av-217-129-141-118.netvisao.pt)
13:37.31phhhaha
13:37.37phhI commited RAM deletion of rhod -_-'
13:40.08Paul_Isheninphh, remount does not help
13:41.41Woutphh, did you push the gsensor fix already? :P want to try me some abduction
13:41.48phhWout: yup
13:41.50phhPaul_Ishenin: hum
13:41.52phhI'll have to try
13:42.04phhWout: should work as is on markinus' donut
13:42.37phhWout: you have to change the gsensor_axis in startup
13:42.41phhgsensor_axis=2
13:42.54phhgsensor_axis=2,1,3
13:43.06phhthis gets abduction working, I'm not sure it's the correct settings though
13:43.16Woutok :)
13:44.02makkonenis there an app that lets you check all axes? I still think mine is wrong.
13:44.15phhmakkonen: motion observer
13:44.28phhbut it doesn't explain which axis is what :p
13:44.40*** join/#htc-linux luminoso (~lumos@av-217-129-141-118.netvisao.pt)
13:44.40makkonenmm.
13:44.59makkonenbetter than nothing, I guess.
13:58.00phhWout: works ?
13:58.34Woutwill check in a minute, in the middle of flashing a new winmo rom
13:58.42phhpfff
13:58.53Wouthey, this is still my primary phone :P
13:59.12phhI still have the ROM that ReeferMattness putted on it :p
13:59.34*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
14:01.27*** join/#htc-linux god206 (~infidel20@unaffiliated/swc666/x-4934821)
14:01.49WoutI still have to use winmo on a daily basis, so a rom with 6.5.5 and Sense 2.5 makes life a bit easier :)
14:02.46*** join/#htc-linux fleixius (~fleixius@unaffiliated/fleixius)
14:03.15fleixiusmooornnin
14:03.30Woutok, booting haret, gsensor here I come
14:05.29*** join/#htc-linux reefermattness (~mattgnm@c-76-18-79-170.hsd1.nm.comcast.net)
14:05.48Woutphh: would it be difficult to have xdandroid boot up in portrait mode?
14:05.56phhdon't know
14:05.57reefermattnesssup guys?  :)
14:06.07phhreefermattness: gsensor :p
14:06.28reefermattnessaye, am installing abduction as we speak  :p
14:06.35phh:)
14:06.45phhworks only on markinus' donut
14:06.51phh(and on the eclair that is on my phone)
14:07.07reefermattnessawwww
14:08.01Wouthmm, doesn't work on glemsom buidl
14:08.21phhWout: with latest markinus' donut ?
14:08.44Woutwhat's that exactly?
14:09.03phhnot xdandroid
14:09.27Wouti've only used glemsom's autobuilds so far
14:09.34phhI mean the *android* build
14:09.39phhnot kernel
14:10.10Woutok, this is where my n00bness is on full display
14:10.26Woutzimage/modules = kernel? so what is the android build?
14:10.39reefermattnessLOL
14:10.44phhWout: all that is not kernel :p
14:10.49Woutright
14:10.52Woutgood to know
14:10.55Wout:/
14:11.44phhAMSS, I HATE YOU
14:12.01Woutso could someone give me a quick explanation on how the builds are constructed, what's in which files?
14:12.14phhawww
14:12.22phhnot me.
14:13.03Woutor perhaps just tell me where I can find markinu's donut android build?
14:15.57*** join/#htc-linux YellowGTO|Nix (~quassel@c-71-226-239-246.hsd1.pa.comcast.net)
14:16.02reefermattnesshttp://wiki.xda-developers.com/index.php?pagename=TOPAZ_ANDROID
14:16.07reefermattnessI think its that donut Wout
14:16.17reefermattnessfeb 13th update
14:17.15reefermattnessI hope  ;)
14:18.01phh13 feb ?
14:18.05phhhum not sure it's recent enough
14:18.43reefermattnessdamn, thats the newest I could find easily.
14:20.15Wouthmm, I think it's best if I just wait for the next cab by reef :P
14:20.31reefermattnessLOL shhhh I dont know what Im doing either.   ;)
14:21.03phhWout: basically, reefermattness will wait for my android release
14:21.07phhand then he'll do a cab
14:21.09reefermattnessyup
14:21.14Woutok :)
14:21.16reefermattnessI do the easy part
14:21.24makkonenit's trickle-down development.
14:21.39reefermattnessI tell all the ladies im a hacker  :p
14:21.41reefermattnessLMAO
14:21.50makkonen...you should maybe rethink that.
14:22.04makkonennot because it's dishonest... just because there are better things to tell the ladies.
14:22.10reefermattnesshahaha
14:22.27reefermattnessIs that why it never works?
14:23.51*** join/#htc-linux jeremychang (~jeremycha@61.57.131.211)
14:26.56phhcould be :p
14:27.00phhor it's) just you
14:27.02phh-)
14:27.09reefermattness:'(
14:27.15reefermattnesssad face
14:28.49reefermattnessMaybe it would help if I was as smooth as a frenchman.   :p
14:29.01phhlol
14:29.27reefermattnessgotta run guys, ttyl!
14:29.32Woutlater
14:29.52*** part/#htc-linux reefermattness (~mattgnm@c-76-18-79-170.hsd1.nm.comcast.net)
14:30.52phhPaul_Ishenin: please check if I correctly fixed diam's 3D
14:31.32Paul_Isheninyes, correctly
14:31.37Paul_IsheninI have the same fix locally
14:31.44phhlol ok
14:32.00phhPaul_Ishenin: can you test this: set the size to 6MB instead of 7
14:32.04phhfirst with the same bas address
14:32.09phhand then with base_address+=1MB
14:32.23Paul_IsheninI will test
14:32.26phhthanks
14:33.04phhWout: in 6minutes, download http://htcandroid.xland.cz/system.sqsh and use it
14:33.13phhwell, 7 minutes
14:33.22phh4 now ? stupid wput.
14:33.27Paul_Isheninphh, could that be init.android who removes our msm_camera?
14:33.39phhPaul_Ishenin: yes
14:33.42phhaaahhhhhhh
14:33.43phhright.
14:33.46phhit mount /dev as tmpfs
14:33.58Woutk, thx :)
14:34.34*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
14:34.46phhgroumpf, what's the haret command to get MMU mapping again
14:35.48phhdump mmu... ok.
14:40.06phhWout: uploaded
14:40.08Paul_Isheninphh, why you don't want to move pmp_gpu0 config inside the case block?
14:40.15AstainHellbringmorning
14:40.20phhPaul_Ishenin: I think gpu0 is the same for everyone
14:40.43Paul_Isheninbut memory location could be different
14:42.07phhPaul_Ishenin: there must be a SMI location for 3D
14:42.10phhand there isn't much place in ther
14:46.06Paul_Isheninphh, it works with 6MB as well
14:46.12phhok
14:46.26Paul_IsheninI have 3D in games and boot shows me animation
14:47.43phhand with offset ?
14:48.21Paul_Isheninoffset have not tested yet
14:48.29phhok
14:56.41*** join/#htc-linux Markinus (~Miranda@gtng-4db04372.pool.mediaWays.net)
15:01.40*** join/#htc-linux Ekips (spike@unaffiliated/ekips)
15:10.12phhany android msm7k device user around ?
15:11.39*** join/#htc-linux enjalot (~enjalot@2002:80ba:e894:b:223:12ff:fe03:9239)
15:11.40makkonenyou mean g1/magic/etc?
15:12.17*** join/#htc-linux Neo31 (~Neo31@unaffiliated/neo31)
15:12.27phhnot necessarly htc
15:12.32phhbut I asked on #android, it's more logical :p
15:12.41makkonen:-)
15:14.04phhok no answer. I think I'll just try what I want to try.
15:14.36phhI'd like to know what AXI register phys 0xa8210800 controls :/
15:19.00Woutphh: is there any specific reason why xdandroid is 1.6 instead of 2.1, does upgrading the android build require a lot of tweaking/coding/adusting?
15:19.23phh?!?
15:19.30phhxdandroid is 2.{0,1}
15:19.58Woutoh, then I'm mistaken, sorry :P
15:20.04Woutnexus one is 2.1 right?
15:20.17phhyes
15:24.19Woutwas confused about the version numbers because you mentioned the Donut build, which I thought is 1.6
15:24.28phhyes.
15:24.33phhthe donut build is no xdandroid build.
15:24.54Woutah, ok
15:25.06phhWout: so gsensor works ?
15:30.36Paul_Isheninphh, it works with offset too
15:30.44phhok thanks
15:30.59phhso I could try MB by MB to see where the memory is supposed to be
15:30.59Paul_IsheninI used MSM_SMI_BASE + 2MB
15:31.38phhdoes anyone know which DLL handles 3D in windows mobile ?
15:32.12phhor maybe the name of MS' 3D api
15:32.32Woutphh: will try in a minute, did a clean android install on sd so need to setup first
15:32.44phhWout: ok
15:34.14Paul_Isheninphh, could the location in memory also affect camera?
15:34.21phhyes
15:35.10*** part/#htc-linux zachy (~george@ip-85-160-50-50.eurotel.cz)
15:36.55Woutphh: gsensor on rhod100 confirmed!
15:41.52*** join/#htc-linux balsat (~balsat@87.72.13.34)
15:42.31*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
15:42.41Captnoordgot my laptop whoooo
15:42.44Captnoordcheers
15:42.50phhCaptnoord: 3D, NOW
15:42.55Captnoordnope
15:42.59phhpff :p
15:43.08Captnoordyou sarcastic piece of coder
15:43.20phhstop repeating yourself old man.
15:43.37Captnoordhehe.... same applies to you... old man
15:43.49phh:p
15:43.54phhCaptnoord: what are you doing with it then ?
15:44.02Captnoordinstalling
15:44.11Captnoordprepairing
15:44.14phhah. right.
15:44.21Captnoordso I can do my normal goto school routine again
15:44.26Captnoordand finish what I started
15:44.46CaptnoordI will do 3d
15:44.54Captnoordbut first I need to prep
15:45.41Woutabduction has never been so much fun :P
15:45.51phhWout: I prefer it on my diamond
15:45.55phhthe rhod is too big :/
15:46.50adamwphh: ooh, you got the gsensor working? neat. anything else?
15:47.01*** join/#htc-linux enjalot (~enjalot@wg-d232033.dsl.fsu.edu)
15:47.06phhadamw: still fighting with 3D.
15:47.28phhI'll give wifi a try
15:47.30adamwwho's winning?
15:47.44Captnoord3d
15:47.50phh:'(
15:48.27Woutphh: you've talked to mrpippy(?) yet? he was making progress on wifi last night
15:48.33phhWout: no
15:48.49phhI'm still waiting for him to come back :p
15:48.52Wouthe got it to init and was able to scan and detect networks
15:49.00Woutno connection though
15:49.01phhanyway, the hard part has still be done
15:49.02phh(ie the android part.)
15:49.58adamwwhy's the android part hard?
15:50.17phhno proper wifi api
15:50.24Wout:/
15:50.27adamwseriously? jeez, what a bunch of jackasses
15:51.35adamwthere's a reason the kernel devs go to the trouble of providing a standard interface across all network interface drivers. le sigh.
15:52.04makkonenso tiwlan is good just because there happens to be an android-specific... driver? is that the level at which the changes have been made?
15:52.13adamwi was assuming as soon as we got the interface actually working via iwconfig etc it'd start working in android automatically.
15:53.07makkonenbut doesn't the N1 use a very similar chip? shouldn't there be a good deal of crossover there for android functionality?
15:53.10Captnoordnothing is easy
15:53.12Captnoordit never is
15:53.26phhmakkonen: yes, but not binary time compatibility AFAIK
15:53.32phhshould be doable still
16:12.38*** join/#htc-linux mcdull (~mcdull@203.210.9.151)
16:13.18Woutphh: Realized I hadn't 'thanked' you yet for all the good work
16:13.23Wouta little something is on its way
16:13.39phhthanks :D
16:14.12Woutnp, it's cheaper than buying an android phone ;)
16:15.41phhwith rhod it's more like "it's the only way to get a high end android phone"
16:16.03Woutand that too, dont understand why they havent released a proper qwerty phone yet
16:16.33makkonendroid/milestone
16:16.55Wouttp2's keyboard is so much better though
16:16.56AstainHellbringmakkonen I think with the proper comment he wants a decent keyboard too
16:17.17makkonenah. I haven't actually spent any time with one. is it that bad?
16:17.37makkonenoh. no separate line for #s
16:17.40AstainHellbringdunno but thats the word I've heard
16:18.27makkonentp2's keyboard does seem pretty nice. I saw the pictures and thought 'eh, doesn't really look any better than the raphael's'... then I saw it in person.
16:18.42Neo31Hello, what is the internal memory available on htc touch pro? can we store files on the 512 rom memory?
16:18.52phhNeo31: yes but no.
16:18.59phhbut yes.
16:19.02Neo31^^
16:19.07Neo31explain phh
16:19.17Woutmakkonen: they keys themselves are much better, but it's the layout that makes is so good
16:19.19phhwe can write to the nand
16:19.29phhbut when windows mobile detects such writes
16:19.39phhit erases the nand, ie do a hard reset
16:19.45phhso you lose everything
16:19.55Neo31well the information i need, is if i dont have a memory card, how many pictures i can take with it phh ?
16:19.57phhbut, there is a ROM somewhere, that disables this feature.
16:20.09phhwait, you're not speaking about linux ?
16:20.16mickey|officetp2's keyboard seems worse to me than tp1; it's missing the tab key
16:20.23Neo31TP WM6
16:20.43phhNeo31: .... here it's #htc-*linux* -_-'
16:20.48Woutmickey_away: you get used tot that, but granted...that was a bad choice by htc
16:20.59phhNeo31: well, it depends on the ROM you use
16:21.00makkonenneo31: why are you asking that here? anyway, it's got about 250mb free, so... 100 pictures?
16:21.24phhmickey|office: ATT added a "ok" key, which can be used as a tab key :p
16:21.26makkonenor maybe it's more like 150mb free.
16:21.26Neo31thanks makkonen , phh that's the answer i was looking for :)
16:21.26mcdullneo31. do a simple maths pls
16:21.44phhmakkonen: depends on the rom you use :p
16:21.52phhI guess some can make ~ 350MB free
16:21.54Neo31i needed to know the internal memory available on that device
16:22.07mcdullit really depens on rom use. true
16:22.07Neo31that's great
16:22.28phhbut a uSD is really cheap -_-'
16:22.52Neo31350 is great but even a 256Mb is fine
16:23.00mickey|officeheh, fair enough
16:23.03phhdamn, why does radiant uses OpenGL :'(
16:23.54mcdulleven the 2d ball games uses opengl.
16:24.17phhmcdull: radiant is an asteroid clone -_-'
16:24.28Neo31well that means i can take about 50 pics with no memory card (just 50 to leave space for some software and other stuff)
16:24.29Neo31:)
16:24.39phhyou know, the thing that runs on 80s consoles.
16:25.16*** join/#htc-linux Forsaken|Desk (~Forsaken@dslb-084-059-000-131.pools.arcor-ip.net)
16:26.36mcdullwhat i means is, everything that doesnt really need 3g goes for opengl.
16:26.48phh3d*
16:27.05mcdull3d shold be. damn soft keyboard.
16:27.06*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
16:27.19mcdullomg. typo again.
16:27.48phh:p
16:29.18mcdulli have tested different pmem settings. still no luck on 3d.
16:30.08mcdulli even put 40mb gpu0 and 3mb fb.
16:30.20Captnoordmcdull: its majorly related to both pmem, imem, grp clock settings, axi* stuff....
16:30.30Captnoordpmem imem and grp clocks we can control
16:30.36Captnoordbut the rest
16:30.37Captnoordis unknown
16:30.41Captnoordand propbebly the reason
16:31.12phhCaptnoord: if we let wince init the clocks
16:31.15phhbaaaah
16:31.21mcdullmuch beyond my knowledge
16:31.52phhmcdull: much beyond the knowledge of everyone here :/
16:31.59phhit has to be reversed
16:32.01*** join/#htc-linux Forsaken|Desk1 (~Forsaken@dslb-084-058-226-169.pools.arcor-ip.net)
16:33.08*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
16:33.15phhCaptnoord: if we let wince init the clocks
16:33.18phhand we use the same pmem
16:33.22phhit should work
16:33.25phhunless clever driver.
16:33.34Captnoordyup
16:33.58phhI tried to dump mmu and guess where is their 3D stuff, but no luck :/
16:34.09Captnoordhmmm....
16:34.20CaptnoordI think its still in the 2d ati driver
16:34.21phhI mean there is no logical scheme
16:34.27phh2D ATI ?
16:34.30Captnoordthat is where I didn't really look
16:34.34Captnoordat there is to much stuff there
16:35.28Captnoordahi2dati.dll
16:35.40Captnoordahi 2d ati
16:37.15phhhum
16:37.23phhI can't see any link between ati and 2D
16:37.38CaptnoordI don't know
16:37.41CaptnoordI gues
16:37.49Captnoordunless I say that I actualy know it as a fact
16:37.57Captnoordlike how the battery shit works
16:38.00Captnoordor should work
16:38.11Captnoordamss describes the method how todo batt stuff
16:38.15Captnoordlike I sayd
16:38.24Captnoordso best thing is to use rpc for battery
16:38.25phhthere is batt stuff in amss ?!?
16:38.32phhyes... but no.
16:38.34Captnoordin the dumps I made yesterday
16:38.36phhit's not declared by amss
16:38.44Captnoordk
16:38.47phh*unless* that's what the TASK_REGISTER dex does
16:39.11Captnoordlets put it this way.... I don't know what I dumped yesterday ( amss + something extra ) but it wasn't nk.exe
16:39.24Captnoordand it contained loads and loads of references on functions
16:39.27Captnoordlog messages
16:39.29Captnoorddebug stuff
16:39.31phhthe addresses I gave you has no wince stuff in it
16:39.37Captnoordk
16:48.49Captnoordwhat does it contain then?
16:49.14phhjust amss
16:49.35Captnoordk
16:49.44Captnoordthen it contains loads of stuff I didn't find in the dlls
16:51.07Paul_Isheninphh, http://pastebin.com/d6fc3529b
16:51.37phhI/mm-camera( 1290): Open Device node : /dev/msm_camera/frame0
16:51.37phhW/WindowManager( 1307): App freeze timeout expired.
16:51.39phhsame as me then
16:52.17Paul_IsheninI have this long logcat for the first time
16:52.39Woutapps on winmo are soooooo slow
16:52.45phhWout: lol
16:52.51Markinusphh: hi, is your error on 3d that the screen is still black and no errors in logcat? But can allocate memory etc. ?
16:52.52phhWout: and so ugly :p
16:53.00phhMarkinus: yes
16:53.16Woutphh: TouchTwit looks and feels pretty good for winmo, but starting Twidroid is about 5x faster
16:53.44phhMarkinus: the same thing happens on raph/diam when pmem addresses are wrong
16:53.50phhso we "just" have to figure out the correct addresses.
16:53.59phh(or disable AXI VG ?)
16:55.05Captnoordwhich we haven't found yet
16:55.46Markinusphh: hmmmm
16:59.17Paul_Isheninphh, this is what in my dmesg http://pastebin.com/d6de718b7
17:00.13phhPaul_Ishenin: same as me
17:00.16phhI think
17:00.28*** join/#htc-linux mcdull_ (~blackston@061093132071.ctinets.com)
17:01.18*** join/#htc-linux [1]Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
17:01.19mcdullphh, any idea why 8MB gpu0 doesn't work on dima100?
17:01.59phhmcdull: some memory protection I guess
17:03.51phhhum, I might compare diamond's mmu dump and rhod's eone
17:04.11Neo31what does it mean "dump an htc tp rom"???
17:05.01Captnoordtp would be touch pro
17:05.19Neo31i am interrested inthe word DUMP
17:05.57phhit's... dump... dumping... dumped...
17:06.03Neo31lool
17:06.05Captnoordnot dumb
17:06.27mcdullyou mean the mmu value now using is a diamond one?
17:06.28Woutextracting the software from the TP and saving it to a computer
17:06.32Neo31ok, phh do you have something useful about it?
17:06.35phhmcdull: no.
17:06.48phhmcdull: but I know the GPU area of the diamond
17:06.57phhI can see in the MMU dump what's the link
17:07.20mcdullGPU area refers to memory address?
17:07.28phhif you want
17:07.32Neo31well here is what I need to know, how can i make a full backup of my htc tp so in case of any problem i can restore everything as it was?
17:08.13WoutSPB backup
17:08.39mcdullNeo, you don't really need to back up your rom.  Android wont destroy your rom.
17:09.08mcdullNeo31, if you refers to the data, yes spb or spite backup will do.
17:09.09Neo31it seams to be a great software Wout, thanks :)
17:09.13*** join/#htc-linux [1]Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
17:09.39Neo31ok thanks mcdull
17:09.54Neo31i need it not only to use android
17:10.02Neo31but you know windows really suck
17:10.36Neo31and i expect WM not to be far of desktop windows
17:10.59Neo31so a backup would be a great thing to do when i get the phone
17:11.01mcdullNeo31, but you should really ask those in xda, you will get lots of info there,
17:11.28mcdullNeo31, if you have no phone yet, why you need a backup?
17:11.37Neo31I am Googling for now to know about mobiles phones, WM and android
17:12.08Neo31and i'll ask on xda in case i need more details informations before i do something on my tp
17:12.57Neo31i asked a friend to buy it for me, and i will get it when i see him in 2 or 3 weeks
17:13.57Neo31will be back
17:14.18Neo31thanks mcdull, Wout|AFK Captnoord phh
17:17.30*** join/#htc-linux emwe (~michael@86.56.50.180)
17:26.17*** join/#htc-linux kvaster (~kvaster@live.bn.by)
17:42.26*** join/#htc-linux reefermattness (~mattgnm@c-76-18-79-170.hsd1.nm.comcast.net)
17:42.48phhreefermattness: I'm just thinking... you already put a screen protection on my phone, haven't you ?
17:43.00reefermattnessIndeed.
17:43.14reefermattnessScreen should look brand new underneath that, was on there from the moment I got it.
17:43.25phhit's already brand new with it :p
17:43.38reefermattnesslol yeah
17:50.37*** join/#htc-linux MrPippy (~pip@75.42.179.196)
17:51.04Neo31spb backup just let us backup the data, programs, registry... but not the system itself, in case the system gets infected and slower, what can i do to make a copy of all the rom and resotre it later?
17:51.59reefermattnessHard Reset Neo, thats what we do.   ;)
17:52.22reefermattnessNo backup, just get very good at knowing your settings menu
17:52.26reefermattness:p
17:52.30phh:p
17:52.50Neo31so hard reset is an option is WM reefermattness ?
17:53.25xJDxHow are you guys measuring OpenGLs FPS?
17:53.32phhxJDx: neocore
17:53.35xJDxta
17:53.38Neo31I mean in case the phone doesn't start due to a problem in the rom, does that work? the hard reset?
17:54.04phhNeo31: na, you must use bootloader mode to flash it back
17:54.05reefermattnessThats what your Hard SPL is for, PM me and ill explain, this really isnt the right chat for this.  :)
17:54.17phhreefermattness: do you know a right chat for that ?
17:54.26phhI'd be interested too, I'm still a noob in wince :p
17:54.40reefermattnessLOL you can PM me too noob.  :p
17:59.20*** join/#htc-linux DarkMasterHalo (~ssoulard@modemcable187.118-80-70.mc.videotron.ca)
17:59.23Neo31ok phh :)
18:00.02phhSTUPID PM
18:00.15adamwphh: http://forum.xda-developers.com/showthread.php?t=550540 , http://wiki.xda-developers.com/index.php?pagename=HTC_Rhodium%2FResets
18:00.30phhadamw: I know how to flash a rom
18:00.42phhbut that's quite all I know with wince :p
18:00.42*** join/#htc-linux Zoolooc (~fredsibar@p54955975.dip.t-dialin.net)
18:00.59adamwphh: there's more info in the post if you read it all, and the second is about doing hard resets and stuff.
18:02.21phhyipi
18:02.24phhgsensor is killing sleep.
18:02.53phh(I mean, it's even worst than before :p)
18:03.23adamwis that possible? :P
18:04.11*** join/#htc-linux m3dlg (~m3dlg@212.183.140.51)
18:04.21phhyup :p
18:05.10Paul_IsheninToAsTchfh, according to the log you alreay had the next problem "adsp: module VFETASK not enabled before write"
18:05.16Paul_Ishenindid you fixed that?
18:05.42*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
18:08.24emwephh: hi. as you dare to mention the g-sensor ... it's working now on topa100 + eclair2.0.1 (rootfs and system.sqsh from 2010-02-22). just to let you know. thx!
18:08.50phhemwe: you mean the one I updated on htcandroid.xland.cz ?
18:09.12emwephh: yap. don't tell now that it shouldn't be used ;) just saw it.
18:09.28phhI already knew it works :p
18:10.04emwesorry for the noise :P
18:10.24emwegot a new phone?
18:11.45phhno
18:11.52phhwell
18:11.55phhdepend on how new you mean :p
18:12.02phhI got a rhod three days ago :p
18:12.22phhwell 4
18:12.33phhadamw: [  242.900146] SMEM_SMSM_INT_INFO 0 0 2
18:12.36phhwhat do you think about it ?
18:12.50emwecongrats to the "new" 4 day old phone ;)
18:12.56*** join/#htc-linux kiozen (~oeichler@rgnb-5d878d2d.pool.mediaWays.net)
18:12.59adamwphh: i think you are overestimating me :)
18:13.51phhadamw: I think nothing about it either :'(
18:15.45*** part/#htc-linux DarkMasterHalo (~ssoulard@modemcable187.118-80-70.mc.videotron.ca)
18:20.45*** join/#htc-linux zachy (~george@85.193.4.18)
18:21.24Paul_Isheninwhy do we have 2 msm_camera drivers? one of them compilable and the second one not
18:22.03*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
18:22.07Captnoordame
18:22.08Captnoordlolz
18:22.15Captnoordre
18:26.46*** join/#htc-linux TimY (~timy@rue92-7-88-164-189-67.fbx.proxad.net)
18:33.46mcdullphh, blac100 wont boot with the new most kernel. And I have skipped all the bma150 commits. dunno which change broke it.
18:34.52mcdullwill try boot once again. or will do a git bisect tomorrow.
18:36.22phhmcdull: I guess it's the pmem commit.
18:36.26phhPaul_away: two ?
18:36.32phhPaul_away: which ones ?
18:36.43mcdullphh, you mean the one fixed diam100 ?
18:36.48phhmcdull: yes
18:37.05mcdullphh, well, we tried 7MB before, right? and I'd tried it myself.
18:37.21phhmcdull: I mean it can make the phone crash
18:37.48*** join/#htc-linux JairunCaloth (~m00@c-24-98-17-158.hsd1.ga.comcast.net)
18:38.26mcdullaccording to the user feedback, the version before pmem commit doesnt boot as well.
18:38.33mcdullbut I will test it myself.
18:38.40phhreally ?!?
18:39.03phhand bma150 can't cause any problem
18:39.56mcdullphh, umm.. is it possible to add the commit description next to the download package as well? it is quite difficult to match them up.
18:40.17phhmcdull: like moving your cursor on the "build log" logo ? :p
18:40.25mcdullphh, could be some false alarm. I am testing the version before.
18:40.52mcdullphh, opps.. sorry, didnt notice that, used to search by date.
18:42.43mcdullWhat does the " Merge branch .... " actually do?
18:43.36Captnoordmcdull: its simple...
18:43.37Captnoordon git
18:43.40Captnoordeverything is a branch
18:43.52Captnoordit makes it easier to find stuff if you have fixed something or so
18:43.54Captnoordnah...
18:44.01Captnoordwhen you have a branch on your local machine
18:44.04Captnoordand you commit it
18:44.13Captnoordyou can merge that branch with the main one
18:44.16Captnoordthat is what you see
18:44.53mcdullCaptnoord, so there are lots of changes expected if I see a merge branch commit?
18:45.01phhno
18:45.07phhit just means someone commited, and only then updated his tree
18:45.30mcdullSo like this "Merge branch 'htc-msm-2.6.27' of gitorious.org:linux-on-qualcomm-s-msm/linux-msm into htc-msm-2.6.2"
18:45.48phhsleep stupid phone
18:45.49phhsleep.
18:45.52mcdulldoes it affect the source tree of gitorious.org:linux-on-qualcomm-s-msm/linux-msm that we are using?
18:45.58phhI'm your mom, I tell you to sleep.
18:46.14Captnoordcheck nk.exe for fake sleep phh
18:46.17mcdullphh, ok, false alarm on the user feedback. blac100 boots.
18:46.19Captnoordgot some nice info
18:46.22phhCaptnoord: hhuuuuuu ?
18:46.28phhmcdull: ok
18:46.45Captnoordfake sleep function
18:47.13phhwhat's that ?
18:47.15phhmmm maybe idle
18:47.32Captnoordyup
18:47.41Captnoordpossible
18:49.38mcdullgood night, I will try to figure out a pmem setting that will at least boot blac100 with 7MB gpu0 tomorrow.
18:54.42*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
18:56.42Captnoordgoes hmmm.....
18:57.44Captnoordif only I could find where the structure is inited
18:57.57phhwhich structure ?
18:58.34Captnoordthere are some functions in the dll talking about pmem
18:58.35Captnoordbut
18:58.43Captnoordthere are also some export functions
18:58.45Captnoordtalking about exi2
18:59.04*** join/#htc-linux Wr4i7h (~abc@89.180.41.114)
19:00.29Captnoordalso a function called
19:00.29Captnoordgles_IMEM_alloc
19:00.43phhalloc ?
19:00.43phhweird
19:00.47*** join/#htc-linux mickey_away (~mickey@openmoko/coreteam/mickey)
19:00.47Captnoordwhich does a pmem_alloc
19:00.51*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
19:00.58Captnoordchecks if the mem is already there
19:01.01Captnoordand allocates if not..
19:01.54CaptnoordMOV     R0, R5
19:01.54CaptnoordBL      pmem_malloc
19:01.54CaptnoordCMP     R0, #0
19:01.54CaptnoordSTRNE   R5, [R4,#0x70]
19:01.54CaptnoordSTRNE   R0, [R4,#0x74]
19:02.20Captnoordand r5 is what I want to know where it gets allocated
19:02.39Captnoords/allocated/inited
19:21.09*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
19:22.21*** join/#htc-linux Zoolooc_ (~fredsibar@p54954E84.dip.t-dialin.net)
19:28.30*** join/#htc-linux toi (~toi@d54C2A96D.access.telenet.be)
19:36.52phhawesome, wakeup on vsync.
19:37.05phhthat's why rhod can't sleep for that long
19:37.15phhor maybe not vsync should be disabled
19:37.35Captnoordor the wakeup flag should be removed
19:37.41phhthat works too
19:37.42Captnoordas it would limit irq's
19:37.51phhuh ?
19:37.57phhwe should limit irqs yes
19:38.03Captnoordk
19:38.05phhbut removing the wakeup flag won't limit it
19:38.15Captnoordk
19:38.21phhweird, noone sets the wake up flag ?!?
19:38.32phhmaybe wince's setting mmm
19:42.22*** join/#htc-linux GlemSom (~glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
19:46.44phhhum for toshiba I had to completly remove the irq ...
19:46.45phhbah why not.
19:48.59*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
19:52.43phhchamonix: I remember you took care of the 3G problem for some mobile ISP, what's the current status of this bug ?
19:54.13phhhum I haven't read the bugtracker for a while.
19:57.58*** join/#htc-linux obrienmd (~obrienmd@173.160.148.166)
20:03.02NetRipperphh, you use github or gitorious?
20:03.09phhgitorious
20:03.36NetRipperphh, is it possible to keep new projects "hidden" or "not published" for a while, whilst you work on it.. and then publish it at a later date? or is everything you do publically accessible righta way?
20:04.08phhI don't think you can do hidden projects on gitorious
20:04.12phhand on github, you have to pay for hit
20:04.13phhit*
20:04.24NetRipperyea
20:04.34NetRipperwas just wondering
20:04.44NetRippercant find easily how much github costs though
20:04.53phhreally ?
20:05.02phhlast time I seeked, I found it easily
20:05.10phhhttp://github.com/plans
20:05.17phhpricing link, on the front page.
20:05.25stinebdheh
20:05.42phhI think you'll need at least the medium account for a kernel fork :p
20:05.46phhhi stinebd
20:05.59stinebdhi phh
20:11.04*** join/#htc-linux cr2_ (~cr2@ip-109-85-91-198.web.vodafone.de)
20:12.30phhcr2_: new gps idea ?
20:13.22cr2_are you sure that the arm9 is reset ?
20:13.50cr2_can you do TRACES on the status ?
20:14.20phhthe arm9 reset is what the status gives
20:14.37phhthe bit SMSM_RESET is written (by who ?) in status[1]
20:14.37cr2_are you sure that the arm9 is reset ?in wince ?
20:14.42phhah
20:14.43phhno
20:14.53cr2_then we do something wrong
20:15.02phhI'm not sure, doesn't mean it doesn't reset
20:15.11cr2_what is this whole CB business ?
20:15.21phhCB business ?
20:15.29cr2_is it parsing the CB response packets ?
20:15.44phhthere is no response packets
20:15.45cr2_all magic callback names
20:16.18phhall rpc stuff about GPS we get are only acks
20:16.50*** join/#htc-linux m3dlg (~m3dlg@212.183.140.36)
20:17.39cr2_PDSM_PD_EVENT_END
20:17.41cr2_PDSM_PD_EVENT_UPDATE_FAILURE
20:17.42cr2_PDSM_PD_EVENT_COMM_BEGIN
20:17.52cr2_CB business == EVENT handling
20:18.26cr2_where are these events coming from ?
20:18.38cr2_from the 31* CB packets ?
20:19.03phhI guess so
20:19.42cr2_maybe be some smsm ?
20:19.51*** join/#htc-linux DaveWM (~dave@173-19-136-12.client.mchsi.com)
20:20.08cr2_haret has some uart code for writing to serial console.
20:20.29cr2_maybe it makes sense to write a command for reading from the serial port
20:21.03cr2_then we can trigger the gps start/stop events from haret
20:21.08phhright
20:21.39cr2_i think it can be ripped out from roadmap
20:24.08cr2_RoadMapSerial roadmap_serial_open(const char *name, const char *mode,
20:24.10cr2_<PROTECTED>
20:25.24Markinusphh: do you know where the call stuff is handled? The Topaz isn't waking up on call on pm=0 but I've no Idea in the Moment where I can find this problem . .
20:25.45Markinusphh: is thgis kernel stuff?
20:25.48phhMarkinus: can you check which IRQs are triggered on call ?
20:25.58Markinusphh: none
20:26.02phh?!,
20:26.09phhI mean from wince
20:26.14Markinusyes . .I wundered too . .but there is NOTHING happend
20:26.22MarkinusI know . .
20:26.47phhsee http://htc-linux.org/wiki/index.php?title=Raphael_IRQ
20:27.04phhmy idea, which might be wrong, is that we need to set wake on IRQS 1..4 too
20:27.15phhbut if you say there is no IRQ at all ...
20:27.39Markinusphh: hmm, I test it one time more .  .
20:27.45cr2_phh: cdma ?
20:28.09Markinuscr2_: on my gsm . .
20:28.11phhcr2_: no
20:28.17phhcr2_: but 6125
20:28.43cr2_1-4 are cdma irqs
20:28.46phhbah
20:28.47phhok.
20:29.23cr2_NetRipper: ping
20:30.15cr2_phh: back to adsp
20:31.04phhMarkinus: at least I get irq 0
20:31.07phhbut right, no 1-5
20:31.11phhcr2_: yup ?
20:31.23cr2_phh: let me compare your dump with my .dll
20:31.27Markinusphh: IRQ0 is comming the hole whole time . .
20:31.47phhMarkinus: it's because it's the AT (among other) irq :p
20:32.06Markinusphh: ahhh
20:32.26phhMarkinus: so you get all signal level updates on it
20:33.04Markinusphh: whitch updates?!?
20:33.11phhMarkinus: signal level.
20:33.23*** join/#htc-linux onen|openBmap (~quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
20:33.43cr2_phh: your dump looks strange. tell me again how you have done it
20:34.11Markinusphh: sry, I don't know what you mean. I'Ve the last kernel with last xandroid 2.01 . .
20:34.48phhMarkinus: I mean the AT channel, and so the IRQ 0 gets all signal level updates
20:35.06phhcr2_: lsmod, then pdump output base size
20:35.12phhs/pdump/vwf/
20:35.46cr2_phh: can you find the physical base addr ?
20:35.51cr2_and use pd ?
20:36.09phhok
20:36.11Markinusphh: ahhhhh, ok
20:36.11cr2_v2p() should work
20:37.14Markinusphh: the first IRQ on call what is comming is MDDI, but I think this is for the display update. . .
20:37.34phhyes it's for display update
20:37.38Markinusthen MDP and ADSP
20:37.41cr2_Markinus: in wince ?
20:37.46Markinuscr2_: yes
20:38.03cr2_ok.
20:38.09cr2_strange
20:38.21cr2_Markinus: maybe gpio ?
20:38.27phhod -x adspdll.2
20:38.27phh0000000 ffff ffff ffff ffff ffff ffff ffff ffff
20:38.27phh*
20:38.27phh0011000
20:38.29Markinuscr2_: I try to find the problems with wakup on call on pm=0
20:38.41phhHaRET(9)# pwf adspdll.2 p2v(0x8f917708) 011000
20:38.41phhHaRET(10)#
20:38.45phhah v2p not p2v -_-'
20:39.18phhcr2_: http://husson.hd.free.fr/adspdll.2
20:39.19*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
20:39.48cr2_phh: 403 Forbidden
20:39.52phhbah
20:40.05phhfixed
20:40.55cr2_phh: 1 page ?
20:41.09phhcr2_: the size that lsmod showed
20:41.38cr2_must be wrong
20:42.03phhwhich size do you need ?
20:42.22Markinuscr2_: GPIOS only I2C
20:42.29cr2_phh: let me check on raph
20:43.13cr2_Markinus: it seems you miss some irqs, or it is arm9 controlled
20:43.38phhcall answering, arm9 controlled ? that would hurt me a lot :p
20:43.46cr2_but then arm9 should provide some notification
20:44.13Markinuscr2_: I'm checking it the third time, I can't see anythink . .
20:44.19Markinushmmmmm
20:44.34Markinuscr2_: But on haret I see all IRQs or?
20:44.52cr2_Markinus: during sleep ?
20:45.04cr2_Markinus: on pxa it worked
20:45.11cr2_don't know about msm
20:45.46Markinuscr2_: the devices isn't sleeping, do you mean this is different if device sleeping or not? Activating the IRQs only if the device sleep?
20:46.07phhthat'd be weird
20:46.28cr2_it dpeends on the wakeup irq setup
20:46.42cr2_i didn't dig too deep here
20:46.58cr2_a good chunk of nk.exe is dealing with it
20:47.06phhMarkinus: you can see irq.c code to know what to mmutrace
20:49.25cr2_phh: the whole irq setup is a bit of a problem now
20:49.43phhcr2_: uh ?
20:50.21cr2_DGB timer irq, i2c irq, and other things
20:50.28*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
20:50.28cr2_ADSP too
20:50.38Captnoordcheers
20:50.38Captnoordhttp://tweakers.net/nieuws/65737/knoppen-hd2-kunnen-door-tweak-dienen-als-notificatielampje.html
20:50.50CaptnoordNetRipper: for president
20:50.51Captnoord:P
20:50.53phhCaptnoord: dutch sucks.
20:50.57Captnoordmayor
20:50.59phhwhat does that mean ? :p
20:51.11Captnoordnah tweakers.net is one of the leading tech sites in holland...
20:51.22Captnoordits about the button app of NetRipper
20:51.29phhah.
20:51.39cr2_button app ?
20:51.42phhI've never been in the "press" yet :/
20:51.44phhonly side effects
20:51.59stinebdbe glad. all it does is lead to spam at your email ;)
20:52.14phhstinebd: more or less... :p
20:55.14cr2_0x78030000 | 011000 | 0x8f58517c |     5 | adsprtossvccore.dll
20:55.58cr2_phh: 0x011000 is 68K
20:56.08phhah it's 0x011000 ?
20:56.14phhok that's the problem then.
20:56.19cr2_submit the patch
20:56.36cr2_i took the output from itsutils and it was long
20:56.51Markinusphh: maybe I register all missing IRQs, go sleep, and look into /proc/interrupts what happends . .
20:56.53cr2_but somebody has modified the output
20:57.11phhMarkinus: maybe
20:58.01cr2_8f5851cc | 78030000 00000000 00000000 78032074
20:58.21phhcr2_: http://husson.hd.free.fr/adspdll.3
20:59.08cr2_HaRET(5)# print "0x%x" v2p(0x78032074)
20:59.10cr2_0x27246074
20:59.23cr2_hm. a big high ?
20:59.50phhit's still in memory
21:00.08cr2_HaRET(6)# dump mmu 2 0x27246074 0x100
21:00.19cr2_<PROTECTED>
21:00.21cr2_8f100000  | 27200000 |   1MB section | CB AP=1 T=7
21:00.22cr2_af100000  | 27200000 |   1MB section |    AP=1 T=7
21:00.25phh<PROTECTED>
21:00.25phh8f200000  | 27200000 |   1MB section | CB AP=1 T=7
21:00.25phhaf200000  | 27200000 |   1MB section |    AP=1 T=7
21:00.39cr2_ah, i forgot that raph has a hole
21:00.51cr2_thoght about 512MB
21:01.24cr2_HaRET(7)# pd 0x27246074 0x200
21:01.26cr2_27246074 | e52de004 e3510001 0b0005d1 e3a00001 | ..-...Q.........
21:01.28cr2_27246084 | e49de004 e12fff1e e92d4030 e24ddf85 | ....../.0@-...M.
21:01.29cr2_27246094 | e1a03002 e1a02001 e59f108c e5911000 | .0... ..........
21:01.41cr2_with e4* and e5* looks like a reasonable .text segment
21:02.36cr2_yeah. here :
21:02.40cr2_27248984 | 775c3a63 3231366d 3939315f 705c3536 | c:\wm612_19965\p
21:02.42cr2_27248994 | 6674616c 5c6d726f 68706172 5c6c6561 | latform\raphael\
21:02.43cr2_272489a4 | 5c707363 73736d61 7265735c 65636976 | csp\amss\service
21:02.45cr2_272489b4 | 69645c73 6d5c6761 682e6773 00000000 | s\diag\msg.h....
21:02.46cr2_272489c4 | 00000000 00000000 00000001 0000002a | ............*...
21:02.48cr2_272489d4 | 0000002a 00000005 0000002a 0000002a | *.......*...*...
21:02.49cr2_272489e4 | 0000002a 0000002a 00000004 00000002 | *...*...........
21:03.08cr2_the numbers below the text are module numbers
21:03.59cr2_do oyu see it ?
21:04.27cr2_and here they end
21:04.31cr2_27248c14 | 00000670 0000066c 00000000 00000000 | p...l...........
21:04.32cr2_27248c24 | 00004033 00444101 09401050 00004005 | 3@...AD.P.@..@..
21:04.34cr2_27248c34 | 00534c01 09401050 00002078 00534c01 | .LS.P.@.x ...LS.
21:04.42cr2_0x670, 0x66c
21:04.49phhI'm lost.
21:05.16cr2_so you want to trace the 0x272489c4-27248c1c area
21:05.22cr2_physical
21:05.44phhin your case or in mine ?
21:06.08cr2_in mine
21:06.14phhok I have to redo the math
21:06.27cr2_it is 600 bytes starting at 0x272489c4
21:06.36cr2_need to dump mmu first
21:07.10cr2_aRET(1)# dump mmu 2 0x272489c4 600
21:07.22cr2_<PROTECTED>
21:07.24cr2_8f100000  | 27200000 |   1MB section | CB AP=1 T=7
21:07.25cr2_af100000  | 27200000 |   1MB section |    AP=1 T=7
21:07.50cr2_add mmutrace, and play sound :)
21:08.19phhok
21:09.27cr2_phh: you have dumped some strange data
21:09.51*** join/#htc-linux jamenlang (~jamenlang@209-193-77-154.mammothnetworks.com)
21:10.01cr2_can you pastebin the vd 0xhandle 0x100 ?
21:10.56phhhttp://pastebin.com/m324f9b7f
21:11.35cr2_ok, what is the physical address for 0x022b55a8 ?
21:11.55phh0xbd2b55a8
21:12.05cr2_bd ??
21:12.27cr2_looks like some virtual address to me
21:12.40phhbaah
21:12.43phhmy bad
21:12.47phh0x273215a8
21:12.55cr2_this looks much better
21:13.12*** join/#htc-linux Reefermattness (~mjg@2002:4c12:4faa:1234:222:3fff:fef1:efa1)
21:13.13cr2_now pd from this addr + 68K
21:15.03phhpd 0x273325A8 0x20
21:15.03phh273325a8 | 00000000 00000000 00000000 00000000 | ................
21:15.03phh273325b8 | 00000000 00000000 00000000 00000000 | ................
21:15.10phhno text nearby
21:15.57cr2_strange. works as expected on raph
21:16.17cr2_can you run playsound before dumping ?
21:16.43phhstill 0s
21:17.14cr2_0x273215a8 is not 0x273325A8 ?
21:18.02cr2_pd 0x273215a8 0x100
21:18.14phhuh ?
21:18.17phhsome problems with my calc.
21:18.23cr2_[22:12] <phh> 0x273215a8
21:18.32phh273215a8 | e52de004 e3510001 0b00060d e3a00001 | ..-...Q.........
21:18.32phh273215b8 | e49de004 e12fff1e e92d4030 e24ddf85 | ....../.0@-...M.
21:18.32phh273215c8 | e1a03002 e1a02001 e59f1090 e5911000 | .0... ..........
21:18.32phh273215d8 | e58d1210 e6000010 e59f107c e28d0010 | ........|.......
21:18.33phh273215e8 | eb0005cf e59f006c e3a05000 e3a03000 | ....l....P...0..
21:18.42cr2_yes, it's ok
21:19.00cr2_scroll down for 1-byte in 4byte table
21:19.18phhuh ?
21:19.34cr2_dump 16K
21:19.46cr2_pd 0x273215a8 0x4000
21:20.18cr2_then you will see something like that
21:20.19cr2_[22:02] <cr2_> 27248984 | 775c3a63 3231366d 3939315f 705c3536 | c:\wm612_19965\p
21:20.21cr2_[22:02] <cr2_> 27248994 | 6674616c 5c6d726f 68706172 5c6c6561 | latform\raphael\
21:20.22cr2_[22:02] <cr2_> 272489a4 | 5c707363 73736d61 7265735c 65636976 | csp\amss\service
21:20.24cr2_[22:02] <cr2_> 272489b4 | 69645c73 6d5c6761 682e6773 00000000 | s\diag\msg.h....
21:20.25cr2_[22:02] <cr2_> 272489c4 | 00000000 00000000 00000001 0000002a | ............*...
21:20.27cr2_[22:02] <cr2_> 272489d4 | 0000002a 00000005 0000002a 0000002a | *.......*...*...
21:20.30cr2_note the 2 lower lines
21:20.51cr2_you will have 0x33 instead of 2a fair
21:21.29cr2_yes. QDSP_MODULE_MAX=0x33
21:21.52Spirits-Sightanyone can help with Android install to NAND?
21:22.28phhgot it. I think.
21:22.40phhcr2_: http://husson.hd.free.fr/d2
21:22.47phh@0x27322d48 I guess.
21:23.19phhso mmutace this area ?
21:23.39cr2_phh: these are interesting too
21:23.43cr2_27322a98 | 00000000 00000000 ffffffff 0000057a | ............z...
21:23.45cr2_27322aa8 | ffffffff ffffffff ffffffff ffffffff | ................
21:23.46cr2_27322ab8 | 00000582 00000586 0000058a 0000058e | ................
21:23.48cr2_27322ac8 | 00000592 00000596 ffffffff ffffffff | ................
21:24.15cr2_0xffffffff is QDSP_RTOS_NO_QUEUE
21:24.15Spirits-Sightfirst questin, I am trying to update the nbh for the installer/kernel/etc first for Android on Kaiser. which buttons do I push to do a rom update from SD card?
21:24.34cr2_phh: the rest are table entries. compare with adsp_6120.c
21:25.00cr2_phh: needs to be renamed adsp_6125.c ? like adsp_5200.c is adsp_5225.c ?
21:25.05phhyes
21:26.10jamenlangspirits-sight: you should google.
21:26.14jamenlangEnter Bootloader mode: Hold Camera + Power buttons together and reset with stylus
21:26.33cr2_[22:22] <phh> @0x27322d48 I guess.
21:26.41cr2_phh: i'd say d3c
21:26.55cr2_phh: so you get the idea now :)
21:27.04phhkind of.
21:27.09Spirits-Sightjamenlang:  I did google and I tryed that however nothing changed on the screen after doing so beside the tri-color screen
21:27.12cr2_phh: and you can see how i have filled these tables
21:27.15phhyes
21:28.19cr2_phh: recheck the tables, maybe i've done something wrong
21:28.35phhI'm sure I'll do more mistakes when trying to check.
21:28.39cr2_the module->name of ifdef is pure guess
21:28.48*** join/#htc-linux bzo (~chatzilla@netblock-68-183-234-14.dslextreme.com)
21:29.05cr2_but the tables should be as they are in your dll
21:29.25cr2_phh: btw, you may try to mmutrace this area, and playsound
21:29.42phhI checked AUDPPTASK with wince dmesg :/
21:29.59cr2_=4
21:30.03cr2_this is easy
21:30.06phh?!?
21:30.13cr2_but the cam related stuff is tough
21:30.15phhit's 3, and you setted it to 3
21:30.20phhwell for 6125
21:30.44jamenlangdid you rename the nbh to KAISIMG.nbh
21:30.52cr2_eh ?
21:31.01cr2_do you see 3 in your table ?
21:31.17Spirits-Sightjamenlang: Yes, I just reformated/part the card to try again
21:31.20Markinuscr2_: yes, QDSP_MODULE_AUDPPTASK=0x3
21:31.39cr2_Markinus: i mean in the dump
21:31.46phh27322d58 | 0000000b 00000033 00000033 00000003 | ....3...3.......
21:31.48phhI see a 3 there
21:31.53cr2_ah, ok
21:31.59jamenlangi'm out of ideas then, i've never flashed from sd.
21:32.07phhnot sure if it's this one or not :p
21:32.15cr2_would be strange if your dump differed from my dump, and wince dmesg ;)
21:32.38cr2_it was 4 on raph afair.
21:32.49phhyes
21:32.49cr2_sorry for the confusion
21:33.11phhI still don't understand this table :/
21:33.21cr2_Markinus: you see the same numbers ?
21:33.53phhthe table is 0x01, 0x09, 0x33, 0x33, 0x03, ... ?
21:34.02cr2_yes
21:34.05Markinuscr2_: I need some more time for this . . but I'M on it . .
21:34.08cr2_the array length is 32 ?
21:34.31cr2_the module array
21:34.44phhdon't know.
21:36.10cr2_phh: anyway, the mmutrace will be the most interesting
21:36.27phh<PROTECTED>
21:36.27phh8f300000  | 27300000 |   1MB section | CB AP=1 T=7
21:36.27phhaf300000  | 27300000 |   1MB section |    AP=1 T=7
21:36.29phhwhich one ?
21:36.32cr2_to see module=3 and the respective queue
21:36.38Spirits-Sightjamenlang: for the kaiser 100 what panel type should I use?  I ask this as when I boot the phone it has some of the first splash showing right at the bottom
21:37.13cr2_phh: dump mmu 2 0x27322a88 0x1000
21:37.35phh<PROTECTED>
21:37.35phh<PROTECTED>
21:37.35phh8f300000  | 27300000 |   1MB section | CB AP=1 T=7
21:37.35phhaf300000  | 27300000 |   1MB section |    AP=1 T=7
21:37.38Spirits-Sightjamenlang:  when I was using haret I had it set at the default 0 and it was good but now that its a rom I don't know what the standard/default would be?
21:37.50cr2_-0x27322a88+0x27322ffc
21:38.18phh<PROTECTED>
21:38.18phh<PROTECTED>
21:38.18phh8f300000  | 27300000 |   1MB section | CB AP=1 T=7
21:38.18phhaf300000  | 27300000 |   1MB section |    AP=1 T=7
21:38.29cr2_1396 bytes
21:38.42cr2_phh: ok, you need to mmutrace these
21:38.51phhall four ?
21:38.58phhone memory page ?
21:39.17jamenlangbecause the kaiser is booting from nand, i can only assume that whoever made that nbh is in control of the settings now.
21:39.35cr2_phh: the page with these settings
21:40.02cr2_phh: you would like to set the mask exactly to that region
21:40.20cr2_otherwise you may be really spammed
21:41.38cr2_in the ideal world you should see ldr for 3, and for some other number
21:42.04phhok my brain is totally out... which mmutrace address should I use ?
21:42.28cr2_try each of them one by one
21:43.25cr2_phh: addlist mmutrace virt+0xa88 1400
21:43.41cr2_phh: addlist mmutrace virt+0xa8c 1400
21:43.50cr2_sorry. c is better
21:44.12phhWarning! Tracing non-section mapping (02200000) not well supported
21:44.16phhone day I'll understand what this means
21:44.17cr2_i'll try 4k pages first
21:44.33cr2_yeah, dzo wanted to fix it.
21:44.40phh000049: Can't emulate insn access at 0223dec4
21:45.06cr2_try with 76
21:45.23phh76 what ? size ?
21:45.33Spirits-Sightjamenlang: or anyone that knows more:   see I copyed KAISIMG.NBH to the mSD and then did reset with power+cam and it shows on the screen the tri-colors on top it says sercurity unlock, then under that KAIS1*0, SPL-3.56.Hard, CPLD-8 and the bottom it shows serial. Is this what it should say?
21:45.45cr2_addlist mmutrace 0x7644fa8c 1400
21:46.09phhah this 76.
21:46.40phhcr2_: frozen \o/
21:47.01cr2_phh: i wish we could use axi traffic sniffer, like leo nk.exe
21:47.10phhoh you can.
21:47.13phhbut I think we have no doc about it
21:47.14cr2_phh: yeah. Warning! Tracing non-section mapping (02200000) not well supported
21:47.25phhcr2_: I cleared it
21:47.40phhthe only mmutrace is the last one you gave me 0x76.....
21:47.42cr2_phh: we can see what leo does
21:47.55cr2_and it froze the device ?
21:48.00phhyes
21:48.04cr2_ok
21:48.14cr2_bt was not traceable on raph too
21:48.27phhbt is a hardware register
21:48.34phhthis memory location is plain memory
21:49.17cr2_well, try to compare the raw numbers then.
21:49.23cr2_from the dump
21:49.32phhare they supposed to be in the same order ?
21:50.00cr2_compare them with my numbers in the adsp_ driver
21:50.21cr2_i think they are from image 5 to 0
21:50.44cr2_inside the image the order is from top to bottom
21:50.58cr2_but maybe i got the 5 to 0 order wrong
21:51.05cr2_though i doubt it
21:51.16cr2_wince dmesg says image=1 is used
21:51.17jamenlangspirits-sight: fat32?
21:51.33Spirits-Sightjamenlang: yes
21:51.43Spirits-Sight1GiB
21:51.47cr2_phh: and image=1 in my list is pretty complete, so it was a good guess on my side
21:52.26cr2_phh: if you are crazy, you can patch this table in ram :) and see if playsound will still work :)
21:52.40jamenlangi guess you're supposed to hit the power button to start flashing.
21:52.43phhif you call that crazy, I won't try.
21:53.14cr2_phh: linux didn't crash in such situation
21:53.20phhI know
21:53.25cr2_phh: there was just no sound
21:53.31MrPippywow i missed this, android git has a kernel tree for nvidia tegra and google is writing the code
21:53.31phhbut I don't really understand this table
21:53.39phhMrPippy: oO
21:53.41phhcool
21:53.58phhMrPippy: I didn't see you joined ... so about wifi
21:54.08Spirits-Sightjamenlang: nothing?
21:54.27jamenlangis it a 1GB kingston?
21:54.29phhMrPippy: if you think the driver I putted is wrong, feel free to change it
21:54.36Spirits-Sightshould the ext be cap letters .NBH or .nbh
21:54.54jamenlanggood question, all the tutorials i've seen have lowercase
21:55.01MrPippynah i'm about to try it, see if it works better with wpa_supplicant than the other one
21:55.15phhSpirits-Sight: fat doesn't care about case.
21:56.47Spirits-Sightphh: I didn't think so but you never know :( any idea, should  I redo the hardSPL?
21:56.58phhno
21:57.52bzowoo hoo. I'm running my diamond overclocked at 710mhz!
21:58.35bzoandroid is much more usable at this speed
21:58.56phhbzo: hum, how ?
21:59.03phhI can't see how you can do such a clock
21:59.07phhchange pll ?
21:59.29bzochanged pll2 to a 1x multiplier
21:59.43jamenlangcan i underclock mine to preserve battery life ;p
21:59.50bzoI originally oc at the default 2x, the the max speed is 1.2g/2
21:59.52phhjamenlang: it's dynamically underclocked
22:00.03bzoyep, most of the time it's running at 128mhz
22:00.13jamenlanggood to know
22:00.26phhjamenlang: we go further than wimo in low clocks
22:00.31phhiirc
22:00.41jamenlangthat's what i like to hear
22:00.42phhnot sure if it's useful.
22:00.58cr2_phh: is it possible to run at 19.2 MHz ?
22:01.02phhcr2_: yes
22:01.18jamenlangyeeeeeaah
22:01.20cr2_nice. i wonder how long is the battery life then
22:01.31bzoafaik, it runs at 19.2 during suspend
22:01.32cr2_with lcd off, and gps on.
22:01.36phhjamenlang: most of the time it's) @ 32kHz you know.
22:01.46phhbzo: hum I have to check
22:01.58phhbzo: but cr2_ speaks about on :p
22:02.00phhnot sleep
22:02.15phhwait for interrupt is done at 19.2
22:02.39Markinusphh: is there a vreg for the CPU voltage too? A bit lower . . .  where nice
22:02.47phhMarkinus: see acpuclock.c
22:02.56phhbut you can't set it clearly
22:03.01bzophh: i will have a patch for you soon. I've added the oc code to acpuclock.c that integrates cleanly with the dynamic clocks
22:03.01phhyou just have 7 values
22:03.04phhyou don't know what they are
22:03.10cr2_phh: 3 i think
22:03.10jamenlang32K love it
22:03.11phhbzo: cool
22:03.24phhcr2_: well, theorically 7, but only 3 are used in our code
22:03.43cr2_phh: androids say there are 3 in real life
22:03.45phhjamenlang: when the system is in sleep, the consumption goes almost everywhere but in the CPU :p
22:03.48bzoyeah in acpuclock the acpu_freq_table shows all the pll/clock/multiplier/voltage etc settings we are running
22:03.51phhcr2_: some devices has 7
22:04.12phhbzo: but rhodium has "turbo HW", I want to play with that :p
22:04.19cr2_phh: 3 bits, but some bits may mean the same voltage
22:04.34phhcr2_: maybe
22:04.44cr2_phh: what is turbo HW ?
22:04.46emwephh: turbo hw as in CONFIG_TURBO_MODE?
22:04.47bzophh: i was looking at the heroc turbo code, all it seems to do is increase some intermediate clocks and the axi bus
22:04.51phhemwe: yes
22:04.56cr2_phh: your pll1 is already at a higher clockrate
22:05.00cr2_960 vs. 768
22:05.11phhcr2_: ebi @ 200MHz instead of 166
22:05.12phhI think
22:05.19emwephh: backported that to linux-msm-topaz/htc-msm-2.6.27-exp.
22:05.31phhemwe: oh really ?
22:05.32cr2_phh: visible with msmclkkhz ?
22:05.42phhcr2_: I don't know which one is ebi
22:05.48emwephh: http://gitorious.org/~mweirauch/linux-on-qualcomm-s-msm/linux-msm-topaz/commits/htc-msm-2.6.27-exp
22:05.54cr2_but you can see the difference in output
22:06.05phhemwe: thanks, I'm a bit lost in all the forks.
22:06.15cr2_hehe
22:06.24emwephh: give all commit access, let them screw the tree and be gone with loosing track of all the forks ;)
22:06.27phhhttp://gitorious.org/linux-on-qualcomm-s-msm ----> 11 forks. youhou.
22:07.08cr2_emwe: lol. then the tree will look even workse that it is already :)
22:07.16phhemwe: hum your commits seems cleaner now. you might get access too.
22:07.54emwephh: oh, they've been looking dirty at some point?! :P
22:08.00phhemwe: iirc yes
22:08.34emwephh: might be. might also have been the diff marathon in the beginnings of the topaz-get-going-madness
22:08.41phhyup.
22:09.07cr2_emwe: out tree is really dirty. but the g1 tree is not much better
22:09.32emwephh: i wouldn't mind getting access, but i'd rather do some basics. rather cleanup/consolidation.
22:09.44phhemwe: oh really ?
22:09.47phhyou get instant commit access.
22:09.50emwelol
22:09.52phhwell
22:09.58phhinstant as in wait for me to find the option in gitorious
22:10.13emwephh: well, that could wait till tomorrow i guess ;)
22:10.27emwegetting late and work is calling at 7am
22:10.35phhadded
22:10.39emweoh, thank you!
22:11.37emwewill get back to you about what i would imagine... i still have common memory bank setup and pwrsink in mind.
22:11.58phhI can't see how you can do that, but would be cool
22:12.21phhwell for pwrsink yes you can.
22:12.21cr2_pwrsink is some androidism ?
22:12.26phhcr2_: yes
22:12.29cr2_ok
22:12.35phhcr2_: estimation of the power consumption using drivers' reports
22:12.41phhsounds totally stupid to me.
22:12.41Spirits-Sightjamenlang: its press the cam and reset that worked
22:13.01phhok, time to have fun
22:13.05phhlet's review all of forks ! :p
22:14.09emwephh: linux-msm-topaz/htc-msm-2.6.27 is clean, except for the topaz pwrsink-table. the *-exp-tree has only the last three commits of intresset. just so you know.
22:14.16NetRipperhmm
22:14.30phhemwe: you have commit access, you merge :p
22:14.36NetRippernew leo OS roms don't boot if you don't update the radio rom first
22:14.45NetRipperi wonder what changed.. incompatible ril?
22:14.56cr2_NetRipper: if you have the same cpu as nexus, why can't you boot zimage ?
22:14.56emwephh: ok. will do. tomorrow then. thx!
22:14.59emwegnight everyone.
22:15.06cr2_NetRipper: security settings ?
22:15.11phhcr2_: can nexus boot zImage ?
22:15.11NetRippercr2_, maybe it's somehow protected
22:15.23Markinusemwe: I didn'T commit the pwrsink table because I wasn't sure that this it correct for Topaz . . . a bit different hardware
22:15.23NetRipperphh, cr2 seems to have verified the nexusone boots zImage
22:15.27phhok
22:15.28NetRipper:)
22:15.30cr2_NetRipper: there is some region id gpio
22:15.56cr2_phh: if you provide me unimg program
22:15.57emweMarkinus, it was in IIRC. i just changed to heroc/desirec/tattoo.
22:16.14cr2_phh: then i'll send you zimage :)
22:16.23phhcr2_: I already searched, no clue :/
22:16.24emweanyways, gnight.
22:16.39Spirits-SightOK, now for my next question is there suppose to be any white on the splash screen (kaiser/Tilt), and or screen that looks lines that fly by real fast before it shows the pingun <-spelt wrong ?
22:16.44cr2_phh: should be open source ?
22:16.51phhcr2_: yes
22:17.31Markinusemwe: night
22:18.53bzophh: here is the overclocking patch - http://pastebin.com/m121af19e
22:18.57phhthanks
22:19.27bzoin the config, you have to increase CONFIG_MSM_CPU_FREQ_ONDEMAND_MAX
22:19.34bzootherwise, it will not exceed 528mhz
22:19.42NetRippercr2_, hm ok maybe the radio changes region?
22:19.46bzoI set mine to 999999
22:19.51phhbzo: noone uses PLL2 ?
22:20.05cr2_NetRipper: no idea
22:20.07bzoafaik, it is only used for 528mhz devices for the cpu clock
22:20.16phhbzo: ok
22:20.23phhcr2_: you confirm ?
22:20.26cr2_NetRipper: but if arm9 reports wrong region, you get a reboot dex call from wince kernel ;)
22:20.42cr2_phh: pll2 is used only by arm11
22:20.48phhcool then
22:21.02phhbzo: I think ToAsTcfh might be interested in your patch too :p
22:21.08ToAsTcfhyes
22:21.12ToAsTcfh:D
22:21.22phhand it's pretty easy to merge
22:21.24cr2_phh: at least all known peripheral devices use pll0 and pll1
22:21.25bzoseems like it should work on any 528mhz device that has the same CLK_CTL registers
22:21.32ToAsTcfhwhere too?
22:21.39NetRippercr2_, ah
22:21.42phhToAsTcfh: http://pastebin.com/m121af19e
22:21.47ToAsTcfhi have the turbo
22:21.55phhToAsTcfh: not related
22:21.57phhturbo is PLL1
22:22.02ToAsTcfhsweet
22:22.07phhor ... not ?
22:22.09NetRipperdoes anyone here know how cpu load is calculated on arm processors?
22:22.13NetRipperi heard the cpu doesn't natively support it
22:22.14phhdamn, don't remember I have to check
22:22.20ToAsTcfhso what doees it do to oc
22:22.21phhToAsTcfh: well pll2 isn't the one for turbo.
22:22.25phhToAsTcfh: changes pll2.
22:22.29bzophh: all the turbo settings for the heroc seemed to be only on pll1
22:22.33ToAsTcfhtoo?
22:22.36ToAsTcfh2x
22:22.38phhbzo: really ?
22:22.44Markinusphh: I reduced the VDDs for all steps and the device is working well . .
22:22.56cr2_NetRipper: load average is number of running processes. how it is related to hw ?
22:23.03phhMarkinus: as cr2_ said, we have no clue of what these values are actually doing
22:23.05bzoaside from changing the axi clk also on 528 on pll2
22:23.21phhbzo: axi clk is on pll2 ?
22:23.36bzophh: i mean on the 528 mhz pll2 setting
22:23.52NetRippercr2_, you know the cpu usage gauge in windows or in linux, is it "virtualized" for arm processors?
22:23.56ToAsTcfhbzo: whats this increase the clock too?
22:24.08NetRipperx86 processors have regs that tell you the cpu load... arm processors dont (as i heard)
22:24.10ToAsTcfhans or up too?
22:24.17bzoToAsTcfh: whatever you want :)
22:24.20cr2_phh: clock distribution is nonobvious. i still don't get hot they obtain 64MHz for SD pclk
22:24.24bzoit's a module param
22:24.27phhcr2_: ok
22:24.28ToAsTcfhwhats the best u guys get?
22:24.47stinebdgoes for 7GHz
22:24.51bzohehe, I think I'm the only one that has ever tried so far, just created the ptach
22:24.57ToAsTcfhphh: no luck on the camera yet?
22:25.01phhToAsTcfh: no
22:25.02cr2_NetRipper: can you boot on leo now ?
22:25.03bzo710mhz ended being a little unstable for me
22:25.07bzotrying 650mhz
22:25.15ToAsTcfhsweet man ill try
22:25.16phhbzo: and BIG question
22:25.22phhdoes it warm your hands enough ?
22:25.27ToAsTcfhnotice a difference?
22:25.28phhit's cold outside.
22:25.31NetRippercr2_, no.. this is just an unrelated question so far :) something to do at work ;)
22:25.41cr2_NetRipper: what do you think about removing swordfish and wrong drivers from defconfig ?
22:25.50bzophh: doesn't seem to make a big difference in heat, but I haven't run that long
22:25.55phhbzo: ok
22:26.12NetRippercr2_, i've removed swordfish, but doesnt help... i'm also not sure what drivers to remove.. removing some drivers breaks the build
22:26.20phhbzo: with the same voltage, I don't think it heats a lot more
22:26.25ToAsTcfhdoes it bence any better?
22:26.26phhso if it's stable, it's all good for us :D
22:26.39ToAsTcfhbench
22:26.46cr2_NetRipper: on linux it's just scheduler statistics
22:26.59bzophh: yeah, worst case is probably linear relationship 650/528 = 23% more power consumption
22:27.04phhbzo: benchs ! benchs ! benchs ! benchs ! benchs ! benchs !
22:27.18phhbzo: neocore results would be interesting
22:27.23*** join/#htc-linux cr2_ (~cr2@ip-109-85-91-198.web.vodafone.de)
22:27.26ToAsTcfhyet neoccore
22:27.30bzophh: I've been using "CPU benchmark" to double check it is not my imagination
22:27.37phhbzo: ok
22:27.43bzoat 528mhz, it takes about 5500ms a run
22:27.47NetRippercr2_, hm ok
22:27.49bzoat 650mhz it takes about 4500ms
22:27.54ToAsTcfhwoot
22:28.04bzobut the results are very inconsistent run to trun
22:28.06phhbzo: I asked how you do that, because ToAsTcfh already tried an "overclock" which was totally ridiculous :p
22:28.30Spirits-SightOK, does any one have a picture of the booting of a kaiser phone with NAND?
22:28.32bzophh: you mean didn't work?
22:28.39ToAsTcfhyeah it was the dream devs shit so i want no credit for it :P
22:28.50phhToAsTcfh: yeah sure :p
22:28.51Spirits-Sightthe splash screen is what I would like to see if it is right?
22:28.53phhbzo:         { 528000, ACPU_PLL_2, 2, 1, 132000, 3, VDD_7, 128000, 0, 11, -1 },
22:28.54phhsee this ?
22:28.59phhchange the 528000 to 768000 :p
22:29.04ToAsTcfhlol
22:29.04stinebdhah
22:29.05phhand here's there patch
22:29.06cr2_NetRipper: if the hardware can do it, then the cpu has a little less work
22:29.10ToAsTcfhrenamed the shit
22:29.13bzophh: lol
22:29.26NetRippercr2_, well it seems ARM doesnt have support for this in the hardware
22:29.28ToAsTcfhbzo: are u using setcpu?
22:29.37ToAsTcfhor just echoing it?
22:29.46bzoToAsTcfh: no, why?
22:29.59phhMarkinus: I can't see anything in the docs about the A11 VDD registers :/
22:30.03ToAsTcfhjust wondering how ur settinfg the clock
22:30.26phhToAsTcfh: it's using classic cpufreq stuff
22:30.27bzoI'm reconfiguring the low level MSM clock PLL through the CLK_CTL registers
22:30.53Markinusphh: Hmm, I have running my device now, and It feels colder . .  hmmm Imagination or reality . .
22:31.04phhMarkinus: I'd vote imagination :p
22:31.12phhMarkinus: ok, msm's doc has no doc about it
22:31.14Markinusphh :)
22:31.18stinebdif you're outside, reality. inside, imagination
22:31.23phhnext power (voltage) level
22:31.23phhencoding is TBD
22:31.37phhthanks qualcomm
22:31.56bzoMarkinus: you're already running the overclock patch?
22:32.04phhbzo: no
22:32.08phhbzo: he is trying to reduce the vdd
22:32.12Markinusbzo: no, I trie to reduce the voltage of the CPU
22:32.15Markinustry
22:32.30bzoby changing the acpu_freq_table?
22:32.38phhMarkinus: I think I've seen in some source code of acpuclock.c the match between vdds and actual voltage mmm
22:32.54phh<PROTECTED>
22:32.58phhin hero's acpuclock.h
22:32.58phhin hero's acpuclock.c
22:33.14Markinusphh: this is the only what I seen
22:33.23phhbut I don't believe it, in another code they say they can't have precise voltage
22:33.31MarkinusI reduced all 3 in 2 and the 7 in 6
22:33.40Markinusand 2 in 1
22:33.50phhMarkinus: try setting everything to 3
22:33.52MarkinusNi Idea what <3 is
22:33.55phhand see if 528MHz is stable
22:34.19phh<3 is used for <100MHz clock
22:34.28phhwe might try 128MHz on VDD0
22:34.40phhcould save a lot of idle power
22:34.46phh(but we'd better fix idle sleep ;)
22:35.03Markinusphh :) yeah
22:35.16NetRippercr2_, i've been trying to completely remove that DBG timer from timer.c but even after removing everything, the kernel simply doesn't boot.. i can't find any references to it anymore.. it's weird
22:35.17ToAsTcfhbzo: so ur saying once i apply the patch i can set the clock to any value? with an app or how do i set the clock?
22:35.28phhToAsTcfh: with kernel parameter
22:35.30bzophh: does your latest vsync suspend commit affect the diamond?
22:35.39phhbzo: no, diamond already had this one
22:36.07phhI totally forgot I had to do that on diamond
22:36.07cr2_NetRipper: we need to dig deeper in the general irq setup
22:36.12phhuntil I went into its file.
22:36.12NetRippercr2_, as if somewhere there's an array that contains all timers and there's a direct references to the 2nd timer, which isn't there.. no idea :x
22:36.13cr2_NetRipper: in wince
22:36.21phhand so I lost twice the same amount of time for the same thing -_-'
22:36.27cr2_NetRipper: hmm.
22:36.51cr2_NetRipper: btw, i suggest to add the amss version detection patch to the tree.
22:36.54Markinusphh: ok, all 3 and I set the ONDEMAND_MIN to 528
22:37.01NetRippercr2_, and if i just leave in that 2nd clock, and make it fail.. it does work.. even though it fails and bails out
22:37.03phhMarkinus: right.
22:37.11phhMarkinus: good way to test
22:37.16cr2_NetRipper: maybe after cleaning it up, anddoing some failsafe
22:37.23phhMarkinus: then try max to 128, and vdd=0
22:37.28bzoToAsTcfh: also, don't forget to change your ONDEMAND_MAX in the config
22:37.47NetRippercr2_, i'm curious what wince does with that DBG_TIMER interrupt, probably ignores it totally
22:38.05ToAsTcfhok so i just apply the patch and set the clock in the ondemand in the connfig?
22:38.06NetRippercr2_, do you have a link to what patch you mean exactly?
22:38.15cr2_NetRipper: and then add 2 switches into proc_comm. the first on amss version, and the second one on PCOM_enum.
22:38.40bzoToAsTcfh: yep, and add acpuclock.oc_freq_khz=710000 (or whatever you want to try)
22:38.43cr2_NetRipper: it should be in the gitoriuos tree
22:39.00bzophh: why is the ONDEMAND MIN/MAX hardcoded in config anyway?
22:39.07bzoshouldn't it be derived from the table
22:39.07cr2_NetRipper: it's like awk -F. '{print $1$3}'
22:39.12bzoin acpuclock.c?
22:39.16tmztthat populates the table?
22:39.25tmztand the ondemand governor I think
22:39.51bzotmzt: cpufreq just uses the config values, it could easily get them from the acpuclock table
22:40.00cr2_NetRipper: but the DBG_TIMER is there afair from haret ?
22:40.21NetRippercr2_, yes but it may be enabled in SPL on purpose to annoy us in linux
22:40.22NetRipper:P
22:40.39NetRipper(i love conspiracy theories)
22:41.05NetRippermaybe it's some sort of debug mode, or debug protection for that matter
22:41.09tmztumm
22:41.10NetRipperanti-debug
22:41.19tmztis it used for fiq debugger?
22:41.47NetRippertmzt, on nexusone they use DBG_TIMER as high-precision timer on 32mhz
22:42.08cr2_NetRipper: i can check oemsbl, though it's not cleanly disassembled (because of the evil extra bytes)
22:42.10NetRipperthe normal GP_TIMER is like 24khz or so
22:42.18phhbzo: don't want 19.2MHz as min value.
22:42.28phhbzo: system starts at slower clock.
22:42.33cr2_NetRipper: maybe it's easier to check it for raph
22:42.44bzophh: good point
22:42.44NetRippercr2_, yea it was same there
22:42.46cr2_where i have a clean smi dump
22:43.26cr2_NetRipper: and we need the serial cable
22:43.42NetRippercr2_, well at the very least, ramconsole should init a lot sooner than it does now :p
22:43.51cr2_tmzt: is there somebody with a nexus serial cable, who can share the experience ?
22:44.26cr2_NetRipper: i still don't get why nexus can use zimage and you can't
22:44.43cr2_NetRipper: let's assume that i booted zimage by some black magic :)
22:44.49NetRippercr2_, i'd love to know
22:44.59NetRippercr2_, i asked cmonex about it either but she doesn't know unfortunately
22:45.06phhcr2_: uncompressor write to forbidde address ?
22:45.08NetRippers/either/as well/
22:45.09cr2_Markinus: where is your amss detection patch ?
22:45.25cr2_ok
22:45.38NetRippershe's quite into the asm due to her hardspl work
22:45.51Markinuscr2_: amss_para.c
22:46.08cr2_NetRipper: check amss_para.c
22:46.15cr2_Markinus: thanks
22:46.23Spirits-SightOK here is a little more maybe someone would be able to answer with my informaiton. I was wondering how the splash screen should look on a kaiser using the native res of 240x320 the screen that shows when you first turn the phone on?  my has a about 1inch white on the bottom, I have tryed all three panel types also right after it I see lots of distion of the screen then it comes clear with the linux logo and text flying by
22:49.21cr2_Markinus: where is it located ? i'm interested only in the amss strsep() parser
22:49.34MrPippyso weird, poweroff worked with 95civic's rhod kernel (from end of january), but now poweroff and even reboot don't work
22:49.39phhcr2_: mach-msm/qdsp5
22:49.57phhMrPippy: need to trace "power reason" smem I think
22:49.58cr2_phh: hm. funny place.
22:50.06phhcr2_: I know.
22:51.03phhbzo: I hate pastebin.
22:51.03Markinuscr2_: http://pastebin.com/m2869723f
22:51.03bzophh: want me to email you the patch?
22:51.04Markinuscr2_ under qdsp5
22:51.04phhbzo: no it's fine
22:51.33NetRipperhmm interesting
22:51.34NetRipper:)
22:51.37cr2_NetRipper: i suggest to create the toplevel amss_version.c file
22:51.46phhbzo:                 oc_freq_khz = (oc_freq_khz / 19200) * 19200;
22:51.50phhthis is totally useless you know ? :p
22:52.00cr2_NetRipper: with a global amss_version varialble/symbol
22:52.02phhoh right not totally
22:52.06bzophh: freq has to be rounded to 19.2mhz
22:52.47bzophh: neocore @ 633mhz = 20.5fps - not much improvement here
22:52.47phhwow. that's weird.
22:52.59phhbzo: please send me the patch at phhusson@free.fr
22:53.03phhI really hate pastebin.
22:53.20phhbzo: I think your editor forgot some part in your copy paste :p
22:53.28phhsee line 83 for example, it's not ended
22:53.34NetRippercr2_, why would we re-create an amss implementation? isn't it easier to continue working their way?
22:53.44bzophh: k, sending email in a moment
22:54.17NetRipperor am i misunderstanding you?
22:54.44cr2_NetRipper: we need to know the amss version in proc_comm
22:55.02cr2_NetRipper: so we can use the right api for doing PCOM_ ops
22:55.21cr2_NetRipper: and it can be parsed from smem once at boot
22:55.30ToAsTcfhbah this acually isnt merging easy. or at least as easy as i though
22:56.37bzophh: email sent. By the way, the patch also has a couple of fixes from the heroc code
22:56.45phhbzo: I know
22:56.51phhwell, one fix.
22:56.54phhToAsTcfh: yes the patch is wrong
22:56.55NetRippercr2_, ok so there'll be like a switch() statement in proc_comm_wince to make things specific for leoo?
22:56.58ToAsTcfh:/ is this the same patch?
22:57.13cr2_NetRipper: there will be no proc_comm_wince at all
22:57.25ToAsTcfhphh: oh sorry
22:57.32bzoToAsTcfh: looks like there was a copy paste error in pastebin
22:57.41cr2_NetRipper: there will be 2 switches in "standard" proc_comm
22:57.58ToAsTcfhyeah it looked really different from my source
22:58.01phhToAsTcfh: maybe try this one:
22:58.04phhhttp://en.pastebin.ca/1806157
22:58.24cr2_"standard" proc_comm function will be called if amss=6210 || = 6220 || =6225
22:58.43bzophh: hmm, looks like I accidentally undid one on the heroc fixes
22:58.53cr2_NetRipper: we need to rename it too, but it's a very small function , so it's not a problem
22:59.33cr2_NetRipper: so the first switch is on board->amss_version, and the second one on PCOM_ enum
23:00.07cr2_g1 et al. proc_comm then becomes proc_comm_googel()
23:00.37cr2_and we can call it for all PCOM if amss=6220
23:01.10phhbzo: pushed
23:01.36cr2_otherwise we need to call our dex driver (aka old proc_comm_wince+vreg), or our clock implementation of our gpio implementation.
23:01.37NetRipperkeeping proc_comm as is, and just re-implementing it for a wince-kernel prevents a lot of merging troubles
23:01.56cr2_yes. the drivers and driver api remains as is
23:02.05bzophh: cool :)
23:02.25cr2_NetRipper: we could not afford doing it from the very beginning, but now we more than 99% to do it right
23:03.08bzophh: not sure if we care, but the other heroc fix was in line 373: if (cur_s->pll != ACPU_PLL_TCXO
23:03.11NetRipperi'm still not getting the full picture
23:03.23bzotheir comment for the fix was: /* Power collapse should also request pll.(19.2->528) */
23:03.39cr2_NetRipper: btw, our gpio and clk driver can be tested on g1 too, instead of the goggle api
23:03.40phhbzo: we don't do pll poweroff afaik, so no problem here
23:03.41NetRipperalso probably because i'm not really sure how PCOM/DEX/VREG is done in nexus compared to wince
23:04.08cr2_NetRipper: the bigger picture is actually quite simple
23:04.28cr2_NetRipper: now there is a proc_comm api with PCOM_ ops
23:04.35bzophh: acpuclock turns plls on/off as needed - though I imagine this only applies to pll2
23:04.42cr2_NetRipper: used by goggle
23:04.53NetRipperok
23:04.56phhbzo: really ?
23:04.57phhhuim
23:05.01NetRipperand what about DEX and VREG now in nexus by google?
23:05.08cr2_NetRipper: but it is limited to "google" amss only
23:05.29cr2_NetRipper: because all these PCOM_ ops are rerouted to "google" amss
23:05.34phhbzo: where do you see that ?
23:05.48bzophh: one moment, let me see where I saw it
23:05.53phhbzo: you mean the pc_pll_request part ?
23:05.56phhthat is commented out ? :p
23:06.12cr2_NetRipper: we need to reimplement the PCOM_ api calls that "our wince" amss can't perform
23:06.36cr2_NetRipper: so it depends on knowing the amss version (
23:06.39NetRippersuch as? what is done by google amss what isn't done by wince amss?
23:06.45cr2_NetRipper: google vs. wince
23:06.48NetRipper(or other way around)
23:06.49phhNetRipper: clocks
23:06.52phh*but*
23:06.55phhthere is rpc for that
23:06.56bzophh: look at acpuclk_set_rate, and go to the comment /* Disable PLLs we are not using anymore. */
23:06.58phhfor both
23:07.03cr2_NetRipper: and them a PCOM_ switch for our vs google ops
23:07.10phhbzo: yup, pc_pll_request
23:07.14NetRipperphh, but, rpc = amss.. so it's done by amss after all
23:07.18bzophh: oh, that is disabled?
23:07.21cr2_NetRipper: setting clock speed for example
23:07.25phhNetRipper: yes, but it has to be coded.
23:07.28phhbzo: yes
23:07.48phhcr2_: which sources have you seen that uses clock regim rpc ?
23:07.52cr2_NetRipper: or everything DEX.
23:07.53NetRipperso, google amss doesn't use rpc design at all?
23:08.01cr2_NetRipper: or setting gpio alt functions
23:08.07NetRipperdex = via rpc, right?
23:08.12cr2_no
23:08.13bzophh: hehe, now ic the #if 0
23:08.23cr2_NetRipper: what is rpc to you ?
23:08.28NetRipperremote procedure call
23:08.43NetRippersetting data in smem, calling soft irq
23:08.59cr2_NetRipper: there is direct hw write, DEX aka remote pmic control and ONC rpc on wince
23:09.24NetRipperam i right about rpc? if so, how does dex differ from that
23:09.26cr2_NetRipper: and on google it's all hidden behind the proc_comm(PCOM_*)
23:09.33ToAsTcfhphh that one was a good to go.
23:09.43cr2_yes. ONC RPC has nothing to do with DEX
23:09.45Markinusphh: running now ca 15 min with reduced voltage, no problems . .
23:09.56phhMarkinus: 528 @ 3 ?
23:10.01ToAsTcfhalthough i dont have a ondeman_max in my current .config
23:10.05*** join/#htc-linux DarkMasterHalo (~sam@modemcable187.118-80-70.mc.videotron.ca)
23:10.07NetRippercr2_, what is the ONC?
23:10.07Markinusphh: yes
23:10.16NetRipperthe abbreviation
23:10.22phhMarkinus: we should add this setting though debugfs I guess
23:10.50cr2_ONC RPC (Open Network Computing Remote Procedure Call
23:10.56Markinusphh: yes, I do it, I will test the VDD_0 stuff for 128 too ..
23:10.58cr2_i think it's sun invention ?
23:10.59NetRipperok
23:11.07phhMarkinus: cool
23:11.17phhMarkinus: something else we'd have that android devices won't have :)
23:11.32phhI love that.
23:11.35Markinusphh: yeah ! ;)
23:11.51cr2_NetRipper: http://hissa.nist.gov/rbac/5277/node14.html
23:12.27*** join/#htc-linux Wr4i7h_ (~abc@89.180.41.114)
23:12.44NetRippercr2_, so basically.. we get a huge switch in proc_comm.. and i.e. when PM_VREG_PDOWN_USB_ID cmd is called, then we internally call a DEX (or RPC) driver that performs the command for us?
23:13.05ToAsTcfhbzo: can u post the ondemand part of ur config? so i can make sure i got it right?
23:13.32bzoCONFIG_MSM_CPU_FREQ_ONDEMAND_MAX=999999
23:13.34bzoCONFIG_MSM_CPU_FREQ_ONDEMAND_MIN=128000
23:13.48ToAsTcfhand the other?
23:13.51cr2_NetRipper: yes. or we write directly into the register
23:14.06cr2_NetRipper: mimicking what wince does in this situation
23:14.13ToAsTcfhacpuclock.oc_freq_khz=710000?
23:14.33bzoToAsTcfh: no other changes in config, that goes in as a kernel param (i.e. default.txt)
23:14.43chamonixphh: I have to check on the 3G status for our dutch users who used to have probs with vodafone.nl
23:14.50cr2_bzo: can you describe the clock relations somewhere in wiki ?
23:14.52phhchamonix: ok
23:14.52ToAsTcfheh no defaut text here
23:14.58phhchamonix: I have several requests for you :p
23:15.02chamonixshoot
23:15.08chamonixI'm bored
23:15.10phhchamonix: little app to create a new bigger data.img
23:15.10chamonix:)
23:15.13cr2_bzo: afair there was some bug in the (full) acpuclk.c table
23:15.33NetRippercr2_, ok.. and for msm7k we already have dex and rpc drivers, so we can re-use them i suppose
23:15.34phhchamonix: I can give you the shell lines if you can't see how to do
23:15.34bzocr2_: sure, what would you like me to add?
23:15.46phhchamonix: and an app for the soon to be patch from Markinus to set VDDs
23:15.53cr2_NetRipper: the rpc is a separate subsystem
23:16.17*** join/#htc-linux stinebd (~bryan@gentoo/developer/battousai)
23:16.22cr2_NetRipper: but it has its own problems, because hte VERS and FUNC numbers depends on the amss version too
23:16.33bzocr2_: even the abbreviated table used seems a little odd,
23:16.36chamonixphh: I guess both could be done using my generic app issuing whatever su command
23:16.43phhchamonix: guess so
23:16.45chamonixI just need to publish it
23:16.48chamonix:)
23:16.48phh:p
23:16.54NetRippercr2_, hm ok
23:17.08phhcr2_: we can bypass VERS I think
23:17.11cr2_bzo: for example how axi and ahb0/1 clocks relate to the plls
23:17.19chamonixok, I'll do that.... did u have the opportunity to review the wiki page about ehco to dbgfs phh ?
23:17.23ToAsTcfharch/arm/mach-msm/acpuclock.c: In function 'acpuclk_set_rate':
23:17.23ToAsTcfharch/arm/mach-msm/acpuclock.c:378: error: 'else' without a previous 'if'
23:17.25chamonixecho*
23:17.31phhchamonix: iirc it was just right
23:17.37phhToAsTcfh: you applied the patch b hand ?
23:17.38phhby*
23:17.44ToAsTcfhyeah
23:17.47phhToAsTcfh: tss ..
23:17.47chamonixok, then I'll include those as default
23:17.48cr2_phh: it can be solved independently from proc_comm
23:18.00phhToAsTcfh: somewhere in your code you have:
23:18.01phh}
23:18.03phh} else {
23:18.07phhremove the first } .
23:18.12cr2_phh: so we can develop a completely new proc_comm implementation now
23:18.44chamonixphh: an I the only one having had real trouble with wifi on kernel 19.02?
23:18.45cr2_phh: doing a clean dex.c driver and sane clock control directly in the PCOM_ switch
23:18.46phhcr2_: for clocks I'd prefer relying on AMSS...
23:18.47NetRippercr2_, downside is that every wince driver will need to use the google api to do its thing?
23:18.49bzocr2_: ok, I'll look at the MSM_CLK page and see if there is anything new to add there. Is the wiki public editable?
23:19.01phhchamonix: not much people uses wifi
23:19.08phhbzo: yes it is
23:19.09cr2_phh: you can't. unless it's done as rpc clock in wince
23:19.11phhjust not front page
23:19.27chamonixawwww, I forgot..... do not read build comments :-D
23:19.45cr2_phh: and even then it is possible to do the right thing
23:19.49ToAsTcfhphh: what to do if i dont have a default.txt to add acpuclock.oc_freq_khz=710000?
23:20.05phhcr2_: it's not done as rpc clock in wince, but if amss can have get clk khz, I'd guess it can set freq too
23:20.05cr2_phh: just cam/vfe is not such a big priority for me :)
23:20.13ToAsTcfhjust add it to acpuclock.c?
23:20.23phhToAsTcfh: that's a way
23:20.29phhdon't know how you can pass kernel parameters
23:20.30ToAsTcfhor?
23:20.36cr2_phh: if wince does not use it, it does not exist
23:20.38phhbzo: you should enable on-the-fly parameter editing
23:20.42NetRipperthanks for explanation cr2_
23:20.45NetRippergtg off to bed now :)
23:20.53phhcr2_: wince uses msmcklkhz ?
23:20.56cr2_NetRipper: good night
23:21.00phhI mean it declares it, but that's it.
23:21.04cr2_phh: for setting clocks
23:21.08phhreally ?
23:21.09phhah.
23:21.21phhcr2_: and in wince, the rpc API exists
23:21.29phh(see what captnoord dumped)
23:21.39cr2_phh: wince either writes intop MSM_CLK directly, or uses rpc (only for cam,btw)
23:21.41bzophh: yes I wanted to. But I have to figure out how to reconfigure cpufreq tables so it doesn't get confused
23:22.05cr2_phh: we have no idea how to use it anyway
23:22.14cr2_phh: and htc could know better
23:22.28phhcr2_: have you said one board (acer ?) uses the rpc api ?
23:22.39cr2_different amm
23:22.45cr2_s/amm/amss/
23:22.46phhit gives the idea.
23:22.51phhand we have the rpc ids
23:23.05chamonixphh: overclocking mean underclocking as well right?
23:23.09cr2_it's pure guesswork
23:23.14phhchamonix: no
23:23.17phhcr2_: yup.
23:23.17chamonix:-/
23:23.30phhchamonix: you can already underclock to 19MHz /o\
23:23.33phhisn't that enough ?
23:23.34cr2_the register accesses (at least for MD/NS and i2c) are perfectly known and work
23:23.49phhcr2_: yes but it's heavy work to set all clocks correctly ...;
23:23.55phhespecially the "ns only" ones
23:24.01cr2_not really
23:24.23chamonixdunno, just thought about testing effect on battery life for non heavy use
23:24.28cr2_just the current clock-wince.c driver needs to be replaced by a sane implementation
23:24.42cr2_phh: the vogue clock driver is even more strange :)
23:24.56phhcr2_: it's not a reason ...
23:25.04tmztwhy are timers late?
23:25.10tmztdo we know why yet?
23:25.16phhtmzt: no :'(
23:27.07cr2_phh: we will do it for leo, in the most recent tree
23:27.37phhcr2_: pfff you said you'd do one for msm7k at mid january
23:27.42Markinusphh: no problems with VDD_0 on 128 :)
23:27.45cr2_phh: because there is no reason to pull all the legacy crap lke clock-wince and proc_comm_wince there.
23:27.45bzochamonix: the new oc patch will let you set any freq you want, including lower than 528
23:28.04phhbzo: but multiple of 19.2MHz.
23:28.05cr2_phh: yes, it's the same driver
23:28.10phhbzo: and we already have a 19.2 clock :p
23:28.28cr2_phh: the 7200/7201A/8250 differences are all doucmented in MSM_CLK
23:28.29*** join/#htc-linux Zoolooc__ (~fredsibar@p54955DBB.dip.t-dialin.net)
23:28.36bzophh: right, but I was thinking in the case of if you wanted to test a top 400mhz speed or something
23:28.50phhbzo: right.
23:29.01phhcr2_: true
23:29.13cr2_phh: 8250 is actually more close to 7200 for many common regs
23:29.44cr2_phh: and the latest nexus tree works also on 7201A
23:30.02chamonixI'll give it a try.... I use my phone always in the same way and I'm curious if it reflects on battery in some significant way
23:30.29bzoI don't know underclocking will save much power though. It is probably better to finish stuff sooner, and drop down to 128mhz as soon as possible
23:30.32phhchamonix: I'm curious too
23:30.48phhbzo: even better. idle sleep.
23:31.17chamonixbzo: that's the assumption yes but I want to confirm that
23:31.27cr2_phh: lol. aka "boot CE, arm9 in idle sleep"
23:31.28bzoI'm so happy that suspend is working again. I can actually use my phone like a regular phone :)
23:31.41ToAsTcfhphh: ive been through it ... yeah its not making http://en.pastebin.ca/1806187
23:31.42phhcr2_: uh ?
23:31.55cr2_phh: the oemsbl option yesterday
23:31.56ToAsTcfhi even applied the patch
23:31.56phhToAsTcfh: can't you just use patch ?
23:32.05ToAsTcfhi tried it
23:32.07phhcr2_: it was idle sleep ?
23:32.09*** join/#htc-linux stinebd (~bryan@gentoo/developer/battousai)
23:32.12phhI thaught it was infinite loop mmm
23:32.12ToAsTcfhit does the same thing
23:32.16chamonixI mean what does my phone do when it wakes up? most alarms are for xmpp and other stuff that may go well with low freq
23:32.27phhToAsTcfh: what's the error ?
23:32.41phhchamonix: mmm
23:32.54cr2_phh: 3 : Boot CE, ARM9 enter endless loop
23:32.59chamonixI know, we had that discussion already about freq with screen off :P
23:33.03ToAsTcfharch/arm/mach-msm/acpuclock.c: In function 'acpuclk_set_rate':
23:33.03ToAsTcfharch/arm/mach-msm/acpuclock.c:378: error: expected '}' before 'else'
23:33.11ToAsTcfhfixed that then got
23:33.17phhToAsTcfh: ....
23:33.27phhremove from line 378 to 385
23:33.37phhyou applied fixes from hero's tree :p
23:33.41phh(which you already has.)
23:33.51phhchamonix: it's not exactly the same discussion thouogh
23:34.07phhchamonix: btw, you may want to try low clock @ 19.2MHz
23:34.14phhbut set it once kernel is booted, not before.
23:34.43phhchamonix: echo 19200 > /sys/devices/platform/cpu/cpufreq0/scaling_min_speed or something like that
23:35.54chamonixthat looks like something for an applet to control freq = f(time of days)
23:36.04cr2_good night
23:36.19ToAsTcfhphh: arch/arm/mach-msm/acpuclock.c:603: error: invalid storage class for function 'lpj_init'
23:36.20ToAsTcfharch/arm/mach-msm/acpuclock.c:632: error: expected declaration or statement at end of input
23:36.36phhToAsTcfh: how do you do that ...
23:36.47phhseriously, applying patches is easy ... even with conflicts
23:36.57ToAsTcfh<phh> remove from line 378 to 385
23:37.02stinebdhaha
23:37.32*** join/#htc-linux Zoolooc_ (~fredsibar@p54954F34.dip.t-dialin.net)
23:37.35ToAsTcfhbah the patch applied clean then wont make
23:37.35chamonixoh btw I saw u guys added dropbear to rootfs.... that's cool!
23:37.48stinebdmakkonen did it!
23:38.08chamonixdid u build it?
23:38.08stinebdall bug reports go to him
23:38.12chamonixlol
23:38.17chamonixkk, I'll test
23:39.07phhstinebd: tsss
23:39.17phhyou hate bugreports ? :p
23:39.20stinebdwhistles nonchalantly
23:39.27*** join/#htc-linux myn\ (cereal@cpe-71-64-8-167.insight.res.rr.com)
23:39.28stinebdi had to file a bug report to myself earlier
23:39.45stinebdfor the rootfs build service
23:40.10chamonixI had a feature request but I forgot :-X
23:40.28phhchamonix: ah
23:40.44chamonixyea, got it.... it was some housekeeping / cleanup
23:40.48stinebdecho 19200 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
23:40.49stinebdbtw
23:40.56chamonixty
23:41.18chamonixI'll add to the wiki and to my defaults
23:41.21phhstinebd: I wasn't that far.
23:41.40chamonixu guys have something against slideME?
23:41.46phhno
23:41.51phhwhy ?
23:41.56stinebdwhat's that?
23:41.59phhyou're putting your apps on it ?
23:42.01phhstinebd: market
23:42.03chamonixbecause I was thinking of publishing there
23:42.06stinebdah
23:42.20chamonixit's better than market because fee free for devs
23:42.41stinebdnot quite as work safe from the looks of it ;)
23:42.42phhchamonix: can you add a machine filter ?
23:42.50phhie free app for wince devices, paying for android devices :p
23:42.51chamonixhuh?
23:43.14chamonixlol
23:43.32chamonixwho would like to run ledeffect on a N1? :-D
23:43.57phhchamonix: just implement "color leds" stuff
23:43.58*** join/#htc-linux Zoolooc__ (~fredsibar@p549543D8.dip.t-dialin.net)
23:44.02phhyou'll get many users
23:44.10phhchamonix: and code the "low voltage" thing
23:44.14phhyou'll get even more.
23:44.24phhimplement jogdial color stuff
23:44.26chamonixwhat low voltage thing?
23:44.28phhand you'll be the king of the wolrd.
23:44.39chamonixok, who sends me a N1?
23:44.42phhchamonix: the thing that Markinus is working on, set the CPU To a lower voltage
23:44.43phhlol
23:45.19chamonixhave u added dbgfs for color leds?
23:45.41phhstill the old thing
23:45.49phhthe parameters are still not fully known
23:45.54phh(like blinking)
23:46.09phhI think microp is able to do advanced blink stuff, that wince doesn't use
23:46.31phh(no I don't want to do better than wince.)
23:46.33chamonixI would be more than happy to add more support/settings
23:46.34phh(ok yes I do.)
23:47.05Markinusphh: I set some parameters in the wiki for the Topaz led, blinking is there too (only red is missing .. )
23:47.10ToAsTcfhphh: got it :P
23:47.17phhMarkinus: ah you know how to blink ?
23:47.17phhcool
23:47.22phhMarkinus: and there is no red I think
23:47.27chamonixMarkinus: what wiki?
23:47.28ToAsTcfhuser error :P
23:47.33ToAsTcfhagain
23:47.35phhToAsTcfh: NO WAY
23:47.38phhchamonix: htc-linux.org
23:47.39ToAsTcfhlol
23:47.44chamonixkk
23:47.46phhchamonix: but don't use that for your userland app
23:47.52phhwe will provide you with a proper app
23:48.01ToAsTcfhone to many }
23:48.05chamonixok
23:48.07ToAsTcfhagain
23:48.09ToAsTcfh?
23:48.19phhMarkinus: cc, 51, 0, 3, ff, ff -> LED Green flashing slow ( ca. 6 sek ).
23:48.20phhreally ?
23:48.21phhdamn
23:48.24chamonixu add dbgfs, I take care of prefs and settings
23:48.32Markinushttp://www.htc-linux.org/wiki/index.php?title=TopazColorLED
23:48.41phhMarkinus: that's not how it works on rhod
23:48.45chamonixI have to get in touch with ppl  from ebuddy too to add broadcast support
23:48.50Markinusphh: :(
23:48.50phhMarkinus: I'd thaught that the second half of the message are timers
23:49.17phhI have to try.
23:49.21phhanyway, now is sleeping
23:49.25phhMrPippy: any news on wifi ?
23:49.26Markinusphh: on Topaz not . . .
23:50.12ToAsTcfhstill gotta figure a way around a default.txt
23:50.14phhok MrPippy is sleeping, so I do too
23:50.15Markinus(argh . . .every device  different . . . did they didn't know platform strategies . . .. . . .)
23:50.18phhToAsTcfh: just hardcode your setting
23:50.27chamonixdoes any1 know a good xmpp client with source?
23:50.47phhMarkinus: they first did topaz, then they wanted to do nexus one, so they started TP2
23:50.57phhthey realized nexus one as TP2 without QSD would be bad
23:51.05phhso they released TP2 as a wince device
23:51.09phhand did a bad N1.
23:51.15ToAsTcfhphh: static int oc_freq_khz = 0; ? or no im gonna have to write in a big deal?
23:51.15phh(no I'm not fantasing)
23:51.17phh(ok just a bit)
23:51.30phhToAsTcfh: yes set it to 610000
23:51.46ToAsTcfhok great
23:51.58Markinusphh: yes . . . . . . . argh
23:52.03stinebdis it stable at 610?
23:52.15ToAsTcfhi wonder if i can use an app like setcpu to control it in userland
23:52.23bzoI've been running at 633mhz for a little while now, works great
23:52.31bzounstable at 710mhz though
23:52.55bzoToAsTcfh: not as it is currently implemented, only at startup
23:53.09stinebdcommand line arg works?
23:53.29ToAsTcfhbzo good work man
23:53.38bzoyes, if you have a kernel that includes the patch
23:53.45bzoToAsTcfh: thx
23:53.52ToAsTcfhalthough im still compiling with my socket 478
23:53.58ToAsTcfhlol
23:54.01stinebdoh i do
23:54.40ToAsTcfhbzo u got some where i can lead people too if they wanna donate or thank u?
23:55.25bzoToAsTcfh: no donations necessary
23:55.29chamonixgnite guys
23:55.53ToAsTcfhwell ill just link u on xda
23:56.25ToAsTcfhalthough if this works itll be awesome
23:56.40bzocool. I should let no2chem know about my patch, maybe it will help him figure out the winmo oc tool
23:59.26ToAsTcfhyeah we were trying his but i wouldnt work for us
23:59.55ToAsTcfhhis was way more do able then the dream devs

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