IRC log for #htc-linux on 20070601

00:06.58tsdogsnight all
03:06.04*** join/#htc-linux drno (n=drno@eki.student.utwente.nl) [NETSPLIT VICTIM]
03:06.06*** join/#htc-linux regulate (i=regulate@notchill.com)
05:17.09*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
05:45.46*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
06:04.41*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
06:04.41*** 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.
06:22.05*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
07:31.21*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
07:46.08*** join/#htc-linux bd2 (n=cbou@89.113.85.104)
07:53.38*** join/#htc-linux HellDesk (n=roel@e74036.upc-e.chello.nl)
07:53.57HellDesk'morning all
07:54.50*** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com)
08:00.00goxboxliveBabelO, i saw your screenie off the dialer, great work
08:00.11goxboxliveHellDesk, good morning
08:01.14HellDeskhmm, can't find it in the xda forum thread.. does sending/receiving sms work?
08:03.30goxboxliveHellDesk, wich device?
08:04.19HellDeskahw, sorry... htc universal
08:05.07HellDesk(otherwise i've got to search for another phone to put my sim in when playing with it...:D)
08:05.23goxboxliveHellDesk, i managed to send with CU (terminal application) but not with any GUI applications.
08:06.00HellDeskcool.. and receiving?
08:06.35goxboxliveBut we are close to have it working in gui mode. There is a guy here at irc ( BabelO ) who is making a GUI application for OPie2 wich will have support for SMS in universail i guess.
08:06.39goxboxliveno
08:08.56HellDeskah, too bad.. going to try linux anyway..
08:19.50*** join/#htc-linux DTMonterrey (n=evandro@cornelius.estig.ipb.pt)
08:27.32BabelOgoxboxlive : yes, i need to do a better gui part, the good point, is that i reuse lot of code from qtopia phone part ;) need to adjust layout and center some widget too
08:43.01*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
08:58.35*** join/#htc-linux gundam (n=gundam@slackware.it/staff/gundam)
08:59.40*** join/#htc-linux gundam (n=gundam@slackware.it/staff/gundam)
09:11.49*** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com)
10:28.16*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
10:35.06*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
10:43.18*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
11:04.00*** join/#htc-linux rmoravcik (n=rmoravci@adsl-d181.84-47-56.t-com.sk)
11:16.50*** join/#htc-linux RoEn_PC (n=roen@p54A64655.dip.t-dialin.net)
11:22.18*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
12:41.58*** join/#htc-linux padski (n=padski@ip-81-170-39-76.cust.homechoice.net)
12:43.35padskihave a hw65xx/beetles for a bit.  tried booting the card I have in my htc universal, but no joy.  having a hard time figuring out which kernel I might expect to work.
12:51.00cr2padski: you need to compile the specific kernel for beetles.
12:51.54cr2it was booting some time ago, usb and ts were working afaik.
12:58.38padskicr2, thanks.  I was kinda hoping someone could point me at a random kernel that will boot on a beetles.  I'm not setup to build one nor do I have time, and I was kinda hoping to get something like doom or quake running on there as a demo this afternoon :-)  I've not long had the universal, but that is mine now, and I will likely get to building kernels eventually, but I have an angstrom kernel on there atm.
12:59.09padskibut the beetles I only have my hands on for a short time
12:59.51cr2the kernels are device-specific
13:00.04cr2well, because the hardware configurations are different.
13:00.18padskiyeah, and I can't find a beetles one :-)
13:03.37padskioh, and as if that isn't enough the userspace I already have running is eabi ;-)
13:06.27cr2padski: that's not the device where you just take and install linux ;) it needs some work and haret tracing by somebody who has such device.
13:06.55cr2btw, the most interesting feature there is 2 MMC/SD controllers.
13:07.51cr2afair we managed to make miniSD work (pxamci) but not the asic3_mmc fullsize SD. don't  remember why.
13:07.52padskiyeah, I noticed the two slots
13:08.36padskiI was disappointed when the kernel I'm using on the universal didn't boot :-(
13:10.19cr2padski: but it's the same for most of other devices.
13:11.45padskiI was trying to boot off of a large SD, but that shouldn't make any diff.  haret got as far as the coloured stripes on the screen and then it hung.  no tux :-(  wrong screen driver I suppose
13:13.47cr2with the beetles kernel ?
13:14.58cr2the touchscreen driver will not work, btw. in 2.6.21 for beetles.
13:15.00padskino, that's just it.  I don't have a kernel intended for beetles.  I tried a htcuniversal kernel, but no joy :-(
13:15.22cr2compile the kernel for beetles.
13:15.29cr2i can upload one for you.
13:15.33cr2without the ts.
13:15.38cr2only lcd+usb.
13:15.51padskithat would be superb
13:16.33cr2need to check the pxamci and asic3_mmc first.
13:16.52padskihow do I do that ?
13:17.30cr2i need to check if they  are compiled in.
13:20.59cr2yes.
13:21.56cr2http://jornada820.sf.net/files/haret/zbee
13:29.31*** part/#htc-linux DTMonterrey (n=evandro@cornelius.estig.ipb.pt)
13:29.37padskimoment of truth ...
13:29.59*** join/#htc-linux DTMonterrey (n=evandro@cornelius.estig.ipb.pt)
13:30.51padskiwahey!  it works :-)
13:31.23padskiat least to boot.
13:31.39padskiit reports thee partitions on the mmc
13:33.13BabelOrmoravcik : : i send to you dump before and after... that's a good idea :)
13:34.24rmoravcikBabelO: thanks
13:34.40padskicr2, thank you.  that's a truly awesome experience :-)  sadly, I better go and do some real work
13:36.01*** join/#htc-linux DTMonterrey (n=evandro@cornelius.estig.ipb.pt)
13:36.32cr2padski: which mmc ? did it detect asic3 ?
13:38.12cr2padski: if you can login over usb, i'd like too see the dmesg.
13:38.19padskilooks that way "asic3_mmc: ASIC3 MMC/SD Driver"  and it sees the partitions on the card
13:40.09padskiI don't have the usb cable.  I was planning to use the keyboard, and perhaps bt or take the card back and forth, but I don't seem to get a console on the screen
13:40.46padskiI can probably get the usb cable sometime next week.
13:41.46cr2ok, you have used the miniSD or SD slot ?
13:44.30padskithe SD slot
13:46.32cr2ok, so it's asic3. good.
13:47.02padskimind if I message you privately for a minute
13:47.08cr2ok.
13:49.20rmoravcikBabelO: do you acx card with pcmcia utils after resume?
13:50.48padskiI take it that's not working then ?
13:51.04BabelOno pcmcia utils loadedi have a strange issue with pcmcia and static build
13:51.45BabelOs/loadedi/loaded i/
13:55.05BabelOrmoravcik : register that differ are pcmcia register ?
13:56.01rmoravcikBabelO: yes
13:56.40BabelOrmoravcik : ok, so i have to rebuild in 3 hours when i come back to home
14:02.20rmoravcikBabelO: ok, will be here
14:03.12BabelOrmoravcik: so we really need a clean pcmcia driver, patch from psolovsky was :
14:03.26BabelOrmoravcik : devmem2 0x28000200 h 0x45
14:03.35BabelOand then acx works
14:04.24*** join/#htc-linux padski (n=padski@ip-81-170-39-76.cust.homechoice.net)
14:04.58padskicr2, looks like I may have bricked that beetles :-(
14:06.48rmoravcikBabelO: address 0x28000200 is somewhere in pcmcia slot0 memory area, before acx iobase
14:18.57cr2padski: beetles is wince2003 ? then you need to do a hard reset.
14:30.39*** join/#htc-linux padski (n=padski@ip-81-170-39-76.cust.homechoice.net)
14:37.49BabelOrmoravcik : : yes it is two register setting for pcmcia timing or something like that
15:20.13*** join/#htc-linux kiozen (n=oeichler@rgnb-d9bde175.pool.mediaWays.net)
15:21.08kiozenHi, I have got not much time, did read the logs from last night, anything new?
15:23.28cr2kiozen: 60csx has 8MB flash
15:23.48kiozenThat's not much
15:24.10cr2don't know the ram size, but higly probably it's at 0x08000000
15:24.17cr2don't know where is the flash.
15:24.27cr28MB for the firmware and basemap.
15:24.44cr2the cpu looks like omap730
15:24.50cr2there is extensive linux support.
15:25.15cr2need to check the lcd support, usb and SD.
15:26.00kiozenso, that's positive or negative :) ?
15:26.12cr2here is some info http://vivien.chappelier.free.fr/typhoon/index.html
15:26.17cr2it's positive :)
15:26.32cr2at least there are 10MB RAM, btw :)
15:27.26kiozenguess I have to change my coding style :)
15:27.33cr2the "flawia" code has a tool for splitting the .rgn into the loader.bin fw_all.bin and fonts.
15:27.57cr2probably i'll be able to tell more about ram.
15:28.09cr2do you know about mkgmap ?
15:28.47kiozennope, have to read
15:28.51cr2unfortunately it's java.
15:29.12cr2but it has somthing for the codepages.
15:29.13kiozena wait the openstreetmap tool
15:29.43cr2well, you need to generate a sensible net from the osm data.
15:30.00cr2maybe the osm2pgsql ?
15:30.19kiozenafaik mkgmap does not support map levels
15:30.49kiozencGPSMapper should work on osm files, too
15:30.57cr2yes.
15:31.17cr2i'm thinking how we can dump the .net and .nod data.
15:33.21cr2maybe generate some "degenerate" cases with "personal" cgpsmapper ?
15:33.21kiozenwhat you mean with dump, get rid or make readable?
15:33.22cr2make readable. to parse the data.
15:33.22cr2create a seg with 2 nodes in *.mp
15:33.28cr2use cgpsmapper.
15:33.54cr2check with QLandkarte.
15:34.04kiozenno routing there :) sorry
15:34.07cr2move 1 node, and so on.
15:34.42kiozenbut Mapsource should be able to test
15:34.51cr2yes, but can you hexdump the section data.
15:35.08cr2at least some bits are already known.
15:35.51cr2we are successfully importing the .mp data for use in roadmap now.
15:36.01kiozennever needed to hexdum, but I do have some debug output for known structures, and we can append this
15:36.09cr2with turn restrictions and whatever .
15:36.27cr2ok.
15:37.28kiozenJohn Mechalas had some nice hexdump as example code, but it has quite some errors in decoding
15:37.40cr2running linux on 60cx/76cx is not such a crazy idea it seems.
15:37.47kiozenhe never actually displayed the data
15:38.15cr2yes, i had _much_ more success with qlandkarte than with imgdecode.
15:38.35cr2it's even not very 64bit friendly.
15:38.39cr2the last one.
15:38.56cr2btw, qlandkarte.
15:39.12cr2i suggest you to fix the bugs in the current code,
15:39.31cr2and for the xor stuff follow the xpdf route.
15:39.53cr2keyword "printing not allowed".
15:40.14kiozenconcerning the xor
15:40.25kiozenI had a look today
15:40.39kiozendo we talk abaout the same problem
15:41.04kiozenI talk about the 20bytes of maplevel section
15:41.14kiozennot the general xor of CN maps
15:41.29cr2i mean the general.
15:41.43cr2and not only CN.
15:42.29cr2there are some "homebrew experts" who create such files.
15:42.30kiozenbut for CN maps you have to decrypt the maplevel section , too
15:43.29cr2i can point you to the map of moscow, which can be opened with gpsmapedit.
15:43.35cr2try it with the qlandkarte.
15:43.43kiozenok
15:44.46cr2looking for the link.
15:44.56kiozenguess so
15:51.20cr2http://mapviewmaps.com1.ru/garmin/moscow_rout.rar
15:54.27*** join/#htc-linux logan_ (n=logan@209.Red-83-35-83.dynamicIP.rima-tde.net)
15:55.08*** join/#htc-linux Foxdie` (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk)
15:55.09*** part/#htc-linux logan_ (n=logan@209.Red-83-35-83.dynamicIP.rima-tde.net)
15:55.10cr2kiozen: still here ?
15:56.47*** join/#htc-linux mndctrl_ (n=asbjorn@2.81-167-1.customer.lyse.net)
16:04.47*** join/#htc-linux RoEn_PC (n=roen@p54A64655.dip.t-dialin.net) [NETSPLIT VICTIM]
16:04.49*** join/#htc-linux scorpio16v (n=scorpio1@ACB2E94A.ipt.aol.com)
16:05.04*** part/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
16:16.04*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
16:16.19*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl) [NETSPLIT VICTIM]
17:19.29*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
18:21.53cr2hi BabelO
18:35.26*** join/#htc-linux DjDereX (n=Ady@betyice2.suceava.astral.ro)
18:43.24*** part/#htc-linux scorpio16v (n=scorpio1@ACB2E94A.ipt.aol.com)
19:10.28elliswayevening all
19:11.00BabelOhi
19:11.19BabelOhi cr2
19:11.19elliswayhi BabelO hows it going
19:11.32BabelOgood good :)
19:13.03cr2BabelO: take my words back about omap :)
19:13.07elliswayany luck getting the acx working correctly on resume
19:13.48BabelOellisway: which device do you have ?
19:14.12elliswayi have uni but was intrested on if you had it working on your ba
19:14.15BabelOcr2: why ? linux is running on garmin ?
19:16.05cr2not yet. but the typhoon kernel proved to be an incredible source of information :)
19:16.46cr2it's very painful without the datasheet.
19:16.55cr2i know the SDRAM config register.
19:17.06cr2but don't know how to decode ths bits.
19:20.32elliswaycr2 do you no if anyone has played with the atheros open source sdio stack ?
19:21.32cr2ellisway: on which machine ?
19:21.42elliswayany of the htc
19:22.48cr2it may be usable for pxa-mci
19:22.48elliswayuni is what i`m most intrested in
19:22.48cr2on asic3 machines there is no sdio host driver.
19:22.53cr2uni is asic3.
19:23.18elliswayto use somthing like the combined gps / memory cards
19:23.24elliswayah ok
19:24.30elliswaybt gps receiver the way to go with uni then
19:24.45cr2yes.
19:25.00cr2but to have sdio is not impossible.
19:25.11elliswayk
19:26.24elliswayany speciic bt gps unit or gps chipset ?
19:27.26cr2no. for NMEA they are all the same.
19:27.39elliswayk
20:21.24*** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com)
20:24.51BabelOgrrhh
20:36.49cr2BabelO: i've learned something about omap now.
20:36.53cr2http://wiki.xda-developers.com/index.php?pagename=60Cx_registers
20:39.41BabelOcr2: it is already lot of thing ;)
20:49.31BabelOcr2: i don't understand all the include stuff in opie2 :(
20:51.35cr2?
20:52.28BabelOcr2: yes, how can i use something from a librarie ?
20:55.30cr2what is something ?
21:03.10BabelOi want to use qcontact class from qotpia... but don't know how
21:03.44cr2is it declared in some header ?
21:04.49BabelOyes, maybe i found something ;)
21:06.08cr2i suggest to check all the missing headers.
21:31.03*** join/#htc-linux rob_w (n=bob@BACa31d.bac.pppool.de)
21:53.47*** join/#htc-linux SmallR2002 (n=SmallR20@88-107-30-118.dynamic.dsl.as9105.com)
22:36.06cr2BabelO: it seems that the device has 4MB RAM.
22:36.23BabelOonly ?
22:36.27cr2yes.
22:37.06cr2linux+opie2 :)
22:37.10BabelOhow it is doing with map + waypoint , program are running from flash so ?
22:37.46cr2yes.
22:37.59cr28MB flash, i was told.
22:38.27cr2it's not very fast.
22:38.32BabelOonly place for nanoX and other tools from uClinux ;)
22:38.45cr2the LCD is 8bit. but color.
22:38.50cr2directfb :)
22:38.53BabelOi m playing with same on my sony clie
22:39.17cr2the device is very power efficient.
22:39.24cr2so i'm not surprised.
22:40.02cr2LDR     R0, =0xFFFECC20
22:40.09cr2MOV     R1, #0x8000002
22:40.16cr2STR     R1, [R0]
22:40.22cr2this is the SDRAM config.
22:40.59cr2according to some omap manual, it means 4MB RAM.
22:41.54cr2the video RAM is omap sram.
22:42.09cr2so it's separate.
22:42.14BabelOgood point for speed
22:52.54BabelOcr2: do you know mq1100 chipset ?
22:54.48*** join/#htc-linux kiozen (n=oeichler@rgnb-d9bde175.pool.mediaWays.net)
22:55.13BabelOhey kiozen welcome back ;)
22:55.42kiozenhi :) tested moscow map
22:56.08kiozenwhat was the problem?
22:56.50cr2kiozen: does it work ?
22:57.15cr2kiozen: it seems that the device has 4MB RAM.
22:57.48cr2i was told it has 8MB flash, but can't confirm it independently.
22:57.50kiozenI can see stuff
22:57.59cr2ok, i'll check.
22:58.36kiozenI just would expect to see more for 13MB
22:59.55cr2but maybe there are 2 flash banks.
23:00.17cr2the firmware itself is <4MB.
23:00.47cr2so if the basemap is ~4MB it's feasible.
23:01.35cr2i've put some docs here http://wiki.xda-developers.com/index.php?pagename=60Cx_registers
23:02.06cr2the usb, SD , LCD and 2 serial ports are visible.
23:02.16cr2and has linux drivers.
23:02.32cr2but 4 MB is tough.
23:03.07cr2we can strip the kernel. it's interesting how big it will be.
23:04.08BabelOcr2: and how can you boot ? using loader.bin and only replacing firmware.bin ?
23:05.07cr2BabelO: loader.bin is for the firmware update, and it's loaded over usb to RAM.
23:05.15kiozenNow I see the problem with the moscow map.
23:05.23cr2don't know at what address yet.
23:05.32cr2kiozen: Index into string table to large c0105 7fc0c 0 0
23:05.39cr2a lot of such.
23:05.41kiozenThe detailed map is encrypted
23:06.20cr2ok. let's leave it.
23:06.24cr2i'm more interested in the route planning myself.
23:07.06kiozenI could make you a nasty quick fix for that this weekend :)
23:07.42cr2BabelO: i only need to find out where is the RAM and what is the loader.bin load address.
23:08.00cr2kiozen: sounds fun.
23:08.20cr2BabelO: the RAM on omap is normally at 0x10000000
23:08.58cr2but i see some junk 'bl 0x12f896f0'
23:09.04BabelOcr2: so with some luck it is coming from constructor datasheet ;)
23:09.23cr2it can be some stray call though.
23:10.00cr2if the bl address is real, then the device must have 16 or 48 MB ram.
23:11.00cr2if the question is resolved, then it's possible to adapt the EOL used to boot linux on typhoon/tornado.
23:11.19cr2btw, i have some idea why mmc-sd on omap850 can be broken.
23:11.32cr2compared to omap730.
23:12.02cr2it's the possible .bus_shift ;)
23:13.15cr2hmm, actually it does not matter where the loader is located in RAM.
23:13.42cr2the EOL does not need to know it too. and simply relocate itself if needed.
23:14.32cr2BabelO: i've never thought i could have reused EOL :)
23:15.58cr2the problem is now to create a fake rom update .rgn with EOL instead of loader.bin
23:16.08cr2or even a bit more dangerous :)
23:16.19BabelOthe next question after kernel is language to use for GUI
23:16.27BabelOi know you like ncurses ;)
23:16.32cr2flash EOL instead of garmin firmware :)
23:16.46cr2GUI is not needed.
23:16.53BabelOi think nanoX and ulibc whould be ok
23:16.55cr2there is only one program to run.
23:17.01BabelOtrue
23:17.45kiozenPizza delivery, where should I place it? 24k
23:18.04cr2BabelO: ?
23:18.06BabelOkiozen: :) i m eating but panzani ;)
23:18.29kiozenhow was that address?
23:18.42BabelOcr2: yes nano x with x light api for graphics
23:20.41cr2BabelO: the address ?
23:20.55cr2must be in the log.
23:21.54kiozenconnection refused
23:22.00BabelOcr2: http://embedded.centurysoftware.com/docs/nx/arch--nanox-api.html
23:22.06BabelOah ftp adress
23:22.19BabelOit is ok now
23:22.38cr2kiozen: works for me.
23:23.11kiozenok, compile and place the lib as mellon.so into ~/.config/QLandkarte/
23:23.16cr2BabelO: what toolkit can be used for it ? microwindows ?
23:23.26cr2kiozen: ok.
23:23.29kiozenthat will open the Gates of Moria
23:23.51BabelOcr2: yes, i use it on Dragon Ball 66 Mhz processor, works fine
23:24.14kiozenat least 00000002.img
23:24.34cr2kiozen: it's standalone ?
23:24.52kiozenstabdalone?
23:25.03cr2BabelO: i'm using 4.3.0 now
23:25.16cr2kiozen: can be compiled without main tree ?
23:25.39kiozenit's a lib
23:26.28kiozenqmake && make should do
23:26.29cr2no, ok.
23:26.48cr2it needs some headers.
23:26.57kiozenjust a minute
23:27.32kiozenyes those of QLandkarte
23:28.08cr2ok.
23:28.11kiozenI have both projects in the same subdir
23:28.30kiozenI told you it's nasty
23:31.23cr2compiled.
23:32.13kiozenI quit, my son won't have mercy with me this morning, Good night
23:34.24cr2BabelO: i think porting win32 code to microwindows should not ber very difficult.
23:35.20BabelOdon't know, i use it only on small device with slow processor, if you think 66Mhz is slow :)
23:38.31cr2:)
23:51.37cr2m$ says : "You may not work around any technical limitations in the software."
23:51.39cr2lol.
23:54.11BabelO:)
23:56.17cr2"adding a button to the interface ... may be in breach of Microsoft's copyright"
23:57.14BabelOhm
23:57.14BabelOand what do you think about microsoft empty message ;)
23:57.40cr2;)
23:57.42BabelOgot an empty dialog box today with MS SQL Server.... only OK button
23:57.56cr2lol.
23:58.17BabelOi think it is m$ speciality...
23:58.31cr2i'm compiling haret with gcc. no m$, no licenses, no crap.

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