IRC log for #htc-linux on 20071115

00:14.00*** join/#htc-linux bd2 (n=cbou@85.21.88.2)
00:17.03*** join/#htc-linux gundam (n=gundam@slackware.it/staff/gundam)
01:18.46*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
01:34.17*** join/#htc-linux bd2_ (n=cbou@85.21.88.2)
03:30.23*** join/#htc-linux PITABoy_laptop (i=44dd6ef2@gateway/web/cgi-irc/ircatwork.com/x-21036bcdaa0cecad)
03:30.24*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
03:35.36*** join/#htc-linux Zoolooc_ (n=fredsiba@p54952485.dip0.t-ipconnect.de)
06:06.39*** join/#htc-linux _dion_ (n=dion@inhex.net)
06:37.24*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
07:16.36*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-dc6c4e4e445db92f)
07:31.59*** join/#htc-linux kiozen (n=oeichler@p5492938B.dip0.t-ipconnect.de)
07:32.04*** join/#htc-linux __law__ (n=law@mail.stiftadmont.at)
07:32.08kiozenmorning
07:40.39*** join/#htc-linux sadeness_ (n=LamersIn@nat1.rlan.ru)
08:14.26*** join/#htc-linux pleemans (n=peter@81.188.93.130)
08:28.46*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-187-182-236.web.vodafone.de)
09:14.32*** join/#htc-linux BabelO (n=fcr@81.80.236.75)
09:14.52BabelOhi
09:16.40*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
09:20.24*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-34-97.web.vodafone.de)
09:24.38*** join/#htc-linux zoolooc (n=lucian@p54952485.dip0.t-ipconnect.de)
10:35.20cr2kiozen: hi. what does the serial connector for n560 look like ?
10:38.44kiozencr2: http://www.gps-haus.de/images/product_images/popup_images/6706_0.jpg
10:40.59cr2kiozen: it's an ipaq connector ?
10:41.13kiozenhm, don't know
10:42.13kiozensmall tiny and flat. must be usb and some kind of audio output, maybe power
10:43.04kiozenthe device recognizes power via usb or powerplug
10:43.04cr2ok.
10:43.22kiozenbut that might work via usb, too
10:43.57cr2i'm looking for a bug in my egpio code.
10:43.58kiozenthe powerplug is connected directly at the flat connector
11:46.00*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-91-32.web.vodafone.de)
11:59.22*** join/#htc-linux kiozen (n=oeichler@rgnb-4db030d9.pool.einsundeins.de)
12:31.45*** join/#htc-linux kiozen (n=oeichler@rgnb-4db030d9.pool.einsundeins.de)
13:03.26*** join/#htc-linux BabelO (n=fcr@81.80.236.75)
13:22.08*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-8c387672abf604f0)
13:34.04ImCoKeMaNeepy few things to test on 700wx, one is to look at it's ram to see where the ruu get's loaded so we can load the patched one there.  After that i have a little bit of modding done that we can test.
13:34.24ImCoKeMaNharet is the tool for that, fun stuff
13:46.46goxboxliveBabelO: there?
13:55.01*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-cf14f10b5854339f)
14:04.13BabelOgoxboxlive: yes
14:04.31BabelOalways here, you know ;) just out during pub time .. lol
14:09.18goxboxliveBabelO: it was nothing, i couldnt find the htcphone mux , but i have found it now.
14:09.28goxboxlivepub time, that early
14:09.30goxboxlive:-)
14:10.21goxboxliveI am home with sick child now, he is puking :-) Three year old and no control, so i have done a lot of laundry today, and cleaning :-(
14:18.58BabelOlol, no it is work time now... but maybe tis evening i go to drink some beer ;)
14:21.09*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
14:43.13*** join/#htc-linux dcordes (n=user0815@f048239125.adsl.alicedsl.de)
14:52.12dcordescr2: hey I just talked to prophet guy. He would like to contribute. He already has haret on his phone.
14:52.26dcordescr2: could you tell me what exactly he has to do?
14:58.40dcordesor could somebody else hint me on what research needs to be done on prophet?
15:56.56*** join/#htc-linux GPFerror (n=gpferror@76.187.41.132)
16:15.44*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
16:39.55*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-5802b89573fbae3f)
16:55.14*** part/#htc-linux zoolooc (n=lucian@p54952485.dip0.t-ipconnect.de)
17:09.18goxboxliveolah
17:09.28goxboxlivesenores
17:09.38goxboxlivecomo esta?
17:09.47goxboxliveman i'm international
17:10.00Minequeheh
17:10.04goxboxlive:-)
17:10.10Minequehello ;)
17:10.14goxboxlivehi there
17:12.29*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
17:13.03Minequejust curious, any news of linux on TyTn?
17:14.02goxboxliveMineque: i have no idea, i guess not since i havent heard anything lately about it.
17:14.35Minequenot good.
17:14.53Minequebecause it's great device
17:23.18goxboxliveMineque: that's true, but i think some of the problem is that non of the kernel developers has the device themself, there for it's hard to debug.
17:24.22Minequeoh i see... remote debug isn't so much helpfull
17:36.17*** join/#htc-linux |dion| (n=dion@inhex.net)
17:41.32*** join/#htc-linux pH5 (n=ph5@e178241029.adsl.alicedsl.de)
18:00.54*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:06.10*** join/#htc-linux knoeli (n=Trulla@p548CAB7C.dip0.t-ipconnect.de)
18:06.15knoelihi @ all :>
18:06.36knoelisomebody here?
18:07.04dcordesgood question
18:07.05dcordesping cr2
18:11.27pH5hi
18:13.33knoelido you know how to run linux on a XDA mini?
18:14.07pH5knoeli: aka magician? sure I do :)
18:14.19knoelio thats nice
18:14.23knoeliim from germany
18:14.35knoeliand want to start linux on my xda mini
18:14.43knoelibut i donīt know how to make
18:14.58knoelican you hepl me plz? :)
18:17.36knoelixda mini = HTC Magician :)
18:19.15dcordeshi knoeli
18:20.07knoeli@dcordes hi
18:20.22pH5cr2: can you tell me how to create the diagnostic image? I don't get it. I have found the codepath in the bootloader, but before I disassemble... Is there better documentation than typhoonnbfdecode.pl?
18:20.50pH5knoeli: do you have a free sd card and linux on your host pc?
18:21.17knoelion my pc runs win XP
18:21.29knoeliand i have a 512 MB free mmc card
18:21.38cr2hi
18:21.54pH5hi cr2
18:22.09cr2pH5: i don't think there are other docs other than typhoonnbfdecode.pl
18:22.43pH5urgh. it produces those strange xor encoded nbf files, but to load from the sd I need a decoded header.
18:23.54cr2pH5: which header ?
18:23.54cr2they may be somehting here: http://vivien.chappelier.free.fr/typhoon/doc.html
18:23.54pH5cr2: whatever header makes the BL think that it is a diagnostic card.
18:24.09cr2i guess you need to wrap the "blob" with HTCS ...crc...
18:24.17cr2first.
18:24.21pH5vivien's docs are a bit.. vague. I just don't understand what needs to be in the beginning of the block.
18:24.45cr2then you need to tell that it's an MFG loaded at 0x9...
18:24.58cr2the header ?
18:25.06cr2is your magician locked ?
18:25.11goxboxliveknoeli: http://www.linuxtogo.org/~htcpxa/
18:25.27pH5knoeli: can you partition the mmc card from wince? I guess you won't be able to create an ext2 file system on the card.
18:25.40knoelithats roght
18:25.43cr2goxboxlive: does rawrite.exe work on xp ?
18:25.52knoelii donīt know
18:26.00cr2BabelO said there were some problems.
18:26.00goxboxlivecr2: I have no idea
18:26.02knoelican ich load rawrite.exe?
18:26.06pH5cr2: do you think we should supply raw sd images including partitions and file system?
18:26.28pH5"hen booting in diagnostic mode, the SPL checks for the presence of a miniSD. If it finds one, it checks if an HTC header is present in the first sector of the card."
18:26.37cr2pH5: partition is not needed. just write the raw ext2fs
18:26.41goxboxliveknoeli: follow the README file in the link i gave you and you will have linux running on 1-2-3
18:27.02knoeliok i will test it ;)
18:27.29pH5now what is that htc header - I guess it's similar to the s2d/d2s backup images on magician/hx4700, but there ought to be a difference to jump into it after loading to ram.
18:27.43cr2pH5: linload.exe on the device side+raw ext2 on the card. i've tested it on the BA.
18:28.02pH5cr2: that's good
18:28.21cr2pH5: the jump (load) address is provided as a parameter.
18:28.52cr2pH5: i've not tested it 1000 years :) but it worked then.
18:28.59cr2even on a locked uni.
18:29.15pH5cr2: parameter? to what?
18:29.32pH5so jump = load address, and it just jumps to it if load address is in RAM rather than flash?
18:29.35cr2pH5: i'm looking at typhoonnbfdecoe.pl
18:29.41cr2yes.
18:30.00pH5decoding the .pl takes me longer than looking at arm asm
18:30.16cr2pH5: don't be ashamed, i've asked itsme how to use it :)
18:30.22pH5ok :)
18:30.55knoelican u tell me which linux version i need?
18:31.11knoelithats my phone http://www.linuxtogo.org/~htcpxa/htcmagician/
18:31.22knoelishoud i load all the files?
18:31.37cr2pH5: do you know your card cid ?
18:32.08cr2pH5: you can see it in /sys after booting linux.
18:32.32pH5goxboxlive: do you have ext2 versions of those images?
18:32.40*** join/#htc-linux TimRiker (n=timr@216.49.181.128)
18:32.43cr2knoeli: does rawrite.exe work for you ?
18:32.49goxboxlivepH5: no
18:32.59knoeliyes
18:33.02pH5knoeli: which gui env are you interested in?
18:33.12pH5goxboxlive: (and which ones work well)?
18:33.17goxboxliveknoeli: choose , the openmoko and qtopia/opieII looks best
18:33.26cr2pH5: should work with losetup.
18:33.32goxboxliveQtopia works best, but lack phone support
18:33.45knoeliopenmoko
18:33.52knoelithe best ;)
18:34.03pH5cr2: right, but we'd have to do that for knoeli, who is linuxless for some reason ;)
18:34.47cr2pH5: can we upload it to linuxtogo ?
18:35.50pH5would make sense, I guess. and maybe create a small howto for windows people.
18:36.11knoelithat would be nice :)
18:36.30cr2rawrite.exe+linload-magician.exe+rootfs.ext2.bz2
18:36.34goxboxlivecr2/pH5 so you are saying with rawrite we dont need to make a linux partition on the SD card, we can just use a ext2 image?
18:36.49goxboxliveon a vfat partition?
18:36.56pH5goxboxlive: no vfat partition
18:37.09pH5you'd have to put linload/haret/kernel on internal storage
18:37.21cr2goxboxlive: on the raw disk. just like the wince rom is stored in flash.
18:37.47knoelibut i can start linux from a sd card or?
18:37.59*** part/#htc-linux BabelO (n=fcr@81.80.236.75)
18:38.09knoelii will use wm 2003 and linux
18:38.10cr2knoeli: you linux will be on the SD card.
18:38.11knoeli:)
18:38.21knoeliok thats good
18:38.39cr2and the linux kernel +wince loader =linload-magician.exe on the pxa flash.
18:39.27pH5cr2: I need a way to automate that linload+kernel generation in OE
18:39.39pH5let's check that CID..
18:40.29cr2pH5: you have cegcc in oe ?
18:42.11cr2cat /sys/bus/mmc/devices/mmc0\:XXXX/cid
18:42.11pH5cr2: nah, it's in the path. it would make sense to create a cegcc recipe for OE though.
18:42.11dcordescr2: could you help me with prophet analysis?
18:42.25cr2pH5: don't forget that the ce-gdb can#t be compiled on amd64
18:42.46cr2dcordes: do you know where is the i2c port ?
18:44.05dcordescr2: hm no. I don't have it here
18:44.40goxboxliveANyone know how i can get ts_calibrate to calibrate in landscapemode?
18:48.36cr2goxboxlive: doesn't it ask the fb driver about the size ?
18:48.36dcordescr2: what'y i2c port anyway?
18:48.36pH5knoeli: you know that wm2003 lives only in ram? so everytime you boot linux it will kill all your apps/data in wm2003.
18:48.37goxboxlivecr2: yes it does, so is there a conf file i can edit to make it calibrate in landscapemode
18:48.37cr2dcordes: http://wiki.xda-developers.com/index.php?pagename=OMAP850_Registers
18:48.37knoeliok
18:48.39knoelibut if i end linux i can use wm 2003 or?
18:49.25cr2dcordes: i2c is at 0xfffb3800
18:49.48cr2goxboxlive: how do you define landscape ?
18:49.53goxboxliveknoeli: yes, booting linux on magician is the same as taking a hardreset on your device
18:49.58pH5knoeli: sure. you just hard-reset and it boots back into wm
18:50.14goxboxlivecr2: y=480 x=640
18:50.17dcordescr2: "0xfffb3800   OMAP_I2C_REV_REG" ok. What does it mean and what am I supposed to do with it?
18:50.21knoelihardreset?
18:50.25knoelior softreset?
18:50.41knoelii have some important files on wm 2003
18:50.43goxboxlivecr2:  Now it'soposite. There is an bug in Qtopia
18:50.48pH5knoeli: hard. make a backup.
18:50.48goxboxliveknoeli: the save them
18:50.58knoeliok :)
18:50.59*** join/#htc-linux kiozen (n=oeichler@rgnb-4db030d9.pool.einsundeins.de)
18:51.03cr2dcordes: so you need to telnet to haret and do 'addlist mmutrace 0xffb3800 4096' and then 'wi 10' to trace the changes.
18:51.33knoelibut know i search a porgram to make a linux partition
18:51.34goxboxlivecr2: The TS still think it is in portrait mode when Qtopia is in landscape :-)
18:51.48cr2goxboxlive: why is it a ts problem ?
18:51.52dcordescr2: ok thanks. Just have to make sure the guy is able to open telnet from his windows. poor guy. Do you have any instructions on haret/telnet/windows?
18:52.04dcordesWe already tried that remotely and didn't manage
18:52.47goxboxlivecr2: it's not, it is a bug as i said, but if i could make a calibration in landscape mode then i guess i would have the TS working
18:52.50cr2goxboxlive: tscal just does the affine transform, and does not care if w<h or w>h or w=h
18:53.06goxboxliveok
18:53.10cr2dcordes: it's the same as on linux
18:54.27dcordescr2: he tried it once via activesync usbnet but it always timed out, although activesync conenction was up
18:54.27cr2goxboxlive: i don't know, but maybe qtopia makes some strange assumptions. but for the ts it does not matter how the screen is organized.
18:54.41goxboxliveok
18:54.42cr2dcordes: you know the activesync address of the phone ?
18:55.02dcordescr2: we checked it with some windows command line command
18:55.19cr2dcordes: you can see it with 'route' or 'ifconfig'
18:55.33cr2but my windows knowledge is limited :)
18:56.52cr2pH5: got the cid ?
18:57.06dcordescr2: I think we tried it with ip something. was the right one because it said wince device
18:57.35dcordesit just turned out there's no time for it now so we'll do it at the weekend
18:57.51dcordespropably I will get it here everything else is pita
18:59.07cr2dcordes: ok.
19:01.50cr2kiozen: i have an offtopic question :)
19:02.22knoelican anybody speak german? ^^
19:02.32pH5knoeli: most of us ;)
19:02.39knoeliecht?
19:02.40knoeli^^
19:02.53pH5this is an english channel though.
19:03.03knoelii know
19:03.11knoelibut i need some help ;)
19:03.20knoeliand german it would be better
19:03.45pH5goxboxlive: can you create a linload.exe that doesn't use /dev/mmcblk0p2 but /dev/mmcblk0 as root?
19:03.50knoeliso i donīt know how i make a linuxpartiotion wit a windows xp system
19:03.52dcordesknoeli: I think the fastest and most easy way to format your sd card will be to boot a linux live system. Ever heard of live-cd?
19:04.27goxboxlivepH5: probably
19:04.34knoeliyes
19:04.37knoelilike knoppix
19:04.39knoelior?
19:04.43dcordesknoeli: cool. yea. or ubuntu
19:04.50knoeliokay ;)
19:04.56knoelii have the systems ;)
19:05.07pH5in that case, I could convert the tar.bz2 image into an ext2 image that can be written to sd directly with rawrite.exe
19:05.16dcordesubuntu has an easy to use interface and comes with partition editor. Just boot up your ubuntu and come here.
19:05.32dcordesyou can use xchat or xchat-gnome as irc client
19:05.40goxboxlivepH5: not even /dev/mmcblkp1?
19:05.42knoeliokay thats good
19:05.52goxboxlivepH5: not even /dev/mmcblk0p1?
19:05.55goxboxliveiment
19:06.09dcordesknoeli: just to make sure. You've got a card reader, don't you?
19:06.15pH5cr2: I made the mistake to try to get the cid from one of the neos, which for some reason today doesn't want to recognize anything in its mmc slot.
19:06.17knoeliyes
19:06.20pH5reboot, next try
19:06.32knoelia 9 in one ;)
19:06.32dcordesok then. see you soon ^^
19:06.35pH5goxboxlive: exactly, /dev/mmcblk0, no partitions at all
19:06.50knoeliok thanks for your help ;)
19:07.05goxboxlivepH5: should i use the kernel zImage ath htcpxa?
19:07.05knoelisoi say bye and have a good time ;)
19:07.22knoelibye @ all
19:07.27dcordesknoeli: I thought you would boot up a livecd and drop in?
19:08.04knoelii will boot a live linux cd and try to make a linuy sd system
19:08.05knoeli:)
19:08.09kiozencr2
19:08.22knoelii donīt knwo how to make it^^
19:08.30knoelibut no risk no fun :D
19:09.23pH5goxboxlive: sure, why not. but if knoeli gets to boot linux, maybe we don't need to do this for him at all :)
19:09.55knoelithats right
19:10.08knoelii try to boot a linux system
19:10.13dcordesknoeli: there is a program "gnome partition editor" in System/Administration in the start bar
19:10.18cr2pH5: but it's a good idea in general.
19:10.22knoelibut if i canīt start i will ask again ;)
19:10.25pH5cr2: agreed
19:10.32cr2kiozen: void RGN_element::Read(xor_fstream *, Coordinates, IMGfile *): Assertion `((rgnType >= 0x20 && rgnType <= 0x27 ) || rgnType == 0x2f || rgnType == 0x1d || rgnType == 0x2a || rgnType == 0x2c )' failed.
19:10.53dcordesopen it, make it fullscreen. on top right you see a drop down bar where you can select your device. SD cards are mostly /dev/sdd
19:10.55cr2kiozen: wtf can be the reason ?
19:11.04kiozensecond...
19:11.14knoeliok
19:11.19dcordesknoeli: http://wiki.ubuntuusers.de/GParted check this out.
19:11.21knoelimoment i will boot knoppix ;)
19:11.26cr2kiozen: it's not the qlandkarte.
19:11.34knoeliok thanks ;)
19:12.24knoelishould i need a fat format too?
19:13.10dcordesknoeli: yes see http://www.linuxtogo.org/~htcpxa/htcmagician/
19:13.18knoeliok
19:14.19dcordeslook for gparted in knoppix
19:14.35knoeliok
19:15.18goxboxlivepH5: i havent tested it. : http://www.linuxtogo.org/~htcpxa/tmp/linload.exe
19:16.08*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:16.17goxboxlivebonjour BabelO
19:16.41cr2goxboxlive: only english, please :)
19:17.01pH5:)
19:17.07BabelOHallo goxboxlive
19:17.10BabelOHallo all ;)
19:17.17pH5hi BabelO
19:17.21knoelihi
19:17.38dcordesknoeli: you in knoppix yet?
19:17.44knoelimoment
19:17.50knoeliits loading
19:17.54dcordesgreat
19:18.17knoeliist booting on innotek Virtual Box :D
19:18.37goxboxlivecrap :-)
19:19.26dcordesknoeli: Propably you cannot access your usb port out of that virtual machine i.e. you won't be able to format the card with it
19:19.53knoeliyou are right :/
19:20.28dcordesso what you waiting for. burn,boot.
19:20.53knoeliyes i must do it ^^
19:21.14knoelibut have u a tutorial how to make a partiotion? :)
19:21.42knoelilinux cant see my wifi usb-stick
19:21.47BabelOknoeli: like Nike, just do it !
19:21.48BabelOlol
19:22.03BabelOknoeli: i see you use VirtualBox, good tool :)
19:22.15knoelithanks ;)
19:22.28knoelibut u canīt reed sd cards
19:22.40knoeliand other usb-tools :/
19:22.55kiozencr2: is that a blue chart map?
19:23.05BabelOknoeli: yes works you just need a good line setup ;)
19:23.52BabelOknoeli: att this to /etc/fstab -> usbfs                /proc/bus/usb        usbfs      noauto                0 0
19:24.10knoeliin knoppix?
19:24.44BabelOknoeli: on your host, not in vortualbox image
19:24.59knoelii have a windows system
19:25.00knoeli:D
19:25.03BabelOknoeli: your host is a windows system ?
19:25.07knoeliyes
19:25.11BabelOeurk ! :)
19:25.15dcordesknoeli: he means, boot knoppix, open a terminal and do that
19:25.22dcordesbos
19:25.26BabelOworks too on a windows system, but not in same way
19:25.35cr2kiozen: no, it's the OSM tile created by mkgmap. can we debug this problem using qlandkarte ?
19:25.46knoeliok^^
19:25.52dcordeshttp://lehrerfortbildung-bw.de/werkstatt/sicherheit/imaging/partitionieren/qtparted.htm take a look here. qtparted is graphical interface for making partitions. You want a fat filesystem as first partition and ext2 as second
19:25.53kiozencr2: need the map
19:26.23kiozencr2: let's see what I can do, suffer the same desease like goboxlive's son :)
19:26.46cr2kiozen: 63255693.img
19:26.54cr2kiozen: it's the map of Vienna
19:27.10cr2http://smash-net.org/openstreetmap/latest/img
19:28.21cr2hm. it may be not in the latest. i 'll check the 'latest' ;)
19:28.42cr2i've picked it out of the world.tgz
19:29.53*** join/#htc-linux Zoolooc (n=fredsiba@p54952485.dip0.t-ipconnect.de)
19:30.13kiozencr2 the one from the server loads
19:30.29kiozenmaybe you send me the violating one
19:30.33kiozento be sure
19:30.39cr2ok, i've checked. it's the same problem.
19:31.02cr2http://smash-net.org/openstreetmap/latest/img/63255693.img
19:31.21cr2err
19:31.25cr2http://smash-net.org/openstreetmap/latest/img/63255693.img.gz
19:31.32kiozengot it already
19:31.35cr2ok.
19:32.06kiozenI wonder what rgnType is, only know obj_types with RGN
19:32.10cr2guessing from the type it's a polygon ?
19:32.34kiozenA region can have points and polygons
19:33.41goxboxlivecr2: is there a way to have vendor and product for the usbserial in the driver or config somehow?
19:33.47cr2kiozen: you know better :)
19:33.51goxboxlivein the kernel source
19:34.12goxboxliveso i dont need to manually edit everytime i want to bring up the modules
19:34.17cr2goxboxlive: i think it's hardcoded.
19:34.21goxboxlivenope
19:34.31goxboxliveusbserial is generic
19:34.53cr2ah, usbserial
19:35.00cr2modinfo usbserial
19:35.24cr2kiozen: but these range limits look like a polygon.
19:36.00cr2parm:           vendor:User specified USB idVendor (ushort)
19:36.00cr2parm:           product:User specified USB idProduct (ushort)
19:38.55pH5cr2: ok, I finally got the CID.
19:39.26cr2pH5: you need to revert it ;)
19:39.31cr2wince is weird.
19:40.06pH5ok
19:40.15cr2and replace the checksum (first byte) by 00
19:40.57cr255 4500 accf6300 55 3832314453 4453 03
19:41.04pH5the first byte _after reverting_?
19:41.09cr2yes.
19:41.24pH502544d5344303147289947f967006b3f --> 3f6b0067f947992847313044534d5402 --> 006b0067f947992847313044534d5402
19:41.25cr2the last byte here is the manufacturer
19:41.32cr2yes.
19:41.37cr2your's is 02
19:41.58dcordesknoeli: any progress?
19:42.16knoelino :(
19:42.22cr2pH5: http://mmc.drzeus.cx/wiki/GoodCards
19:42.25Zooloochello folks
19:42.30dcordesknoeli: got problems?
19:42.36knoelinot ^^
19:42.39knoelino ^^
19:42.45knoelii must burn the image :D
19:42.52pH5cr2: toshiba, who would have guessed :)
19:42.59dcordesthat would be a good thing in order to boot it
19:43.26Zooloocheard of anyone starting to investigate how to make the msm kernel boot on kaiser yet? did PITABoy have any useful success?
19:44.19*** join/#htc-linux TimRiker (n=timr@216.49.181.128)
19:44.29cr2pH5: the rest can be decoded too, but it's of not big interest now.
19:46.26cr2pH5: the cid looks good.
19:46.50kiozencr2 if it's the poly_type filed: there are no such types like the tested values
19:47.16kiozenQLandkarte will print a debug message to console if it has to draw such a polyline
19:47.35kiozenbut it has actually draw it.
19:47.41cr2kiozen: but what value was picked by cgpsmapper ?
19:47.56cr2polyline ?
19:48.21kiozendon't understand?
19:48.29knoelioki will burn it and test it
19:48.39knoelibut now i will go offline :)
19:48.45dcordesbye
19:48.49knoelithanks for your help
19:48.52knoelibye :>
19:49.04kiozencr2: btw what app asserts?
19:49.04cr2kiozen: the assert was caused by some value out of the range.
19:49.14cr2kiozen: old cgpsmapper
19:49.35kiozenwe would know if qlandkarte actually draws it :)
19:49.58cr2kiozen: newer (>81) don't read img
19:50.29kiozennewer what?
19:50.31pH5cr2: e3a00101 e380060e e3a01080 e5801118 e1a0f00e
19:50.37cr2ok, so something in the rgn stuff is not as cgpsmapper expects it.
19:50.39pH5this is the code I want to upload for now
19:51.11pH5so where do I put the reversed CID before the HTCS..HTCE block?
19:51.13cr2pH5: ok. you should see that the crc32 is verified and the word 'Jumping to'
19:51.33cr2pH5: it's a param for typhoonnbfdecode.pl
19:51.36kiozenlooks like. 0x2F is maximum type
19:51.45kiozenno, sorry...
19:52.20kiozen0x2F for lines and 0x7F for polygons...
19:52.30cr2kiozen: newer versions of cgpsmapper don't convert .img to .mp
19:53.05cr2it seems that the mkgmap makes something wrong.
19:53.22cr2mapsource is also not very happy with these files.
19:53.55cr2ested with Mapsource 6.13: The map is viewable, but Mapsource crashes if you zoom in, also after collection of maps and trying to send it to GPS device.
19:54.20cr2http://wiki.openstreetmap.org/index.php/User:Computerteddy
19:55.08kiozenif these are polylines some of these values map to types see CGarminMap.cpp
19:55.47kiozenlol Qlandkarte is more stable than MapSource?
19:56.04cr2kiozen: yes :)
19:56.36pH5cr2: typhoondecode.pl doesn't work or I'm too dumb to use it
19:57.00pH5should I give it my code as -r spl=... param or how?
19:57.17cr2perl typhoonnbfdecode.pl -d sd80.img -p magic=xxx -p cardid=004500accf6300553832314453445303 -p keys=magician -p seclevel=0
19:57.22cr2does it work for you ?
19:57.39cr2put your cid there, of course.
19:57.47pH5cr2: yes, I get 512 byte sd80.img
19:57.57cr2ok, it's the header.
19:58.13pH5so just cat sd80.img + HTCS + code + crc + HTCE and I'm finished?
19:58.43cr2it should also go with typhoonnbfdecode.pl
19:58.50cr2let me check.
19:58.53pH5ok, and this part I don't get.
19:58.54pH5thanks
20:00.22cr2pH5: http://wiki.xda-developers.com/index.php?pagename=RomTools%2Fsdtool.pl
20:01.26cr2pH5: read the top of the source
20:01.39cr2you obviously need -rm 0x9xxxx
20:02.20kiozencr2: 0x2F, 0x2c are not known
20:02.36kiozen0x21 - 0x26 are contur lines
20:02.56kiozen0x27 airport
20:03.11cr2kiozen: are these lines or polygons ?
20:03.17kiozenlines
20:03.19cr2i'm confused now too.
20:03.33kiozenairport runnway :)
20:03.34cr2ok.
20:03.47cr2so mkgmap creates 0x2f and 0x2c ?
20:04.11kiozen0x2a marine boundary
20:04.24kiozenthere is an airpoert
20:04.36cr2kiozen: ok, i'll look into the mkgmap SVN
20:06.41kiozenmaybe no airport, tricked myself with new color scheme
20:09.57cr2kiozen: http://www.parabola.me.uk/mkgmap/snapshots/mkgmap-r361.tar.gz
20:10.24*** join/#htc-linux |dion| (n=dion@inhex.net)
20:10.58kiozenarrg, java :)
20:11.31cr2no time to switch to c++ ;)
20:11.42cr2to convert to c++.
20:14.12pH5cr2: this is what the perl scripts create: http://en.pastebin.ca/775960
20:14.18pH5but it is not recognized by the magician
20:15.37cr2pH5: have you overwritten the header ?
20:17.05cr2pH5: you should insert the card, and push the buttons to go the the bl.
20:17.14cr2it should load from the card itself
20:17.26cr2without you doing anything
20:18.10pH5overwritten the header?
20:18.24pH5typhoonnbfdecode.pl -d sd.hdr -p magic=xxx -p cardid=$(CID) -p keys=magician -p seclevel=0
20:18.29pH5sdtool.pl -rm 0x91000000:blob.raw -wi sd.img -rh sd.hdr
20:18.50pH5dd if=sd.img of=/dev/sda bs=512 count=1
20:19.30kiozencr2: code to build polylines looks good on the first glance
20:19.35kiozentype values, too
20:21.45cr2kiozen: gpsmapedit does not puke too ;)
20:22.17kiozenif you re stuff you are more tolerant for the unexpexted
20:22.18cr2pH5: where can i get blob.raw ? i'll try it on the universal.
20:23.05pH5cr2: blob.raw is just e3a00101 e380060e e3a01080 e5801118 e1a0f00e (turn on keypad led on magician and hang)
20:23.56pH5http://en.pastebin.ca/775973
20:24.42cr2pH5: how do you compile it ?
20:25.42cr2kiozen: ok, but since cgpsmapper works with mapsource, it's more accurate.
20:25.47pH5cr2: arm-angstrom-linux-gnueabi-gcc -c -o blob.elf turnonled.S && arm-angstrom-linux-gnueabi-objcopy -O binary -j .text blob.elf blob.raw
20:26.06cr2ok. as+obcopy.
20:26.31cr2hmm. what can i do on the universal...
20:26.45pH5yeah, gcc just because I used cpp macros in the trampoline
20:27.08cr2the vibra is on asic3 i think.
20:27.18pH5cr2: backlight?
20:27.38cr2needs pwm ?
20:28.21pH5yup, see turn_on_backlight: section in ph5test.S
20:28.47pH5btw, I just see backlight power needs cpld on magician.
20:29.56cr2i can just put a pixel, or line to the fb.
20:30.00pH5you could also fill the screen with black pixels
20:30.06pH5cr2: or that :)
20:30.10cr2heh. what was the fb address in the bl...
20:30.19pH5on mag it's ram start
20:30.34cr2sram ?
20:32.14cr2ok, found my notes.
20:33.00cr2SP is at 0x10000
20:33.15cr2fb is at 0x360000
20:33.45pH5ah right, uni needs more space :)
20:33.46cr2the line is 480 pixels
20:34.00cr2yes, it's vga does not fit into sram
20:35.04cr2ok, you are faster at asm than me :)
20:35.53cr2write a blob we both can use only changing the fbaddr.
20:36.19cr2maybe even with mc/hexedit.
20:42.42*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
21:02.04pH5cr2: I might or might not be faster, but what I do usually doesn't work in the first iteration :P
21:02.55cr2i'm trying to create an image with some junk code. all nops.
21:03.17pH5how about something like http://en.pastebin.ca/776054
21:04.50cr2will it work with 240pix lines ?
21:04.58cr2ok, they will be 2x
21:05.14cr2what was the fbaddr on ba...
21:06.18cr20x08000000 is ATI
21:09.24cr20x08800000 is the fb.
21:09.45cr2switching to bl ..
21:10.21cr2http://wiki.xda-developers.com/index.php?pagename=HTC_Blueangel_BootloaderMode
21:12.39cr2universal ... 3. Put in bootloader mode (Power + Light + reset)
21:13.27cr2goxboxlive: my universal's wince standby time is also not great.
21:14.40cr2hermes is really excellent.
21:15.29dcordescr2: how long does your hermes standby last?
21:18.35cr2dcordes: i left it for one month in deep sleep, and it was working after that.
21:19.27dcordescool
21:20.05dcordeshermes' price makes me tend to get it but I'm not sure if I need 128mb ram and gps of kaiser
21:22.09cr2pH5: mine is also not recognized. hmm.
21:25.30pH5cr2: I don't know about the rest of the header, but the first 0x30 bytes on my sd images generated by the bootloader d2s command are "MAGICIAN        00000000000000001.02            ", in clear text
21:27.25pH5like it is written in sdtool.pl sources, btw. I wonder why it doesn't generate such headers then.
21:28.29cr2pH5: what is your 'task 32' output ?
21:28.59pH5seclevel is 0xff
21:29.52pH5"Level = FF"
21:30.01cr2hm.
21:30.16cr2same here, but should be different ;)
21:30.47cr2something is wrong.
21:33.17pH5hm.
21:33.33pH5I just rewrote just the first 0x30 bytes of the header
21:33.49pH5now task 32 gives "Unimited time!" and "Level = 0"
21:34.25pH5but on the screen I have "SD Download", "Sections=1" and "Not allow update!"
21:35.11cr2password ?
21:35.51pH5why password?
21:36.02cr2what did you write in the first 30 bytes ?
21:36.05pH5I thought it is supposed to copy my blob to ram and  jump into it
21:36.08pH5see above
21:36.18cr2MAGICIAN ...
21:36.20cr2ok.
21:36.21pH5"MAGICIAN        00000000000000001.02            "
21:36.42pH5maybe all I have to do now is to adjust the checksums?
21:36.47cr2what was the magician password ?
21:37.01pH5magician has a dynamic password, like hermes
21:37.08cr2static
21:37.30pH5no static password
21:38.28cr2there must be one.
21:39.16cr2hm.
21:40.04pH5ok, in this case it's "BOOTLOADER", like hx4700
21:40.13pH5but unlike hx4700 it doesn't have any effect
21:40.25pH5the corresponding variable is set even without entering the password at all.
21:41.19cr2ok.
21:49.07cr2pH5: it seems you need only to copy x80-x100 stuff to .img
21:50.44cr2http://wiki.xda-developers.com/index.php?pagename=HimalayaSDcardLayout
21:52.50pH5cr2: sdtool.pl says 0x30 = DCD  sum of section checksums, 0x7c = DCD  crc of header 00-7C
21:55.44*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-dbf9f285635e05b7)
21:55.45cr2pH5: hmm.
21:57.00cr2pH5: it was working for me somehow, but i've forgot the details. it was 2 years ago.
21:57.02pH5what I don't understand is that the "Not allow update!" message clearly depends on some variable being >= 1. I had assumed that this was the security level, so seclevel=0 would "allow update!".
21:58.02cr2yes.
22:00.16*** join/#htc-linux Zoolooc (n=fredsiba@p54952485.dip0.t-ipconnect.de)
22:00.16*** join/#htc-linux bd2 (n=cbou@85.21.88.2)
22:00.17*** join/#htc-linux mxktmdude (n=mxktmdud@162client6.cpe.ezlink.ca) [NETSPLIT VICTIM]
22:00.17*** join/#htc-linux swetland (n=swetland@sunnyvale.frotz.net)
22:00.17*** join/#htc-linux elysion_ (n=elysion@cd-a11.lkier.tontut.fi) [NETSPLIT VICTIM]
22:00.17*** join/#htc-linux paulproteus (n=paulprot@wide-rose.makesad.us)
22:00.17*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM]
22:01.57*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
22:01.57*** join/#htc-linux TimRiker (n=timr@pdpc/supporter/bronze/TimRiker)
22:01.57*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
22:01.57*** join/#htc-linux manveru (n=manveru@gu93.opt2.point.ne.jp) [NETSPLIT VICTIM]
22:01.57*** join/#htc-linux ecze (n=ecze@eczema.ecze.com) [NETSPLIT VICTIM]
22:01.57*** join/#htc-linux torarne (i=torarne@stud268.idi.ntnu.no)
22:02.14*** join/#htc-linux GPFaway (i=GPF@cpe-76-187-41-132.tx.res.rr.com) [NETSPLIT VICTIM]
22:02.14*** join/#htc-linux toi (n=pleemans@d5152D3B4.access.telenet.be)
22:02.15*** join/#htc-linux gw280 (n=george@vm.gwright.org.uk)
22:02.15*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
22:02.15*** join/#htc-linux regulate (i=regulate@notchill.com) [NETSPLIT VICTIM]
22:02.15*** join/#htc-linux Dinde (n=kayser@sur-internet.net) [NETSPLIT VICTIM]
22:02.47cr2pH5: i understand then psdwrite f: sd80.img 0x80 -s 0x80
22:02.48cr2as writing 0x80bytes beginning from 0x80
22:02.49cr2as in dd if=sd80.img bs=1 skip=$((0x80)) count=$((0x80)) of=/dev/mmcblk0
22:02.56pH5this overwrites the cid encoded seclevel and the timeouts
22:03.27cr2sdtool.pl does not write anything there.
22:14.37cr2does not help.
22:16.46cr2maybe it dislikes 2GB card.
22:17.20pH5I have used one 1GB kingston
22:17.39pH5and a 128mb sandisk Âĩsd, same result
22:19.33cr2i get level=ff
22:20.08cr2what does it say exactyl ?
22:21.00cr2ok. update
22:21.27*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-3eb6acf286770fdc)
22:21.58cr2can you set the level to 1 ?
22:22.20cr2CMP     R1, #1
22:22.22cr2BLS
22:23.13pH5cr2: dunno, I'll try that tomorrow. bls is <=
22:23.20cr2it's not stored, btw
22:23.41pH5I just found out how to replace the ugly Crc32 with zlib crc32 as you suggested in htc-tools
22:24.13cr2:)
22:24.48pH5I just need to start the checksum from 0xffffffff instead of 0 and do ^0xffffffff afterwards.
22:24.49cr2it should be portable
22:27.28cr2hehe. sdtool uses Compress::Zlib::crc32
22:27.37pH5that's how I found out :)
22:27.58cr2no, i just knew zlib has crc32
22:28.33cr2<PROTECTED>
22:28.33cr2<PROTECTED>
22:29.10cr2not very nice.
22:37.24cr2pH5: perl ./sdtool.pl -rm 0x91000000:blob.raw -wi sd.img -rh sd.hdr -dev UNIVERSAL -bl 1.00
22:38.59pH5hmh, this looks better. does it work?
22:39.47cr2SD read fail.
22:39.51cr22GB card ?
22:40.10cr2i'll try with 128
22:41.19cr2hm. no.
22:42.57cr2yes. not allow update. but i have level=ff for task 32
22:43.06cr2so it#s logical.
22:43.15cr2something is wrong in the header.
22:45.07pH5ok, but we are on the right track. I just need to understand itsme's work :)
22:45.11pH5good night
22:46.40cr2pH5: cardid=${CID}
22:47.08cr2not $(CID)
22:47.15cr2it's not a makefile ;)
22:58.04cr2i'm dumb.
22:58.14cr2the 128 card has another cid
22:59.06goxboxlivecr2: what are you and pH5 working on now?
23:01.39cr2booting off SD card.
23:01.44cr2from the bootloader.
23:02.35cr2i don't understand it.
23:02.45cr2it was working with this card.
23:02.56cr2aah. it was a different bl.
23:03.09cr2before my motherbaord was replaced.
23:03.30*** join/#htc-linux dblrbl (n=polyrhyt@32.145.47.179)
23:07.16dblrblhello all
23:07.22dblrbldoes running haret 0.5 always force a hard reset?
23:10.52cr2on what device ?
23:15.02dblrblthe Kaiser
23:20.13cr2kaiser is actually not in the list.
23:20.46cr2can you create the earlyharetlog.txt file in the same directory, run haret and exit.
23:21.13cr2it will create the haretlog.txt file which you should post to pastebin.
23:24.14goxboxlivecr2: so we have also been able to boot from bootloader like the magican does
23:25.07cr2goxboxlive: does not work for me on the uni right now, but we will solve the problem.
23:25.15cr2i'll try it on the ba now.
23:25.30goxboxliveWhat bootloader do you have?
23:25.43goxboxlivei am using 1.0.1 i think
23:26.36goxboxliveHow can i test this?
23:27.07cr21.00
23:27.24goxboxliveok
23:27.25cr2i have 0.60 before
23:27.31goxboxlivenever heard of
23:27.37cr2and there was 0.51 before that.
23:27.43goxboxliveok
23:27.45*** join/#htc-linux dblrbl (n=polyrhyt@32.148.194.122)
23:27.46cr2you are new in the game :)
23:27.50goxboxlive:-)
23:28.05goxboxliveI'm only a version 1.0
23:28.34cr2goxboxlive: 2GB card does not work
23:28.37dblrbloops got a phone call (irc-ing from kaiser)
23:28.46cr2in the bl. gives a read error
23:28.54cr2lol
23:29.39Zoolooccr2: if I try that (what you suggested to dblrbl) on the kaiser, will it be of any use, hasn't it been published yet?
23:30.31cr2Zoolooc: the titan is not in the machine list. btw, is it registered ?
23:30.41cr2sorry, the kaiser.
23:31.19Zooloocmean registered in the arm machine list?
23:32.59cr2no, it's not registered.
23:33.06cr2titan is in the list.
23:33.11cr2ok, time to register it :)
23:33.47cr2i'll add it to the list and update the hh.org mach-types
23:33.59dblrblsweet
23:35.54cr2well, it's the easiest thing i can do ;)
23:36.18Zooloocwhere is this list, in some source files?
23:36.30Zooloocin cvs?
23:38.09cr2in the kernel CVS, and should be also added to the haret CVS
23:39.00*** join/#htc-linux Dannys (n=dannys@ppp205-227.adsl.forthnet.gr)
23:39.32Dannysi can ask somthing there for help?
23:40.17Dannysi have qtek 9100 and i won to sync with debian how i do that?
23:40.20cr2ok. done. need to update the CVS.
23:40.39Dannyscvs?
23:41.43Dannyscr2:you speek to me?
23:43.06Dannysi try with multisync and cynce but i can't connect
23:43.16Dannysenaone to help me?
23:43.53dblrblharet has been successfully run on the Kaiser before, right?
23:43.58cr2Dannys: i don't really use wince
23:44.25cr2dblrbl: on titan. don't remember about kaiser.
23:44.31Dannysok what linux i can install on qtek 9100
23:44.32Dannys?
23:44.36cr2dblrbl: i need the log
23:44.55cr29100 ? what's the htc name ?
23:45.29Dannyscpu:omap850
23:45.57Dannysmodel wiza200
23:46.02cr2hmm. wizard.
23:46.12cr2it's tough ;)
23:46.21Dannysnedd to try wizard?
23:46.42cr2no, the problems are well known .
23:46.48Dannysfind on xda-developers?
23:46.53cr2i2c cpld access, and the ts spi
23:47.15cr2afair to use synce on wince5 you need to patch the kernel
23:47.35Dannysthe kernel on debian?
23:47.41cr2that's a PITA, and that's why i hate it.
23:47.55Dannysok sorry
23:48.08cr2yes, the rndis driver needs some small patch.
23:48.39Zoolooccr2: I checked out haret sources from handhelds.org, are those which you updated?
23:49.21cr2Zoolooc: i don't have write access to haret. i've updated the kernel. you need to tell to Kevin2
23:49.22Zooloocmight have to get cegcc
23:49.36cr2Zoolooc: can you post the haretlog ?
23:49.49Zooloocif I come that far :-)
23:50.02cr2touch earlyharetlog.txt
23:50.17cr2and then grab the latest version from hh.org
23:50.30cr2http://handhelds.org/~koconnor/haret
23:51.03Zooloocso I should get the kernel file you modified, to adapt this to haret too, and then I have to find the haret instructions. should I actually try booting a kernel (the msm7k from android for instance?)
23:51.14cr2<PROTECTED>
23:51.19Zooloocoh, I read just now
23:51.30cr2the android kernel is not going to work.
23:51.57cr2because it's for 7200A and has some other funny hardware and a different LCD.
23:52.00Zooloocdont' expect to, from what we talked already
23:52.08cr2ok.
23:52.33Zooloocbut handhelds.org kernel won't work either at this moment
23:52.45cr2haret/src/mach/machlist.txt
23:52.45Zooloocbut if haret produces a log anyway
23:52.59cr2this list needs an update, and then haret should be recompiled.
23:53.12cr2actually it needs a lot of updates.
23:53.34dblrblCan we get the msm2
23:53.41cr2if the earlyharetlog.txt is there, the log will be created even if haret crashes.
23:54.15dblrbl*msm2k support extracted from Android?
23:54.15Zooloocif those changes make the difference on having some more success on the kaiser, I could try if you tell me what to modify
23:55.13cr2dblrbl: yes, but we need our own gpio/irq code. and the LCD panel driver for htc devices.
23:55.40cr2btw, can somebody of you dump the SRAM on kaiser ? i only have the titan dump.
23:55.58cr2it has some id data, though ;)
23:56.25dblrblbe happy to - I'll be home in 2 hours
23:57.59goxboxliveBabelO: still awake?
23:58.18BabelOgoxboxlive: yes
23:58.36goxboxliveBabelO: did you tets my Qtopia image?
23:58.56BabelOyes
23:59.01BabelOworks
23:59.09cr2BabelO: i'll try to check the BA BL
23:59.12BabelOmine too now
23:59.18goxboxliveBabelO: it where compiled with iwmmxt
23:59.24goxboxliveplugin
23:59.57BabelOgoxboxlive: that's why it crash , random

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