IRC log for #htc-linux on 20081205

00:01.11rolkThis fails on my android kernel clone.
00:01.30rolk<PROTECTED>
00:01.30rolkfatal: git checkout: updating paths is incompatible with switching branches/forcing
00:01.30rolkDid you intend to checkout 'origin/android-msm-htc-2.6.25' which can not be resolved as commit?
00:01.43era|wow, new android phone without contract for 192usd.
00:03.23dcordesrolk, which command did you use to clone?
00:03.46dcordesera|, kogan agora (pro) ?
00:04.04era|yep.
00:04.12rolkUh, repo.
00:04.22dcordesrolk, repo?
00:04.40rolkThat is, I repo'd the whole andoid bit, including the kernel.
00:04.46dcordesoh
00:04.59dcordesdon't know about that. I don't need the android sources locally
00:05.04rolkYes, repo is a wrapper around git that Goole uses.
00:05.38rolkI'll try to use the git clone directly, then switch to the branch as you mentioned. Thanks, I'm off to sleep.
00:05.52dcordesok good night
00:06.06dcordesera|, I wonder which chipset it uses. somebody said it's a pxa
00:06.13rolkdcordes: Thanks, and I'll be back...
00:07.04era|yeah, i was just wondering the same thing. the 192usd model just seems like a ploy to get business.. the real action happens with the pro version, which is 399.
00:08.31dcordesyou think they have entire different chipsets?
00:08.47dcordesmy guess is pro just has the wifi etc soldered additionally
00:09.42era|yeah, probably. i meant it more as.. if you're going to get a smart phone.. you might as well spend the extra money and get one that has useful features (gps, wifi, etc)
00:10.48dcordesguess there are enough people who are happy enough with the android eyecandy to go for the non pro board revision :)
00:11.53era|the pro version actually looks appealing, i recently dropped my kaiser.. so the screen is all white except for text.. which is not helpful.. so i'll be in the market soon enough.
00:17.19*** part/#htc-linux exco (n=exco@e181122243.adsl.alicedsl.de)
00:19.09NetRipperdcordes, just updated wiki: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Progress
00:20.08NetRippermodified your angstrom initrd
00:20.59NetRipper(slightly, just added auto usb0 to interfaces and updated info in etc/issue)
00:21.21dcordesok can you put a link to the tgz?
00:21.41NetRipperits there already
00:21.55dcordesah the extracted. ok
00:22.38NetRipperoh and i disabled splash
00:22.41NetRipperit only made the screen black
00:22.41NetRipper:P
00:26.18dcordeshehe
00:26.20dcordesgood night
00:27.39NetRippergood idea
00:27.40NetRippergood night ;)
00:48.05*** join/#htc-linux pwr (n=pwr@82.78.117.11)
01:07.12*** join/#htc-linux tmzt_ (n=tmzt@adsl-76-244-148-245.dsl.akrnoh.sbcglobal.net)
01:48.08*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
01:49.33*** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net)
01:50.03*** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com)
02:29.35*** join/#htc-linux joschkopf79 (n=joschi@f048227074.adsl.alicedsl.de)
03:32.47*** join/#htc-linux joshjdevl (n=josh@69.54.176.209)
03:33.09joshjdevlhi, i tried to load the following, though it gets stuck again
03:33.23joshjdevlinitrd from  http://www.netripper.com/raphael/initrd-netripper-busybox-usb.cpio.gz
03:33.42joshjdevlbootkit from linuxtogo.org/tildelgorris/kaiser-bootkit
03:34.00joshjdevlprogress bar goes to 100% though nothing happens in haret
03:34.20joshjdevlthis is my default.xt
03:34.21joshjdevlset MTYPE 1553
03:34.21joshjdevlset KERNEL zImage-kaiser-new.bin
03:34.21joshjdevlset RAMSIZE 0x7800000
03:34.21joshjdevlset RAMADDR 0x10000000
03:34.21joshjdevl#uncomment the following line and comment the set INITRD line to boot from the 2nd partition on micro sd
03:34.23joshjdevl#set CMDLINE "root=/dev/mmcblk0p2 rootwait fbcon=rotate:3"
03:34.25joshjdevl#set INITRD android.bin
03:34.27joshjdevlset INITRD initrd-netripper-busybox-usb.cpio.gz
03:34.29joshjdevl#if you want to use the angstrom console image use the following line instead
03:34.31joshjdevl#set INITRD console-image-20081127.cpio.gz
03:34.33joshjdevlbootlinux
03:50.54maejrepNetRipper, btw, it's not your host that's slow ;)  100%[======================================>] 12,462,530  2.92M/s   in 7.7s
04:09.38maejrepNetRipper, I'm seeing this with your latest initrd/zImage:  http://www.privatepaste.com/65Q3GjoWel
04:09.48maejrepand it hangs after that last line
04:14.51maejrephmm, looking at your 20081202_dmesg.txt, looks like the next line should be calibration
06:13.01*** join/#htc-linux BHSPitMonkey_ (n=stephen@pool-71-244-5-24.dllstx.fios.verizon.net)
06:24.28*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
06:39.57*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
07:12.19*** join/#htc-linux kiozen (n=oeichler@p54929E17.dip0.t-ipconnect.de)
07:17.16*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
07:43.55*** join/#htc-linux rmoravcik1 (n=rmoravci@gtsgw.ttc.cz)
07:47.50*** join/#htc-linux hairyraven (n=nobody@loy.pp.ru)
07:48.09*** join/#htc-linux mrmg (n=mrmg@spc1-bror4-0-0-cust383.asfd.broadband.ntl.com)
08:15.57*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:19.01*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
08:24.15toermorning
08:25.15BHSPitMonkeymronin
08:59.58*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
09:01.59*** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl)
09:11.53*** join/#htc-linux marajin_ (n=marajin@87-194-102-189.bethere.co.uk)
09:16.21*** join/#htc-linux kalemas (n=kalemas@93.178.68.251)
09:22.24*** join/#htc-linux mokolade (n=mokolade@85.221.112.173)
09:39.56*** join/#htc-linux rl2000 (n=rl2000@0x573b8b62.hhnqu1.dynamic.dsl.tele.dk)
09:58.00*** part/#htc-linux kalemas (n=kalemas@93.178.68.251)
10:10.00*** join/#htc-linux stefan_schmidt (n=stefan@92.117.204.211)
10:31.17*** join/#htc-linux rmoravcik1 (n=rmoravci@gtsgw.ttc.cz)
10:37.08*** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl)
11:03.04*** join/#htc-linux ALoGeNoFF (n=QUAKEIII@169.Red-79-150-193.staticIP.rima-tde.net)
11:17.20*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
11:49.02*** join/#htc-linux metter (n=metter@123-61.3-85.cust.bluewin.ch)
11:49.28*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
11:52.45*** join/#htc-linux Othello (i=Othello@gateway/tor/x-4f8e8b016373837e)
12:01.15*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
12:02.56rl2000Hi all
12:03.20rl2000Netripper: I see you've gotten something better than you adsl for you domain :)
12:03.25rl2000even your
12:04.28*** join/#htc-linux kiozen (n=oeichler@p54929E17.dip0.t-ipconnect.de)
13:45.05*** join/#htc-linux psokolovsky (n=psokolov@nat-users-50.is.ua)
14:10.49NetRipperrl2000 indeed ;) though netripper.nl is still on my dsl, netripper.com is hosted professionally now
14:12.57NetRippermaejrep, then it seems it's fully booted... you need to tap the screen to start calibration
14:16.47rl2000Cool, let's hope people have more time to tinker with android in the new year :)
14:19.25*** join/#htc-linux axe_hm (n=weechat@217.116.62.236)
14:32.10rl2000the stuff about the tomtom movinand patches looks interesting, I would tinker with it I a) had the time b) hadn't borrowed my spare laptop to my brother c) Actually had the skillz :P
14:32.43rl2000Ahh, friday, I get off work aaaaany minute now :)
14:36.13rl2000well, time to go, have a nice weekend all :)
15:14.38*** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net)
15:27.22*** join/#htc-linux kirberich (n=robert@mailserver.ivam.de)
15:32.21kirberichIn case anyone working on the project is here: How are the chances of seeing a working android in the xperia X1? I need to make the decision whether to buy a g1 or a x1 soon, and I think I'd go for the x1 if android lies in its forseeable future
15:33.14kirberichI'd also be happy to help, at least if the chances for android are good
15:33.34*** join/#htc-linux exco (n=exco@e181073182.adsl.alicedsl.de)
15:33.38*** join/#htc-linux the_sys0p (n=the_sys0@cpe-75-85-249-111.bak.res.rr.com)
15:35.08tmzt_NetRipper: hey, any idea on X1?
15:36.05tmzt_mickeyl: hello, would you have anykind of gsm0710muxd with debugging for decoding a new protocol variant (don't know if I'm asking the right question though)
15:36.41mickeylnot sure i understand you
15:36.56mickeylyou want to add a new multiplexing protocol?
15:37.00mickeylwhy?
15:37.01*** join/#htc-linux orux (n=jose@89.130.46.3)
15:37.29mickeylyou can start the muxer with -v -v -v to get more debug btw.
15:37.59tmzt_mickeyl: I have a phone which is basically a CDMA variant of the EZX (motoq), I am finding information in the registry and driver filenames for windows ce that suggests it is using ts0710 or a variant, including DLCIs for the various channels
15:38.16mickeylah
15:38.19mickeylinteresting
15:38.26tmzt_but neither the ezx mux cli usb driver of gsm0710 are very successful
15:38.30tmzt_or
15:38.38*** join/#htc-linux Kuma (n=John@g228208178.adsl.alicedsl.de)
15:50.37*** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda)
15:57.56*** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda)
16:00.11*** join/#htc-linux jgw (n=jake@72-160-92-45.dyn.centurytel.net)
16:03.09*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
16:06.33*** part/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
16:10.16NetRippertmzt_, do you have an X1?
16:11.47tmzt_no, kirberich was asking about it
16:11.56NetRipperah ok
16:12.10tmzt_I see there where issues with memory map on HD?
16:12.47NetRipperkirberich, there was an active developer for X1 which booted linux on X1, but haven't seen him in a while... you can read his posts in the diamond linux thread if you look for the name schlash
16:13.57NetRippertmzt_ i wouldnt know about the HD
16:19.31*** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl)
16:25.21*** join/#htc-linux kirberich (n=robert@dtmd-4db276c0.pool.einsundeins.de)
16:25.42*** join/#htc-linux GlemSom (n=glemsom@93.163.75.202)
16:27.00tmzt_23:26 < joshjdevl> progress bar goes to 100% though nothing happens in haret
16:27.00tmzt_23:26 < joshjdevl> this is my default.xt
16:27.00tmzt_23:26 < joshjdevl> set MTYPE 1553
16:27.00tmzt_23:26 < joshjdevl> set KERNEL zImage-kaiser-new.bin
16:27.00tmzt_23:26 < joshjdevl> set RAMSIZE 0x7800000
16:27.03tmzt_23:26 < joshjdevl> set RAMADDR 0x10000000
16:27.20tmzt_NetRipper: I thought you where working on it with him
16:27.38*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
16:28.09dcordeskirberich, hello we have some talks about the x1 here http://forum.xda-developers.com/showthread.php?t=443837
16:28.39mickeyltmzt_: i'm afraid i'm out of my depth there though. 07.10 is very complex. might be worth (re)enabling the debug out in gsm0710muxd to get more infos
16:28.45kirberichdcordes, nice to finally meet you ;) yeah I found this channel through that exact thread
16:29.15kirberichdcordes, so essentially right now the state is "linux on x1 kinda boots, but nothing can be done with it (yet)" or am I misreading?
16:30.28dcordeskirberich, can you boot?
16:30.40dcordesmickeyl, hi, got my mail?
16:30.54kirberichdcordes, I don't have the device. that's why I'm bugging everyone about it
16:31.29kirberichI need to decide whether I'll buy the bad g1 hardware with awesome android or the good x1 hardware with crappy windows
16:32.17kirberichand i'd be willing to live with windows for a while and help port android, so right now I'm trying to find out when, if ever, android is gonna be _usable_ on the x1
16:32.56dcordesgo for the good hardware
16:33.21dcordesand use windows until linux runs well
16:33.53kirberichso you're hopeful we'll get there in a reasonable amount of time?
16:34.08kirberichi'm really scared of having an awesome device and then not being able to, for example, use the gps or something
16:34.40dcordesyes
16:34.44mickeyldcordes: ya, got it
16:34.47mickeylyour modem sucks
16:34.53kirberichdcordes, do you have an x1?
16:34.54mickeylnot only gives it '0'
16:35.01mickeylit also swallows the \r\n
16:35.04dcordeskirberich, no
16:35.05mickeyland only emits an \r
16:35.11dcordeshmm nasty
16:35.16mickeylso you need to change the parser state machine a bit for it
16:35.26mickeylwant to try?
16:35.27mickeyl:D
16:35.38mickeyli can blindly do a patch, but not today
16:37.19kirberichdcordes, has anyone actually managed yet to boot the x1 with linux?
16:38.18dcordesmickey|away, sure. just email it when you have it
16:41.29dcordeskirberich, fear I don't have much more info about it than thread provides
16:45.24*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c95b.pool.einsundeins.de)
16:53.24kirberichdcordes, I guess xmoo is a more involved in the xperia question?
16:53.43dcordeshe has the device
16:56.47kirberichthis is all annoyingly complicated. Why can't smartphones just be so cheap that one can afford both phones? ;)
17:12.00*** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com)
17:32.15dcordessomebody should look at the blackstone and venus spls.
17:32.50*** join/#htc-linux kalemas (n=kalemas@90.50.117.87.donpac.ru)
17:33.44*** join/#htc-linux pH5 (n=ph5@p5485F2AF.dip.t-dialin.net)
17:42.33*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
17:42.42dcordestmzt_, ping
17:42.51tmzt_dcordes: hi
17:43.14dcordeshey. I've been wondering about the pixelflinger thing..
17:43.36dcordesyou know somebody I can ask about where to start?
17:44.49tmzt_dcordes: I asked swetland, unfortunately the person who works on it isn't often in #android (pixelflinger)
17:45.09tmzt_dcordes: you can search the rikers logs for android if you want to know what swetland said
17:46.47dcordesok will do
17:54.35dcordes"pixelflinger implements the rasterization side of a software gl system"
17:58.51dcordestmzt_, all that sounds a bit confusing. swetland porposes to have X as a sort of vm in android?
18:00.33tmzt_dcordes: no, I asked if it was possible for a c program to access a surface in surfaceflinger, suggesting it might be a way to run X nativly with android applications
18:01.00tmzt_specifically, if using binder was enough to draw onto an android surface
18:01.44tmzt_it's really two seperate questions.
18:01.55tmzt_one, if we can use X directly on msmfb and how to do it
18:02.18tmzt_two, can X programs be used on android while the android system (zygote) is running?
18:02.30dcordesI'm rather interested in the first question
18:02.40tmzt_yes
18:03.23dcordesso who has the answer? I'm not sure the android graphics person will help
18:03.40*** join/#htc-linux joshjdevl (n=josh@69.54.176.209)
18:04.33dcordesguess somebody with good graphics skill is needed who wants to write a new Xserver
18:04.48dcordesXserver-msm
18:08.59dcordestmzt_, think I should give it a go on X mailing list?
18:09.24dcordeshttp://www.telesphoreo.org/pipermail/g1-hackers/2008-December/000096.html
18:09.54*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
18:11.52tmzt_dcordes: I think we just need a simple application to draw to the mmap'd fb and then call MSMFB_UPDATE ioctl with the coordidates (or whole screen)
18:12.47*** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no)
18:12.48tmzt_so we can draw a red square then a blue square and switch between them every second or something like that
18:12.56dcordesI don't understand why would X need that app and not mplayer or other direct fb programs
18:13.05tmzt_what app?
18:13.14tmzt_does mplayer work?
18:13.17dcordesyes
18:13.51tmzt_can you strace 2>&1|grep mmap
18:13.58dcordesok
18:14.08Bushmandoes phone work?
18:14.11tmzt_or, grep -E mmap|ioctl
18:14.20tmzt_or, grep -E 'mmap|ioctl'
18:15.19dcordesoh no. I think I fried the big uSD card
18:16.05Bushmanhow did you manage to do that? :D
18:18.39dcordesthe sandisk uSD come with a tiny reader. I had the card in there while the tiny pcb inside broke and caused shorting or so
18:22.11Bushmanhmm...
18:22.36*** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net)
18:22.37Bushmanyou mean the adapter?
18:22.43Bushmansize adapter?
18:22.55dcordesno uSD>usb
18:23.27Bushmandid you try to put it into anything else?
18:23.36Bushmanlike mobile?
18:23.43dcordesyes into uSD>SD>card reader
18:23.56Bushmanand doesn't work?
18:23.58dcordesthe driver makes /dev/sdd
18:24.05dcordesbut it can't be accessed via fdisk
18:24.08dcordesjust freezes
18:24.12Bushmanhmm...
18:24.31Kensandcordes: did you try writing/reading to it with dd?
18:24.36dcordesI think it received some currency it didn't want
18:24.38dcordesno
18:24.44Bushmancause card reader reports device while the card is not wokring :D
18:25.18dcordesI will 0 the device
18:25.27Bushmantry :>
18:25.30Bushmanmight help :P
18:25.56Kensandcordes: might also kill it
18:26.11BushmanKensan: naaah
18:27.44KensanBushman: yes, I don't remember where I read it but it seems that the onchip controllers expect a vfat partition table, if it's not there the card will not work.
18:27.49*** join/#htc-linux timebomb1 (n=tb@p5B3E46FD.dip.t-dialin.net)
18:29.39Kensanhttp://lkml.org/lkml/2008/12/2/212
18:30.09dcordesKensan, it had two primary partitions. 1 vfat 2 ext2
18:30.25dcordestmzt_, running  grep -E 'mmap|ioctl'
18:30.27Kensandcordes: yeah, youre probably safe but who knows *heh*
18:31.09Bushmani have one old brokem MMC
18:31.23Bushmanit also reports a device bu fdisk says Unable to read /dev/sdb
18:31.26Bushman:P
18:31.35Bushmanso it's just crap
18:32.07Bushmanwhen i won't need the other mmc i'll make a pair of earrings out of them :P
18:32.19dcordesit would be good to have a dd'ed image of the sdd from the same sandisk 8gb  mobile ultra micro sd hc
18:32.49*** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net)
18:37.00dcordestmzt_, "strace mplayer movie.avi 2>&1|grep mmap" prints a lot of stuff
18:37.08dcordestmzt_, like
18:38.31dcordesmmap2(0x406ab000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE. 3. 0x3) = 0x406ab000
18:40.33dcordesmmap2(NULL, 38476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x406ac000
18:42.21tmzt_dcordes: sorry, we should |grep -E open|mmap|ioctl
18:42.44tmzt_dcordes: it should open /dev/fb0 and give you a fd after =
18:42.47tmzt_like = 3
18:42.52tmzt_then mmap(3, ...
18:43.07dcordesit kills the SD fast. I don't know why. when I run mplayer w/o strace it only happens when you seek
18:44.11tmzt_oh
18:44.37tmzt_have you tried pio, I see it didn't work on polaris so I guess not on kaiser either?
18:45.18dcordesno worky
18:46.06dcordestmzt_, |grep -E open|mmap|ioctl
18:46.37dcordesyou mean
18:46.59dcordesstrace mplayer movie.avi 2>file.txt|grep -E open|mmap|ioctl
18:46.59dcordes?
18:47.03tmzt_yes
18:47.12tmzt_no file.txt though, &1
18:47.17dcordeswhy?
18:47.19tmzt_or strace -o file.txt mplayer
18:47.23dcordesok
18:47.37tmzt_the grep -E 'open|mmap|ioctl' file.txt
18:47.50tmzt_<PROTECTED>
18:48.06tmzt_<PROTECTED>
18:48.18dcordesok
18:48.21tmzt_<PROTECTED>
18:49.28dcordesash tries to execute mmap
18:49.53dcordesguess | as seperator is wrong
18:50.37tmzt_yes, put it in ' '
18:51.00tmzt_strace mplayer movie.avi 2>&1 | grep -E 'open|mmap|ioctl'
18:51.11*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
18:51.20tmzt_if that doesn't work, \| instead of |
18:51.32tmzt_strace mplayer movie.avi 2>&1 | grep -E open\|mmap\|ioctl
18:52.14AstainHellbringmy congratz on what you have done so far on the porting to raphael android looks really nice on the vga screen
18:53.43dcordestmzt_, looks liek there are no lines with open mmap and ioctl
18:54.03tmzt_and? we want or
18:54.39dcordesoh
18:55.08dcordesnow the console is stuck again
18:55.13dcordeswon't let me quit. reset needed
18:55.34tmzt_map something to switch vt
18:55.41tmzt_like alt-left,right
18:55.53dcordestmzt_, want the strace file where I only greped for mmap?
18:55.57tmzt_I use that on q and it works pretty well, unless something is block the chvt
18:56.03dcordesno didn't map anythingto switch vt
18:56.08tmzt_yeah, can you paste it?
18:56.08dcordesand only spawn one
18:56.11dcordesok
19:01.09tmzt_dcordes: this is on raph?
19:01.30tmzt_open("/dev/fb0", O_RDWR)                = 4
19:01.30tmzt_close(4)                                = 0
19:01.30tmzt_open("/dev/fb0", O_RDWR)                = 4
19:02.53dcordestmzt_, no, it is on the kaiser
19:03.49tmzt_dcordes: you didn't use -vo fbdev ?
19:03.59dcordesno mplayer movie.avi
19:04.01tmzt_it's trying to set the fb params too, don't know why
19:04.25dcordesit gives the too slow option because it doesn't know the kaiser's true power.
19:04.30dcordess/option/warning/
19:04.56dcordestmzt_, btw, what are you looking for in the strace?
19:05.10dcordesthe wait it ioctls?
19:05.14dcordeswy
19:05.18dcordesmeeh
19:05.29tmzt_where/how the fbdev is mmaped and what ioctls are called on the fb's fd
19:06.47dcordesfd?
19:06.53tmzt_file descriptor
19:07.06tmzt_there is something else I am missing, I need to look it up
19:07.12dcordesdoes the mstrace.txt have that info?
19:09.11tmzt_ioctl(5, KDGKBENT, 0xbe9d5968)          = 0
19:09.11tmzt_ioctl(5, KDGKBENT <unfinished ...>
19:09.11tmzt_MPlayer interrupted by signal 15 in module: preinit_libvo
19:09.19tmzt_it stops there
19:09.39dcordesidk if I sctrl+c'D it or it died
19:10.42dcordesw/o the strace it can playback no problems
19:10.53tmzt_mplayer died, but look up sig 15
19:14.17dcordestmzt_, what is it? can't find
19:24.00tmzt_less /usr/include/linux/bits/signum.h
19:24.01*** join/#htc-linux NetRipper (n=netrippe@netripper.nl)
19:24.07tmzt_can't find it on google somehow
19:26.07*** join/#htc-linux `Chris (n=chris@host86-164-234-61.range86-164.btcentralplus.com)
19:30.53*** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net)
19:35.01Kensantmzt_: SIGTERM (man kill)
19:36.10tmzt_Kensan: thank you
20:05.46*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbffb72.pool.einsundeins.de)
20:13.58dcordestmzt_, so what info are we missing?
20:15.16*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
20:16.55*** join/#htc-linux gnys (n=gnys@83.172.104.49)
20:30.20*** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl)
20:32.25joshjdevlhi dcordes
20:45.52*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
20:54.44rolkHi. Anyone have a good tool for use in Ubuntu that will allow me to preview/monitor the effect of a patch file to an installed code base and will also let me resolve unclean patches manually?
21:03.57*** join/#htc-linux mokolade (n=mokolade@85.221.112.173)
21:05.06*** join/#htc-linux nashpa (n=dliviu@dliviu.plus.com)
21:18.57NetRipperrolk, if you fine one, let me know too :)
21:19.42dcordesrolk, hi. I like kdiff3
21:20.38rolkInstalling :)
21:28.21dcordestmzt_, so what is the conclusion I can take from the mplayer strace?
21:29.16tmzt_I don't know, and I wouldn't no where to start with mplayer source code I've tried that before
21:30.13tmzt_what other fb programs work?
21:30.31dcordesszsoftware tried a picture viewer on the polaris
21:30.33dcordesfbida
21:31.49tmzt_anyway to show multiple images with fbi?
21:32.05dcordesI tried it on the kaiser but it didn't display pictures, only black. szsoftware said he had that same problem and when it got stuck he pressed the camera button, which draws the on screen keyboard, which updates the fb.
21:32.24tmzt_then it drew?
21:32.41dcordesyea
21:33.27dcordesmplayer seems to have a similar refresh function
21:34.42tmzt_<PROTECTED>
21:34.42tmzt_<PROTECTED>
21:34.42tmzt_<PROTECTED>
21:34.42tmzt_<PROTECTED>
21:34.42tmzt_<PROTECTED>
21:34.43tmzt_<PROTECTED>
21:36.00tmzt_this should be easy dcordes
21:36.13tmzt_in fbida-2.07/fbtools.c
21:36.13dcordeswhere's that from?
21:36.17tmzt_fb_memset
21:36.27tmzt_the first I just searched mmap
21:36.53dcordesdzo uses the function msm_update_screen() to update
21:36.57tmzt_we just need ioctl(MSMFB_UPDATE, rect or something there
21:37.06tmzt_that's in the kernel
21:37.09dcordesyes
21:37.39tmzt_find MSMFB_UPDATE ioctl number in android msmfb.h (include/linux probably)
21:37.48tmzt_then copy the #define to fbtools.h
21:38.08tmzt_also, copy the definition for region or rect (a struct)
21:39.49dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=drivers/video/msm;hb=refs/heads/htc-vogue
21:40.47dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=include/asm-arm/arch-msm/msm_fb.h;hb=refs/heads/htc-vogue
21:42.38dcordestmzt_, MSMFB_UPDATE is only in the .c not in the header
21:43.31tmzt_http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=include/asm-arm/arch-msm/msm_fb.h;h=77ba80f141152434419df1cc3124bcc8729478c1;hb=refs/heads/htc-vogue
21:43.34tmzt_oh
21:45.23tmzt_sorry, I meant MSMFB_BLIT
21:45.34tmzt_msmfb_update is the update function for the fb driver
21:45.38tmzt_we need the ioctl
21:46.11dcordes.fb_ioctl = msmfb_ioctl,
21:50.11tmzt_we need an integer that MSMFB_BLIT is defined to
21:50.37dcordesBLIT_TIME 0x4 ??
21:50.43tmzt_550         struct mdp_blit_req req;
21:50.46tmzt_551         struct mdp_blit_req_list req_list;
21:50.56tmzt_where?
21:51.20tmzt_maybe msm_mdp.h
21:51.27tmzt_include/linux/msm_mdp.h
21:53.31tmzt_http://dl.bytesex.org/releases/fbida/
21:53.42tmzt_is the source I'm using
21:55.06tmzt_#define MSMFB_BLIT              _IOW(MSMFB_IOCTL_MAGIC, 2, unsigned int)
21:55.16tmzt_http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=include/linux/msm_mdp.h;h=7194c123a562bb8515464e3e8093b203dc55ebf1;hb=refs/heads/htc-vogue
21:55.46dcordeshm I don't understand ****. need 2 years of computer science or so
21:56.51tmzt_understand what?
21:57.24tmzt_we just need these values
22:01.36tmzt_well, we need to figure out these structures and what mdp_img is for
22:04.37dcordesrolk, does it help?
22:07.04rolkUhm. No.
22:07.49rolkUbuntu 8.10 (I've upgraded) uses KDE4, and kdiff3 uses KDE3, so its not readily available.
22:08.59rolkI've managed to get it to work, but I have trouble understanding how to resolve the conflicts introduced by the patch. I've got mach_types.orig and mach_types.rej, and don't see how these relate.
22:09.20tmzt_haret?
22:10.25rolkIn fact, the git-diff-htc-msm-2.6.25-20081105+kaiser+polaris.diff patch, when applied to the android-msm-htc-2.6.25 branch lead to 4 conflicts.
22:10.59rolk./arch/arm/tools/mach-types.rej
22:10.59rolk./arch/arm/mach-msm/io.c.rej
22:10.59rolk./arch/arm/mach-msm/Makefile.rej
22:10.59rolk./include/asm-arm/arch-msm/msm_iomap.h.rej
22:11.39dcordesrolk, you can just download the latest mach-types
22:11.48dcordesand resolve the Makefile manually
22:12.14rolkI'm quite used to handling source code conflicts, but this combination of git and patch does not ring a bell with me yet. I'm normally using perforce...
22:12.20dcordesdid you try to applying the patch to the revision I told you?
22:12.41rolkYes, same conflicts.
22:19.11*** join/#htc-linux LunohoD_ (n=alex@e180073192.adsl.alicedsl.de)
22:19.53*** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl)
22:20.23dcordesrolk, you could use my kaiser patch which works and put in the polaris bits manually. it's not much
22:22.37rolkdcordes: thanks, I think I'm managing now, although I'm sure its not an optimal workflow. I use an editor (kate) in split horizonal mode with the .diff file loaded and for each .rej file I'm manually trying to figure out what to do. 2 files to go...
22:23.28dcordesrolk, you can show me the iomap and Makefile
22:27.58rolkI'm looking at the changes to the Makefile (arch/arm/mach-msm/Makefile) right now. Someone is using c++ style commenting to disable some targets. Is that proper style?
22:28.08rolkLike this: -obj-y += proc_comm.o
22:28.08rolk+//obj-y += proc_comm.o
22:28.08rolk+#obj-y += proc_comm.o
22:28.49rolkSo, the line obj-y += proc_comm.o is commented out using a // comment, and again using a normal makefile comment. It does not make sense....
22:29.29tmzt_it has to do with how kbuild works, everything the becomes obj-y is added to buitin.o
22:29.38tmzt_<PROTECTED>
22:29.51tmzt_the # lines should be ignored by make
22:32.23dcordesit's my fault with the // .
22:32.34dcordesjust remove all of the // lines
22:35.04rolkOk.
22:36.20rolkCompiling....
22:37.49BushmanDying...
22:39.08rolkdcordes: Do you happen to know where the latest initrd can be found? The one I have right now is nice as it launches android, but I think I'd be better of with a console of some sort.
22:41.00rolkOk. Two build errors. One from arm-...-ld: "no machine record defined", and in 'default-idle':, there is an undefined reference to 'arch_idle'.
22:41.37tmzt_rolk, you have a CONFIG_MACH_... in .config ?
22:42.28dcordesrolk, use this lgorris (tm) initrd http://linuxtogo.org/~lgorris/kaiser-bootkit/angstrom-20081127.cpio.gz
22:43.51rolk@tmzt: yes, CONFIG_MACH_HTCPOLARIS=y
22:45.39dcordesmaybe mach-types is outdate?
22:45.43dcordesbrb
22:45.59tmzt_is HTCPOLARIS in arch/arm/tools/mach-types and mach-types.h ?
22:47.46rolkWell, I see a replacement of obj-$(CONFIG_PM) += pm.o with obj-$(CONFIG_PM_ += kaiser-pm.o in the Makefile in arch/asm/mach-msm
22:47.46*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
22:48.24rolkThat seems quite 'kaiser' specific.
22:48.59tmzt_it probably uses proc_comm
22:49.16rolkI'm going to check that kaiser-pm.c implementation of arch_idle().
22:49.47tmzt_you have a obj-$(CONFIG_MACH_HTCPOLARIS) += polaris.o
22:49.54tmzt_<PROTECTED>
22:50.27rolkChecking...
22:50.59rolkNo.
22:51.28rolkMy .config also does not have CONFIG_PM option set. I got that config from the polaris-defconfig.
22:52.53rolkThere is also no polaris.c in that directory.
22:53.07tmzt_you need to write one
22:53.20tmzt_the last part is the machine definition, which is what is missing
22:53.24tmzt_copy kaiser to start with
22:54.12rolkThere is a board-htcpolaris.c, which is unmentioned by the Makefile...
22:54.58rolkSo that file never gets compiled, even with the MACH_HTCPOLARIS flag on.
22:56.23rolkfixed the makefile to include that file with that option.
22:57.00rolkTwo warnings (msm_serial0_device and msm_hsusb_device defined but not used).
22:57.19rolkAnd two errors.
22:57.41tmzt_right, I mean board-polaris.o
22:57.44rolkUndefined reference to arch_idle() (still) and msm_init_irw().
22:57.54rolkOops msm_init_irq().
22:58.06tmzt_but nothing about the machine record?
22:58.43*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
22:59.32rolkNo, that ld error has gone...
23:02.19*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
23:03.16dcordesrolk, did you solve the rejects?
23:03.53rolkI think I did.
23:05.21rolkAnyone have an idea why CONFIG_PM would not be enabled for a Polaris?
23:05.43rolkIts not in the htcpolaris-defconfig I have...
23:05.57rolkI've added the option and am recompiling.
23:07.35rolkWell, that fixed one undefined reference :). Now I only have the msm_init_irq as an undefined reference.
23:08.10rolkDoes that have anything to do with the fact that in the Makefile the irq.o target has been removed?
23:10.16tmzt_which Makefile?
23:12.18dcordesrolk, add it in and try
23:12.38dcordesrolk, I think you need both irq and the 7200 irq
23:12.48rolkWell, the arch/arm/mach-msm/Makefile. It patched it with  the git-diff-htc-msm-2.6.25-20081105+kaiser+polaris.diff patch
23:13.43rolkYep. I'm also going to need smd functions. I see specific kaiser versions, although these do not seem to be referenced from the Makefile...
23:14.36dcordeskaiser-smd=polaris-smd
23:15.01rolkOk, then that should be easy.
23:15.10dcordes=nike-smd
23:17.07rolkTada! I've got a zImage.
23:17.54rolkI'm going to try it, ... tomorrow. I'm of to sleep. At what time does this room come alive?
23:36.08*** join/#htc-linux timebomb (n=tb@e176113147.adsl.alicedsl.de)
23:53.11*** join/#htc-linux timebomb (n=tb@e176113147.adsl.alicedsl.de)
23:54.30*** join/#htc-linux miknix_ghost (n=miknix@81.193.90.154)
23:55.42*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)

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