IRC log for #htc-linux on 20080519

00:00.30cr2BabelO: hmm.
00:00.51cr2i forgot the command syntax
00:01.24BabelOcr2: http://pastebin.ca/1022302
00:01.25cr2BabelO: can you modify /etc/init.d/gpsd
00:01.29cr2and start it cleanly
00:01.35BabelOok
00:01.51cr2yes, NMEA is ok
00:02.20BabelOcr2: lol i ve no /etc/init.d/gpsd
00:02.56BabelOcr2: gpsctl: /dev/ttyS1 identified as Generic NMEA at 57600
00:04.37cr2ok.
00:04.38BabelOcr2: very strange gpxlogger works
00:04.49cr2and sirfmon not ?
00:05.15cr2maybe you have some bizarre crippled fimware, but i doubt it.
00:05.23BabelOgpspipe -r too
00:05.42cr2sirfmon works on n560
00:06.19BabelOhumm i cant go to bed on an echec :)
00:06.43cr2hmm. time to sleep, that's true.
00:07.13cr2BabelO: think about htc-egpio :) the lcdspi for arte should be easy.
00:07.23cr2good night
00:07.52BabelOgood night, i m on holliday, so i can do some more
00:08.09cr2BabelO: since you have spi100k working, you may also check siren.
00:08.16cr2good night :)
00:14.10BabelOcr2: gpsd: unknown sentence: "$PSRF151,3,1480,8724,0x8F6F7FCF*27\x0d\x0a"
00:19.14dcordes_BabelO: what device?
00:19.24BabelOdcordes_: HTC Artemis
00:21.44dcordes_BabelO: does it have full hardware support yet?
00:24.28BabelOdcordes_: no i just start http://www.handhelds.org/moin/moin.cgi/Artemis#preview
00:39.34*** join/#htc-linux XVirus (n=GoD@62.135.96.15)
00:55.35BabelOcr2: i think i kow why it does not work, sirfmon complain about cannot sync, maybe i need local clock to a corect date / month /hour
00:55.38BabelOgood nght
01:38.47*** join/#htc-linux mistadman (n=mistadma@adsl-072-148-088-137.sip.msy.bellsouth.net)
02:40.32*** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net)
03:01.24*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-6b28c992d27c14a8)
03:16.45*** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-336fb69d03388009)
03:23.31*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
04:21.08*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
04:28.29*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
04:28.29*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup.
04:52.10*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
04:55.24*** join/#htc-linux LunohoD_ (n=alex@e180067021.adsl.alicedsl.de)
05:07.58*** join/#htc-linux crackerbox (n=Matt@c-98-215-241-54.hsd1.il.comcast.net)
05:08.09crackerboxhey guys
05:08.50crackerboxis xda-dev down for everyone else?
05:09.21crackerboxor is it just my stupid ISP / HackBook Pro?
05:10.41revertivecrackerbox: its down
05:16.24*** part/#htc-linux crackerbox (n=Matt@c-98-215-241-54.hsd1.il.comcast.net)
05:23.25*** join/#htc-linux kiozen (n=oeichler@p5492A0F2.dip0.t-ipconnect.de)
05:51.20*** join/#htc-linux patoche (n=patoche@241.67.197-77.rev.gaoland.net)
06:31.44*** join/#htc-linux marbalon (n=marbalon@212.122.223.98)
06:54.42*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:30.33*** join/#htc-linux rob_w|laptop (n=rob@Ma816.m.pppool.de)
07:34.05*** join/#htc-linux JanVanHaarst (n=haars001@kokosnoot.wur.nl)
08:16.56*** join/#htc-linux CVirus (n=GoD@62.135.96.15)
08:20.22*** join/#htc-linux paulproteus (n=paulprot@wide-rose.makesad.us)
08:53.59*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM]
09:00.45*** join/#htc-linux kiozen_ (n=oeichler@p5492A0F2.dip0.t-ipconnect.de)
09:02.45*** join/#htc-linux LunohoD (n=alex@e180067021.adsl.alicedsl.de)
09:12.51*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM]
09:34.19*** join/#htc-linux patoche (n=patoche@241.67.197-77.rev.gaoland.net)
09:47.47*** join/#htc-linux dzo (n=dzo@121.98.128.127)
09:51.30*** join/#htc-linux paulproteus (n=paulprot@wide-rose.makesad.us)
09:54.34*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM]
09:58.20*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM]
10:16.41*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM]
11:29.59*** join/#htc-linux Tellmedark (i=dcfdb230@gateway/web/ajax/mibbit.com/x-2736d34269c59e32)
11:33.01*** join/#htc-linux Tellmedark (i=dcfdb230@gateway/web/ajax/mibbit.com/x-9d81b360eb445e43)
12:10.59*** join/#htc-linux Othello (i=Magorium@gateway/tor/x-8a078746dfa488e8)
12:42.24*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
12:45.36BabelOhi
12:46.08kiozenmorning
12:58.19*** join/#htc-linux rakeem (n=rak@n058152149033.netvigator.com)
13:02.54rakeemHello.
13:04.58BabelOkiozen: i try M on artemis with part of my map, looks ok :)
13:05.14kiozenBabelO: cool :)
13:05.29kiozenBabelO: how is speed?
13:06.19BabelOkiozen: it does not move as smoother as some gmaps screenshot, but it is ok, have to try in real
13:07.45kiozenBabelO: I think SD access makes it slow
13:09.27*** join/#htc-linux rob_w|laptop (n=rob@M9b69.m.pppool.de)
13:10.12BabelOkiozen: i try to get sirfmon running
13:10.41kiozenBabelO: alas! good luck
13:10.59BabelOkiozen: i think my error is due to bad system clock
13:29.22*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
13:31.39*** join/#htc-linux punkgeek (n=jeanseb@88.164.32.155)
13:34.10*** join/#htc-linux revertiv1 (n=revertiv@83.119.75.151)
13:57.28kiozenthinks there is nothing slower than sf.net
13:58.38BabelOlol
14:24.02*** join/#htc-linux kiozen (n=oeichler@p5492A0F2.dip0.t-ipconnect.de)
14:33.51*** join/#htc-linux rob_w (n=bob@M9b69.m.pppool.de)
14:34.47martin__dcordes: I booted both the kernel you uploaded and the one I built from the git repo and your config, but the keyboard only works with yours. Any idea why?
14:53.57*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
14:57.38*** join/#htc-linux patoche (n=Patrice@lns-bzn-23-82-248-111-162.adsl.proxad.net)
14:59.09cr2hi
14:59.09aptwhat's up, cr2
14:59.17cr2BabelO: http://www.aful.org/media/document/Jugement-Hordoir-ASUS-20080430.pdf
14:59.27cr2BabelO: you'd call htc :)
15:01.34kiozencr2:  have read that in heiseonline
15:01.53*** join/#htc-linux TimRiker (n=timr@70-7-71-244.area7.spcsdns.net)
15:02.27cr2hi kiozen
15:02.32kiozenhi
15:03.01cr2kiozen: i've removed the ldcspi driver yesterday ;)
15:03.09kiozenlol
15:03.11cr2but i'll rewrite this part today.
15:03.28kiozenyes sometimes it's better to start from scratch
15:03.31cr2i still don't understand why it does not work.
15:03.57kiozenbtw are all lcd config registers readable?
15:04.42cr2hm. one byte is sent, and you get a 24bit reply.
15:04.48cr2maybe i'd try it.
15:05.10cr2bbl
15:05.15BabelOcr2: Windows XP Home for only 100 eur, lol
15:05.37kiozencr2: if you can read wouldn't it be worth a try to restore the state befor you suspend
15:05.55kiozencr2: ignoring what the wince driver does
15:13.36*** join/#htc-linux rob_w|lapp (n=rob@Ma62d.m.pppool.de)
15:14.49*** join/#htc-linux Robwoerle (n=bob@Ma62d.m.pppool.de)
15:33.09*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
15:33.09*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup.
15:34.24dcordesmartin__: are you building with system type machine htckaiser?
15:35.18dcordesmartin__: there were several testers for the latest code revision who all say it works and I built the last working image with my .config yesterday.
15:35.25dcordeshi btw
15:40.40*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
15:40.40*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup.
15:42.47martin__dcordes: I built with the config you gave me, and set ARCH=arm and CROSS_COMPILE=arm-none-eabi- in the Makefile. I'm using the arm-2008q1 toolchain from CodeSourcery.
15:44.48dcordesthat is strange
15:45.12dcordesmartin__: does the keyboard backlight and led work in your build?
15:45.27martin__Lemme check.
15:46.50*** join/#htc-linux CVirus (n=GoD@62.135.96.15)
15:47.04BabelOdcordes: not a pda, but they ask to return the device to remove all software
15:47.14martin__dcordes: Huh, weird. The keyboard works now.
15:48.02martin__Haven't changed anything since I booted it last night.
15:48.22martin__Oh well, I'll put that down to random weirdness unless it recurs.
15:48.34martin__So - what needs looking at?
15:55.09*** join/#htc-linux rob__w (n=bob@X0676.x.pppool.de)
15:55.16*** join/#htc-linux rob_w|lappi (n=rob@X0676.x.pppool.de)
15:56.18dcordesBabelO: I meant not pda but .pdf :). So he just wanted to get rid of windows?
15:57.11dcordesmartin__: ok that's good. what needs looking at.. I will better state what is working: basically what you see plus touchscreen an reading AT data
15:58.59dcordeswhat would probably be most useful is making the sd controllers work. We have two of them. One provides sd card and one a wl125 texas instruments 802.11g device
15:59.45BabelOdcordes: wifi driver is in msm tree ?
16:00.04dcordesI have no clue what needs changing in order to make this work. what I did so far is changing the controller count from 4 to 2 (in the upstream source at git.android.com branch android-msm the testing hardware uses 4 sdc)
16:00.27dcordesBabelO: I don't know if acx100 is there let me look
16:00.49BabelOdcordes: i mean the sdio part
16:01.02dcordesBabelO: yes
16:01.34dcordesBabelO: drivers/mmc/host/msm_sdcc.c
16:04.06BabelOdcordes: no
16:04.15dcordesmartin__: are you familiar with the way how arm9<>arm11 communication is done?
16:04.48*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-287c47d5f67964ea)
16:05.39dcordesBabelO: ./drivers/mmc/core/sdio.c?
16:06.08BabelOdcordes: i just see sdio_uart
16:06.14dcordeswhere?
16:06.40BabelOinmmc/card
16:07.03dcordesthere are seven sdio files there in my tree. where do you look at?
16:08.13BabelOdcordes: drivers/mmc/card/
16:08.34dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=drivers/mmc/core;h=f6ceee4040f25d1ef0e8af609daa918a77faa0e5;hb=refs/heads/htc-msm
16:09.12martin__dcordes: What are these sd controllers, what do they do? I read up on the SD card interface once and it seemed there was an SPI mode and a faster mode that used more pins. What's the interface this controller exposes to the CPU?
16:10.54martin__I'm not familiar with the arm9-arm11 comms. Does the ARM9 handle more than just the phone radio?
16:11.45dcordesmartin__: it does a lot of blackmagic
16:12.53dcordesI don't know how the sdcs are connected to the system from the top of my head
16:12.57dcordesgot to ask cr2
16:13.29dcordesa non-marketing scheme of the system layout would be pretty useful
16:13.33martin__Okay. But they're some generic SD controller chip?
16:14.02martin__I looked at datasheets for a few last time I was going to design a system with an SD slot.
16:15.03dcordesmartin__: yes I think so. maybe the msm_sdcc.c can tell you more
16:15.15dcordesare you aware of the kaiser research pages in the xda wiki?
16:15.40dcordeshttp://wiki.xda-developers.com/index.php?pagename=KaiserResearch
16:16.30martin__Nope, not seen those yet. I'll have a read.
16:17.27dcordesthey are essential
16:17.41dcordesthe cpld is done through the htc-egpio.c driver in the tree
16:17.58dcordesit provides us with the cpld gpios
16:18.27dcordesBabelO: is that what you were looking for in core?
16:19.35BabelOdcordes: drivers/mmc/card/sdio_uart.c
16:19.55BabelOi m looking for wifi, but msm tree is like other, no sdio wifi support
16:19.58dcordesso sd is on the uard in kaiser?
16:21.07martin__dcordes: Okay. Most of my experience is using UARTs/SPI/I2C so I'm probably most useful looking at stuff connected through those interfaces.
16:21.19BabelOdcordes: no, sdio_uart, is something to allow special sdcard ( gps/com /3g) to be plugged on sdio bus
16:21.39dcordesmartin__: afaik bluetooth is uart. look at the research page it tells what bluetooth chip is
16:23.18martin__dcordes: Yep, BRF6300 on UART1.
16:24.00dcordesmaybe you can get this working? having network on kaiser would be useful
16:25.32dcordesBabelO: so what do we need to get this sdio_uart in?
16:25.44dcordesBabelO: is there another htc where we can copy?
16:26.13cr2BabelO: i can test sdio_uart if i'll have htc-egpio for n560 :)
16:26.36BabelOcr2: yes :)
16:27.08martin__dcordes: It looks like nobody knows anything much about the BRF6300, unfortunately.
16:27.10dcordescr2: how are the sdcs hooked up in kaiser?
16:27.31*** join/#htc-linux pH5 (n=user@e178254212.adsl.alicedsl.de)
16:27.56*** join/#htc-linux mistadman (n=mistadma@adsl-241-125-145.msy.bellsouth.net)
16:28.33BabelOcr2: did you clone git tree ?
16:28.35dcordeshi pH5
16:28.44BabelOhi pH5
16:28.58pH5hi dcordes, BabelO
16:29.44BabelOpH5: did you see that ts works ? :) and more things too
16:30.11BabelOpH5: http://www.handhelds.org/moin/moin.cgi/Artemis
16:30.34pH5awesome
16:32.00dcordesmartin__:           The BRF6300 BlueLink 5.0 solution is based on TI’s prior
16:32.03dcordesgeneration BRF6150,
16:32.11BabelOpH5: but it seem ads7846 on artte refuse to run on 8bit exchange mode
16:33.13cr2BabelO: can you make a qtopia picture ?
16:33.39cr2BabelO: with the ba cam
16:34.18cr2BabelO: btw, is it easy te replace the spi100k driver with pxa2xx-spi ?
16:34.42cr2i may try it on the universal
16:35.21*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
16:35.22BabelOcr2: yes spi100k is standard spi bus declaration
16:35.22cr2BabelO: this tree has so much subtrees that you'd tell me which one to take ;) i'll be sending patches then.
16:35.34martin__dcordes: Seems there are brf6150 and brf6300 firmware .bin files around in android images.
16:35.51cr2BabelO: ok, so it'll be the third ts driver for the uni :)
16:36.04BabelOcr2: Don't know on which branch ph works, but for athena / n560 maybe take mainline
16:36.07cr2and finally the portable one.
16:36.23cr2pH5: where do you have the magician kernel ?
16:36.44pH5and about nth for the ads7846/tsc2046, but what can you do... :)
16:36.46cr2BabelO: hermes is hidden somewhere too, in some work branch.
16:36.48BabelOcr2: it is in mainline, i just see magician.c
16:37.15cr2pH5: this one will finally use the spi subsystem.
16:37.44dcordesmartin__: useful
16:38.18cr2dcordes: SD on kaiser uses the ALT gpio settings. like on pxa
16:38.26pH5cr2: I'm trying to work against upstream directly (rmk's arm-devel repo for the latest accepted changes)
16:38.40dcordescr2: this n-variable setup we did not do yet on kaiser?
16:38.51cr2dcordes: it's all documented in xda-dev wiki (Kaiser_GPIO)
16:39.03pH5has to try the artemis driver on ma
16:39.45cr2pH5: yes. the driver will be identical with the universal.
16:40.05BabelOcr2: Doc_G3: chip id=1000
16:40.15cr2pH5: if gpio_get_value() will work on asic3
16:40.20cr2pH5: and the hx4700 too
16:40.39cr2BabelO: the id itself is 0x200
16:40.51cr2BabelO: try the docg3.c driver.
16:41.04BabelOcr2: that is this one, so i change id
16:41.53cr2BabelO: make the picture of M on artemis :)
16:42.01BabelOcr2: ok :)
16:42.20pH5hm. mainline pxa27x_udc doesn't work :/
16:42.27martin__dcordes: Looks like people have had the 6150 working on other platforms, so I'll see about treating the 6300 as a 6150 and see how far I get.
16:42.34dcordescr2: does the sd data flow through the gpio?
16:42.41*** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-57-73.w83-198.abo.wanadoo.fr)
16:43.01dcordesmartin__: using the 6300 firmware from android image?
16:43.25martin__Useful links about 6150: http://handhelds.org/hypermail/aximx50-port/8/0874.html
16:43.50dcordesmookbark'd
16:44.43*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
16:45.39martin__Do we have the UARTs working as /dev/tty* yet?
16:46.06dcordesdon't know. where would that be in the code?
16:46.08BabelOcr2: so git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git then git branch --track htc-pxa origin/mainline
16:46.25BabelOcr2: then git checkout htc-pxa
16:46.35BabelOi send you cpld file, have to do it
16:48.19dcordesmartin__: I don't see anything msm-specific about uart
16:48.27cr2martin__: we know much more about 6150
16:48.32martin__drivers/serial/msm_serial.c
16:49.15martin__Looks like UARTs are all sorted from that.
16:49.37martin__cr2: Has anyone tried just talking to the 6300 as a 6150 yet?
16:49.53cr2martin__: some registers are documented here http://wiki.xda-developers.com/index.php?pagename=UniversalBluetooth
16:50.14cr2martin__: i can look with the .bts decompiler at the 6300 .bts
16:50.17pH5BabelO, you have set up a htc-pxa branch?
16:50.44martin__Also, there's three UARTs on the chip. Do we know where the other two go, if anywhere?
16:50.44cr2martin__: you can try it with the PIO access to uart1. at 115200, without DMA
16:51.09cr2martin__: nowhere afaik.
16:51.31BabelOpH5: no :), that was just a sample, butas we did not change lot of thing in omap branch, it is a standard
16:51.52BabelOcr2: what docg3 driver create ?
16:52.00dcordesmartin__: the uarts are in the msm7200?
16:52.01pH5ah ok, not yet :)
16:52.09cr2BabelO: maybe you'd submit the artemis patch to the omap people.
16:52.32martin__dcordes: Just going by http://wiki.xda-developers.com/index.php?pagename=Kaiser_IRQ
16:52.47BabelOcr2: you think i can ? mvista is not microsoft ? lol
16:52.59cr2BabelO: some chardev, i don't remember. check the 64M size, and use the base address module paramter
16:53.29cr2BabelO: isn't there omap support in mainline ?
16:54.07BabelOcr2: yes i ve done all with mainline, and change are lower
16:54.14cr2ok
16:55.15BabelOcr2: Doc_G3: chip id=1000 Starting flash stuff  end, that's all i see
16:56.02cr2BabelO: chip id is 0x200 for g3 and 0x400 for g4
16:56.17cr2BabelO: what is your base address ? should be 0x0
16:56.43BabelOcr2: yes i set it to 0x0 and it  display 0x1000 as id :(
16:57.00pH5BabelO, still i guess omap850 and artemis patches should be sent to linux-omap for review
16:57.12martin__Okay, off to get some dinner. I'll see what I can do with the bluetooth stuff.
16:57.18pH5the ts driver can go to linux-input directly
16:57.19cr2BabelO: http://wiki.xda-developers.com/index.php?pagename=HTC_DiskOnChip
16:57.55cr2BabelO: will your spi100k driver work with syren ?
16:57.57dcordesmartin__: k. I have to go bbl. if you wanna tryout AT communication replace the according part of kaiser-smd.c with this http://rafb.net/p/XGPApr23.html then in the console image do a "mknod /dev/smd0 c 254 0" you will be able to read signal strength and see incoming calls/other stuff. There is something wrong with the AT write buffer maybe you can also look at this
16:58.13dcordessame here :) dinner time
17:00.05BabelOcr2: but it is artemis :), so driver does not work
17:00.05BabelOpH5: tsc2046_ts is standard in mvista i think, don't remember where is get it :)
17:00.24martin__dcordes: Okay, will give that a try too.
17:00.28martin__-> food
17:01.09BabelOcr2: no, cause of the read / write function , it seem syren have spi page, and i don't know what it is :)
17:01.15BabelOcr2: but adding support to it can be easy
17:02.18*** join/#htc-linux rob_w|lapp (n=rob@X0f99.x.pppool.de)
17:02.39*** join/#htc-linux Robwoerle (n=bob@X0f99.x.pppool.de)
17:04.09*** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net)
17:05.04cr2BabelO: git branch --track htc-pxa origin/mainline does not work with my git ?
17:05.10BabelOcr2: mknod /dev/g3 c 254 0 && cat /dev/g3 > dump.rom seem to read from doc
17:05.50cr2BabelO: does it look  reasonable ?
17:05.53BabelOcr2: it should reate a local branch for htc-pxa which is not in linuxtogo
17:06.39*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1d813.pool.einsundeins.de)
17:08.16BabelOcr2: i check
17:08.46cr2the htc-egpio driver is an old one
17:09.01*** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-57-73.w83-198.abo.wanadoo.fr)
17:09.10cr2makefile says -hh20
17:09.23cr22.6.21-hh20
17:09.30BabelOcr2: what do you do ? do you git checkout htc-pxa ?
17:09.38cr2yes
17:09.56cr2git branch htc-pxa
17:09.58BabelOcr2: git branch ?
17:10.01BabelOoh strange
17:10.03cr2git checkout htc-pxa
17:10.40cr2git branch --track htc-pxa origin/mainline
17:10.48cr2this syntax gives me an errro
17:10.52BabelOyes it is ok
17:11.01BabelOan error ?
17:12.04cr2Usage: git-branch [-l] [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]] | -r
17:13.07*** join/#htc-linux rob__w (n=bob@Maebc.m.pppool.de)
17:13.08*** join/#htc-linux rob_w|lappi (n=rob@Maebc.m.pppool.de)
17:13.33cr2ok, i need some food. bbl
17:14.08BabelOcr2: g3 read is always 0xffff
17:14.12BabelOso does not work
17:14.58*** join/#htc-linux noelcragg (n=noel@64.191.251.58)
17:19.19*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
17:31.29BabelOkiozen: around ? :)
17:31.44kiozenyes
17:32.00*** part/#htc-linux noelcragg (n=noel@64.191.251.58)
17:32.11BabelOkiozen: just starting M on artemis, but 57600 baud is ot ion the list, i set it in conf file by hand
17:32.29BabelOhave to upload a way point on arte
17:32.56kiozenBabelO: ok, I can add more baude rates
17:34.24BabelOkiozen: what is the port number on M ?
17:34.38BabelOi forget, have to check in sources
17:34.41*** join/#htc-linux rob__w (n=bob@Ma3a3.m.pppool.de)
17:34.51kiozenBabelO: /dev/gps
17:35.12BabelOkiozen: yes that ok, but from GT to M to upload
17:35.24*** join/#htc-linux rob_w|lappi (n=rob@Ma3a3.m.pppool.de)
17:35.32kiozenBabelO: ah, 4242 (of course :))
17:36.27kiozenBabelO: added more baude rates, svn up
17:37.06BabelOkiozen: thanks, i ll make a screenshot of M on Artemis
17:37.19kiozenyep wanna see!
17:41.46BabelOi need to make a real test too :)
17:42.39kiozenok, do a long distance walk to Regensburg
17:43.05BabelOkiozen: i see you add lot of waypoint picture
17:43.12BabelOkiozen: and what about track
17:43.41kiozenBabelO: no sense to implement it without device
17:43.48*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
17:51.26*** join/#htc-linux marbalon (n=balon@aegt3.neoplus.adsl.tpnet.pl)
17:54.34BabelOkiozen, cr2 picture is taken with n800 http://linuxbox2.free.fr/artemis/16_47_17-190508.jpg
17:55.13kiozenBabelO: nice :))))
17:55.24dcordesgt'd
17:55.31BabelOand kiozen artemis fix is very fast, impressive
17:56.01BabelOkiozen: 7 sats inside the house
17:56.27kiozenBabelO: that does not speak for the quality of the roof :P
17:56.55kiozenbut where you live, you need no good isolation :)
17:57.00BabelOkiozen: i ve used waypoint for this, because no maps of where i am :)
17:57.09BabelOkiozen: agree :)
17:57.21dcordeswow with kaiser I only see a very rough position with a huge offset but I'm in first floor
17:57.23BabelOkiozen: 24 °C today
17:57.39pH5hmm
17:57.52kiozenBabelO: grrr, 16°C and rain here :/
17:57.53pH5more like 14 here
17:58.02BabelO:)
17:58.08kiozenlet's move all to BabelO
17:58.09dcordes13° but dry
17:58.56kiozenbut geotiff maps are so much nicer than these abstract vector maps
17:59.18BabelOkiozen: maybe the blue soft button can be removed for small devices, i think to zoom + / -, because i have button just under the screen
17:59.28BabelOkiozen: agree
17:59.42kiozenBabelO: and the info screen on top has to be optimized
17:59.45lamaHello World!
17:59.56kiozenBabelO: you can't read the coordinates
18:00.10BabelOkiozen: yes cannot read east
18:00.21BabelOkiozen: just found a but
18:00.48kiozenthinks you usually sit on one
18:00.51BabelOkiozen: i extract a part of big map with export feature, and i ve a black square
18:01.18BabelOok, need to found battery location on artemis now ;)
18:01.29BabelOcr2 says backlight is easy, but did not found it :)
18:02.21kiozenBabelO: and you can optimize buttons and infoscreen for small displays
18:02.22BabelOkiozen: oh, lot of black square, i think it is due to my map creation :)
18:02.34pH5BabelO, is it not on the cpld?
18:03.02BabelOpH5: ds1wm ? or backlight ? backlight i did not found it :(
18:03.12pH5backlight
18:03.41pH5on herald it's just a 3bit value in one of the cpld regs
18:04.18*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
18:04.19kiozenBabelO: black squares are not your fault, it's mine. Have to do better export one day
18:04.37BabelOkiozen: it is due to my maps override ?
18:04.46pH5I don't think there's a ds1wm in there. doesn't the omap850 have some internal onewire controller?
18:05.01BabelOpH5: ok, do you remember where did you see it ?
18:05.21BabelOyes there is a oneuwire controller and a hd1q controleer two
18:05.27BabelOhd1q is close to ds1wm
18:05.35kiozenBabelO: kind of, I do not honor the transparent color on export
18:05.45pH5omap850trm overview or the advertisement on ti's webpages
18:05.55*** join/#htc-linux CVirus (n=GoD@62.135.96.15)
18:06.27pH5ah, hd1q. is it used for battery on arte?
18:06.30BabelOpH5: i look to h1 / h2 board documentation and some omap5912 for register description
18:07.11kiozenBabelO: I want to put you screenshot on the qlandkarte webpage, is that ok?
18:07.34BabelOpH5: don't know, i m looking for where it is plugged, i hope it is not a single ads7846 pin measure
18:07.40BabelOkiozen: yes
18:08.33pH5BabelO, I hope not. but I guess for that the capacity measurement is too exact.
18:09.57BabelOpH5: ok i ll check cpld bit for backlight
18:10.44pH5should be easy to detect if you can read back the registers
18:11.04kiozenBabelO: your phone is now famous :)
18:11.06kiozenhttp://www.qlandkarte.org/index.php?option=com_content&view=article&id=7&Itemid=9
18:11.06*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
18:11.17pikapikahi
18:11.21BabelOpH5: all 0xfffbxxxx cannot be read , don't know why, maybe a CS
18:11.29BabelOhi pikapika
18:12.09BabelOkiozen: :)
18:14.11BabelOkiozen: i ve to harcode the roller pad for zoom in / out :)
18:15.11kiozenBabelO:  or dialog selection, like gamrin's colorado
18:20.40BabelOpH5: is it dwmode ?
18:24.29*** join/#htc-linux noelcragg (n=noel@bergnaummasters.svl.macrovision.com)
18:26.58*** join/#htc-linux patoche (n=Patrice@lns-bzn-56-82-255-233-80.adsl.proxad.net)
18:30.49pH5I don't understand. What is dwmode?
18:34.15BabelOpH5: don't know, i see it in nk
18:34.32BabelOpH5: is it a good idea to add cpld version reading to htc-egpio ?
18:35.55cr2BabelO: it's not always there.
18:36.16cr2kiozen: M on artemis looks nice.
18:36.21*** part/#htc-linux noelcragg (n=noel@bergnaummasters.svl.macrovision.com)
18:36.24kiozencr2: yes
18:36.44kiozencr2: it would look even nicer on n560 :)
18:37.12cr2lcdspi :)
18:38.03lcdspicr2:  yes here :)
18:38.10cr2lcdspi: LOL
18:38.11BabelOcr2: i hope the unknown adress on artemis are battery related maybe
18:38.39pH5BabelO, not sure. I do the boardid readout manually on magician because I need the info early to decide which lcd to use.
18:38.42cr2kiozen: i'd register this nick :)
18:39.02BabelOkiozen: and the don't panic button, was funny yesturday evening :) i click on it
18:39.02kiozenmr. lcdspi
18:39.28kiozenBabelO: you hardly get a chance for such a button :)
18:39.46cr2kiozen: maybe i'd make an M screenshot on athena ?
18:40.37kiozencr2: we can make a contest: Europe searches Miss M
18:40.43cr2hehe. didn't yet writen the ffuart-gps
18:40.52kiozencr2: the price is one night with Mr lcdspi
18:41.06cr2lol
18:41.22cr2that sounds too immoral for me.
18:41.36kiozendepends on the lcdspi
18:42.36kiozencr2: is there a way to record all registers of the lcd and simply restore their values on resume?
18:45.12cr2kiozen: only 1 reading command is known
18:45.56cr2kiozen: already restored 90% of lcdspi
18:46.33kiozencr2: ok, so it's one command per register? no read with offset address ?
18:49.41cr2kiozen: it sends '4' and looks for the 0x748020 response
18:50.15kiozenhm, ok, that leads to nothing
18:50.57BabelOcr2: on artemis the spi100k, i see that i can send a 16 bit comment and ask for 24 bit response :)
18:52.43cr2BabelO: i don't remember, do you have 8+8 send only ?
18:53.14cr2BabelO: i'll fix the code, and commit it RSN.
18:53.16BabelOcr2: no, only send 16 bit for ts, if i send 8 + 8 it does not work
18:53.17*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
18:53.28cr2you can then reuse the 8+8 send
18:53.59cr2BabelO: ok. you need the 8+8 bitbang driver for the LCD
18:54.18BabelOcr2: ok, i can do with spi bitbang
18:54.34BabelOcr2: what i need for resume / suspend ?
18:54.35cr2BabelO: btw, it's only called nk, because dumprom makes it.
18:55.13cr2you mean the lcd wakeup ?
18:55.26BabelOcr2: no the device wakeup
18:55.31cr2a lot of cpld gpios, omap gpios and the bbang
18:55.52cr2it's more difficult. i'm not that familiar with omap wakeup.
18:55.53BabelOoutch :) long task then, but i really need it
18:56.06cr2BabelO: the gpios are in the .lst
18:56.12BabelOcr2: it seem that pm.c is already coded for omap
18:56.15cr2BabelO: and the 8+8 things.
18:56.45BabelOcr2: ok, so one by one, let fouind backlight + battery stuff
18:57.02cr2BabelO: i'll finish the code first.
18:57.10BabelOcr2: ok
18:58.08cr2BabelO: btw, artemis uses RE, not FE
18:58.55cr2hmm.
18:58.56BabelOcr2: ? irq front , only works with FE it is set like that in pd 0xfffc1000 dump :)
18:59.14*** join/#htc-linux rob_w|laptop (n=rob@X0141.x.pppool.de)
18:59.26*** join/#htc-linux rob_w (n=bob@X0141.x.pppool.de)
19:00.26BabelOlol even dallas 1 wire is bitbang :)
19:01.03cr2BabelO: i'll tell you what to change for lcdspi on arte
19:01.16BabelOcr2: ok
19:01.25BabelOcr2:  i see the command list in nk
19:10.05cr2hmm. i think i've reversed bits on recv...
19:13.55cr2pH5: what is the standard type for unsigned char in the kernel ?
19:15.05pH5exactly that
19:15.26cr2__u8 u_int8_t uint8_t ?
19:16.21cr2looks like __u8
19:20.02*** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1db3e.pool.einsundeins.de)
19:21.53*** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1db3e.pool.einsundeins.de)
19:22.22pH5ah, not sure about that. I'd have said u8, but it really depends on which part of the kernel you look at, I guess.
19:23.19pH5__u8 wins over u8 about 2:1 in include/linux :)
19:26.45cr2pH5: ok.
19:27.09cr2pH5: types.h does not define u8
19:27.49cr2kiozen: recompiling. say goodbye to your LCD.
19:28.11cr2i need to recheck the read24 again.
19:28.11kiozen_cr2: kiozen is lost in space any way :)
19:28.35cr2ok
19:29.00kiozen_I really wonder why my wifi connection breaks  frequently
19:29.18kiozen_cr2: if you blow the device we have to send it to amazon :)
19:29.53cr2lol
19:30.23BabelOkiozen_: i ve found why here , it was due to power management on artemis, now it is ok
19:30.24cr2seems to be a simple driver , but i've 200 lines of code ;)
19:30.39BabelOkiozen_ but i have less hair
19:30.50kiozen_BabelO: ????
19:32.32kiozen_BabelO: ah ok :) no can't be o my laptop. It's just some clash with Fritzbox vs. Intel Pro wireless
19:33.00kiozen_BabelO: it started with an update of the Fritzbox
19:33.29BabelOkiozen_: what is fritzbox ? like my Freebox and internet / tv /phone box ?
19:34.07cr2pH5: gpio_get_value() returns 0 or 1 ?
19:34.09kiozen_BabelO: very famous DSL Router with wifi
19:34.38kiozen_BabelO: http://www.avm.de/en/Produkte/FRITZBox/index.html
19:34.40BabelOkiozen_: ok
19:35.35*** join/#htc-linux tcccp (i=hey@bmvg.bund.be)
19:35.39BabelOkiozen_: mine in two part http://www.infos-du-net.com/actualite/dossiers/79-free-freebox-hd.html
19:36.53BabelOpH5: is there a tool to ask spi bus ?
19:40.13cr2<PROTECTED>
19:41.36cr2return GPLR(gpio) & GPIO_bit(gpio)
19:41.49cr2hmm. does not look like 0/1
19:41.55*** join/#htc-linux miknix (n=miknix@81.193.89.117)
20:00.41kiozencr2: and? did you fry it?
20:01.27cr2no, i've found a bug. fixing it.
20:03.38*** join/#htc-linux dwaradzyn (n=gudz666@damian8155.net.autocom.pl)
20:05.07cr2i'll also set the direction and gafr.
20:06.11*** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1dd2d.pool.einsundeins.de)
20:17.09*** join/#htc-linux kiozen__ (n=kiozen@rgnb-4db1d9af.pool.einsundeins.de)
20:17.20cr2hehe. unportable mess ;)
20:17.40kiozen__my wifi or lcdspi?
20:17.45cr2even the n560 disassembly is easier to understand.
20:17.54kiozen__thinks three of us is way too much :/
20:17.54cr2the pxa gpio interface.
20:18.39cr2it's bad to work with 5-6 arm cpus simultaneously :)
20:19.25cr2i'm trying to do things right now. other devices will need a lot of fixes too ;)
20:20.56kiozen__hm
20:23.28cr2<PROTECTED>
20:23.28cr2<PROTECTED>
20:23.28cr2<PROTECTED>
20:34.13*** join/#htc-linux CVirus (n=GoD@62.135.96.15)
20:34.39pH5cr2, make that gpio_direction_output(gpio_cs, 1)
20:35.21pH5is does the set_value already, pxa_gpio_mode is going away, and AF0/out is the default anyway
20:35.30pH5it does*
20:35.42cr2pH5: done
20:36.13cr2pH5: on msm7200 the _alt may be 0x1c4
20:37.20pH5do they already have an interface to set that like omap's pin mux or pxa's mfp stuff?
20:37.32cr2kiozen: cross the fingers. your lcd is going to be destroyed now :)
20:37.50kiozenwww.amazon.de
20:38.43cr2pH5: don't know. the mux on omap looks like hell to me.
20:39.06pH5:) you're not alone there
20:41.53cr2hehe. the lcd went white again.
20:42.07BabelOcr2: timing ?
20:42.28*** join/#htc-linux MHazem (n=GoD@62.135.96.15)
20:43.25cr2BabelO: what is the qtopia usb addr ?
20:43.40BabelOcr2: like usual 192.168.0.202
20:43.49diogene31_cr2: Irq lock and forever loop ? :)
20:44.29cr2<4>[   26.920000] send24 4
20:44.29cr2<4>[   26.920000] get24 0
20:44.32cr2hmm.
20:45.00cr2what should i write to /sys ?
20:45.36cr2i need to check the byte order in 16bit
20:50.19cr2http://pastebin.fr/1683
20:52.57cr2kiozen: it lives. but doesn't want to wakeup ;)
20:53.36kiozencr2: turn on the light and shout "good morning", at least that helps with my son...
20:54.24kiozencr2: you tried to start qpe?
20:54.31cr2hmm. what can be wrong...
20:54.47kiozenmaybe if the framebuffer is filled..
20:55.01cr2kiozen: the functions are called, i can control the lcd through /sys
20:55.37cr2BabelO: the timing with pxafb, but it doesn't make problems on other devices.
20:58.47BabelOcr2: are you able to read what you send ?
21:00.40dcordescr2: tried to make a video call and dump but somehow it doesn't work. think it's a contract thing
21:00.57cr2dcordes: maybe
21:01.28dcordesso what fifos are missing?
21:01.39cr2BabelO: i'll recheck the pxa gpios again. there are 6 lcds supported, so maybe something went wrong.
21:02.11dcordes~ping martin__
21:02.12aptpong martin__
21:05.29*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
21:05.34BabelOlol my driver do conflict  with uwire
21:13.36lamahello again
21:14.11lamacr2: if you would like I can give you an access for g900 now
21:18.29*** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl)
21:21.43*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
21:28.57cr24b 66
21:29.08cr2lama: i'm busy with n560
21:29.13lamaok
21:30.49cr2it's pwm1 ;)
21:32.09*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfd7e8.pool.einsundeins.de)
21:38.10*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
21:43.46dwaradzynhi, i'm trying to compile bootable android linux kernel for kaiser/polaris. do i have to apply some patches or fresh htc-msm branch checkout of git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git is ok?
21:45.05cr2kiozen: this is very strange...
21:45.19kiozencr2: what?
21:45.59cr2omg.
21:46.05cr2i'm dumb :)
21:46.07cr2http://www.lcdsolar.com/EmpGoog/TOPPOLY/3.5/TD035STEE1.html
21:46.45cr2it's not sony like on the universal, the dpi is even better.
21:47.32cr2hehe. even wiki says that
21:47.58kiozencr2: working on the wrong device?
21:49.28cr2no, was just misleaded by the vga resolution, and used some wrong gpios.
21:50.40cr2booting
21:52.04cr2hm#
21:53.31cr2uh
21:53.41cr2echo 0 > blank
21:53.45cr2works
21:53.56cr2seems to be a backlight problem.
21:54.28kiozencr2: thus it did resume? :)
21:55.34cr2<7>[  180.900000] backlight off.
21:55.34cr2<7>[  192.080000] backlight on.
21:55.42cr2root@htcuniversal:/sys/class/backlight/generic-bl$ echo 100 > brightness
21:55.50cr2kiozen: yes.
21:56.02kiozencr2: you are the man!
21:56.20kiozen:))
21:56.30dwaradzyndcordes_: i think you know the answer to my question. if so please do anwer me. thanks in advance
21:57.34BabelOcr2: very good :)
21:58.26*** join/#htc-linux dzo (n=dzo@121.98.128.127)
21:58.39cr2kiozen: the LCD/BL subsystems is just crazy.
21:59.06kiozenwhat is it now?
21:59.10cr2kiozen: there were so many changes that i'm confused now. when the BKL power is coupled with LCD power and when not.
21:59.42pH5<-- .zZ
22:00.39cr2kiozen: everything works, but you need to take care of /sys settings yourself, otherwise you'll get some crazy things.
22:01.19kiozenok, does resume call some scripts?
22:01.42cr2hmm. the pwm1 is still confusing, but it's a minor thing
22:02.11cr2maybe it's the brightness of the blue keyboard light, i don't know.
22:02.39kiozenoh, that would be important
22:02.50cr2kiozen: no, it should not. you may hardcode some more controls in M anyway.
22:03.05cr2since you don't use the qtopia wm.
22:03.38cr2and you need some extra controls for multiple backlights anyway.
22:03.44cr2ok.
22:04.06cr2the last big thing is device resume ;)
22:04.19cr2oh, and bluetooth. i'd finish it.
22:04.30kiozencr2: thought resume works?
22:04.32*** join/#htc-linux jeebster (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
22:04.35kiozenconfused
22:04.49cr2kiozen: device resume to linux.
22:04.55cr2i'll try
22:05.28cr2BabelO: suspend is echo mem /sys/xxx ?
22:05.50BabelOcr2: yes /sys/power/state i think
22:06.04cr2ok
22:06.27cr2kiozen: resumed to wince ;)
22:06.43kiozenohhhhhhhhhhhhh, not good :)
22:07.15cr2dbl++
22:09.21cr2<4>[   39.120000] send24 4
22:09.22cr2<4>[   39.120000] get24 0
22:10.17cr2somehow this is strange
22:10.20cr2<7>[   84.800000] backlight on.
22:10.20cr2<7>[   89.570000] lcd power off.
22:14.05cr2ok, either the pxafb should be sanitized, or the lcd driver should be wrapped like on the universal
22:14.27dwaradzyn~ping dcordes_
22:14.28aptpong dcordes_
22:15.07cr2BabelO: it's time for n560 htc-egpio :)
22:16.17BabelOcr2: easy it is same than artemis :)
22:16.24cr2yes
22:16.38kiozenok cr2 have to get some sleep, thanks for the good work, guess I have to code tracks to M soon :)
22:16.39cr2BabelO: i'll commit the lcdspi stuff
22:16.54BabelOcr2: ok :)
22:17.01cr2kiozen: we move to 2.6.26
22:17.05cr2kiozen: good night
22:17.16kiozenlets see if the upcoming Live Log in GT can be used for  M ,too
22:17.23kiozengood night :)
22:18.32cr2BabelO: let me know if you'll see something weird :) the driver is quick and dirty, written right out of the head ;-)
22:18.53cr2but it has an advantage that it works .
22:19.48BabelOcr2: ok
22:20.12BabelOcr2: for egpio, all is there http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-omap1/htcartemis/htcartemis.c;h=bf812452598e97b15bde31a5d62185da723d6b7c;hb=4a8ebebb556f38d890a2681051be59019b346398
22:20.26BabelOin . h just change the 16* by 8*
22:21.07cr2BabelO: committed
22:22.08BabelOcr2: under loox ?
22:22.27cr2BabelO: why don't you move the omap LCD register names to the respective header
22:22.42BabelOcr2: yes i ve to do it :)
22:23.06cr2http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/looxc550/looxc550.c?rev=1.17&content-type=text/x-cvsweb-markup
22:23.38BabelOcr2:  ok i get it
22:24.12cr2oh. i see the bug :)
22:24.19cr2<PROTECTED>
22:24.19cr2<PROTECTED>
22:25.32cr2BabelO: you need set_re() on arte, not set_fe
22:25.41cr2and only the 8+8 send
22:25.54cr2where the first 8 is x74 or x76
22:26.21cr2and the gpio numbers are different.
22:28.52*** join/#htc-linux aLeSD (n=alex@193.153.123.30)
22:31.45BabelOcr2: ok
22:31.59*** join/#htc-linux snake-pennen (n=snake@dyndsl-091-096-092-024.ewe-ip-backbone.de)
22:32.14cr2BabelO: int gpio_cs, int gpio_tx, int gpio_cl, int gpio_rx
22:32.22cr2this is also not nice.
22:32.53cr2struct spi_bitbang_gpio {...} may be better.
22:34.07BabelOcr2: yes
22:35.58dcordes_is kaiser=polaris?
22:36.34cr2BabelO: fixed the bug.
22:37.26BabelOcr2: ok, still looking  at backlight :(
22:37.45dcordes_dwaradzyn: anyway, no patches needed. just fetch branch htc-msm and use my config at linuxtogo.org/~lgorris
22:38.02dwaradzyndcordes_: ok thanks
22:38.22dwaradzyndcordes_: polaris is kaiser without hardware keyboard
22:39.09cr2dcordes_: http://www.handy-faq.de/forum/htc_artemis_forum/36161-htc_polaris_technische_daten.html
22:39.18dcordes_thx
22:39.37cr2dwaradzyn: you'd check the 0x1f* area first
22:40.31dwaradzyncr2: i'm noobie when it comes to linux and smartphones
22:41.29dwaradzyncr2: please say the same using language i could understand easily
22:44.54dwaradzyncr2: maybe i exaggerated, please briefly describe what you meant, two or three sentences should do
22:44.55cr2dwaradzyn: can you telnet to haret ?
22:45.03dwaradzynyes
22:45.14cr2telnet and do
22:45.53cr2pwf polaris1f 0x1f00000 0x100000
22:45.59dwaradzynok
22:46.49cr2PM me the polaris1f location. warning:) -> the file contains your imei and some other useful data, so don't pastebin it ;)
22:47.10dwaradzynwhat version should i use? i have haret 5.1, haret 5.2 pre 20080412, haret 5.2 pre 20080510
22:47.20cr2doesn't matter
22:47.25dwaradzynok
22:51.46cr2BabelO: you'd name the 0xfff* constants, so the code is readable. i think it's also nice to dump the IO_CONF* and MODE* from the running machine.
22:54.09dwaradzynpwf polaris1f 0x1f00000 0x100000 gave no output
22:54.31cr2hm. strange.
22:54.33cr2try
22:54.42cr2pd 0x1f00000 0x100
22:55.55dwaradzynhope i wont be banned, here is the output:
22:56.08cr2pastebin
22:56.50dwaradzynhttp://pastebin.com/d28fb676a
22:57.11cr2ok, looks like on the kaiser
22:57.18dwaradzynits polaris
22:57.29cr2why didn't it want to write to file ...
22:57.53cr2dwaradzyn: http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
22:58.13BabelOcr2: ioconf is already dumped
22:58.27cr2dwaradzyn: it's the memory layout. look for SHARED_MEM A9/A11
22:58.41cr2dwaradzyn: that's what you should look for
22:58.56cr2BabelO: ok, i've seen it.
23:00.33dwaradzynvirt=0xb5000000    wince virt=0xb5100000  phys=0x01f00000
23:01.17cr2dwaradzyn: you may check the  +0x04208   8K   ATCMD tx buf
23:01.29cr2+0x32430   8K   ATCMD rx buf
23:01.44cr2and look if you'll see the AT commands there.
23:02.31dwaradzynwhat command should i user in haret console to do that?
23:04.38cr2pd 0x01f00000+0x04208 0x100
23:04.57cr2pd 0x01f00000+0x32430 0x100
23:05.50cr2BabelO: what is latest git version ? i'm wodering why does your command not work here.
23:06.31BabelOcr2: git version 1.5.2.4
23:06.51BabelOcr2: when you do git branch you should see only master which is togo default
23:07.41cr2http://git.or.cz/ 1.5.5.1
23:10.45dwaradzyncr2: http://pastebin.com/mc597899
23:11.13cr2dwaradzyn: ok, so you have the same setup as kaiser.
23:11.49dwaradzynhttp://pastebin.com/d2a5add8d
23:12.08dwaradzyncr2 thats fine
23:12.38cr2nice. it even says AT Interpreter ready, like all other htc phones.
23:13.05cr2you may switch gps on, and check the +0x545c8   8K   GPS rx buf
23:13.22cr2pd 0x01f00000+0x545c8 0x100
23:16.20BabelOcr2: does linux kernel have support for NOR ?
23:17.56cr2BabelO: you have intel flash ?
23:18.23cr2BabelO: BA has NOR flash
23:18.29cr2dcordes_: are you sleeping ?
23:18.59BabelOcr2: it seem that 0x08000000  is a Nor flash according to doc
23:19.08dwaradzyncr2: i'm inside a building and cant get gps signal
23:19.15BabelOcr2: and you w<rote it on wiki
23:19.59cr2BabelO: i ?
23:20.22BabelOcr2: yes you http://wiki.xda-developers.com/index.php?pagename=ArtemisMemoryMap
23:20.49BabelOlast entry, and i see that omap have special mapping for this part of memory
23:21.11cr2BabelO: i'm surprised that you don't see g3 at 0x0
23:21.29cr2BabelO: garmin uses 16MB intel flash
23:21.37cr2on omap
23:21.58BabelOcr2: no docg3.c say id is 1000
23:22.11BabelOcr2: millenium chip is 2000 ?
23:22.27cr2BabelO: 0x1000 is the address
23:22.35cr2which should have the value 0x200
23:22.54cr2http://wiki.xda-developers.com/index.php?pagename=HTC_DiskOnChip
23:23.03cr2<PROTECTED>
23:23.15BabelOcr2:  ? no message is clear id is 1000 no 200 that 's the error message i have
23:24.01cr2BabelO: installled latest git
23:24.20cr2what was the branch commdan ?
23:25.14cr2<PROTECTED>
23:25.14cr2<PROTECTED>
23:25.15cr2<PROTECTED>
23:25.52cr2#define DoC_G3_ID 0x200
23:25.53BabelOcr2: git branch --track htc-pxa origin/mainline
23:26.18BabelOcr2: that the message i get it display 1000 here
23:26.19cr2BabelO: so chip_id = 0x200, otherwise it exits
23:26.21dwaradzyncr2: i've managed to get my phone outside the building and get gps coverage. output of "pd 0x01f00000+0x545c8 0x100" is in: http://pastebin.com/d3889873f
23:26.40BabelOcr2: yes it exist :), i ve tried to set 1000 to bypass it :)
23:26.49BabelOs/exist/exit/
23:27.09cr2dwaradzyn: ok, so you have exactly the same setup as kaiser.
23:27.23cr2BabelO: that means you don't have g3 at 0x0 ;)
23:27.56cr2BabelO: what is printed here printk("Doc_G3: chip id=%x\n",chipId);
23:28.25BabelOcr2: it print 1000 :
23:28.35cr2ok. so it's not g4 too
23:28.43BabelOcr2: on ba it is same
23:29.03cr2BabelO: it worked for g3 on universal
23:29.16cr2BabelO: and on tornado
23:29.31dwaradzyncr2: ok and thanks for today. i think i will be back to subject in two days...
23:29.32cr2BabelO: ba does not have g3 at 0x0. it's somewhere else
23:29.37dwaradzynsee ya
23:29.44cr2dwaradzyn: ok
23:30.13cr2BabelO: Blueangel 0x04000000
23:30.51cr2BabelO: you think that you have intel flash  @0x0 and g3 @0x08000000 ?
23:31.08cr2BabelO: then you can try the module addr param 0x08000000
23:32.11cr2BabelO: there should be some standalone strataflash driver.
23:32.56BabelOcr2: yes i m looking at 0x08000000 for nor flash
23:33.16cr2BabelO: g3 not nor :)
23:33.26cr2mdoc is actually NAND
23:33.46cr2but it has some asic before nand.
23:34.45BabelOcr2: i mean nor, in the doc it is the place for nor at this adress
23:36.36cr2BabelO: check the mdoc first.
23:37.09BabelOcr2: ok
23:40.47cr2BabelO: this look very strange
23:40.50cr2WriteDOC(g3->physaddr+DoC_G3_ChipID,g3->virtaddr,DoC_G3_ReadAddress);
23:40.54cr2should it be
23:41.26BabelOcr2: what about your own driver ?
23:42.00cr2this one is ok, but just needs some minor cleanup.
23:42.20*** join/#htc-linux mistadman (n=mistadma@adsl-250-204-117.msy.bellsouth.net)
23:45.38cr2ok. good night.
23:46.08BabelOgood night
23:47.16cr2BabelO: i think this driver is buggy, because the WriteDOC usage is inconsistent. need to compare to my/lkcl asm/driver.
23:47.52BabelOcr2: ok, that can explain the bad detection
23:48.59cr2BabelO: fatal: A branch named 'htc-pxa' already exists.
23:49.11BabelOthat s better :)
23:49.17BabelOgit branch ?
23:49.32cr2how can i delete it ?
23:49.34BabelOso your previous command works
23:49.58cr2but i see the old htc-egpio driver
23:50.08BabelOcr2: git branch -D htc-pxa
23:50.42cr2git branch
23:50.46cr2<PROTECTED>
23:50.50cr2<PROTECTED>
23:50.54cr2<PROTECTED>
23:50.58cr2<PROTECTED>
23:51.02cr2* htc-pxa
23:51.06cr2<PROTECTED>
23:51.10cr2<PROTECTED>
23:51.10cr2<PROTECTED>
23:51.11cr2<PROTECTED>
23:51.11cr2error: Cannot delete the branch 'htc-pxa' which you are currently on.
23:51.27BabelOgit checkout mainline
23:51.30cr2i think Kevin3 works in work/
23:51.34BabelOwhich switch toi mainline
23:51.40cr2ok, i'll remove everythng.
23:51.41BabelOyes :)
23:51.48cr2it's too late to think.
23:53.08BabelOcr2: 0x40000000 is camera IF
23:53.42cr2ok.
23:54.10cr2edit the wiki
23:54.23cr2do you know which camera chip is used ?
23:55.28BabelOcr2: ok you right, this docg3 code is buggy always saying 1000 as id
23:55.37BabelODoc_G3: chip id=1000
23:56.06cr2it's interesting if one can autodetect  the flash size.
23:56.13cr2need to read the docs.
23:57.54cr20x06000000 is syren ?
23:58.07cr2no, it was debug board i think
23:58.51dcordes_cr2: did you put a polaris_research?
23:59.57cr2dcordes_: no. if it's a kaiser without the keyboard we should not waste the effort.

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