00:05.10 | cr2 | lkcl_: nk.exe , rilgsm.dll and wavedev.dll are there. good. |
00:05.13 | cr2 | hpwifidvr.dll ? |
00:05.32 | cr2 | can you run 'strings' and 'strings -el' on it ? |
00:05.41 | cr2 | it's something new. |
00:05.48 | lkcl_ | 1sec... |
00:06.08 | lkcl_ | ACX100 |
00:06.14 | lkcl_ | tiwlan |
00:06.43 | lkcl_ | MD4 part of OpenSSL 0.9.6d [engine] 9 May 2002 :) :) |
00:06.50 | lkcl_ | hpwifidvr.pdb |
00:07.15 | cr2 | still acx100 |
00:07.15 | lkcl_ | wzcsapi.dll |
00:07.37 | cr2 | do you have *.bin in Files ? |
00:07.43 | cr2 | and BT_* ? |
00:07.53 | cr2 | you can also look in \Windows |
00:08.20 | lkcl_ | ACX100_dl.bin maxim_radio_dl.bin rfmd_radio_dl.bin |
00:08.44 | cr2 | great. |
00:08.58 | cr2 | what about BT_* ? |
00:09.07 | cr2 | or *.bts ? |
00:10.04 | lkcl_ | BT_Init_Script_TI_BroadComm_212.bts |
00:10.10 | lkcl_ | BT_Init_Script_TI_BroadComm_223.bts |
00:10.25 | cr2 | you don't have umts, so no qct* |
00:10.26 | cr2 | ok. |
00:10.32 | cr2 | 212 is ok. |
00:10.46 | lkcl_ | use this on BRF6150 2.2.3 ROM device only (FW v4.0.27) |
00:10.54 | cr2 | 223 may be bluetooth 2.0 |
00:11.11 | cr2 | interesting. you may have newer firmware. |
00:11.38 | lkcl_ | 212 - BRF6150 2.12 use this on firmware v3.0.48 only |
00:13.02 | lkcl_ | is pxafb memory-mapped, btw, just like universal? |
00:14.39 | cr2 | a bit simplier. you use only PXA SRAM, like magician. |
00:14.51 | cr2 | you can use main RAM, but it will be slower. |
00:15.34 | lkcl_ | ok so you can actually _specify_ the address that you want to use, and tell the PXALCD where that address is? |
00:16.30 | lkcl_ | gotta go again... |
00:16.36 | cr2 | look at magician. |
00:16.54 | cr2 | but 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.11 | Kevin2 | cr2: 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.19 | gw280 | cr2: are you the universal linux dude? |
00:37.02 | cr2 | Kevin2: now it crashes. |
00:37.09 | cr2 | gw280: yes. |
00:37.47 | gw280 | cr2: what's the status with the GSM modem stuff? |
00:38.29 | Kevin2 | Can you forward a log? (Either by booting via telnet or by adding a "log xyz" command to the start of the script.) |
00:38.35 | cr2 | gw280: it still does not respond. |
00:38.55 | Kevin2 | cr2: haret crashes or the phone locks up? |
00:40.08 | Kevin2 | Hrmm. I don't think we fflush on the log command, so telnet will likely be needed. |
00:41.53 | cr2 | Kevin2: crashes. |
00:42.27 | gw280 | cr2: have you worked out the AT commandset? |
00:45.36 | cr2 | gw280: http://wiki.xda-developers.com/index.php?pagename=HTC_GSM |
00:46.21 | gw280 | cr2: I'm thinking of writing a telepathy backend for the GSM interface |
00:47.57 | cr2 | telepathy ? |
00:48.32 | cr2 | some MSM-specific commands are missing, but you are not really interested in them now. |
00:49.28 | cr2 | Kevin2: what commands should i use in telnet ? |
00:49.39 | Kevin2 | Same commands you ran from default.txt |
00:50.17 | cr2 | ol. in telnet it works. |
00:50.27 | cr2 | ptable: page=0 of 320 pfnn=3647 0xa0e3f000 |
00:50.34 | cr2 | do you really need these ? |
00:50.53 | Kevin2 | ? |
00:50.53 | cr2 | i think this code is unnecessary now. |
00:51.08 | Kevin2 | what code is that? |
00:51.15 | lkcl_ | GOT the bastard. got the screen address. |
00:51.34 | cr2 | lkcl_: huh ? |
00:52.00 | cr2 | Kevin2: sorry, wrong haret ;) |
00:52.09 | Kevin2 | cr2: I was just about to tell you that. :-) |
00:52.16 | lkcl_ | got the memory area where the screen framebuffer is, for the Sable. |
00:52.48 | cr2 | lkcl_: it's told by haret on the first page... |
00:52.50 | lkcl_ | oooops... |
00:52.56 | cr2 | and it's pxa SRAM. |
00:53.11 | lkcl_ | oh, is it? :) |
00:53.29 | gw280 | cr2: telepathy.freedesktop.org |
00:53.31 | lkcl_ | oh - so it is :) |
00:53.53 | lkcl_ | ha ha that's very funny |
00:54.19 | lkcl_ | there i was going through all sorts of memory bits and it's in front of my nose :) |
00:54.25 | cr2 | Allocating 1315144 bytes (kernel@0 initrd@1306624 preload@1306624) |
00:54.26 | cr2 | Got physical contiguous ram (virtual=000c0000 phys=a0d12000 memstart=a0000000 memsize=67108864) |
00:54.26 | cr2 | Reading 1304724 bytes... |
00:54.26 | cr2 | Read complete |
00:54.26 | cr2 | Preloader setup (tram=104@0002c000/1002c000/a0920000 preload=8520@001ff000/a0e51000 mmu=b0800000/a0800000 code=328@00201000/a0e53000 cstart=00000064) |
00:54.39 | cr2 | Second preloader addr=a3ffd000 size=8520 exec=a3ffd064 |
00:54.39 | cr2 | Video buffer at virt=00212000 phys=a3faa000 |
00:54.39 | cr2 | Go Go Go... |
00:54.40 | cr2 | Connection closed by foreign host. |
00:54.43 | cr2 | dead. |
00:55.26 | lkcl_ | ok. definitely time to sleep. this time. i promise. night all. |
00:55.42 | cr2 | lkcl_: good night. |
00:56.47 | Kevin2 | cr2: The phone is still usable after you run "boot"? |
00:57.05 | cr2 | Kevin2: yes. |
00:57.23 | cr2 | Kevin2: i need to sleep too. good night. |
00:57.31 | Kevin2 | Good 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.08 | lkcl_ | http://userpage.fu-berlin.de/~ |
04:54.17 | lkcl_ | http://userpage.fu-berlin.de/~zabel/magician |
04:54.25 | lkcl_ | esp look at disassemble.py |
05:31.26 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
07:03.15 | lkcl | lpotter: is that the trolltech/qt lpotter? |
08:05.43 | lpotter | hmm |
08:17.33 | *** join/#htc-linux rbergero (n=rj@c-69-243-25-111.hsd1.va.comcast.net) |
08:21.31 | cr2 | lkcl: what is your PUEN gpio ? |
08:33.29 | cr2 | your lcd setup is the same as on beetles. |
09:03.47 | cr2 | lkcl: 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.47 | pof | lkcl: r u online? |
10:01.39 | pof | i'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.42 | pof | whow 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.48 | lkcl | yep am hee, pof - sort-of |
13:30.54 | lkcl | s/hee/here |
13:32.44 | lkcl | took 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.08 | lkcl | highly scientific. reassembly was a bitch. |
13:43.16 | *** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be) |
13:56.51 | mndctrl | reassembly always is ;) |
13:57.01 | mndctrl | my blueangel is still in pieces... |
13:57.02 | mndctrl | lol |
14:26.17 | pof | lkcl: 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.54 | pof | I have an mmu dump from gnuharet here: http://forum.xda-developers.com/attachment.php?attachmentid=30750&d=1160275998 |
14:27.34 | pof | but 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.06 | lkcl | ahh, clueless - cr2 done that. i think he downloaded the latest ROM and got it from that |
14:56.17 | lkcl | but i did a dump mmu and got that |
14:57.23 | lkcl | allo rob |
15:48.00 | lkcl | ok i'm pretty lost with this idapro stuff! |
15:56.42 | rob_w | i bbl .. need to run hoime |
16:03.41 | pof | which is the HTC codename for ipaq6915 ? |
16:05.57 | lkcl | Sable |
16:37.13 | pof | lkcl: do u want it to be added to xda-developers forums? |
16:37.43 | lkcl | sure |
16:37.45 | lkcl | good idea |
16:38.08 | lkcl | not that i'm ever going to actually look at the forums |
16:38.45 | lkcl | they 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.39 | pof | yes... 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.57 | rob_w | re 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.37 | Funklord | Hello all |
20:36.06 | Funklord | gnulinux.biz will be moved to htc.gnulinux.biz shortly |
20:36.28 | Funklord | however, there will be a huge link to it from the main gnulinux.biz page |
20:37.16 | Funklord | I'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.02 | pof | lkcl: your sable forum is on xda-developers ;) |
21:18.51 | lkcl | hurrah! |
21:18.59 | lkcl | allo funklord |
21:19.40 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) |
21:19.51 | lkcl | wotcha cr2 |
21:20.03 | lkcl | got me idapro upgrade today (v4.9) |
21:20.24 | cr2 | lkcl: can you dump the asic3 gpio region, so we will add sable to hh.org right now ? |
21:20.32 | cr2 | linux version ? :D |
21:20.42 | lkcl | i'm sure i've already done the asic3 gpio dump.... |
21:20.46 | lkcl | mwahahaha |
21:21.11 | cr2 | the "dump asic3gpio" is inconsistent with your "raw dump", so i was confused. |
21:21.16 | lkcl | oh. right. |
21:21.18 | lkcl | bizarre. |
21:21.46 | lkcl | ok well let's try it again. |
21:21.48 | cr2 | switch off wifi,bt,phone and do 'pd 0x10000000 0x200' |
21:21.56 | lkcl | ack |
21:22.00 | Funklord | lkcl: hey! |
21:22.15 | lkcl | oh arse. gotta do that as a thingy-command, cos i don't have usb/udc |
21:22.27 | lkcl | how are ya, funklord? as you can see i'm back again |
21:22.45 | cr2 | i feel sick that such fine machine still only runs wince ;) |
21:22.50 | Funklord | I'm good, just that life has taken its toll on me |
21:23.10 | lkcl | calm, calm, cr2 - i have an htcsable.c sitting here etc. |
21:23.15 | cr2 | lkcl: the usb trace will be helpful too. i need PUEN. |
21:23.25 | lkcl | hurrah. so am i talking to the ghost of funklord yet? |
21:23.26 | Funklord | have a high maintenance gf, and been working + renovating my house |
21:23.42 | Funklord | lkcl: ghost?? ;P |
21:23.47 | cr2 | lkcl: i have already written everything, i only need your asic3 values. |
21:23.50 | lkcl | ahh joy. ditch the bitch and torch the house, is my advice. |
21:23.55 | lkcl | mwahahahah |
21:23.59 | Funklord | hehe |
21:24.04 | lkcl | ack |
21:24.05 | cr2 | LOL. |
21:24.40 | Funklord | I ordered 2 cheap oscilloscopes from ebay =) |
21:25.12 | cr2 | Funklord: these days you need a logic analyzer instead. |
21:25.27 | lkcl | ok. what command am i running to do this dump, and get the results into a file - without running the telnet thing? |
21:25.48 | cr2 | hmm. 'pdump' ? |
21:25.51 | lkcl | can the output normally seen by dump asic3 be outputted into a file in the... ack. |
21:26.00 | lkcl | can you remember the syntax? |
21:26.08 | Funklord | cr2: I need them for high voltage stuff |
21:26.15 | cr2 | i'll look in the source. |
21:26.26 | Funklord | setting up a better ups system |
21:27.11 | cr2 | [V|P]DUMP <filename> <addr> <size> |
21:27.17 | lkcl | ack |
21:27.24 | cr2 | Funklord: ok. |
21:27.50 | cr2 | lkcl: there was a bug in this command, i don't remember is i have committed the patch. |
21:29.14 | lkcl | joy. |
21:30.29 | lkcl | hmm... it's created a file named 0x200 - would that be the bug you're talking about? :) |
21:31.00 | cr2 | yes, but it's just an annoyance. |
21:32.00 | cr2 | parsing command line in haret is really bizarre. why don't people just use bison ? |
21:32.30 | lkcl | ok. |
21:32.52 | *** join/#htc-linux florian (n=fuchs@p50838DC2.dip0.t-ipconnect.de) |
21:32.54 | lkcl | done. Ipaq6915_Research |
21:32.57 | lkcl | allo florian |
21:33.31 | lkcl | cos flex/bison is ... obscure - unless you know it well. |
21:33.50 | lkcl | or can bison be used without flex? never tried it... |
21:33.55 | florian | hi |
21:34.19 | lkcl | i've added the asic3 raw dump there cr2 - into the page, this time. |
21:34.33 | cr2 | lkcl: ok. |
21:35.01 | lkcl | ahh, hungry baby - will be back later. |
21:43.34 | goxboxlive | hi cr2 |
21:43.54 | goxboxlive | Have you looked at the backlight driver yet? |
21:44.22 | goxboxlive | I have once again tried the sound driver, but there are no sound |
21:46.28 | cr2 | goxboxlive: 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.18 | goxboxlive | But nonn have confirmed for me that they have working sound in the HX4700. |
21:48.30 | goxboxlive | But, 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.10 | cr2 | ok, i'll look at it in 5 min. |
21:50.30 | goxboxlive | :-) |
21:58.27 | lkcl | ok. where was i. |
22:00.42 | cr2 | lkcl: i have compiled the kernel. |
22:00.49 | cr2 | you may have the penguin. |
22:00.51 | lkcl | hurrah |
22:01.03 | cr2 | but there is no usb. because of PUEN. |
22:01.11 | lkcl | gplr[45] changes when i unplug the thingy from the cradle |
22:01.21 | cr2 | the rest like wifi and bt need gpio & stuff. |
22:01.26 | lkcl | ok. |
22:01.35 | lkcl | gimme! |
22:01.43 | cr2 | source of zimage ? |
22:01.53 | cr2 | s/ of / or / |
22:01.59 | lkcl | zImage for now |
22:02.03 | cr2 | ok. |
22:02.14 | lkcl | btw did you know i have ssh access to handhelds.org? |
22:03.30 | cr2 | http://jornada820.sf.net/files/uni |
22:03.37 | cr2 | don't think so. |
22:03.43 | cr2 | zsab |
22:04.21 | cr2 | lkcl: then clean up the mess that is himalaya in hh.org CVS ;) |
22:04.28 | lkcl | sorry! |
22:04.39 | lkcl | o god what have they done to it... |
22:04.47 | cr2 | if you'll see the penguin i'll commit a lot of patches to hh.org :) |
22:05.06 | lkcl | ok it's been a while - what do i need? |
22:05.26 | cr2 | set KERNEL zsab |
22:05.26 | lkcl | rd |
22:05.29 | lkcl | startup.txt |
22:05.33 | cr2 | yes. |
22:05.35 | cr2 | and boot2 |
22:05.38 | cr2 | boot2 |
22:05.48 | cr2 | forget about initrd for now. |
22:05.50 | lkcl | boot2? where dat? |
22:06.00 | cr2 | two lines in startup.txt |
22:06.05 | cr2 | set KERNEL zsab |
22:06.07 | cr2 | boot2 |
22:06.24 | lkcl | oh - right. a file with those two lines in it. |
22:06.33 | cr2 | then press "Run" |
22:06.48 | lkcl | ack |
22:09.46 | lkcl | ok the screen settings aren't _quite_ right :) |
22:10.01 | lkcl | for the logo, that is |
22:10.13 | lkcl | eet got eet a beeet wrong |
22:10.27 | cr2 | what ? |
22:10.53 | lkcl | the logo page was splattered in a thin line, 2/3 of the way down the page |
22:11.13 | cr2 | the fonts are for the universal, i'll make them smaller. |
22:11.16 | lkcl | and then a bit of red appeared, as a streak covering about 1.5 scan lines |
22:12.10 | lkcl | black appeared about 2/3 of the way down, only about 15mm high, across the width of the screen. |
22:12.16 | cr2 | strange. |
22:12.33 | cr2 | can you make a "screenshot" ? |
22:12.45 | lkcl | sure. sort-of. i can take a photo of it |
22:13.08 | cr2 | goxboxlive: it's not a 5min job, it's a bit more involved. |
22:13.17 | goxboxlive | ok |
22:13.21 | goxboxlive | ï c |
22:13.32 | goxboxlive | thx anyway |
22:16.59 | psokolovsky | Hi guys! |
22:17.03 | cr2 | if i just copy the h4000 driver, it uses the 7 prescaler. |
22:17.12 | psokolovsky | What's the gore? it's 5min job ;-) |
22:17.21 | cr2 | psokolovky: just at the right moment :) |
22:17.25 | psokolovsky | lol |
22:17.33 | cr2 | why do you use the prescaler ? |
22:17.34 | lkcl | http://hands.com/~lkcl/hp6915 - IMAGE_00019.jpg and 00020.jpg |
22:17.51 | psokolovsky | cr2, that stuff came for h1910 ;-) |
22:18.17 | psokolovsky | cr2, feel free to keep your method, it's not important for conversion |
22:18.30 | cr2 | lkcl: it's ok. where is the penguin ? |
22:18.48 | lkcl | precisely. the penguin is smeared in that black thick line, there |
22:19.10 | cr2 | psokolovsky: wince always uses 0xc8 without a prescaler. on all htc devices i have seen. |
22:19.32 | lkcl | something 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.48 | cr2 | there is no thermomemter. |
22:19.50 | psokolovsky | cr2, np, I really have no idea what's better. maybe worth to use the same velue later. |
22:19.53 | lkcl | hurrah! |
22:20.02 | lkcl | ok. well, there's no penguin, either :) |
22:20.05 | cr2 | the lines show the allocated pages. |
22:20.10 | cr2 | bad. |
22:20.23 | cr2 | psokolovsky: one question about the asic3. |
22:20.35 | lkcl | well i imagine that the first thing to get working is getting the penguin in the right place |
22:20.37 | lkcl | brb - baby... |
22:21.53 | psokolovsky | cr2, yes, what's it? |
22:22.05 | cr2 | lkcl: i guess something is fscked in my asic3 init code. |
22:22.23 | cr2 | do you know what is smbus on asic3 ? |
22:22.31 | cr2 | is it i2c ? |
22:23.58 | psokolovsky | cr2, smbus? nope, have no idea, unfortunately, i'm not such asic3 expert ;-) |
22:24.03 | cr2 | i've written a small memo here (includes alt functions): http://wiki.xda-developers.com/index.php?pagename=ASIC3 |
22:24.40 | cr2 | blueangel uses asic3 pwm and spi. you should use the spi for keyboard too on h4000 ? |
22:24.52 | lkcl | ok am here |
22:25.02 | cr2 | btw, real pwm*, not only led*. |
22:25.32 | lkcl | ok is it time to rev-eng the bootloader, then? |
22:25.40 | cr2 | lkcl: i can drop the asic3 code. |
22:25.43 | lkcl | ack. |
22:26.04 | cr2 | lkcl: not really. you can trace the gpio first. will save you a lot of pain. |
22:26.13 | lkcl | hurrah. suggestions? |
22:26.16 | psokolovsky | cr2, yes, afaik, keyb in h4350 is on ASIC3 spi. there's driver in CVS |
22:26.57 | cr2 | psokolovsky: there is a driver for the blueangel too. they are a bit different, so i'm a bit confused here too. |
22:27.52 | cr2 | lkcl: i'll compile the new kernel. btw, can you run 'strings' on rilgsm.dll ? |
22:27.56 | lkcl | ack. |
22:28.40 | psokolovsky | cr2, 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.26 | psokolovsky | woo-hoo! h3900 resumes with native bootloader!! |
22:29.44 | psokolovsky | was the same checksum crap as with hx4700. took some time to disassemble. |
22:30.16 | psokolovsky | And it took some time to get rid of 2.4 kernel/rootfs/bootldr flashed into device ;-) |
22:30.25 | lkcl | http://hands.com/~lkcl/hp6915/ - strings.rilgsm.dll.sorted.txt and raw.txt |
22:31.56 | cr2 | psokolovsky: the IPL on universal is very simple. just a jump to 0xa0040000 with some minor GPIO and clock setup. |
22:32.19 | psokolovsky | cr2, on h4000 too ;-) |
22:32.23 | cr2 | but mdoc G3 is a bit more involved. |
22:33.38 | cr2 | do you have a working driver for you mdoc+ ? |
22:34.00 | cr2 | you restore the MSC*, but it's already done by IPL. |
22:35.02 | cr2 | heh. and they preserve a whole megabyte for the SPL bootloader. |
22:35.52 | psokolovsky | cr2, 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.18 | psokolovsky | cr2: Suddenly, after resume, ASIC3 is read-only. That was LOL ;-E |
22:36.51 | psokolovsky | cr2: as for mdoc, nope, and for me, it's least priority. someone, asus620 kinda have something working IIRC |
22:37.15 | cr2 | hmm. really painful. |
22:37.26 | cr2 | asus620 uses mdoc+ ? |
22:39.39 | lkcl | happily recompiling, cr2? |
22:39.45 | psokolovsky | cr2, yes, IIRC. |
22:40.05 | cr2 | btw, i have tried to compile asic3 as a module. hit a LOT of module init bugs, and needed a real #ifdef spaghetty. |
22:40.13 | cr2 | lkcl: uploading. |
22:40.14 | psokolovsky | <PROTECTED> |
22:40.22 | psokolovsky | from HandheldHardwareXref |
22:40.26 | cr2 | ok. |
22:40.37 | lkcl | yeh i sorted that a _long_ time ago in the himalaya code |
22:40.47 | cr2 | lkcl: a driver for himalya, if you still have it :) |
22:40.47 | psokolovsky | cr2, do you use "asic3 child devices"? |
22:40.55 | lkcl | and peple removed it and went back to #ifdefs |
22:41.13 | cr2 | psokolovsky: yes. i clone your h4000 setup :) |
22:41.24 | lkcl | dude i kerp alll my htc devices,now |
22:41.39 | cr2 | :) |
22:41.39 | lkcl | the only one i aint got is the wallaby |
22:41.52 | psokolovsky | dunno then. but again, having full modular setup is also for "v2" fo our stuff, so to say ;-) |
22:42.19 | cr2 | it's a real bitch, the wallaby. a lot of weird asics. |
22:42.19 | psokolovsky | cr2, so, what about universal bl - you're working on it? |
22:42.20 | lkcl | done uploading? |
22:43.11 | cr2 | psokolovsky: not really ;) it uses pwm1, so the driver becomes an ugly cut'n'paste mess ;) |
22:43.45 | lkcl | eeuw. yukk |
22:44.17 | psokolovsky | cr2, there should be no unliness. wanna me try on it? |
22:44.44 | cr2 | lkcl: ready. |
22:44.55 | cr2 | psokolovsky: yes :) |
22:45.03 | lkcl | got it |
22:45.42 | psokolovsky | ok |
22:46.07 | cr2 | psokolovsky: there are 4 other htc devices that use pxa pwm* what about the generic driver ? |
22:46.25 | cr2 | you don't want to write a driver for arch of them ? ;) |
22:47.39 | psokolovsky | cr2, 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.57 | cr2 | psokolovsky: btw, battery charging. is it the 10 sec timer you have there ? |
22:48.56 | cr2 | ok. 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.29 | psokolovsky | cr2: please add |
22:49.35 | lkcl | cr2 - same thing happens. same area of screen gets blatted, blue line across middle of black area, that then goes red. |
22:49.42 | psokolovsky | cr2: timer thing is also from h1910 ;-) |
22:49.43 | cr2 | ok. |
22:50.10 | cr2 | lkcl: it is normal. but you don't get a penguin. |
22:50.26 | lkcl | nope |
22:50.31 | cr2 | ok. |
22:52.49 | lkcl | right. what next... |
22:52.52 | cr2 | 1000 * HZ |
22:53.02 | cr2 | looks like 10 seconds to me ? |
22:54.26 | cr2 | yes, it also sets some asic3gpio. |
22:54.53 | cr2 | but the status data comes from asic3_owm |
22:55.40 | lkcl | ok what params does pxafb need? |
22:56.24 | cr2 | lkcl: i'll try to drop everything asic3 from htcsable.c |
22:56.40 | lkcl | ack |
22:57.24 | lkcl | i'll try pxafb parameters |
22:57.35 | psokolovsky | cr2: you mean this: mod_timer(&timer_bat, jiffies + (1000 * HZ) / 1000); |
22:57.37 | psokolovsky | ? ;-) |
22:57.44 | cr2 | yes. |
22:57.44 | psokolovsky | seems like a second ;-) |
22:58.01 | cr2 | HZ is 1msec like on wince ? |
22:58.22 | psokolovsky | HZ is 1Hz, I guess |
22:58.44 | psokolovsky | cr2: those funky div/mul is of course fixed-point stuff |
22:58.56 | psokolovsky | 1500*HZ/1000 |
22:59.17 | cr2 | i have a 10second periodic interrupt on wince to check the battery status. |
22:59.31 | psokolovsky | Or maybe I'm wrong, lol ;-) |
22:59.37 | cr2 | i |
22:59.45 | cr2 | 'm reading the mod_timer docs :) |
23:00.25 | lkcl | btw i ain't getting anything with the code i did, either, cr2. |
23:00.35 | lkcl | which was a copy of beetles. |
23:00.49 | psokolovsky | yeah, you probably right, it's ticks per 1 sec. stupid me ;-) |
23:01.26 | psokolovsky | cr2, anyway, battery handling is not perfect in h1910/h4000. it's just barely working ;-). and needs improving |
23:02.21 | cr2 | i need to make asic3_owm work first. |
23:02.37 | cr2 | it delivers some strange data for me. |
23:04.33 | psokolovsky | cr2: Just right now mreimer committed some generic owm driver to CVS %) |
23:05.01 | psokolovsky | cr2, you really guys should check what you're working on, to not dup stuff... |
23:05.47 | cr2 | lkcl: i dropped asic3 from the kernel. will check the .config now. |
23:06.11 | cr2 | psokolovsky: i'm mainly into RE, not the actual kernel development now. |
23:06.56 | lkcl | ack |
23:07.17 | cr2 | CONFIG_HZ=100 |
23:10.15 | cr2 | lkcl: recompiling. |
23:10.20 | lkcl | ack. |
23:10.24 | lkcl | gotta go try to sleep soon |
23:10.57 | cr2 | last boot attempt :) |
23:14.40 | lkcl | in the meantime i et to geed baby hurrah |
23:15.12 | cr2 | uploaded. |
23:15.33 | lkcl | ack |
23:17.37 | lkcl | off we go |
23:17.41 | lkcl | .... |
23:17.50 | lkcl | splat. no penguin. |
23:18.24 | Kevin2 | Hi |
23:18.26 | lkcl | wanna serial cable. |
23:19.10 | cr2 | lkcl: it's some very simple bug. |
23:19.38 | lkcl | joy. |
23:20.02 | lkcl | pxafb should basically just work, right? |
23:20.19 | cr2 | yes. |
23:20.50 | cr2 | is your MTYPE correct ? |
23:21.41 | cr2 | MACHINE_START(HW6900, "HTC Sable") |
23:21.58 | lkcl | yep |
23:22.16 | cr2 | #define MACH_TYPE_HW6900 1157 |
23:22.21 | cr2 | haret ? |
23:22.27 | lkcl | gnuharet |
23:22.55 | cr2 | add |
23:22.57 | lkcl | oh. right. |
23:22.59 | lkcl | duh. |
23:23.02 | cr2 | set FORCEMTYPE 1157 |
23:23.07 | cr2 | to startup.txt |
23:23.32 | lkcl | ack |
23:23.35 | cr2 | but it should be autodetected. |
23:24.16 | cr2 | <PROTECTED> |
23:24.17 | cr2 | <PROTECTED> |
23:25.02 | lkcl | ... |
23:25.10 | lkcl | red... no penguin |
23:26.15 | lkcl | ok. doublecheck time by overwriting screen area |
23:26.23 | lkcl | ill do that tomorropw |
23:26.39 | cr2 | ok. |
23:28.26 | *** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) |
23:29.02 | cr2 | Kevin2: found the haret bug ? |
23:29.49 | Kevin2 | I think I may have. I'm guessing universal doesn't have the framebuffer in the same place as other phones. |
23:30.37 | Kevin2 | I'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.49 | Kevin2 | I'm still not sure why this would be a problem, but it is a guess. |
23:32.43 | cr2 | ok. |
23:35.21 | Kevin2 | cr2: Can you pull the latest binary from svn and try again? This version just disables the fb writes during bootup on universal. |
23:35.57 | Kevin2 | psokolovsky: Are you around? I was wondering if you had any insight on battery monitoring. |
23:36.11 | psokolovsky | Kevin2, Hi! |
23:36.25 | psokolovsky | Kevin2, very little, unfortunately. |
23:37.13 | psokolovsky | Kevin2, 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.20 | Kevin2 | It appears that the Apache phone also does not have an OWM bus. Instead, the ad7877 chip appears to monitor 5 ADC channels. |
23:37.37 | psokolovsky | Kevin2, so I had to use ADC in ads7846. that all story, unfortunately |
23:38.05 | Kevin2 | Do you have a good idea of what values should be used to start/stop charging the phone? |
23:38.18 | Kevin2 | I have these 5 ADC channels, but no clear idea of what they 5 channels are. |
23:38.21 | psokolovsky | Kevin2, that not cool. AFAIK, correlation betwen voltage and "capacity" is not linear |
23:38.59 | psokolovsky | Kevin2, ads7846 also haev 2 or maybe even 4 channels. but battery only on 1. |
23:39.48 | psokolovsky | Kevin2, 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.15 | cr2 | Kevin2: the LCD goes off, and then nothing happens. |
23:40.25 | Kevin2 | Hrmm. 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.03 | Kevin2 | cr2: Ack. The phone totally locks up? |
23:41.10 | psokolovsky | Kevin2, 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.43 | Kevin2 | psokolovsky: 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.09 | psokolovsky | Kevin2, yet another haret repo? ;-) |
23:46.41 | Kevin2 | No, that is just a binary location. It's still in patch form to the gnu-haret repository. |
23:46.44 | psokolovsky | Kevin2, 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.52 | psokolovsky | ok |
23:47.04 | cr2 | Kevin2: yes. |
23:47.19 | Kevin2 | I got an email from George France saying my key is good. |
23:47.52 | psokolovsky | ok |
23:57.54 | Kevin2 | cr2: Do you really have a gap in physical ram between 0xa3f00000 and 0xa4000000? |
23:58.16 | cr2 | no. why ? |
23:58.54 | Kevin2 | The memory map on xda implies that memory ends at 0xa3f00000 |