irclog2html for #htc-linux on 20061019

00:05.10cr2lkcl_: nk.exe , rilgsm.dll and wavedev.dll are there. good.
00:05.13cr2hpwifidvr.dll ?
00:05.32cr2can you run 'strings' and 'strings -el' on it ?
00:05.41cr2it's something new.
00:05.48lkcl_1sec...
00:06.08lkcl_ACX100
00:06.14lkcl_tiwlan
00:06.43lkcl_MD4 part of OpenSSL 0.9.6d [engine] 9 May 2002 :) :)
00:06.50lkcl_hpwifidvr.pdb
00:07.15cr2still acx100
00:07.15lkcl_wzcsapi.dll
00:07.37cr2do you have *.bin in Files ?
00:07.43cr2and BT_* ?
00:07.53cr2you can also look in \Windows
00:08.20lkcl_ACX100_dl.bin maxim_radio_dl.bin rfmd_radio_dl.bin
00:08.44cr2great.
00:08.58cr2what about BT_* ?
00:09.07cr2or *.bts ?
00:10.04lkcl_BT_Init_Script_TI_BroadComm_212.bts
00:10.10lkcl_BT_Init_Script_TI_BroadComm_223.bts
00:10.25cr2you don't have umts, so no qct*
00:10.26cr2ok.
00:10.32cr2212 is ok.
00:10.46lkcl_use this on BRF6150 2.2.3 ROM device only (FW v4.0.27)
00:10.54cr2223 may be bluetooth 2.0
00:11.11cr2interesting. you may have newer firmware.
00:11.38lkcl_212 - BRF6150 2.12 use this on firmware v3.0.48 only
00:13.02lkcl_is pxafb memory-mapped, btw, just like universal?
00:14.39cr2a bit simplier. you use only PXA SRAM, like magician.
00:14.51cr2you can use main RAM, but it will be slower.
00:15.34lkcl_ok so you can actually _specify_ the address that you want to use, and tell the PXALCD where that address is?
00:16.30lkcl_gotta go again...
00:16.36cr2look at magician.
00:16.54cr2but it's not i high priority thing i guess.
00:18.15*** join/#htc-linux rejon (n=rejon@64-121-195-22.c3-0.sfpo-ubr4.sfrn-sfpo.ca.cable.rcn.com)
00:27.11Kevin2cr2: Can you retry the latest haret binary from svn?  The problem was likely the result of the trampoline code spanning more than one page.  I've fixed that by having the linker align it to a 4K page.
00:27.19gw280cr2: are you the universal linux dude?
00:37.02cr2Kevin2: now it crashes.
00:37.09cr2gw280: yes.
00:37.47gw280cr2: what's the status with the GSM modem stuff?
00:38.29Kevin2Can you forward a log?  (Either by booting via telnet or by adding a "log xyz" command to the start of the script.)
00:38.35cr2gw280: it still does not respond.
00:38.55Kevin2cr2: haret crashes or the phone locks up?
00:40.08Kevin2Hrmm.  I don't think we fflush on the log command, so telnet will likely be needed.
00:41.53cr2Kevin2: crashes.
00:42.27gw280cr2: have you worked out the AT commandset?
00:45.36cr2gw280: http://wiki.xda-developers.com/index.php?pagename=HTC_GSM
00:46.21gw280cr2: I'm thinking of writing a telepathy backend for the GSM interface
00:47.57cr2telepathy ?
00:48.32cr2some MSM-specific commands are missing, but you are not really interested in them now.
00:49.28cr2Kevin2: what commands should i use in telnet ?
00:49.39Kevin2Same commands you ran from default.txt
00:50.17cr2ol. in telnet it works.
00:50.27cr2ptable: page=0 of 320 pfnn=3647 0xa0e3f000
00:50.34cr2do you really need these ?
00:50.53Kevin2?
00:50.53cr2i think this code is unnecessary now.
00:51.08Kevin2what code is that?
00:51.15lkcl_GOT the bastard.  got the screen address.
00:51.34cr2lkcl_: huh ?
00:52.00cr2Kevin2: sorry, wrong haret ;)
00:52.09Kevin2cr2: I was just about to tell you that.  :-)
00:52.16lkcl_got the memory area where the screen framebuffer is, for the Sable.
00:52.48cr2lkcl_: it's told by haret on the first page...
00:52.50lkcl_oooops...
00:52.56cr2and it's pxa SRAM.
00:53.11lkcl_oh, is it? :)
00:53.29gw280cr2: telepathy.freedesktop.org
00:53.31lkcl_oh - so it is :)
00:53.53lkcl_ha ha that's very funny
00:54.19lkcl_there i was going through all sorts of memory bits and it's in front of my nose :)
00:54.25cr2Allocating 1315144 bytes (kernel@0 initrd@1306624 preload@1306624)
00:54.26cr2Got physical contiguous ram (virtual=000c0000 phys=a0d12000 memstart=a0000000 memsize=67108864)
00:54.26cr2Reading 1304724 bytes...
00:54.26cr2Read complete
00:54.26cr2Preloader setup (tram=104@0002c000/1002c000/a0920000 preload=8520@001ff000/a0e51000 mmu=b0800000/a0800000 code=328@00201000/a0e53000 cstart=00000064)
00:54.39cr2Second preloader addr=a3ffd000 size=8520 exec=a3ffd064
00:54.39cr2Video buffer at virt=00212000 phys=a3faa000
00:54.39cr2Go Go Go...
00:54.40cr2Connection closed by foreign host.
00:54.43cr2dead.
00:55.26lkcl_ok.  definitely time to sleep.  this time.  i promise.  night all.
00:55.42cr2lkcl_: good night.
00:56.47Kevin2cr2: The phone is still usable after you run "boot"?
00:57.05cr2Kevin2: yes.
00:57.23cr2Kevin2: i need to sleep too. good night.
00:57.31Kevin2Good night.
01:29.27*** join/#htc-linux vnevoa (n=vasco@a83-132-50-19.cpe.netcabo.pt)
01:46.33*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) [NETSPLIT VICTIM]
01:46.33*** join/#htc-linux lkcl_ (n=lkcl@bb-87-82-5-55.ukonline.co.uk) [NETSPLIT VICTIM]
01:46.33*** join/#htc-linux rparmaste (i=par@dipole.idlepattern.com) [NETSPLIT VICTIM]
01:46.46*** join/#htc-linux lamikr_ (n=chatzill@aragorn.kortex.jyu.fi)
01:46.46*** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi)
01:46.47*** join/#htc-linux eldu (n=damajor@nysa.e-geek.org) [NETSPLIT VICTIM]
01:46.47*** join/#htc-linux baud123 (n=baud@ver78-1-82-240-29-152.fbx.proxad.net) [NETSPLIT VICTIM]
01:46.47*** join/#htc-linux Funklord (n=cow@c-cbd572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
03:04.06*** join/#htc-linux rber (n=rj@c-69-243-25-111.hsd1.va.comcast.net)
03:44.57*** join/#htc-linux RoEn_PC (n=roen@p54A65F8A.dip.t-dialin.net)
04:45.27*** join/#htc-linux RoEn_PC (n=roen@p54A65F8A.dip.t-dialin.net)
04:54.08lkcl_http://userpage.fu-berlin.de/~
04:54.17lkcl_http://userpage.fu-berlin.de/~zabel/magician
04:54.25lkcl_esp look at disassemble.py
05:31.26*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
07:03.15lkcllpotter: is that the trolltech/qt lpotter?
08:05.43lpotterhmm
08:17.33*** join/#htc-linux rbergero (n=rj@c-69-243-25-111.hsd1.va.comcast.net)
08:21.31cr2lkcl: what is your PUEN gpio ?
08:33.29cr2your lcd setup is the same as on beetles.
09:03.47cr2lkcl: if you will make the sane asic3 gpio dump, you'll have the working kernel RSN.
09:11.11*** join/#htc-linux soul-- (i=soul--@j46056.upc-j.chello.nl)
09:11.43*** part/#htc-linux MB300E (n=MB300E@c-cfa671d5.07-110-6c756c11.cust.bredbandsbolaget.se)
09:23.30*** join/#htc-linux psokolovsky (n=psokolov@234.usernat.ip.net.ua)
09:27.04*** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be)
09:34.09*** part/#htc-linux soul-- (i=soul--@j46056.upc-j.chello.nl)
09:59.47poflkcl: r u online?
10:01.39pofi've seen your ipaq6915MemoryMap wiki page... i have the mmu-dump for the Hermes here: http://wiki.xda-developers.com/index.php?pagename=Hermes_Linux
10:02.42pofwhow do u find what's on each part?
10:59.26*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179)
11:10.51*** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
11:55.54*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
12:41.09*** join/#htc-linux rob_w (n=rob_w@p549B998F.dip0.t-ipconnect.de)
13:20.39*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
13:30.48lkclyep am hee, pof - sort-of
13:30.54lkcls/hee/here
13:32.44lkcltook the device apart with a T6 screwdriver, pinged the RF cover-shields off, cut the cross-bars across the RF shield cases if necessary (there are 6 cases), looked reeeeal carefully at the partnumbers, and then cr2 and i googled them.
13:33.08lkclhighly scientific.  reassembly was a bitch.
13:43.16*** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be)
13:56.51mndctrlreassembly always is ;)
13:57.01mndctrlmy blueangel is still in pieces...
13:57.02mndctrllol
14:26.17poflkcl: I didn mean the hardware (we already have chipset pictures on the Hermes), I meant this page: http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap
14:26.54pofI have an mmu dump from gnuharet here: http://forum.xda-developers.com/attachment.php?attachmentid=30750&d=1160275998
14:27.34pofbut I can't figure out how to make a "memory map" wiki page for the Hermes like you did on the ipaq6915 with that info
14:45.36*** join/#htc-linux RoEn_PC (n=roen@p54A65F8A.dip.t-dialin.net)
14:51.29*** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
14:56.06*** join/#htc-linux rob_w (n=rob_w@p549B9F18.dip0.t-ipconnect.de)
14:56.06lkclahh, clueless - cr2 done that.  i think he downloaded the latest ROM and got it from that
14:56.17lkclbut i did a dump mmu and got that
14:57.23lkclallo rob
15:48.00lkclok i'm pretty lost with this idapro stuff!
15:56.42rob_wi bbl .. need to run hoime
16:03.41pofwhich is the HTC codename for ipaq6915 ?
16:05.57lkclSable
16:37.13poflkcl: do u want it to be added to xda-developers forums?
16:37.43lkclsure
16:37.45lkclgood idea
16:38.08lkclnot that i'm ever going to actually look at the forums
16:38.45lkclthey seem to be full of me-too postings and windows losers nyer nyer :)
16:38.51*** join/#htc-linux pH5 (n=ph5@e178245253.adsl.alicedsl.de)
17:00.39pofyes... i know, but usually on the upgrading forum the signal/noise ratio is a bit better
17:04.30*** join/#htc-linux rob_w (n=bob@p85.212.180.162.tisdip.tiscali.de)
17:05.57rob_wre lkcl  , whats up ?
19:43.49*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
19:43.52*** join/#htc-linux Ro_En_PC (n=roen@p54A67225.dip.t-dialin.net)
20:35.37FunklordHello all
20:36.06Funklordgnulinux.biz will be moved to htc.gnulinux.biz shortly
20:36.28Funklordhowever, there will be a huge link to it from the main gnulinux.biz page
20:37.16FunklordI'll see if it can be done without invalidating links to the file area
20:40.35*** join/#htc-linux LunohoD_ (n=alex@e180121146.adsl.alicedsl.de)
20:45.02poflkcl: your sable forum is on xda-developers ;)
21:18.51lkclhurrah!
21:18.59lkclallo funklord
21:19.40*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
21:19.51lkclwotcha cr2
21:20.03lkclgot me idapro upgrade today (v4.9)
21:20.24cr2lkcl: can you dump the asic3 gpio region, so we will add sable to hh.org right now ?
21:20.32cr2linux version ? :D
21:20.42lkcli'm sure i've already done the asic3 gpio dump....
21:20.46lkclmwahahaha
21:21.11cr2the "dump asic3gpio" is inconsistent with your "raw dump", so i was confused.
21:21.16lkcloh.  right.
21:21.18lkclbizarre.
21:21.46lkclok well let's try it again.
21:21.48cr2switch off wifi,bt,phone and do 'pd 0x10000000 0x200'
21:21.56lkclack
21:22.00Funklordlkcl: hey!
21:22.15lkcloh arse.  gotta do that as a thingy-command, cos i don't have usb/udc
21:22.27lkclhow are ya, funklord?  as you can see i'm back again
21:22.45cr2i feel sick that such fine machine still only runs wince ;)
21:22.50FunklordI'm good, just that life has taken its toll on me
21:23.10lkclcalm, calm, cr2 - i have an htcsable.c sitting here etc.
21:23.15cr2lkcl: the usb trace will be helpful too. i need PUEN.
21:23.25lkclhurrah.  so am i talking to the ghost of funklord yet?
21:23.26Funklordhave a high maintenance gf, and been working + renovating my house
21:23.42Funklordlkcl: ghost?? ;P
21:23.47cr2lkcl: i have already written everything, i only need your asic3 values.
21:23.50lkclahh joy.  ditch the bitch and torch the house, is my advice.
21:23.55lkclmwahahahah
21:23.59Funklordhehe
21:24.04lkclack
21:24.05cr2LOL.
21:24.40FunklordI ordered 2 cheap oscilloscopes from ebay =)
21:25.12cr2Funklord: these days you need a logic analyzer instead.
21:25.27lkclok.  what command am i running to do this dump, and get the results into a file - without running the telnet thing?
21:25.48cr2hmm. 'pdump' ?
21:25.51lkclcan the output normally seen by dump asic3 be outputted into a file in the... ack.
21:26.00lkclcan you remember the syntax?
21:26.08Funklordcr2: I need them for high voltage stuff
21:26.15cr2i'll look in the source.
21:26.26Funklordsetting up a better ups system
21:27.11cr2[V|P]DUMP <filename> <addr> <size>
21:27.17lkclack
21:27.24cr2Funklord: ok.
21:27.50cr2lkcl: there was a bug in this command, i don't remember is i have committed the patch.
21:29.14lkcljoy.
21:30.29lkclhmm... it's created a file named 0x200 - would that be the bug you're talking about? :)
21:31.00cr2yes, but it's just an annoyance.
21:32.00cr2parsing command line in haret is really bizarre. why don't people just use bison ?
21:32.30lkclok.
21:32.52*** join/#htc-linux florian (n=fuchs@p50838DC2.dip0.t-ipconnect.de)
21:32.54lkcldone.  Ipaq6915_Research
21:32.57lkclallo florian
21:33.31lkclcos flex/bison is ... obscure - unless you know it well.
21:33.50lkclor can bison be used without flex?  never tried it...
21:33.55florianhi
21:34.19lkcli've added the asic3 raw dump there cr2 - into the page, this time.
21:34.33cr2lkcl: ok.
21:35.01lkclahh, hungry baby - will be back later.
21:43.34goxboxlivehi cr2
21:43.54goxboxliveHave you looked at the backlight driver yet?
21:44.22goxboxliveI have once again tried the sound driver, but there are no sound
21:46.28cr2goxboxlive: hi. bl is not a high priority for me, sorry. for the sound try to understand what we are doing differently from hx4700.
21:47.18goxboxliveBut nonn have confirmed for me that they have working sound in the HX4700.
21:48.30goxboxliveBut, isent the backligt driver just a 5 min operation for you? It is kind of hard to test and play with it now, since the bl is allmost off.
21:50.10cr2ok, i'll look at it in 5 min.
21:50.30goxboxlive:-)
21:58.27lkclok.  where was i.
22:00.42cr2lkcl: i have compiled the kernel.
22:00.49cr2you may have the penguin.
22:00.51lkclhurrah
22:01.03cr2but there is no usb. because of PUEN.
22:01.11lkclgplr[45] changes when i unplug the thingy from the cradle
22:01.21cr2the rest like wifi and bt need gpio & stuff.
22:01.26lkclok.
22:01.35lkclgimme!
22:01.43cr2source of zimage ?
22:01.53cr2s/ of / or /
22:01.59lkclzImage for now
22:02.03cr2ok.
22:02.14lkclbtw did you know i have ssh access to handhelds.org?
22:03.30cr2http://jornada820.sf.net/files/uni
22:03.37cr2don't think so.
22:03.43cr2zsab
22:04.21cr2lkcl: then clean up the mess that is himalaya in hh.org CVS ;)
22:04.28lkclsorry!
22:04.39lkclo god what have they done to it...
22:04.47cr2if you'll see the penguin i'll commit a lot of patches to hh.org :)
22:05.06lkclok it's been a while - what do i need?
22:05.26cr2set KERNEL zsab
22:05.26lkclrd
22:05.29lkclstartup.txt
22:05.33cr2yes.
22:05.35cr2and boot2
22:05.38cr2boot2
22:05.48cr2forget about initrd for now.
22:05.50lkclboot2?  where dat?
22:06.00cr2two lines in startup.txt
22:06.05cr2set KERNEL zsab
22:06.07cr2boot2
22:06.24lkcloh - right.  a file with those two lines in it.
22:06.33cr2then press "Run"
22:06.48lkclack
22:09.46lkclok the screen settings aren't _quite_ right :)
22:10.01lkclfor the logo, that is
22:10.13lkcleet got eet a beeet wrong
22:10.27cr2what ?
22:10.53lkclthe logo page was splattered in a thin line, 2/3 of the way down the page
22:11.13cr2the fonts are for the universal, i'll make them smaller.
22:11.16lkcland then a bit of red appeared, as a streak covering about 1.5 scan lines
22:12.10lkclblack appeared about 2/3 of the way down, only about 15mm high, across the width of the screen.
22:12.16cr2strange.
22:12.33cr2can you make a "screenshot" ?
22:12.45lkclsure.  sort-of.  i can take a photo of it
22:13.08cr2goxboxlive: it's not a 5min job, it's a bit more involved.
22:13.17goxboxliveok
22:13.21goxboxliveï c
22:13.32goxboxlivethx anyway
22:16.59psokolovskyHi guys!
22:17.03cr2if i just copy the h4000 driver, it uses the 7 prescaler.
22:17.12psokolovskyWhat's the gore? it's 5min job ;-)
22:17.21cr2psokolovky: just at the right moment :)
22:17.25psokolovskylol
22:17.33cr2why do you use the prescaler ?
22:17.34lkclhttp://hands.com/~lkcl/hp6915 - IMAGE_00019.jpg and 00020.jpg
22:17.51psokolovskycr2, that stuff came for h1910 ;-)
22:18.17psokolovskycr2, feel free to keep your method, it's not important for conversion
22:18.30cr2lkcl: it's ok. where is the penguin ?
22:18.48lkclprecisely.  the penguin is smeared in that black thick line, there
22:19.10cr2psokolovsky: wince always uses 0xc8 without a prescaler. on all htc devices i have seen.
22:19.32lkclsomething thinks that the screen is only the size of that thick black line.  then - you note that it goes from blue to red, in the 2nd photo?  that is, i presume, the thermometer.
22:19.48cr2there is no thermomemter.
22:19.50psokolovskycr2, np, I really have no idea what's better. maybe worth to use the same velue later.
22:19.53lkclhurrah!
22:20.02lkclok.  well, there's no penguin, either :)
22:20.05cr2the lines show the allocated pages.
22:20.10cr2bad.
22:20.23cr2psokolovsky: one question about the asic3.
22:20.35lkclwell i imagine that the first thing to get working is getting the penguin in the right place
22:20.37lkclbrb - baby...
22:21.53psokolovskycr2, yes, what's it?
22:22.05cr2lkcl: i guess something is fscked in my asic3 init code.
22:22.23cr2do you know what is smbus on asic3 ?
22:22.31cr2is it i2c ?
22:23.58psokolovskycr2, smbus? nope, have no idea, unfortunately, i'm not such asic3 expert ;-)
22:24.03cr2i've written a small memo here (includes alt functions): http://wiki.xda-developers.com/index.php?pagename=ASIC3
22:24.40cr2blueangel uses asic3 pwm and spi. you should use the spi for keyboard too on h4000 ?
22:24.52lkclok am here
22:25.02cr2btw, real pwm*, not only led*.
22:25.32lkclok is it time to rev-eng the bootloader, then?
22:25.40cr2lkcl: i can drop the asic3 code.
22:25.43lkclack.
22:26.04cr2lkcl: not really. you can trace the gpio first. will save you a lot of pain.
22:26.13lkclhurrah.  suggestions?
22:26.16psokolovskycr2, yes, afaik, keyb in h4350 is on ASIC3 spi. there's driver in CVS
22:26.57cr2psokolovsky: there is a driver for the blueangel too. they are a bit different, so i'm a bit confused here too.
22:27.52cr2lkcl: i'll compile the new kernel. btw, can you run 'strings' on rilgsm.dll ?
22:27.56lkclack.
22:28.40psokolovskycr2, I didn't look close at that, unfortunately (i'm with h4150, keyb-less). One of issue we have is differentiating between h4150 & h4350 in runtime (e.g. for keyboard driver load). SO far idea is exactly to test if SPI read given anything sane.
22:29.26psokolovskywoo-hoo! h3900 resumes with native bootloader!!
22:29.44psokolovskywas the same checksum crap as with hx4700. took some time to disassemble.
22:30.16psokolovskyAnd it took some time to get rid of 2.4 kernel/rootfs/bootldr flashed into device ;-)
22:30.25lkclhttp://hands.com/~lkcl/hp6915/ - strings.rilgsm.dll.sorted.txt and raw.txt
22:31.56cr2psokolovsky: the IPL on universal is very simple. just a jump to 0xa0040000 with some minor GPIO and clock setup.
22:32.19psokolovskycr2, on h4000 too ;-)
22:32.23cr2but mdoc G3 is a bit more involved.
22:33.38cr2do you have a working driver for you mdoc+ ?
22:34.00cr2you restore the MSC*, but it's already done by IPL.
22:35.02cr2heh. and they preserve a whole megabyte for the SPL bootloader.
22:35.52psokolovskycr2, nope MSC is not set in h4000's IPL. MSCs were the thing of wjich I bumped my head for almost 3 months ;-E
22:36.18psokolovskycr2: Suddenly, after resume, ASIC3 is read-only. That was LOL ;-E
22:36.51psokolovskycr2: as for mdoc, nope, and for me, it's least priority. someone, asus620 kinda have something working IIRC
22:37.15cr2hmm. really painful.
22:37.26cr2asus620 uses mdoc+ ?
22:39.39lkclhappily recompiling, cr2?
22:39.45psokolovskycr2, yes, IIRC.
22:40.05cr2btw, i have tried to compile asic3 as a module. hit a LOT of module init bugs, and needed a real #ifdef spaghetty.
22:40.13cr2lkcl: uploading.
22:40.14psokolovsky<PROTECTED>
22:40.22psokolovskyfrom HandheldHardwareXref
22:40.26cr2ok.
22:40.37lkclyeh i sorted that a _long_ time ago in the himalaya code
22:40.47cr2lkcl: a driver for himalya, if you still have it :)
22:40.47psokolovskycr2, do you use "asic3 child devices"?
22:40.55lkcland peple removed it and went back to #ifdefs
22:41.13cr2psokolovsky: yes. i clone your h4000 setup :)
22:41.24lkcldude i kerp alll my htc devices,now
22:41.39cr2:)
22:41.39lkclthe only one i aint  got is the wallaby
22:41.52psokolovskydunno then. but again, having full modular setup is also for "v2" fo our stuff, so to say ;-)
22:42.19cr2it's a real bitch, the wallaby. a lot of weird asics.
22:42.19psokolovskycr2, so, what about universal bl - you're working on it?
22:42.20lkcldone uploading?
22:43.11cr2psokolovsky: not really ;) it uses pwm1, so the driver becomes an ugly cut'n'paste mess ;)
22:43.45lkcleeuw. yukk
22:44.17psokolovskycr2, there should be no unliness. wanna me try on it?
22:44.44cr2lkcl: ready.
22:44.55cr2psokolovsky: yes :)
22:45.03lkclgot it
22:45.42psokolovskyok
22:46.07cr2psokolovsky: there are 4 other htc devices that use pxa pwm* what about the generic driver ?
22:46.25cr2you don't want to write a driver for arch of them ? ;)
22:47.39psokolovskycr2, http://www.handhelds.org/moin/moin.cgi/HandheldHardwareXref , search for "backlight" . Not sure that it calls for a generci driver right now, but 75% indeed use pxa pwm0 ;-)
22:47.57cr2psokolovsky: btw, battery charging. is it the 10 sec timer you have there ?
22:48.56cr2ok. i can add some more devices to this list. for example the sable (hw691x), where we are trying to boot linux right now.
22:49.29psokolovskycr2: please add
22:49.35lkclcr2 - same thing happens.  same area of screen gets blatted, blue line across middle of black area, that then goes red.
22:49.42psokolovskycr2: timer thing is also from h1910 ;-)
22:49.43cr2ok.
22:50.10cr2lkcl: it is normal. but you don't get a penguin.
22:50.26lkclnope
22:50.31cr2ok.
22:52.49lkclright.  what next...
22:52.52cr21000 * HZ
22:53.02cr2looks like 10 seconds to me ?
22:54.26cr2yes, it also sets some asic3gpio.
22:54.53cr2but the status data comes from asic3_owm
22:55.40lkclok what params does pxafb need?
22:56.24cr2lkcl: i'll try to drop everything asic3 from htcsable.c
22:56.40lkclack
22:57.24lkcli'll try pxafb parameters
22:57.35psokolovskycr2: you mean this: mod_timer(&timer_bat, jiffies + (1000 * HZ) / 1000);
22:57.37psokolovsky? ;-)
22:57.44cr2yes.
22:57.44psokolovskyseems like a second ;-)
22:58.01cr2HZ is 1msec like on wince ?
22:58.22psokolovskyHZ is 1Hz, I guess
22:58.44psokolovskycr2: those funky div/mul is of course fixed-point stuff
22:58.56psokolovsky1500*HZ/1000
22:59.17cr2i have a 10second periodic interrupt on wince to check the battery status.
22:59.31psokolovskyOr maybe I'm wrong, lol ;-)
22:59.37cr2i
22:59.45cr2'm reading the mod_timer docs :)
23:00.25lkclbtw i ain't getting anything with the code i did, either, cr2.
23:00.35lkclwhich was a copy of beetles.
23:00.49psokolovskyyeah, you probably right, it's ticks per 1 sec. stupid me ;-)
23:01.26psokolovskycr2, anyway, battery handling is not perfect in h1910/h4000. it's just barely working ;-). and needs improving
23:02.21cr2i need to make asic3_owm work first.
23:02.37cr2it delivers some strange data for me.
23:04.33psokolovskycr2: Just right now mreimer committed some generic owm driver to CVS %)
23:05.01psokolovskycr2, you really guys should check what you're working on, to not dup stuff...
23:05.47cr2lkcl: i dropped asic3 from the kernel. will check the .config now.
23:06.11cr2psokolovsky: i'm mainly into RE, not the actual kernel development now.
23:06.56lkclack
23:07.17cr2CONFIG_HZ=100
23:10.15cr2lkcl: recompiling.
23:10.20lkclack.
23:10.24lkclgotta go try to sleep soon
23:10.57cr2last boot attempt :)
23:14.40lkclin the meantime i et to geed baby hurrah
23:15.12cr2uploaded.
23:15.33lkclack
23:17.37lkcloff we go
23:17.41lkcl....
23:17.50lkclsplat. no penguin.
23:18.24Kevin2Hi
23:18.26lkclwanna serial cable.
23:19.10cr2lkcl: it's some very simple bug.
23:19.38lkcljoy.
23:20.02lkclpxafb should basically just work, right?
23:20.19cr2yes.
23:20.50cr2is your MTYPE correct ?
23:21.41cr2MACHINE_START(HW6900, "HTC Sable")
23:21.58lkclyep
23:22.16cr2#define MACH_TYPE_HW6900               1157
23:22.21cr2haret ?
23:22.27lkclgnuharet
23:22.55cr2add
23:22.57lkcloh.  right.
23:22.59lkclduh.
23:23.02cr2set FORCEMTYPE 1157
23:23.07cr2to startup.txt
23:23.32lkclack
23:23.35cr2but it should be autodetected.
23:24.16cr2<PROTECTED>
23:24.17cr2<PROTECTED>
23:25.02lkcl...
23:25.10lkclred... no penguin
23:26.15lkclok.  doublecheck time by overwriting screen area
23:26.23lkclill do that tomorropw
23:26.39cr2ok.
23:28.26*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
23:29.02cr2Kevin2: found the haret bug ?
23:29.49Kevin2I think I may have.  I'm guessing universal doesn't have the framebuffer in the same place as other phones.
23:30.37Kevin2I'm writing some lines directly to fb on bootup.  I call vidGetVRAM to find the FB, but then I do a memPhysMap to locate the area..  The original linboot code uses the global variable "vram".
23:30.49Kevin2I'm still not sure why this would be a problem, but it is a guess.
23:32.43cr2ok.
23:35.21Kevin2cr2: Can you pull the latest binary from svn and try again?  This version just disables the fb writes during bootup on universal.
23:35.57Kevin2psokolovsky: Are you around?  I was wondering if you had any insight on battery monitoring.
23:36.11psokolovskyKevin2, Hi!
23:36.25psokolovskyKevin2, very little, unfortunately.
23:37.13psokolovskyKevin2, all I did is trie dto figure out if h4000 has ds27xx on w1, and I failed to detect it, with a driver I quickly hacked.
23:37.20Kevin2It appears that the Apache phone also does not have an OWM bus.  Instead, the ad7877 chip appears to monitor 5 ADC channels.
23:37.37psokolovskyKevin2, so I had to use ADC in ads7846. that all story, unfortunately
23:38.05Kevin2Do you have a good idea of what values should be used to start/stop charging the phone?
23:38.18Kevin2I have these 5 ADC channels, but no clear idea of what they 5 channels are.
23:38.21psokolovskyKevin2, that not cool. AFAIK, correlation betwen voltage and "capacity" is not linear
23:38.59psokolovskyKevin2, ads7846 also haev 2 or maybe even 4 channels. but battery only on 1.
23:39.48psokolovskyKevin2, I have no idea about start/stop charge also - h4000 works w/o any epxlicit charge control (when booted from wince of course)
23:40.15cr2Kevin2: the LCD goes off, and then nothing happens.
23:40.25Kevin2Hrmm.  There does appear to be a connection to start/stop and several of the channels.  (One looks like voltage, another looks like temperature.)
23:41.03Kevin2cr2: Ack.  The phone totally locks up?
23:41.10psokolovskyKevin2, I just measured values I got from ads7846 when battery is full vs just before the device actuallt died from battery fault, added few % to the latter, and use that, as if it was linear, whcih is incorrect and crude hack. need to do better on all that
23:45.43Kevin2psokolovsky: Can you try the latest haret from svn (svn://www.shadowmite.com/home/svn/ppc6700/haret) and see if it can boot linux on your machine?
23:46.09psokolovskyKevin2, yet another haret repo? ;-)
23:46.41Kevin2No, that is just a binary location.  It's still in patch form to the gnu-haret repository.
23:46.44psokolovskyKevin2, will put in q, but overloaded on stuff now. so, as time permits. Btw, you should be having cvs commit now on hh.org.
23:46.52psokolovskyok
23:47.04cr2Kevin2: yes.
23:47.19Kevin2I got an email from George France saying my key is good.
23:47.52psokolovskyok
23:57.54Kevin2cr2: Do you really have a gap in physical ram between 0xa3f00000 and 0xa4000000?
23:58.16cr2no. why ?
23:58.54Kevin2The memory map on xda implies that memory ends at 0xa3f00000

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