00:01.11 | rolk | This fails on my android kernel clone. |
00:01.30 | rolk | <PROTECTED> |
00:01.30 | rolk | fatal: git checkout: updating paths is incompatible with switching branches/forcing |
00:01.30 | rolk | Did you intend to checkout 'origin/android-msm-htc-2.6.25' which can not be resolved as commit? |
00:01.43 | era| | wow, new android phone without contract for 192usd. |
00:03.23 | dcordes | rolk, which command did you use to clone? |
00:03.46 | dcordes | era|, kogan agora (pro) ? |
00:04.04 | era| | yep. |
00:04.12 | rolk | Uh, repo. |
00:04.22 | dcordes | rolk, repo? |
00:04.40 | rolk | That is, I repo'd the whole andoid bit, including the kernel. |
00:04.46 | dcordes | oh |
00:04.59 | dcordes | don't know about that. I don't need the android sources locally |
00:05.04 | rolk | Yes, repo is a wrapper around git that Goole uses. |
00:05.38 | rolk | I'll try to use the git clone directly, then switch to the branch as you mentioned. Thanks, I'm off to sleep. |
00:05.52 | dcordes | ok good night |
00:06.06 | dcordes | era|, I wonder which chipset it uses. somebody said it's a pxa |
00:06.13 | rolk | dcordes: Thanks, and I'll be back... |
00:07.04 | era| | 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.31 | dcordes | you think they have entire different chipsets? |
00:08.47 | dcordes | my guess is pro just has the wifi etc soldered additionally |
00:09.42 | era| | 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.48 | dcordes | guess there are enough people who are happy enough with the android eyecandy to go for the non pro board revision :) |
00:11.53 | era| | 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.09 | NetRipper | dcordes, just updated wiki: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux#Progress |
00:20.08 | NetRipper | modified your angstrom initrd |
00:20.59 | NetRipper | (slightly, just added auto usb0 to interfaces and updated info in etc/issue) |
00:21.21 | dcordes | ok can you put a link to the tgz? |
00:21.41 | NetRipper | its there already |
00:21.55 | dcordes | ah the extracted. ok |
00:22.38 | NetRipper | oh and i disabled splash |
00:22.41 | NetRipper | it only made the screen black |
00:22.41 | NetRipper | :P |
00:26.18 | dcordes | hehe |
00:26.20 | dcordes | good night |
00:27.39 | NetRipper | good idea |
00:27.40 | NetRipper | good 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.09 | joshjdevl | hi, i tried to load the following, though it gets stuck again |
03:33.23 | joshjdevl | initrd from http://www.netripper.com/raphael/initrd-netripper-busybox-usb.cpio.gz |
03:33.42 | joshjdevl | bootkit from linuxtogo.org/tildelgorris/kaiser-bootkit |
03:34.00 | joshjdevl | progress bar goes to 100% though nothing happens in haret |
03:34.20 | joshjdevl | this is my default.xt |
03:34.21 | joshjdevl | set MTYPE 1553 |
03:34.21 | joshjdevl | set KERNEL zImage-kaiser-new.bin |
03:34.21 | joshjdevl | set RAMSIZE 0x7800000 |
03:34.21 | joshjdevl | set RAMADDR 0x10000000 |
03:34.21 | joshjdevl | #uncomment the following line and comment the set INITRD line to boot from the 2nd partition on micro sd |
03:34.23 | joshjdevl | #set CMDLINE "root=/dev/mmcblk0p2 rootwait fbcon=rotate:3" |
03:34.25 | joshjdevl | #set INITRD android.bin |
03:34.27 | joshjdevl | set INITRD initrd-netripper-busybox-usb.cpio.gz |
03:34.29 | joshjdevl | #if you want to use the angstrom console image use the following line instead |
03:34.31 | joshjdevl | #set INITRD console-image-20081127.cpio.gz |
03:34.33 | joshjdevl | bootlinux |
03:50.54 | maejrep | NetRipper, btw, it's not your host that's slow ;) 100%[======================================>] 12,462,530 2.92M/s in 7.7s |
04:09.38 | maejrep | NetRipper, I'm seeing this with your latest initrd/zImage: http://www.privatepaste.com/65Q3GjoWel |
04:09.48 | maejrep | and it hangs after that last line |
04:14.51 | maejrep | hmm, 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.15 | toer | morning |
08:25.15 | BHSPitMonkey | mronin |
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.56 | rl2000 | Hi all |
12:03.20 | rl2000 | Netripper: I see you've gotten something better than you adsl for you domain :) |
12:03.25 | rl2000 | even 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.49 | NetRipper | rl2000 indeed ;) though netripper.nl is still on my dsl, netripper.com is hosted professionally now |
14:12.57 | NetRipper | maejrep, then it seems it's fully booted... you need to tap the screen to start calibration |
14:16.47 | rl2000 | Cool, 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.10 | rl2000 | the 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.43 | rl2000 | Ahh, friday, I get off work aaaaany minute now :) |
14:36.13 | rl2000 | well, 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.21 | kirberich | In 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.14 | kirberich | I'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.08 | tmzt_ | NetRipper: hey, any idea on X1? |
15:36.05 | tmzt_ | 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.41 | mickeyl | not sure i understand you |
15:36.56 | mickeyl | you want to add a new multiplexing protocol? |
15:37.00 | mickeyl | why? |
15:37.01 | *** join/#htc-linux orux (n=jose@89.130.46.3) |
15:37.29 | mickeyl | you can start the muxer with -v -v -v to get more debug btw. |
15:37.59 | tmzt_ | 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.16 | mickeyl | ah |
15:38.19 | mickeyl | interesting |
15:38.26 | tmzt_ | but neither the ezx mux cli usb driver of gsm0710 are very successful |
15:38.30 | tmzt_ | 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.16 | NetRipper | tmzt_, do you have an X1? |
16:11.47 | tmzt_ | no, kirberich was asking about it |
16:11.56 | NetRipper | ah ok |
16:12.10 | tmzt_ | I see there where issues with memory map on HD? |
16:12.47 | NetRipper | kirberich, 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.57 | NetRipper | tmzt_ 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.00 | tmzt_ | 23:26 < joshjdevl> progress bar goes to 100% though nothing happens in haret |
16:27.00 | tmzt_ | 23:26 < joshjdevl> this is my default.xt |
16:27.00 | tmzt_ | 23:26 < joshjdevl> set MTYPE 1553 |
16:27.00 | tmzt_ | 23:26 < joshjdevl> set KERNEL zImage-kaiser-new.bin |
16:27.00 | tmzt_ | 23:26 < joshjdevl> set RAMSIZE 0x7800000 |
16:27.03 | tmzt_ | 23:26 < joshjdevl> set RAMADDR 0x10000000 |
16:27.20 | tmzt_ | NetRipper: I thought you where working on it with him |
16:27.38 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
16:28.09 | dcordes | kirberich, hello we have some talks about the x1 here http://forum.xda-developers.com/showthread.php?t=443837 |
16:28.39 | mickeyl | tmzt_: 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.45 | kirberich | dcordes, nice to finally meet you ;) yeah I found this channel through that exact thread |
16:29.15 | kirberich | dcordes, 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.28 | dcordes | kirberich, can you boot? |
16:30.40 | dcordes | mickeyl, hi, got my mail? |
16:30.54 | kirberich | dcordes, I don't have the device. that's why I'm bugging everyone about it |
16:31.29 | kirberich | I need to decide whether I'll buy the bad g1 hardware with awesome android or the good x1 hardware with crappy windows |
16:32.17 | kirberich | and 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.56 | dcordes | go for the good hardware |
16:33.21 | dcordes | and use windows until linux runs well |
16:33.53 | kirberich | so you're hopeful we'll get there in a reasonable amount of time? |
16:34.08 | kirberich | i'm really scared of having an awesome device and then not being able to, for example, use the gps or something |
16:34.40 | dcordes | yes |
16:34.44 | mickeyl | dcordes: ya, got it |
16:34.47 | mickeyl | your modem sucks |
16:34.53 | kirberich | dcordes, do you have an x1? |
16:34.54 | mickeyl | not only gives it '0' |
16:35.01 | mickeyl | it also swallows the \r\n |
16:35.04 | dcordes | kirberich, no |
16:35.05 | mickeyl | and only emits an \r |
16:35.11 | dcordes | hmm nasty |
16:35.16 | mickeyl | so you need to change the parser state machine a bit for it |
16:35.26 | mickeyl | want to try? |
16:35.27 | mickeyl | :D |
16:35.38 | mickeyl | i can blindly do a patch, but not today |
16:37.19 | kirberich | dcordes, has anyone actually managed yet to boot the x1 with linux? |
16:38.18 | dcordes | mickey|away, sure. just email it when you have it |
16:41.29 | dcordes | kirberich, 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.24 | kirberich | dcordes, I guess xmoo is a more involved in the xperia question? |
16:53.43 | dcordes | he has the device |
16:56.47 | kirberich | this 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.15 | dcordes | somebody 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.42 | dcordes | tmzt_, ping |
17:42.51 | tmzt_ | dcordes: hi |
17:43.14 | dcordes | hey. I've been wondering about the pixelflinger thing.. |
17:43.36 | dcordes | you know somebody I can ask about where to start? |
17:44.49 | tmzt_ | dcordes: I asked swetland, unfortunately the person who works on it isn't often in #android (pixelflinger) |
17:45.09 | tmzt_ | dcordes: you can search the rikers logs for android if you want to know what swetland said |
17:46.47 | dcordes | ok will do |
17:54.35 | dcordes | "pixelflinger implements the rasterization side of a software gl system" |
17:58.51 | dcordes | tmzt_, all that sounds a bit confusing. swetland porposes to have X as a sort of vm in android? |
18:00.33 | tmzt_ | 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.00 | tmzt_ | specifically, if using binder was enough to draw onto an android surface |
18:01.44 | tmzt_ | it's really two seperate questions. |
18:01.55 | tmzt_ | one, if we can use X directly on msmfb and how to do it |
18:02.18 | tmzt_ | two, can X programs be used on android while the android system (zygote) is running? |
18:02.30 | dcordes | I'm rather interested in the first question |
18:02.40 | tmzt_ | yes |
18:03.23 | dcordes | so 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.33 | dcordes | guess somebody with good graphics skill is needed who wants to write a new Xserver |
18:04.48 | dcordes | Xserver-msm |
18:08.59 | dcordes | tmzt_, think I should give it a go on X mailing list? |
18:09.24 | dcordes | http://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.52 | tmzt_ | 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.48 | tmzt_ | so we can draw a red square then a blue square and switch between them every second or something like that |
18:12.56 | dcordes | I don't understand why would X need that app and not mplayer or other direct fb programs |
18:13.05 | tmzt_ | what app? |
18:13.14 | tmzt_ | does mplayer work? |
18:13.17 | dcordes | yes |
18:13.51 | tmzt_ | can you strace 2>&1|grep mmap |
18:13.58 | dcordes | ok |
18:14.08 | Bushman | does phone work? |
18:14.11 | tmzt_ | or, grep -E mmap|ioctl |
18:14.20 | tmzt_ | or, grep -E 'mmap|ioctl' |
18:15.19 | dcordes | oh no. I think I fried the big uSD card |
18:16.05 | Bushman | how did you manage to do that? :D |
18:18.39 | dcordes | the 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.11 | Bushman | hmm... |
18:22.36 | *** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net) |
18:22.37 | Bushman | you mean the adapter? |
18:22.43 | Bushman | size adapter? |
18:22.55 | dcordes | no uSD>usb |
18:23.27 | Bushman | did you try to put it into anything else? |
18:23.36 | Bushman | like mobile? |
18:23.43 | dcordes | yes into uSD>SD>card reader |
18:23.56 | Bushman | and doesn't work? |
18:23.58 | dcordes | the driver makes /dev/sdd |
18:24.05 | dcordes | but it can't be accessed via fdisk |
18:24.08 | dcordes | just freezes |
18:24.12 | Bushman | hmm... |
18:24.31 | Kensan | dcordes: did you try writing/reading to it with dd? |
18:24.36 | dcordes | I think it received some currency it didn't want |
18:24.38 | dcordes | no |
18:24.44 | Bushman | cause card reader reports device while the card is not wokring :D |
18:25.18 | dcordes | I will 0 the device |
18:25.27 | Bushman | try :> |
18:25.30 | Bushman | might help :P |
18:25.56 | Kensan | dcordes: might also kill it |
18:26.11 | Bushman | Kensan: naaah |
18:27.44 | Kensan | Bushman: 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.39 | Kensan | http://lkml.org/lkml/2008/12/2/212 |
18:30.09 | dcordes | Kensan, it had two primary partitions. 1 vfat 2 ext2 |
18:30.25 | dcordes | tmzt_, running grep -E 'mmap|ioctl' |
18:30.27 | Kensan | dcordes: yeah, youre probably safe but who knows *heh* |
18:31.09 | Bushman | i have one old brokem MMC |
18:31.23 | Bushman | it also reports a device bu fdisk says Unable to read /dev/sdb |
18:31.26 | Bushman | :P |
18:31.35 | Bushman | so it's just crap |
18:32.07 | Bushman | when i won't need the other mmc i'll make a pair of earrings out of them :P |
18:32.19 | dcordes | it 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.00 | dcordes | tmzt_, "strace mplayer movie.avi 2>&1|grep mmap" prints a lot of stuff |
18:37.08 | dcordes | tmzt_, like |
18:38.31 | dcordes | mmap2(0x406ab000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE. 3. 0x3) = 0x406ab000 |
18:40.33 | dcordes | mmap2(NULL, 38476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x406ac000 |
18:42.21 | tmzt_ | dcordes: sorry, we should |grep -E open|mmap|ioctl |
18:42.44 | tmzt_ | dcordes: it should open /dev/fb0 and give you a fd after = |
18:42.47 | tmzt_ | like = 3 |
18:42.52 | tmzt_ | then mmap(3, ... |
18:43.07 | dcordes | it kills the SD fast. I don't know why. when I run mplayer w/o strace it only happens when you seek |
18:44.11 | tmzt_ | oh |
18:44.37 | tmzt_ | have you tried pio, I see it didn't work on polaris so I guess not on kaiser either? |
18:45.18 | dcordes | no worky |
18:46.06 | dcordes | tmzt_, |grep -E open|mmap|ioctl |
18:46.37 | dcordes | you mean |
18:46.59 | dcordes | strace mplayer movie.avi 2>file.txt|grep -E open|mmap|ioctl |
18:46.59 | dcordes | ? |
18:47.03 | tmzt_ | yes |
18:47.12 | tmzt_ | no file.txt though, &1 |
18:47.17 | dcordes | why? |
18:47.19 | tmzt_ | or strace -o file.txt mplayer |
18:47.23 | dcordes | ok |
18:47.37 | tmzt_ | the grep -E 'open|mmap|ioctl' file.txt |
18:47.50 | tmzt_ | <PROTECTED> |
18:48.06 | tmzt_ | <PROTECTED> |
18:48.18 | dcordes | ok |
18:48.21 | tmzt_ | <PROTECTED> |
18:49.28 | dcordes | ash tries to execute mmap |
18:49.53 | dcordes | guess | as seperator is wrong |
18:50.37 | tmzt_ | yes, put it in ' ' |
18:51.00 | tmzt_ | strace mplayer movie.avi 2>&1 | grep -E 'open|mmap|ioctl' |
18:51.11 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
18:51.20 | tmzt_ | if that doesn't work, \| instead of | |
18:51.32 | tmzt_ | strace mplayer movie.avi 2>&1 | grep -E open\|mmap\|ioctl |
18:52.14 | AstainHellbring | my congratz on what you have done so far on the porting to raphael android looks really nice on the vga screen |
18:53.43 | dcordes | tmzt_, looks liek there are no lines with open mmap and ioctl |
18:54.03 | tmzt_ | and? we want or |
18:54.39 | dcordes | oh |
18:55.08 | dcordes | now the console is stuck again |
18:55.13 | dcordes | won't let me quit. reset needed |
18:55.34 | tmzt_ | map something to switch vt |
18:55.41 | tmzt_ | like alt-left,right |
18:55.53 | dcordes | tmzt_, want the strace file where I only greped for mmap? |
18:55.57 | tmzt_ | I use that on q and it works pretty well, unless something is block the chvt |
18:56.03 | dcordes | no didn't map anythingto switch vt |
18:56.08 | tmzt_ | yeah, can you paste it? |
18:56.08 | dcordes | and only spawn one |
18:56.11 | dcordes | ok |
19:01.09 | tmzt_ | dcordes: this is on raph? |
19:01.30 | tmzt_ | open("/dev/fb0", O_RDWR) = 4 |
19:01.30 | tmzt_ | close(4) = 0 |
19:01.30 | tmzt_ | open("/dev/fb0", O_RDWR) = 4 |
19:02.53 | dcordes | tmzt_, no, it is on the kaiser |
19:03.49 | tmzt_ | dcordes: you didn't use -vo fbdev ? |
19:03.59 | dcordes | no mplayer movie.avi |
19:04.01 | tmzt_ | it's trying to set the fb params too, don't know why |
19:04.25 | dcordes | it gives the too slow option because it doesn't know the kaiser's true power. |
19:04.30 | dcordes | s/option/warning/ |
19:04.56 | dcordes | tmzt_, btw, what are you looking for in the strace? |
19:05.10 | dcordes | the wait it ioctls? |
19:05.14 | dcordes | wy |
19:05.18 | dcordes | meeh |
19:05.29 | tmzt_ | where/how the fbdev is mmaped and what ioctls are called on the fb's fd |
19:06.47 | dcordes | fd? |
19:06.53 | tmzt_ | file descriptor |
19:07.06 | tmzt_ | there is something else I am missing, I need to look it up |
19:07.12 | dcordes | does the mstrace.txt have that info? |
19:09.11 | tmzt_ | ioctl(5, KDGKBENT, 0xbe9d5968) = 0 |
19:09.11 | tmzt_ | ioctl(5, KDGKBENT <unfinished ...> |
19:09.11 | tmzt_ | MPlayer interrupted by signal 15 in module: preinit_libvo |
19:09.19 | tmzt_ | it stops there |
19:09.39 | dcordes | idk if I sctrl+c'D it or it died |
19:10.42 | dcordes | w/o the strace it can playback no problems |
19:10.53 | tmzt_ | mplayer died, but look up sig 15 |
19:14.17 | dcordes | tmzt_, what is it? can't find |
19:24.00 | tmzt_ | less /usr/include/linux/bits/signum.h |
19:24.01 | *** join/#htc-linux NetRipper (n=netrippe@netripper.nl) |
19:24.07 | tmzt_ | 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.01 | Kensan | tmzt_: SIGTERM (man kill) |
19:36.10 | tmzt_ | Kensan: thank you |
20:05.46 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbffb72.pool.einsundeins.de) |
20:13.58 | dcordes | tmzt_, 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.25 | joshjdevl | hi dcordes |
20:45.52 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
20:54.44 | rolk | Hi. 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.57 | NetRipper | rolk, if you fine one, let me know too :) |
21:19.42 | dcordes | rolk, hi. I like kdiff3 |
21:20.38 | rolk | Installing :) |
21:28.21 | dcordes | tmzt_, so what is the conclusion I can take from the mplayer strace? |
21:29.16 | tmzt_ | I don't know, and I wouldn't no where to start with mplayer source code I've tried that before |
21:30.13 | tmzt_ | what other fb programs work? |
21:30.31 | dcordes | szsoftware tried a picture viewer on the polaris |
21:30.33 | dcordes | fbida |
21:31.49 | tmzt_ | anyway to show multiple images with fbi? |
21:32.05 | dcordes | I 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.24 | tmzt_ | then it drew? |
21:32.41 | dcordes | yea |
21:33.27 | dcordes | mplayer seems to have a similar refresh function |
21:34.42 | tmzt_ | <PROTECTED> |
21:34.42 | tmzt_ | <PROTECTED> |
21:34.42 | tmzt_ | <PROTECTED> |
21:34.42 | tmzt_ | <PROTECTED> |
21:34.42 | tmzt_ | <PROTECTED> |
21:34.43 | tmzt_ | <PROTECTED> |
21:36.00 | tmzt_ | this should be easy dcordes |
21:36.13 | tmzt_ | in fbida-2.07/fbtools.c |
21:36.13 | dcordes | where's that from? |
21:36.17 | tmzt_ | fb_memset |
21:36.27 | tmzt_ | the first I just searched mmap |
21:36.53 | dcordes | dzo uses the function msm_update_screen() to update |
21:36.57 | tmzt_ | we just need ioctl(MSMFB_UPDATE, rect or something there |
21:37.06 | tmzt_ | that's in the kernel |
21:37.09 | dcordes | yes |
21:37.39 | tmzt_ | find MSMFB_UPDATE ioctl number in android msmfb.h (include/linux probably) |
21:37.48 | tmzt_ | then copy the #define to fbtools.h |
21:38.08 | tmzt_ | also, copy the definition for region or rect (a struct) |
21:39.49 | dcordes | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=drivers/video/msm;hb=refs/heads/htc-vogue |
21:40.47 | dcordes | http://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.38 | dcordes | tmzt_, MSMFB_UPDATE is only in the .c not in the header |
21:43.31 | tmzt_ | 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.34 | tmzt_ | oh |
21:45.23 | tmzt_ | sorry, I meant MSMFB_BLIT |
21:45.34 | tmzt_ | msmfb_update is the update function for the fb driver |
21:45.38 | tmzt_ | we need the ioctl |
21:46.11 | dcordes | .fb_ioctl = msmfb_ioctl, |
21:50.11 | tmzt_ | we need an integer that MSMFB_BLIT is defined to |
21:50.37 | dcordes | BLIT_TIME 0x4 ?? |
21:50.43 | tmzt_ | 550 struct mdp_blit_req req; |
21:50.46 | tmzt_ | 551 struct mdp_blit_req_list req_list; |
21:50.56 | tmzt_ | where? |
21:51.20 | tmzt_ | maybe msm_mdp.h |
21:51.27 | tmzt_ | include/linux/msm_mdp.h |
21:53.31 | tmzt_ | http://dl.bytesex.org/releases/fbida/ |
21:53.42 | tmzt_ | is the source I'm using |
21:55.06 | tmzt_ | #define MSMFB_BLIT _IOW(MSMFB_IOCTL_MAGIC, 2, unsigned int) |
21:55.16 | tmzt_ | 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.46 | dcordes | hm I don't understand ****. need 2 years of computer science or so |
21:56.51 | tmzt_ | understand what? |
21:57.24 | tmzt_ | we just need these values |
22:01.36 | tmzt_ | well, we need to figure out these structures and what mdp_img is for |
22:04.37 | dcordes | rolk, does it help? |
22:07.04 | rolk | Uhm. No. |
22:07.49 | rolk | Ubuntu 8.10 (I've upgraded) uses KDE4, and kdiff3 uses KDE3, so its not readily available. |
22:08.59 | rolk | I'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.20 | tmzt_ | haret? |
22:10.25 | rolk | In 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.59 | rolk | ./arch/arm/tools/mach-types.rej |
22:10.59 | rolk | ./arch/arm/mach-msm/io.c.rej |
22:10.59 | rolk | ./arch/arm/mach-msm/Makefile.rej |
22:10.59 | rolk | ./include/asm-arm/arch-msm/msm_iomap.h.rej |
22:11.39 | dcordes | rolk, you can just download the latest mach-types |
22:11.48 | dcordes | and resolve the Makefile manually |
22:12.14 | rolk | I'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.20 | dcordes | did you try to applying the patch to the revision I told you? |
22:12.41 | rolk | Yes, 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.23 | dcordes | rolk, you could use my kaiser patch which works and put in the polaris bits manually. it's not much |
22:22.37 | rolk | dcordes: 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.28 | dcordes | rolk, you can show me the iomap and Makefile |
22:27.58 | rolk | I'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.08 | rolk | Like this: -obj-y += proc_comm.o |
22:28.08 | rolk | +//obj-y += proc_comm.o |
22:28.08 | rolk | +#obj-y += proc_comm.o |
22:28.49 | rolk | So, 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.29 | tmzt_ | it has to do with how kbuild works, everything the becomes obj-y is added to buitin.o |
22:29.38 | tmzt_ | <PROTECTED> |
22:29.51 | tmzt_ | the # lines should be ignored by make |
22:32.23 | dcordes | it's my fault with the // . |
22:32.34 | dcordes | just remove all of the // lines |
22:35.04 | rolk | Ok. |
22:36.20 | rolk | Compiling.... |
22:37.49 | Bushman | Dying... |
22:39.08 | rolk | dcordes: 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.00 | rolk | Ok. 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.37 | tmzt_ | rolk, you have a CONFIG_MACH_... in .config ? |
22:42.28 | dcordes | rolk, use this lgorris (tm) initrd http://linuxtogo.org/~lgorris/kaiser-bootkit/angstrom-20081127.cpio.gz |
22:43.51 | rolk | @tmzt: yes, CONFIG_MACH_HTCPOLARIS=y |
22:45.39 | dcordes | maybe mach-types is outdate? |
22:45.43 | dcordes | brb |
22:45.59 | tmzt_ | is HTCPOLARIS in arch/arm/tools/mach-types and mach-types.h ? |
22:47.46 | rolk | Well, 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.24 | rolk | That seems quite 'kaiser' specific. |
22:48.59 | tmzt_ | it probably uses proc_comm |
22:49.16 | rolk | I'm going to check that kaiser-pm.c implementation of arch_idle(). |
22:49.47 | tmzt_ | you have a obj-$(CONFIG_MACH_HTCPOLARIS) += polaris.o |
22:49.54 | tmzt_ | <PROTECTED> |
22:50.27 | rolk | Checking... |
22:50.59 | rolk | No. |
22:51.28 | rolk | My .config also does not have CONFIG_PM option set. I got that config from the polaris-defconfig. |
22:52.53 | rolk | There is also no polaris.c in that directory. |
22:53.07 | tmzt_ | you need to write one |
22:53.20 | tmzt_ | the last part is the machine definition, which is what is missing |
22:53.24 | tmzt_ | copy kaiser to start with |
22:54.12 | rolk | There is a board-htcpolaris.c, which is unmentioned by the Makefile... |
22:54.58 | rolk | So that file never gets compiled, even with the MACH_HTCPOLARIS flag on. |
22:56.23 | rolk | fixed the makefile to include that file with that option. |
22:57.00 | rolk | Two warnings (msm_serial0_device and msm_hsusb_device defined but not used). |
22:57.19 | rolk | And two errors. |
22:57.41 | tmzt_ | right, I mean board-polaris.o |
22:57.44 | rolk | Undefined reference to arch_idle() (still) and msm_init_irw(). |
22:57.54 | rolk | Oops msm_init_irq(). |
22:58.06 | tmzt_ | but nothing about the machine record? |
22:58.43 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
22:59.32 | rolk | No, that ld error has gone... |
23:02.19 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
23:03.16 | dcordes | rolk, did you solve the rejects? |
23:03.53 | rolk | I think I did. |
23:05.21 | rolk | Anyone have an idea why CONFIG_PM would not be enabled for a Polaris? |
23:05.43 | rolk | Its not in the htcpolaris-defconfig I have... |
23:05.57 | rolk | I've added the option and am recompiling. |
23:07.35 | rolk | Well, that fixed one undefined reference :). Now I only have the msm_init_irq as an undefined reference. |
23:08.10 | rolk | Does that have anything to do with the fact that in the Makefile the irq.o target has been removed? |
23:10.16 | tmzt_ | which Makefile? |
23:12.18 | dcordes | rolk, add it in and try |
23:12.38 | dcordes | rolk, I think you need both irq and the 7200 irq |
23:12.48 | rolk | Well, 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.43 | rolk | Yep. 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.36 | dcordes | kaiser-smd=polaris-smd |
23:15.01 | rolk | Ok, then that should be easy. |
23:15.10 | dcordes | =nike-smd |
23:17.07 | rolk | Tada! I've got a zImage. |
23:17.54 | rolk | I'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) |