00:00.19 | cr2 | 306.23 MB |
00:01.00 | NetRipper | ext2 is not flash-friendly |
00:01.36 | tmzt | I guess you need to read the ce partition table |
00:01.48 | cr2 | awk '{printf("%.6f\n",306.23*1024*1024)}' |
00:01.48 | cr2 | 321105428.480000 |
00:01.53 | tmzt | I'm trying to figure this out also |
00:01.54 | cr2 | 0.48 bytes :) |
00:02.32 | cr2 | tmzt: what is ce partition table ? |
00:02.53 | cr2 | tmzt: the oemsbl has 'partition' command |
00:02.58 | tmzt | dream_kill: can you help us? are you awake |
00:03.06 | cr2 | is there something like that in appsbl (aka spl) ? |
00:03.38 | tmzt | whatever itsutil is using I think is the partiiton table |
00:03.41 | dcordes-kais | tmzt you cooking on a bootloader? |
00:03.48 | tmzt | trying to |
00:04.01 | tmzt | I have a basic one that will embed the zImage and replace xip |
00:04.10 | cr2 | tmzt: i think i've posted the itsutils output |
00:04.12 | dcordes-kais | I have seen you mentioning uboot |
00:04.14 | dcordes-kais | wow |
00:04.14 | tmzt | yeah |
00:04.22 | tmzt | I mean where does it get that from |
00:04.25 | cr2 | dcordes-kais: it's for msm8x50 only |
00:04.51 | cr2 | which needs cpu register changes |
00:04.52 | tmzt | maybe we need to look at itsutils.dll source |
00:05.15 | tmzt | well, the spl has to be reading short blocks |
00:05.21 | tmzt | to get the partition table |
00:05.21 | cr2 | tmzt: and add to haret ? |
00:05.28 | tmzt | possibly |
00:05.44 | tmzt | but wouldn't it tell us where in ce the partition table is |
00:05.50 | tmzt | or in nand or whatever |
00:06.13 | dcordes-kais | how are you working on msm8x50? with qct experimental code? |
00:08.06 | cr2 | dcordes-kais: somebody has written an uboot patch for msm8x50 dev board |
00:08.19 | cr2 | 458.50M (0x1ca80000) DSK1: |
00:08.19 | cr2 | | 3.12M (0x31f000) Part00 |
00:08.31 | cr2 | | 4.50M (0x480000) Part01 |
00:08.31 | cr2 | | 143.38M (0x8f60000) Part02 |
00:08.31 | cr2 | | 307.50M (0x13380000) Part03 |
00:08.51 | cr2 | tmzt: 306.23 != 307.50 |
00:09.05 | tmzt | yeah |
00:09.14 | tmzt | and Part03 is the beginning of tfat? |
00:09.22 | tmzt | can you raw dump that point? |
00:10.29 | tmzt | where are you getting 306.23 from? |
00:10.48 | dcordes-kais | cr2 got a link? are the differences between 8* and 7*A known? |
00:11.14 | cr2 | awk '{print 0x31f000+0x480000+0x8f60000+0x13380000}' |
00:11.21 | cr2 | 480768000 |
00:11.53 | cr2 | dcordes-kais: tmzt posted a link here |
00:11.58 | tmzt | decimal? |
00:12.03 | cr2 | yes |
00:12.35 | tmzt | https://www.codeaurora.org/patches/quic/le/u-boot-2009.03_PATCH_2009_05_14.patch |
00:12.43 | cr2 | 458.496MB |
00:12.45 | tmzt | it's from qualcomm, some unit of qualcomm |
00:13.08 | tmzt | that's the total nand size? |
00:13.28 | tmzt | yeah, it's utils listed that as well |
00:13.34 | tmzt | itsutils |
00:13.38 | cr2 | it's hte itsutils sum of all partitions |
00:14.01 | dcordes-kais | interesting |
00:14.29 | cr2 | =0x1ca7f000 |
00:14.42 | tmzt | yeah |
00:15.30 | cr2 | weird |
00:16.49 | cr2 | <PROTECTED> |
00:16.51 | cr2 | <PROTECTED> |
00:16.52 | cr2 | <PROTECTED> |
00:16.54 | cr2 | 146816 -rw------- 1 root root 150339584 26. Apr 10:24 RAPH02 |
00:16.55 | cr2 | 314880 -rw------- 1 root root 322437120 26. Apr 10:41 RAPH03 |
00:20.29 | *** join/#htc-linux madCoder- (n=madcoder@c-71-225-60-178.hsd1.pa.comcast.net) |
00:21.25 | cr2 | hi madCoder- |
00:29.46 | tmzt | cr2: what debian initrd were you using, an installer one? |
00:30.14 | cr2 | dcordes-kais compiled |
00:30.52 | cr2 | initrd-angstrom.cpio.gz |
00:30.57 | tmzt | oh |
00:31.00 | tmzt | not really debian |
00:31.06 | cr2 | hm. yes |
00:31.09 | tmzt | but it shouldn't detect either |
00:32.26 | *** join/#htc-linux maejrep (n=madcoder@c-71-225-60-178.hsd1.pa.comcast.net) |
00:34.00 | cr2 | hey maejrep.-ETOOMANYNICKS |
00:39.23 | *** join/#htc-linux xsacha (n=sacha@123.100.137.226) |
00:39.53 | xsacha | attempting to kill init .. this means that init doesnt run anything after it runs? |
00:40.56 | tmzt | right, init never exits |
00:41.06 | tmzt | paste your init.rc |
00:43.52 | *** join/#htc-linux Perkka (n=perkka@ua-83-227-207-92.cust.bredbandsbolaget.se) |
00:45.30 | xsacha | mm cant view the ext2 partition.. on windows right now, brb |
00:52.21 | *** join/#htc-linux Perkka (n=perkka@ua-83-227-207-92.cust.bredbandsbolaget.se) |
00:52.48 | *** join/#htc-linux xsacha (n=sacha@123.100.137.226) |
00:52.50 | xsacha | http://pastebin.ca/1442959 |
00:54.22 | xsacha | in the strace, the kernel panic happens just after the config files (default.prop, ashmem (but ashmem doesnt exist)) are looked at |
00:54.40 | xsacha | i dont see any errors in the config files though |
00:55.08 | xsacha | actually, the last thing before the kernel panic is closing default.prop |
00:55.52 | dcordes | note: glue uSD card reader into usb slot with 5 minute epoxy in order to not lose it any longer |
00:56.53 | tmzt | ashmem? what version of android is this? |
00:56.56 | tmzt | oh right |
00:56.58 | xsacha | 1.1 |
00:56.59 | tmzt | emulator version |
00:57.05 | xsacha | yeah |
00:57.22 | xsacha | it looks for ashmem but doesnt seem to care that it isn't there |
00:57.45 | cr2 | good night |
00:57.50 | xsacha | gnite cr2 |
00:58.00 | tmzt | you don't need panic_on_oops |
00:59.39 | xsacha | k |
01:00.01 | xsacha | that wouldn't be the problem though, right? |
01:00.10 | tmzt | no |
01:00.36 | tmzt | hciattach |
01:00.39 | tmzt | that could be it |
01:00.49 | tmzt | comment out all of that |
01:00.49 | xsacha | disable that service? |
01:01.53 | xsacha | all that stuff around there is for bluetooth? |
01:03.16 | xsacha | are you sure the init.rc gets run? |
01:03.29 | xsacha | it has some mkdir commands in there but the directories havent been created |
01:04.15 | xsacha | it creates all the folders in data, but the only thing i have in data in /data/app |
01:07.33 | tmzt | yeah |
01:07.37 | tmzt | but it's not finishing |
01:07.46 | tmzt | did you comment out hciattach? |
01:07.54 | xsacha | yeah, no change |
01:08.15 | xsacha | do the directories just not get written to the drive because of kernel panic? |
01:08.48 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
01:09.54 | tmzt | yeah |
01:10.04 | tmzt | or it didn't get there yet |
01:11.05 | xsacha | very last stuff before kernel panic: read(5, "#\n# .....", 93) = 93 close(5) = 0 SIGSEGV (Segmentation Fault) @ 0 (0) |
01:13.16 | xsacha | could it be caused by not having the right patches in kernel? |
01:15.34 | xsacha | my kernel does have drivers/staging/android by the way (which includes a binder.c -- thing you were talking about?) |
01:17.23 | xsacha | there's also drivers/video/pxafb.c and use of pxafb in i780.c, but i guess you meant to patch it? |
01:17.30 | tmzt | and what is fd 5? |
01:17.35 | tmzt | yes |
01:17.39 | xsacha | fd 5 is default.prop |
01:17.49 | tmzt | that makes no sense |
01:18.01 | tmzt | it's after close(5)? |
01:18.03 | xsacha | yes |
01:18.04 | *** join/#htc-linux paulproteus (i=paulprot@2002:db69:2513:0:0:0:0:1) |
01:18.05 | tmzt | please paste it |
01:18.21 | xsacha | mm it doesnt save to file (cause of the kernel panic).. ill write it out though |
01:18.28 | *** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
01:18.29 | tmzt | oh, that doesn't really mean anything |
01:18.43 | tmzt | ok, just give me the last lines |
01:19.40 | xsacha | open("/dev/ashmem", O_RDWRIO_LARGEFILE) = -1 ENOENT (No such file or directory) |
01:19.58 | xsacha | open("/default.prop", O_RDONLYIO_LARGEFILE) = 5 |
01:20.09 | xsacha | lseek(4, 0, SEEK_END) = 93 |
01:20.09 | tmzt | xsacha: we need to move to the android generic kernel tree |
01:20.21 | xsacha | 5 not 4! |
01:20.22 | tmzt | or find a current copy of the patch |
01:20.24 | tmzt | hold on |
01:20.32 | xsacha | lseek(5, 0, SEEK_SET) = 0 |
01:21.06 | xsacha | read(5, "#\n# ADDITIONAL_DEFAULT_PROPERTIE"..., 93) = 93 |
01:21.11 | xsacha | close(5) = 0 |
01:21.21 | xsacha | --- SIGSEGV ............. |
01:23.27 | tmzt | it still shouldn't be segfaulting |
01:24.44 | xsacha | there's no way any of that stuff before the segfault could cause it right? |
01:25.06 | xsacha | is strace unable to show the line it crashes on? |
01:25.28 | tmzt | no, you would have to gdb |
01:25.46 | tmzt | I think it will be easier to add your board to android generic |
01:26.29 | xsacha | ok... i dont know where melgurth got this base kernel.. are you sure it isn't already android generic? |
01:27.43 | tmzt | does it have drivers/android? |
01:27.46 | xsacha | yes |
01:27.51 | tmzt | then it is |
01:28.01 | tmzt | what defconfig are you using? |
01:28.02 | xsacha | drivers/staging/android with heaps of stuff |
01:29.14 | xsacha | mm i dont have a defconfig.. ? |
01:29.21 | tmzt | xsacha: are you in #android? |
01:29.24 | xsacha | no |
01:29.33 | xsacha | now i am.. is defconfig the same as .config? |
01:30.07 | tmzt | I don't see you |
01:30.19 | xsacha | oops, i clicked on the one with question mark :P |
01:30.30 | tmzt | defconfig is not the same, it just gets copied to .config |
01:30.50 | xsacha | this is my .config http://pastebin.ca/1443005 |
01:30.56 | xsacha | my Kconfig generates |
01:33.25 | tmzt | none of the android stuff is enabled though |
01:34.12 | xsacha | oh ok |
01:34.13 | *** part/#htc-linux tre9 (n=ubuntu@lepke.dreamhost.com) |
01:36.30 | xsacha | there's no option in my Kconfig for android |
01:37.28 | tmzt | so you don't have the right kernel |
01:37.35 | tmzt | I don't what melgurth is using |
01:37.47 | xsacha | weird :( wrong config but has android drivers |
01:38.24 | xsacha | ohh is this the defconfig? |
01:38.26 | xsacha | arch/arm/configs/msm_defconfig:CONFIG_ANDROID_LOGGER=y |
01:38.54 | tmzt | git://android.git.kernel.org/kernel/common.git |
01:39.26 | xsacha | only the msm one has android in it though |
01:39.27 | tmzt | I think you have an upstream kernel with some of the commits made for android, but not the recent ones |
01:39.43 | tmzt | common should have it |
01:40.08 | xsacha | well ill check out this android kernel then |
01:40.54 | xsacha | slow net.. 400KB/s, will take some time |
01:41.29 | xsacha | 300MB kernel? gee |
01:41.38 | xsacha | brb |
01:42.47 | tmzt | do you have local git tree checked out? |
01:50.37 | tmzt | xsacha: git clone --reference /local/git/tree git://android.git.kernel.org/kernel/common.git |
01:54.42 | xsacha | hould i cancel my d/l and do that one? |
01:57.33 | tmzt | yeah |
01:57.38 | tmzt | do that in a new directory |
01:57.43 | xsacha | well my d/l already finished.. |
01:57.47 | tmzt | oh |
01:57.50 | tmzt | then don't |
01:58.05 | tmzt | wait, 400kb/s is slow? |
01:58.28 | xsacha | yeah said it'd take like 10 minutes! |
01:58.43 | xsacha | more, i think like 15 |
02:00.03 | xsacha | gonna take more than 15 minutes to resolve deltas/patches tho |
02:00.12 | *** join/#htc-linux Guest85947 (n=fnord@24-151-90-116.static.nwtn.ct.charter.com) |
02:08.55 | xsacha | 80% |
02:13.58 | *** join/#htc-linux xsacha2 (n=sacha@123.100.137.226) |
02:14.23 | xsacha2 | [12:10] <xsacha> ok well i have to go now and hand in an assignment... |
02:14.25 | xsacha2 | [12:10] <xsacha> so basically i add i780 machine to this generic android kernel? |
02:14.26 | xsacha2 | [12:10] <xsacha> do i have to do anything special in setting up the defconfig/Kconfig? |
02:15.06 | tmzt | do what you did yesterday |
02:15.09 | tmzt | copy your board |
02:15.16 | tmzt | add to mach-types |
02:15.19 | xsacha2 | im just wondering about config |
02:15.20 | tmzt | add to Kconfig and Makefile |
02:15.23 | tmzt | that's all |
02:15.28 | xsacha2 | so config is good to go? |
02:15.33 | tmzt | after you pull you need to |
02:15.41 | tmzt | git checkout android-2.6.27 |
02:15.45 | tmzt | or 29 if you want |
02:16.49 | tmzt | I don't see any defconfig that will work for you |
02:16.56 | xsacha2 | me either :( |
02:17.02 | tmzt | the relevant ptions are in msm_defconfig |
02:17.03 | xsacha2 | no pxa3xx |
02:17.07 | xsacha2 | ok |
02:17.14 | tmzt | CONFIG_BINDER |
02:17.18 | xsacha2 | so just copy android options from msm..? |
02:17.23 | tmzt | CONFIG_ASHMEM |
02:17.25 | tmzt | yes |
02:17.33 | tmzt | but not CONFIG_MSM options |
02:17.35 | xsacha2 | alright |
02:17.38 | xsacha2 | thx |
02:17.44 | xsacha2 | cya :) |
02:20.13 | dcordes | bye |
02:41.53 | *** join/#htc-linux WyrM (n=wyrm@20158169087.user.veloxzone.com.br) |
03:05.14 | *** part/#htc-linux WyrM (n=wyrm@20158169087.user.veloxzone.com.br) |
03:08.23 | *** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-100-134.dynamic.mnet-online.de) |
03:21.25 | *** join/#htc-linux mint (n=mint@adsl-99-38-14-63.dsl.rcsntx.sbcglobal.net) |
03:25.40 | *** join/#htc-linux ljp (n=lpotter@218.185.108.156) |
03:31.13 | javahead | seems to be a quiet room... |
03:36.22 | javahead | just followed the kernel building instructions and got android up and running on my kaiser. |
03:37.24 | javahead | thank you XDA Contributors! |
03:56.53 | javahead | anyways. interesting in contributing sometime in the future. will contact via email instead. |
03:59.14 | tmzt | hey |
03:59.29 | tmzt | javahead: it's quiet right now |
03:59.38 | tmzt | javahead: logs are at irclog.netripper.com |
04:07.20 | *** join/#htc-linux DJW|Home (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
04:08.00 | par | infidel206: is you usb device working on the ba? |
04:11.08 | tmzt | NetRipper: hey, do you know why usb would stop working on raph500? |
04:11.13 | tmzt | with current kernel |
04:14.27 | par | tmzt what kernel vers |
04:15.22 | tmzt | 41d96b6e5515092288494212b822eb0ab73a39ba |
04:15.31 | tmzt | this is for touch pro though |
04:15.39 | tmzt | have you tried the lastest kernel on vogue? |
04:16.00 | par | nah i haven't startd anything on vogues |
04:16.17 | par | i'm runnin android vers 1.1 thats about it |
04:16.28 | tmzt | yeah, which kernel though? |
04:16.37 | tmzt | does usbnet work at all |
04:18.08 | par | i never use it, i just run android |
04:19.17 | *** join/#htc-linux goxboxlive (n=goxboxli@237.80-202-137.nextgentel.com) |
04:20.59 | par | 2.6.25-00777-gd41a387 |
04:24.52 | tmzt | there was a report that it was broken on htc-vogue as well |
04:25.02 | tmzt | with the lastest kernel on htcandroid site |
04:25.34 | par | oh in 1.5 yes |
04:25.53 | par | well at least ithink that was part of the problem |
04:26.12 | par | unsure, you follow that kernel much more than i do, so ;) |
04:28.11 | par | right now i'm jsut trying to get maximum functionality out of the ba...on whatever kernel version i can do that |
04:29.10 | par | have you played around with tvout on your pro/ |
04:29.15 | tmzt | no |
04:29.24 | tmzt | when it has kernel support I will try it |
04:29.31 | par | neeat |
04:29.35 | tmzt | I could use no2chem's but I haven't yet |
04:29.58 | par | soemday someone will probably be using those as a ultrapc |
04:30.02 | tmzt | as for ba, pH5's work should apply there, there's little chance of hh20 improving much |
04:30.32 | par | yeah, i'm thinking pH5's shelving the old processors.. dunno tho |
04:31.20 | tmzt | ba because it has gsm, or because it has keyboard? |
04:31.26 | tmzt | I don't think so |
04:31.43 | tmzt | if anything he's picked them up to get asic3_mmc working |
04:31.56 | tmzt | it's basically the last things for uni, ba, etc. |
04:32.16 | tmzt | it should be possible to carry them forward with much less effort now |
04:38.26 | par | yeah i've been watching very closely his progess on it |
04:39.03 | par | (because he was working on sable's asic3_mmc) |
04:39.29 | *** join/#htc-linux TeringTuby (n=Maarten@195-241-125-243.ip.telfort.nl) |
04:39.37 | par | i'd be happy with a ba that ran 2.6.30 and all devices working |
04:40.14 | par | then it gives the device much more value due to the hostapd / access point use of it. |
04:41.19 | par | at this point the acx100 only does wep.. but any wireless even with wep where i can use a cellphone as access point all over the world is a huge advantage |
04:42.23 | par | its becomes a very available device and there are is plenty of part availability for it |
04:42.25 | tmzt | ieee80211 can do wpa or whatever in software with the right driver |
04:43.50 | par | when you can be in the jungle and become an AP for an entire classroom over gprs thats really something poweful |
04:44.20 | par | especially when under examination the phone would only appear to be a normal local carrier phone running windows ce |
04:46.14 | par | i may throw the firmware on this lenny image and see if i can bring up the acx |
04:46.38 | par | its rough because all input is throught he built in keyboard until i get connectivity |
04:47.15 | par | but i can add things into the image from my box as needed , like the firmware |
04:47.49 | par | and its running a dropbear ssh server on boot so it should be ok once i have the wlan |
04:48.17 | *** join/#htc-linux droid0011 (n=mc@p4FDCF170.dip.t-dialin.net) |
04:48.55 | par | as it is right now i'm sure adhoc networking will work |
04:49.12 | par | but it would be nice to be an AP |
04:52.12 | par | the real winner several years from now will be the touch pro |
04:52.20 | par | with its tvout ;) |
04:54.17 | tmzt | you don't need AP or adhoc to do that from one computer though |
04:54.24 | tmzt | you can use usb networking and iptables |
05:01.53 | par | true, but that tends to be visually obvious and has no mystery to it ;) |
05:04.01 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
05:05.03 | par | expecially in places where if people see it, man its probabl gonna disappear real quick in someones bag :-) |
05:05.53 | par | or in even more severe cases where its simply not allowed |
05:08.13 | par | i've been to schools in asia where for lack of internet connectivity because of exhorbitant fees .. none of the machines ever get updated or patched.. so everything is rampant with viruses and hardly works when the kids go to use the 2 or 3 computers the the entire school has. |
05:11.47 | par | and those are the two or three computers in the locked places that have already weathered theft and vandalism... |
05:12.22 | par | school mostly is free, but machinery for sale means profit for food. |
05:13.04 | *** join/#htc-linux dream_kill (n=nospam@89.131.127.37) [NETSPLIT VICTIM] |
05:13.04 | *** join/#htc-linux nizox (n=none@eros.ph0k.eu) [NETSPLIT VICTIM] |
05:13.04 | *** join/#htc-linux nrirclog (n=nrirclog@netripper.com) [NETSPLIT VICTIM] |
05:13.47 | *** join/#htc-linux NetRipper (n=netrippe@netripper.nl) |
05:14.04 | par | a girl i dated there was robbed at gunpoint on the street for her cellphone |
05:14.52 | par | so, its a place i don't even flash around a ba running windows 2k3 |
05:15.35 | tmzt | NetRipper: you here? |
05:39.02 | par | hmm gives a hotplug error but lenny is runnign udev which hotplug is deprecated by udev so... confusing |
05:39.22 | par | i'll just try throwing it in /lib/firmware |
06:07.20 | *** join/#htc-linux WeinerWagon (n=laray@cpe-67-244-58-190.twcny.res.rr.com) |
06:15.58 | *** join/#htc-linux furtardo (n=mks@nat/yahoo/x-78239c194d24b406) |
06:20.46 | *** join/#htc-linux furtardo (n=mks@nat/yahoo/x-94b61178424d64f9) |
06:46.46 | *** join/#htc-linux kiozen (n=oeichler@p5492151D.dip0.t-ipconnect.de) |
06:57.31 | *** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net) |
07:30.35 | *** join/#htc-linux xsacha (n=xsacha@124-171-136-151.dyn.iinet.net.au) |
07:31.08 | par | hmm well its 397.31 bogomips |
07:31.21 | par | not bad for an old paperweight |
07:32.17 | xsacha | hey i checked for service manual and turns out heaps of stuff on xda wiki: http://wiki.xda-developers.com/index.php?pagename=Samsung_i780 |
07:32.43 | xsacha | importantly, there is a service manual.. reading it now |
07:34.58 | par | cool |
07:35.20 | xsacha | HOLY ***** |
07:37.08 | xsacha | does every service manual contain a pic like this? http://img269.imageshack.us/img269/1849/capturexdd.png |
07:38.16 | par | neat |
07:39.43 | xsacha | sweet, a huge list of parts! |
07:40.39 | xsacha | QME03 Unit touch panel GH59-04930A <-- touchscreen for tmzt |
07:44.38 | xsacha | 4709-001544 <-- bluetooth and 4709-001527 <-- wifi SEC codes |
07:59.11 | xsacha | what good is the SEC code? how do i find out manufacturer? |
08:20.34 | xsacha | Samsung Electronics Corporation? :( |
08:22.49 | xsacha | Samsung linux kernel? http://opensrc.sec.samsung.com/ |
09:11.10 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
09:11.38 | *** join/#htc-linux wippeout (n=wippeout@unaffiliated/wippeout) |
09:11.41 | wippeout | hello |
09:12.00 | wippeout | is there a way to port htc sapphire rom on htc blackstone ? |
09:12.31 | wippeout | it seems that the both devices have the same hardware |
09:12.51 | par | what "rom" are you talking about |
09:13.05 | wippeout | the android rom of the htc sapphire |
09:13.14 | par | oh android? |
09:13.28 | par | i think someone is already working on blackstone |
09:14.09 | wippeout | there is no news since 2009/03/10 on the blackstone wiki |
09:14.12 | wippeout | about android |
09:15.23 | xsacha | if they have the same hardware and could get a complete dump, couldnt you just flash that on to blackstone? |
09:15.27 | xsacha | need jtag right? |
09:15.54 | par | i don't know anyone here who's every used jtag for an htc device |
09:16.17 | par | (so probably not) |
09:17.12 | xsacha | someone was on here yesterday |
09:17.18 | par | yeah, thats depressing that no one has worked on reverse engineering it since 03/01/2009 |
09:17.29 | xsacha | they had jtag for diamond or something |
09:17.37 | par | oh neat |
09:17.39 | xsacha | and they flashed their g1 with it? or was it other way around |
09:17.47 | xsacha | can check yesterdays logs |
09:18.15 | par | here its pretty much haret and reverse engineering |
09:19.56 | xsacha | "dream_kill flashed diamond dump in a g1 :P " |
09:20.57 | par | oh, he was just here then |
09:21.15 | par | several hours ago |
09:21.49 | par | they don't have exactly the same hardware though |
09:23.04 | par | wow getting this lenny distribution of armel to work with the old hh20 kernel is a real PITA |
09:23.28 | wippeout | ok thanks bye |
09:23.32 | par | infidel206: i hope you made an image of the setup you did so far :) |
09:23.51 | par | i got the acx kmod loading but no interface |
09:25.30 | par | missing all kinds of stuff that has to be moved over from the angstrom rootfs |
09:26.27 | par | xsacha: what phone are you working on? |
09:31.13 | *** join/#htc-linux marex (n=marex@eduroamgw.prf.cuni.cz) |
09:31.17 | xsacha | i780 |
09:31.31 | xsacha | i have lenny working fine on it |
09:38.49 | par | yep, i'm sure |
09:38.59 | par | what kernel are you running |
09:40.59 | dream_kill | hi guys |
09:41.37 | dream_kill | if u need a full dump from sapphire i can give u one |
09:41.41 | dream_kill | full nand dump |
09:41.54 | dream_kill | so i need someone brave to flash it in the blackstone :P |
09:41.58 | xsacha | m running one from handhelds.org |
09:42.06 | xsacha | but need to switch to generic android one now |
09:42.35 | dream_kill | ur device is security unlocked? |
09:43.05 | par | you mean hardspl? |
09:43.14 | dream_kill | nope i mean security unlocked :P |
09:43.21 | par | as in? |
09:43.22 | dream_kill | when in spl it will show security unlocked :P |
09:43.55 | par | so what rom did you dump? |
09:44.08 | par | into the g1 |
09:44.09 | dream_kill | full nand :P |
09:44.30 | dream_kill | from address 0 till 100000000 |
09:44.32 | dream_kill | :D |
09:44.35 | par | you don't need jtag to do that |
09:44.46 | dream_kill | if security unlock no need :P |
09:44.57 | dream_kill | if security locked then u can use jtag :P |
09:45.18 | par | how much of it functioned when you dumped it into another device |
09:45.29 | dream_kill | if security unlock then go in oemsbl and use pdump to read the nand |
09:45.35 | dream_kill | and rwfactory to write it back |
09:45.57 | dream_kill | not had to much time to play with it. I flashed diamond rom in the g1 |
09:46.00 | dream_kill | amss started |
09:46.10 | dream_kill | but had no image on screen |
09:46.13 | par | what all worked i the g1? |
09:46.25 | par | well yeah, its different hardware mang |
09:46.26 | dream_kill | so think was screen parameters wrong |
09:46.37 | dream_kill | need to connect jtag on the g1 again and do more tests |
09:46.44 | dream_kill | but this days a bit busy with day job :P |
09:47.00 | par | uh, but you know that its different hardware |
09:47.10 | par | are you just trying to see what needs to be changed |
09:47.23 | dream_kill | is a bit different yes |
09:47.30 | par | yes, like they all are |
09:47.58 | dream_kill | just a bit as i said :P |
09:48.02 | dream_kill | but |
09:48.18 | dream_kill | as u said, blackstone = sapphire and topaz = hero |
09:48.20 | par | i mean sure we do the same thing but its usually to see how far the image gets |
09:48.29 | par | and then work on what needs to be changed to bring it up |
09:48.50 | dream_kill | in the htc partition and mfg partition seems to be the screen setup |
09:49.00 | par | and i'm not a kernel programmer btw :) |
09:49.09 | dream_kill | so theory, if i keep them same from the original device |
09:49.14 | dream_kill | it should work |
09:50.21 | par | how will you keep the screen from the regular device apart from your dump from another? |
09:50.42 | par | and why would they work together? |
09:50.58 | par | especially if the main dump is looking for something different |
09:55.33 | par | if you are just copying parts of nand |
09:55.46 | par | why wouldn't xda-developers already have done that? |
09:56.13 | *** join/#htc-linux pH5 (n=ph5@p5485C9A6.dip.t-dialin.net) |
09:56.23 | par | hi pH5 |
09:56.31 | pH5 | morning |
09:56.44 | NetRipper | tmzt, am now |
09:57.18 | dream_kill | par: who does it before like so ? never seen it :P |
09:58.35 | par | dream_kill: more power to you if you have a way to get android working simply by copying parts of nand from one device and leaving the screen portion in nand for another device in place while dumping the portion of nand from the other device. |
10:00.00 | par | what mfg stuff do you have that you can slice it up that way? |
10:00.26 | dream_kill | keep the MFG part intatct i said |
10:00.42 | dream_kill | as in MFG u have screen tunning, wifi, and bluetooth |
10:01.57 | par | well, show us the easy way then |
10:02.24 | dream_kill | if u have ur device security unlock and wana test let me know :P |
10:02.41 | par | yeah i have a security unlocked device |
10:02.59 | par | you ain't using it for a jtag guinea pig tho |
10:03.33 | par | if you are simply slicing up the nand.. |
10:03.44 | par | you just need all the rom dumps |
10:04.33 | par | i think you're loony tho |
10:04.56 | dream_kill | ok, flash a mfg spl first |
10:05.12 | dream_kill | so we dump ur rom in full:P |
10:05.13 | par | and then flash a portion after? |
10:05.29 | dream_kill | if is security unlock we do the safe parts only |
10:05.45 | par | desribe the "Safe parts" |
10:05.59 | dream_kill | u made urself a serial cable ? |
10:06.13 | par | regaardless it doesn't matter i can probably bring the phone back from anything that could be done to it.. since spl isn't a problem |
10:06.50 | par | i don't use a serial cable i use the boot loader |
10:06.56 | par | and usb |
10:06.56 | dream_kill | if u have serial cable u can access the OEMSBL even if the SPL is dead |
10:07.17 | dream_kill | HAVING access to oemsbl we can reflash SPL any time |
10:07.19 | dream_kill | so |
10:07.30 | dream_kill | YOU need a SERIAL CABLE |
10:07.50 | dream_kill | first we will flash 2400000 till 24c0000 |
10:07.55 | dream_kill | (SPL portion) |
10:08.23 | dream_kill | if all ok it should start up the device with Android spl and then we can flash the rest |
10:08.37 | dream_kill | if not ok, ,using the serial cable we can flash back the SPL from original |
10:08.45 | dream_kill | this is the safe part |
10:09.12 | par | sure, ok but you are talking about flashing a newer version of android from an entirely different phone with different hardware |
10:09.27 | dream_kill | if wana play more dangerous, then from ur dump i extract the HTC partiton and MFG, and then i make u a sapphire full nand and then we can flash it that |
10:09.35 | dream_kill | but if this fail u need a jtag to bring it back |
10:09.51 | par | why would i want a sapphire full nand in my vogue nand? |
10:09.54 | par | why ever? |
10:09.55 | dream_kill | i mean flashing ONLY SPL in first case |
10:10.06 | dream_kill | a SPL which HAS blackstone support inside |
10:10.44 | par | regardless of whether its for that version of android or not ? |
10:10.46 | dream_kill | ur device is BLACKSTONE or vogue? |
10:10.52 | par | i have vogue... |
10:11.03 | par | there was a guy here before with a blackstone |
10:11.24 | dream_kill | i was talking about blacksone as i saw references in the HBOOT from android for it! |
10:11.34 | dream_kill | not seen anything about vouge inside |
10:11.38 | dream_kill | so not sure about it |
10:11.48 | *** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
10:12.07 | par | so you are talking about grabbing spl's from all the different htc devices |
10:12.36 | par | and then flashing android from any device along with the spl for the specific device |
10:12.49 | dream_kill | let me explain |
10:13.06 | dream_kill | device starts radio then it loads the SPL which loads the OS |
10:13.24 | dream_kill | the spl from the wince devices is different from the devices with android on it |
10:13.57 | dream_kill | since the android SPL (they rename it to HBOOT) is kinda universal for the HTC android devices |
10:14.26 | dream_kill | idea is to flash it in the wince devices, and from there flash the rest part of the OS (BOOT.img, system.img) |
10:14.49 | dream_kill | and then the device should boot up android without need to go in wince |
10:14.55 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
10:15.19 | par | hahhaah |
10:15.22 | par | ahahahaha |
10:15.31 | dream_kill | so that was the idea |
10:15.50 | par | nah, there's several bootloaders being written for it |
10:15.57 | par | wince is nothing to do with it |
10:16.17 | par | its just an easy reference for reverse engineering |
10:16.20 | dream_kill | do something else |
10:16.39 | dream_kill | soft spl the hboot 1.33.2005 |
10:16.46 | dream_kill | see if it starts on ur device |
10:17.20 | par | but i have a device that was never made to run linux |
10:17.57 | dream_kill | vogue = kaiser yes :P ? |
10:18.21 | par | i have a blueangel |
10:18.32 | par | and in fact it was the first port of android |
10:18.45 | dream_kill | now u said u have a vouge now blueangel ... |
10:18.53 | par | yeah, i have lots of htc phones |
10:18.56 | dream_kill | need a device which has MSM7200A as cpu |
10:19.06 | par | yes |
10:19.10 | dream_kill | this is for devices with CPU MSM7200A |
10:19.22 | par | my android runs on pxa25x |
10:19.23 | dream_kill | it will not work on INTEL devives or other cpu |
10:19.30 | par | hahaahah |
10:19.44 | par | pxa? |
10:19.54 | dream_kill | man, what i tryed to explain was the experiment for this devices with cpu MSM7200A |
10:20.10 | par | yes yes i know, i understand what you mean ompletely |
10:20.16 | dream_kill | so for sure it will NOT work in PXA devices |
10:20.41 | *** join/#htc-linux DJW|Home (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
10:21.07 | par | 2400000 till 24c0000 |
10:21.15 | par | thats all we ever need right? |
10:21.46 | dream_kill | theoretical, but, i seen the amss also have some references to android |
10:21.56 | dream_kill | so might need to flash full radio too |
10:21.58 | dream_kill | first |
10:22.01 | dream_kill | on ur voogue |
10:22.06 | par | just copy that memory address out to another nand with the same hardware and gank everything else but that from any other htc device in msm7200 class |
10:22.56 | dream_kill | basicly replace the spl ..24000000 till 24c0000 is the spl area in nand |
10:23.12 | par | already flashed to the latest radio.. even never released for my vogue |
10:23.33 | dream_kill | but, this might not be enough. i said as a first experiment which is safe since ur radio is security unlocked |
10:23.52 | dream_kill | did u flashed android radio ? |
10:23.57 | par | i think thts pretty much insane |
10:24.10 | par | spl isn't a seperate area like radio |
10:24.20 | par | or extended rom |
10:24.24 | par | is it? |
10:24.27 | dream_kill | :D |
10:24.29 | dream_kill | yes it is |
10:24.34 | dream_kill | so u have nand chip |
10:24.46 | dream_kill | 0 -24000000 is radio part + some htc partitions |
10:24.56 | dream_kill | 24000000-24c0000 is SPL |
10:25.06 | par | ok |
10:25.10 | dream_kill | 24c0000 - 25000000 is the MISC-MFG partition |
10:25.28 | dream_kill | 25000000-2520000 is wlan and mfg partion |
10:25.39 | dream_kill | after this is the rom partiton and then extended rom |
10:26.32 | par | so what are the locations of nand that you will always copy to other htc phones? |
10:27.16 | dream_kill | vougue = kaiser??? |
10:27.22 | Echo31 | Hi pH5 |
10:27.50 | par | no |
10:27.55 | par | vogue is vogue |
10:27.57 | par | like elfin |
10:28.34 | pH5 | hi Echo31 |
10:28.41 | dream_kill | aaa |
10:28.58 | dream_kill | different qualcom then isnide |
10:29.44 | dream_kill | msm7500 |
10:29.45 | par | dream_kill: ok so what are the locations you would always copy? |
10:29.45 | par | yes |
10:29.45 | dream_kill | it will not work then |
10:29.45 | dream_kill | sorry |
10:29.45 | par | thats ok.. thats why htc-linux is here :) |
10:29.45 | par | so it will work for all |
10:29.45 | dream_kill | :D |
10:30.01 | dream_kill | which radio did u flshed on it and still worked :P ? |
10:30.05 | dream_kill | for what devices :P ? |
10:30.19 | par | oh i forget i think i grabbed it from a bell canada |
10:30.28 | par | its 1.3.5 soemthing |
10:30.39 | xsacha | whats this about? http://opensrc.sec.samsung.com/ |
10:30.42 | par | its the newest one thats compatible |
10:31.24 | par | it also helps me to unlock my carrier block of gps |
10:31.31 | par | so i have gps unlocked also. |
10:31.59 | par | which works pretty well in it actually |
10:33.24 | *** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
10:35.52 | Echo31 | pH5: I tried understand your information about athena gpio. It is not easy. |
10:38.09 | *** join/#htc-linux DJWillis (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
10:42.34 | par | dream_kill:i can understand if its only for msm7200a, then yeah it might work |
10:42.59 | par | dream_kill: let me know how it goes |
10:43.27 | par | we have many variants here though |
10:43.48 | par | even 7201 which i dunno wtf that is and how it differs from a regular msm7200a |
10:46.18 | par | for example sapphire is a msm7201a |
10:46.54 | par | is that exactly the same as msm7200a? |
10:47.46 | par | m vogue is actually about 3/4 inch less screen than a sapphire |
10:48.06 | par | its smaller and easier to carry, i actually think i like it better |
10:48.17 | *** join/#htc-linux cr2 (n=cr2@ip-90-187-92-176.web.vodafone.de) |
10:48.25 | par | i'm only running android v1.1 though |
10:49.17 | par | hi cr2 |
10:49.55 | par | dream_kill was just saying that he was going to flash a sapphire nand (except for the spl portion) into a blackstone to see if it would work |
10:50.42 | dream_kill | par: seems i talked in vain till now |
10:51.01 | dream_kill | what i said and what u understand :P |
10:51.38 | dream_kill | i said to flash a full nand WITHOUT MFG and HTC partition into the blackstone |
10:51.46 | dream_kill | scroll up and READ properly |
10:51.51 | Echo31 | pH5: What are the first modifications of your magician code for starting (booting) on athena device ? What are the elements that are needed and not needed? |
10:51.55 | *** join/#htc-linux DJWillis (n=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
10:52.11 | par | dream_kill: ok yes sir. sorry |
10:52.19 | dream_kill | but as a fist test to FLASH ONLY SPL part! |
10:52.49 | dream_kill | so u totaly mixed up :P |
10:53.22 | par | thats ok, its sort of anticlimactic for me at my angle anyway |
10:53.46 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
10:53.49 | pH5 | Echo31: maybe set up w100fb first to see something on the screen, assuming you inherit a properly set up lcd from winmo when booting via haret. |
10:53.50 | par | dreamkill |
10:54.04 | par | _do the phones ever ship security unlock normally? |
10:54.40 | dream_kill | only samples to providers :P |
10:54.55 | par | ok, thanks i didn't know that |
10:55.26 | par | to us in public use, it has been referred to as "hard spl" when the phone is security lock |
10:55.36 | dream_kill | 2 sec |
10:55.43 | dream_kill | u don't understand it :P |
10:55.46 | *** join/#htc-linux MethoS- (n=clemens@host-091-097-245-151.ewe-ip-backbone.de) |
10:56.21 | dream_kill | security unlock means the device is unlocked so user can change CID at his own wish using at@cid command and can unlock the device with ANY unlock code |
10:56.24 | par | yeah, i have no idea what the terms are for any of it |
10:56.45 | dream_kill | HARDSPL is a hacked SPL to allow you to flash ANY singned or unsigned roms |
10:56.46 | par | right CID unlocked |
10:56.57 | dream_kill | CID unlocked is different too |
10:57.01 | par | ok, i didn't know the terms |
10:57.08 | cr2 | hi |
10:57.36 | pH5 | hi cr2 |
10:57.57 | dream_kill | IF on a device CID is set as 00000000 or 11111111 then device is CID unlocked, means can get flashed (without any hacked spl) with any official signed roms from HTC for the same model ID! |
10:57.59 | par | security unlock is a known algorithm apparently |
10:58.14 | cr2 | dream_kill: can you post the output from 'partition' oemsbl command ? i've not soldered the docking station serial pins |
10:58.24 | par | because i see a guy selling it through email |
10:58.48 | dream_kill | u can security unlock it not problem via a radio patch :P |
10:59.01 | cr2 | btw, everything a hacked spl does, can be done in linux. i don't really see any point for a hacked spl. |
10:59.04 | dream_kill | cr2 what devices u need? |
10:59.24 | cr2 | dream_kill: raph100 will be the best. but diam is ok too. |
10:59.38 | cr2 | diam with 512MB nand |
10:59.53 | tmzt | hey, git is broken for me |
11:00.03 | tmzt | smd1 and usb |
11:00.10 | dream_kill | i don't have a diamond, got a raphael. The diamond dump i have it from someone :P |
11:00.18 | dream_kill | mine is raph600! |
11:00.21 | tmzt | I have been trying to regress and bisect all night |
11:00.28 | cr2 | dream_kill: ok. i have raph100 |
11:01.03 | tmzt | AstainHellbring: here? |
11:01.04 | *** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl) |
11:01.07 | cr2 | tmzt: i have glued all partitions dumped with itsutils into one image. it looks reasonable. |
11:01.30 | tmzt | ah, looking into partition stuff stilk |
11:01.36 | cr2 | tmzt: the evildoers store wince dmesg into "unused" nand area before the imgfs |
11:01.45 | tmzt | found an interesting post from cmonex |
11:02.10 | par | heh, use most itsutils for forensics ;) |
11:02.14 | tmzt | about finding imfs offset |
11:02.15 | cr2 | tmzt: maybe i should edit the wiki and add this data too. |
11:02.45 | cr2 | par: it should be visible in linux too. |
11:02.53 | par | yep |
11:03.09 | tmzt | good, I would like to get proper and current documentation on flash - nbh - and nand image formats |
11:03.43 | cr2 | tmzt: write one yourself in wiki |
11:04.11 | tmzt | http://www.diypda.com/redirect.php?tid=51310&goto=lastpost |
11:04.31 | par | yeah, that would be very helpfull.. as well as maybe a nand mfg and reference list for each device |
11:05.01 | cr2 | pH5: w100fb on athena ? |
11:05.20 | dream_kill | MIBIB: 0 |
11:05.20 | dream_kill | QCSBL: 10 |
11:05.20 | dream_kill | OEMSBL1: 14 |
11:05.20 | dream_kill | OEMSBL2: 20 |
11:05.21 | dream_kill | HTC: 26 |
11:05.21 | dream_kill | AMSS: 42 |
11:05.23 | dream_kill | AMSSEFS2: 234 |
11:05.25 | dream_kill | FOTA: 278 |
11:05.27 | dream_kill | RESERVED: 286 |
11:05.29 | dream_kill | APPSBL: 288 |
11:05.31 | dream_kill | MISC_MFG: 294 |
11:05.33 | dream_kill | SPLASH_1: 296 |
11:05.35 | dream_kill | SPLASH_2: 298 |
11:05.37 | dream_kill | DEBUG: 307 |
11:05.38 | *** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
11:05.39 | dream_kill | APP: 321 |
11:05.41 | dream_kill | EXTENDED_ROM: 953 |
11:05.43 | dream_kill | this is partition on raphael |
11:05.51 | dream_kill | but, as i could see all other devices have same :P |
11:06.00 | dream_kill | 10 is BLOCK number |
11:06.08 | dream_kill | where a block = 0x800 bytes :P |
11:06.31 | cr2 | dream_kill: thanks. this is a table i have seen stored in nand. |
11:06.37 | dream_kill | yes |
11:06.50 | dream_kill | also same in G! |
11:06.50 | pH5 | cr2: is athena pxafb? |
11:06.52 | dream_kill | G1 |
11:06.56 | dream_kill | and sapphire |
11:07.10 | cr2 | pH5: vsfb |
11:07.20 | dream_kill | but, there the APPSBL (SPL or HBOOT as you wana call it) defines the android partitions :P |
11:07.28 | pH5 | ahh. I thought it has some ati w2284 that can be driven by w100fb. |
11:07.51 | cr2 | dream_kill: there should be a difference between 256M and 512M nands. maybe in the EXTENDED_ROM size |
11:08.10 | dream_kill | posible |
11:08.23 | dream_kill | do like so |
11:08.27 | dream_kill | radio |
11:08.38 | dream_kill | qmat software |
11:08.42 | cr2 | dream_kill: the partitions are provided to the linux kernel as an "ATAG". so it's haret here instead of HBOOT |
11:08.46 | dream_kill | break the radio in parts |
11:08.55 | dream_kill | and look in the partition sections :P |
11:09.00 | cr2 | lol |
11:09.35 | dream_kill | :P |
11:09.47 | dream_kill | wait |
11:10.24 | dream_kill | on the 256 page size is 2048 (0x800) |
11:10.31 | cr2 | pH5: yes, in an ideal world ati w2284 will use w100fb, but many PLL/clock registers have different layout. so w100fb will need some serious patching |
11:10.39 | *** join/#htc-linux tsdogs (n=tsdogs@tsdogs.metalit.net) |
11:10.53 | dream_kill | and on a 512 page size is 4096 (0x1000) |
11:11.24 | cr2 | dream_kill: must be 2 chips 2k*2 |
11:11.35 | cr2 | dream_kill: so the page size is still 2k |
11:11.50 | dream_kill | RTC works |
11:11.50 | dream_kill | NAND_FLASH_READ_ID : SAMSUNG_512MB_FLASH_256MB_SDRAM |
11:12.06 | cr2 | dream_kill: raph has 512MB nand, and my blocksize is 2k. |
11:12.12 | dream_kill | maker_id=0xEC,device_id=0xBC |
11:12.13 | dream_kill | maker_id = EC |
11:12.13 | dream_kill | device_id = BC |
11:12.13 | dream_kill | total_no_devices = 23 |
11:12.13 | dream_kill | We have found a match of IDs |
11:12.13 | dream_kill | Device_probe, page size = 2048, width=2, block count=4096 |
11:12.16 | dream_kill | yep my mistake |
11:12.22 | dream_kill | let me check dream |
11:12.32 | cr2 | SAMSUNG_512MB_FLASH_256MB_SDRAM means they are physically on one chip. |
11:12.39 | dream_kill | yep |
11:13.40 | dream_kill | MIBIB: 0 |
11:13.40 | dream_kill | QCSBL: 10 |
11:13.40 | dream_kill | OEMSBL1: 14 |
11:13.40 | dream_kill | OEMSBL2: 20 |
11:13.40 | dream_kill | HTC: 26 |
11:13.41 | dream_kill | AMSS: 42 |
11:13.43 | dream_kill | AMSSEFS2: 234 |
11:13.45 | dream_kill | FOTA: 278 |
11:13.47 | dream_kill | RESERVED: 286 |
11:13.49 | dream_kill | APPSBL: 288 |
11:13.51 | dream_kill | MISC_MFG: 294 |
11:13.53 | dream_kill | SPLASH_1: 296 |
11:13.55 | dream_kill | SPLASH_2: 298 |
11:13.57 | dream_kill | DEBUG: 307 |
11:13.59 | dream_kill | APP: 321 |
11:14.01 | dream_kill | EXTENDED_ROM: 953 |
11:14.03 | dream_kill | this is G1 |
11:14.05 | dream_kill | (PowerOn Status,Boot Reason)=(1,1) |
11:14.07 | dream_kill | NAND_FLASH_READ_ID : HYNIX_256MB_FLASH_128MB_SDRAM |
11:14.27 | cr2 | ok, thanks. |
11:15.31 | dream_kill | PowerOn Status,Boot Reason)=(1,1) |
11:15.31 | dream_kill | NAND_FLASH_READ_ID : HYNIX_256MB_FLASH_128MB_SDRAM |
11:15.31 | dream_kill | ARM9_BOOT_MODE0, Boot Android |
11:15.31 | dream_kill | +Í¡16 bit |
11:15.31 | dream_kill | -msm_nand_probe |
11:15.32 | dream_kill | [MDDI] Bitmap_Width = 480 |
11:15.34 | dream_kill | [MDDI] Bitmap_Height = 640 |
11:15.36 | dream_kill | [MDDI] RGB_Capability = 0x8888 |
11:15.38 | dream_kill | [MDDI] Mfr_Name = 0xD263 |
11:15.40 | dream_kill | [MDDI] Product_Code = 0x0 |
11:15.42 | dream_kill | GetModelName- Default[DREA*****] |
11:15.49 | dream_kill | this still dream :P |
11:16.10 | dream_kill | what is starnge i have a debug > prompt in dream :P |
11:16.55 | *** part/#htc-linux kiozen (n=oeichler@p5492151D.dip0.t-ipconnect.de) |
11:17.44 | dream_kill | which i don't understand where is from :P ? |
11:17.53 | dream_kill | as in radio and HBOOT i can't find it :P |
11:20.36 | dream_kill | PARTITIOM_NUM_MAX =6 Valid partition num=6 |
11:20.36 | dream_kill | debug> debug> ps |
11:20.36 | dream_kill | pid ppid prio task pc |
11:20.36 | dream_kill | <PROTECTED> |
11:20.36 | dream_kill | <PROTECTED> |
11:20.37 | dream_kill | <PROTECTED> |
11:22.05 | cr2 | amss kernel debugger ? |
11:22.12 | dream_kill | not sure |
11:22.14 | dream_kill | posible :P |
11:22.37 | dream_kill | same for wince :P |
11:22.39 | cr2 | then it should have other commands, not only 'ps' |
11:22.40 | dream_kill | i have same debug :P |
11:22.50 | dream_kill | tell me and i test :P |
11:23.03 | cr2 | if this is amss, wince or whatever does not matter |
11:24.39 | cr2 | showtcbext ? |
11:25.12 | cr2 | dumpphys |
11:25.35 | cr2 | help :) |
11:25.49 | cr2 | stats |
11:25.51 | cr2 | arch |
11:26.02 | cr2 | ptab |
11:26.19 | cr2 | dumpframe |
11:26.29 | cr2 | cp15dump |
11:26.38 | cr2 | tlbdump |
11:29.03 | dream_kill | PARTITIOM_NUM_MAX =6 Valid partition num=6 |
11:29.03 | dream_kill | debug> debug> dumpframe |
11:29.03 | dream_kill | debug> tlbdump |
11:29.03 | dream_kill | debug> stats |
11:29.03 | dream_kill | debug> help |
11:29.04 | dream_kill | debug> arch |
11:29.06 | dream_kill | debug> ptab |
11:29.08 | dream_kill | debug> showtctext |
11:29.10 | dream_kill | debug> ps |
11:29.12 | dream_kill | nope |
11:29.14 | dream_kill | only ps works |
11:29.48 | dream_kill | and works only until full os loaded |
11:31.13 | tmzt | ps? |
11:31.58 | tmzt | do you know how to offsets from .nb.payload? |
11:32.07 | tmzt | for xip, imgfs |
11:32.16 | tmzt | size if possible |
11:32.23 | dream_kill | sorry nope |
11:32.33 | cr2 | dream_kill: the 'partitions' output is in 128K blocks |
11:32.40 | *** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl) |
11:32.49 | cr2 | awk '{printf("%s 0x%x\n",$3,$4*2^16*2)}' raph.partitions |
11:32.59 | cr2 | MIBIB: 0x0 |
11:33.01 | cr2 | QCSBL: 0x140000 |
11:33.02 | cr2 | OEMSBL1: 0x1c0000 |
11:33.04 | cr2 | OEMSBL2: 0x280000 |
11:33.05 | cr2 | HTC: 0x340000 |
11:33.07 | cr2 | AMSS: 0x540000 |
11:33.09 | cr2 | AMSSEFS2: 0x1d40000 |
11:33.10 | cr2 | FOTA: 0x22c0000 |
11:33.12 | cr2 | RESERVED: 0x23c0000 |
11:33.13 | cr2 | APPSBL: 0x2400000 |
11:33.14 | cr2 | MISC_MFG: 0x24c0000 |
11:33.16 | cr2 | SPLASH_1: 0x2500000 |
11:33.18 | cr2 | SPLASH_2: 0x2540000 |
11:33.19 | cr2 | DEBUG: 0x2660000 |
11:33.21 | cr2 | APP: 0x2820000 |
11:33.24 | cr2 | EXTENDED_ROM: 0x7720000 |
11:33.28 | cr2 | this looks reasonable. at least in the first part |
11:33.49 | cr2 | APPSBL: 0x2400000 |
11:33.55 | cr2 | <PROTECTED> |
11:34.15 | cr2 | so the fat is at EXTENDED_ROM: 0x7720000 |
11:34.56 | cr2 | subtracting APP from EXTENDED_ROM you get the imgfs size. |
11:36.04 | dream_kill | as i said before 2400000 -24c0000 is spl :P now u have it in proof :P |
11:36.45 | cr2 | it's in itstutils. and i see it in linux. |
11:36.53 | tmzt | nbinfo, runs in wine |
11:36.56 | cr2 | the only problem was the EXTENDED_ROM offset |
11:37.18 | cr2 | hehe. DEBUG |
11:37.28 | par | ;) |
11:37.48 | cr2 | +0x260000 |
11:39.06 | cr2 | par: can you access http://www.htc-linux.org ? |
11:39.43 | cr2 | tmzt: nbinfo should run in linux |
11:40.48 | cr2 | tmzt: the only problem was the .lzma and .xpr compression. both algorithms have free software implementation, so if somebody wanted to write linux tools, it's not a problem. |
11:42.07 | par | wow, its just hanging cr2 |
11:42.10 | par | par@dipole$ telnet www.htc-linux.org 80 |
11:42.10 | par | Trying 83.167.180.132... |
11:42.10 | par | Connected to htc-linux.org. |
11:42.10 | par | Escape character is '^]'. |
11:42.10 | par | GET / HTTP/1.1 |
11:42.17 | par | just hanging on reply |
11:42.32 | cr2 | yeah, something is broken there. |
11:42.38 | par | is it been dos'ed or attacked or anything? who runs it? |
11:42.58 | cr2 | a provider in uk |
11:43.02 | par | ah |
11:43.17 | par | is that where the admin is? |
11:43.44 | cr2 | more or less yes. |
11:44.17 | dream_kill | seems DEBUG section is all FF:P |
11:44.34 | cr2 | dream_kill: on g1 ? hehe |
11:44.34 | tmzt | you might need Host: |
11:44.45 | cr2 | dream_kill: wince dmesg junk here. |
11:44.59 | tmzt | cr2: it runs |
11:45.01 | dream_kill | also in diamond |
11:45.26 | tmzt | but I'm having trouble with sectors |
11:45.31 | dream_kill | (got full nand dump from g1 and diamond) |
11:46.18 | cr2 | tmzt: yes, some have 0x200 and others 0x800 |
11:47.07 | cr2 | 9 shadowed, and 7 open partitions |
11:47.17 | tmzt | xip? |
11:47.20 | dream_kill | ok some debug in 26c0800 |
11:47.22 | cr2 | tmzt: is it ok for mtd ? |
11:47.33 | tmzt | is what? |
11:47.44 | cr2 | 16 partitions |
11:47.51 | tmzt | I haven't even looked at raw nad stuff yet |
11:47.56 | tmzt | I think so |
11:48.14 | cr2 | you don't usually want to touch the first 9 |
11:48.18 | tmzt | partition table for mtd is not on disk |
11:48.30 | dream_kill | error |
11:48.44 | dream_kill | starts at 26c0000 is the boot partition for android |
11:48.51 | cr2 | and they are protected, so you can even read them. |
11:49.31 | dream_kill | so seems that the radio partitions are valid till splash2 |
11:49.42 | dream_kill | then it's repartition by the hboot! |
11:49.54 | tmzt | flashimage can flash rhose |
11:50.01 | *** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk) |
11:50.06 | cr2 | dream_kill: repartition ? |
11:50.20 | dream_kill | the partition table for the kernel :P |
11:51.00 | dream_kill | as in android u have: misc, boot, recovery, system, userdata, cache partition |
11:51.15 | dream_kill | and if is a HBOOT mfg then u also can see MFG partition too :P |
11:51.24 | cr2 | dream_kill: ok. APP+EXTENDED_ROM is a "wince" partition. they can be joined. |
11:51.33 | dream_kill | yep |
11:51.53 | cr2 | dream_kill: it's possible to use EXTENDED_ROM for linux/androed |
11:52.03 | cr2 | without blowing wince part. |
11:52.04 | dream_kill | we can try this :P |
11:52.11 | dream_kill | need to patch the spl :P |
11:52.15 | dream_kill | to make it dualboot :P |
11:52.30 | tmzt | is there room? |
11:52.38 | par | cool |
11:52.49 | cr2 | [13:32] <cr2> APPSBL: 0x2400000 |
11:52.50 | cr2 | [13:32] <cr2> MISC_MFG: 0x24c0000 |
11:53.09 | cr2 | 0xc0000 for the SPL |
11:53.16 | cr2 | whatever it is |
11:53.31 | tmzt | nice, is it loaded into ram? |
11:53.40 | cr2 | the wince SPL is < 0x80000 |
11:55.01 | cr2 | the boot flags are in the MISC_MFG section |
11:55.20 | cr2 | http://wiki.xda-developers.com/index.php?pagename=RaphaelNAND |
11:55.36 | cr2 | <PROTECTED> |
11:55.37 | cr2 | <PROTECTED> |
11:55.39 | cr2 | <PROTECTED> |
11:55.40 | cr2 | <PROTECTED> |
11:55.43 | cr2 | just after the SPL |
11:56.18 | cr2 | i have "WarmBoot" string here -> +0x20 =0xf - cold boot |
11:58.45 | cr2 | 0x7720000-0x2820000=0x4f00000 |
11:59.12 | cr2 | 64+15MB |
11:59.28 | cr2 | so imgfs is 79MB |
12:00.34 | tmzt | it looks like there is a table at MSFLSH50 |
12:00.49 | tmzt | with flash regions |
12:01.15 | cr2 | 0x188e0000 is the fat size |
12:01.23 | tmzt | in payload, but I don't know if that is in nand |
12:01.28 | cr2 | 0x20000000-0x7720000 |
12:01.33 | *** join/#htc-linux xsacha (n=xsacha@124-171-136-151.dyn.iinet.net.au) |
12:02.21 | cr2 | it's 393MB |
12:02.47 | cr2 | 392.875 |
12:03.11 | cr2 | what does wince and itsutils report is black magic for me. |
12:03.43 | xsacha | hey cr2.. i looked at the samsung i780 service manual and it refers to my parts by SEC codes |
12:03.48 | xsacha | any idea what those are? |
12:04.10 | par | what does itsutils show? |
12:05.16 | cr2 | xsacha: probably completely useless info |
12:05.50 | cr2 | par: need to look in the logs |
12:06.04 | par | k |
12:07.16 | cr2 | [Mo Jun 1 2009] [02:08:13] <cr2> 458.50M (0x1ca80000) DSK1: |
12:07.17 | cr2 | [Mo Jun 1 2009] [02:08:13] <cr2> | 3.12M (0x31f000) Part00 |
12:07.19 | cr2 | [Mo Jun 1 2009] [02:08:13] <cr2> | 4.50M (0x480000) Part01 |
12:07.20 | cr2 | [Mo Jun 1 2009] [02:08:13] <cr2> | 143.38M (0x8f60000) Part02 |
12:07.22 | cr2 | [Mo Jun 1 2009] [02:08:13] <cr2> | 307.50M (0x13380000) Part03 |
12:07.46 | cr2 | and wince talks about 306.23MB disk size |
12:08.10 | tmzt | if the blocks are F000+1000 does that make sense? |
12:08.28 | tmzt | 1000 being extra data |
12:08.36 | cr2 | tmzt: 0x10000 ? |
12:08.49 | cr2 | 64K blocks in imgfs. why not. |
12:08.52 | tmzt | yeah |
12:09.05 | tmzt | that's what nbsplit says |
12:09.31 | cr2 | ok, then these are nbh blocks |
12:10.23 | par | ok, so it is a valid reference then |
12:10.48 | tmzt | (imgfs in blovks / f000) * 10000 |
12:10.55 | tmzt | does that work? |
12:11.07 | cr2 | nbh is like tar/cpio :) |
12:11.13 | tmzt | wait, let me check |
12:11.54 | cr2 | but tar blocks are 512bytes afair ;) |
12:12.13 | tmzt | sorty, that's nbh not nb |
12:12.28 | tmzt | from htc flasher |
12:14.16 | tmzt | except it says that's for emulator |
12:14.53 | tmzt | tian is 0x800+0x08 for nb files |
12:14.56 | *** join/#htc-linux mickey_jaw (n=mike@78-105-123-214.zone3.bethere.co.uk) |
12:15.22 | cr2 | tmzt: i phear that the data for 16 partitions will exceed the ATAG size, because MSMp is a hack, and the union of the "standard" tags is not very big. |
12:15.35 | par | htc-linux.org is back up |
12:16.41 | cr2 | par: yes |
12:16.42 | tmzt | you can as many ATAGs as there is ram for |
12:17.06 | cr2 | tmzt: the single tag size is limited |
12:17.06 | tmzt | at least for MEM, etc. |
12:17.12 | tmzt | yeah |
12:17.19 | cr2 | and MSMp is 1 tag |
12:18.07 | cr2 | i think it's possible to provide the mtd partition data in cmdline ? |
12:18.36 | cr2 | but it will break the g1 nand_partitions.c code probably. |
12:19.31 | cr2 | MSMp ATAG data is in 128K blocks too |
12:20.53 | tmzt | yeah, mtd= |
12:21.46 | cr2 | what is the biggest current ATAG ? |
12:21.46 | tmzt | #define RUUBLOCK 0x100000 |
12:22.00 | cr2 | 1MB ? |
12:22.43 | tmzt | not sure this matters to us though |
12:24.47 | cr2 | does the 2.6.27 kernel defconfig support yaffs2 ? |
12:25.42 | cr2 | #define BOOT_PARAMS_SIZE 1536 |
12:25.43 | cr2 | static char __initdata atags_copy[BOOT_PARAMS_SIZE]; |
12:30.33 | cr2 | ok. 7 partitions should be enough for everybody :) |
12:31.24 | dream_kill | :P |
12:31.31 | dream_kill | what u doing ? |
12:35.26 | tmzt | flash region 0 |
12:35.35 | tmzt | XIP |
12:35.59 | tmzt | sz log bl: 0x3c |
12:36.14 | tmzt | sz sectors: f00 |
12:36.32 | tmzt | sec per bl: 0x40 |
12:36.56 | tmzt | bytes per bl: 0x20000 |
12:37.10 | xsacha | hey tmzt |
12:37.24 | xsacha | i have i780 service manual |
12:38.24 | tmzt | means, bytes per sector: 0x800 |
12:38.35 | tmzt | 2048 |
12:38.39 | tmzt | 2k |
12:39.49 | xsacha | but the parts like wifi, bluetooth and screen are only referenced by SEC codes |
12:39.57 | xsacha | does this mean anything tmzt? |
12:40.07 | tmzt | Samsung? |
12:40.11 | xsacha | the touchscreen has ORA in brackets.. yueah samsung |
12:40.19 | tmzt | internal parts numbers |
12:41.47 | xsacha | so means nothing? |
12:42.53 | xsacha | here's the service manual anyway: http://deblocage77.free.fr/sam/root/Samsung%20SGH-i780%20service%20manual.pdf (~6MB) |
12:43.00 | cr2 | xsacha: do you have the spl dump ? the wince rom dump ? |
12:43.13 | cr2 | # CONFIG_YAFFS_FS is not set |
12:43.15 | cr2 | # CONFIG_JFFS2_FS is not set |
12:43.24 | cr2 | tmzt: yaffs2 ? |
12:44.15 | tmzt | sorry? |
12:44.29 | xsacha | i dont have any spl |
12:44.54 | xsacha | all i have is bootloader+pda+radio for winmo |
12:44.59 | tmzt | it's not upstream but it should definately be in android kernel |
12:45.11 | cr2 | xsacha: i mean bootloader |
12:45.14 | tmzt | Samsung doesn't use spl |
12:45.20 | xsacha | oh yeah, i have bootloader |
12:45.27 | cr2 | something that is at 0x0 |
12:45.30 | xsacha | you use it when you do complete flash |
12:46.27 | tmzt | cr2: looks like sectors are 2k |
12:46.49 | cr2 | tmzt: do we have the g1 .config ? |
12:47.20 | tmzt | xip +0x40 is b 0x1000 |
12:47.29 | tmzt | I do somewhere |
12:49.18 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
12:50.56 | tmzt | 4>[ 0.603775] yaffs Mar 26 2009 12:03:24 Installing. |
12:51.04 | tmzt | just dmesg |
12:51.44 | tmzt | can you check android git msm_defconfig? |
12:52.19 | cr2 | ok |
12:52.26 | cr2 | j0b0: ping |
12:57.58 | tmzt | cr2: drivers/fs/yaffs2/Kconfig |
12:58.16 | tmzt | config YAFFS_FS |
12:58.18 | tmzt | ... |
12:58.49 | tmzt | ' select YAFFS_YAFFS1 |
12:58.53 | tmzt | ' select YAFFS_YAFFS2 |
12:59.40 | tmzt | yaffs1: not needed for 2k page devices |
13:00.01 | tmzt | yaffs2: not about on-nand format |
13:00.58 | tmzt | note |
13:01.34 | tmzt | YAFFS_DOES_ECC |
13:02.07 | tmzt | does it's own ecc rather than using MTD-NAND driver |
13:03.00 | tmzt | read Kconfig and driver ;) very educational |
13:03.33 | tmzt | we will probably need to make a tfat using it's layer if we care |
13:06.01 | tmzt | YAFFS2_AUTO_YAFFS2 |
13:06.30 | tmzt | detects appropriate format based on device page size |
13:06.50 | tmzt | yaffs1 for 512 |
13:07.01 | tmzt | yaffs2 for 2k |
13:16.25 | *** join/#htc-linux skodde (n=skodde@adsl-ull-183-1.47-151.net24.it) |
13:20.34 | tmzt | cr2: ah, yaffs sets up the nand as well, I think that's why msm_nand made no sense |
13:20.49 | tmzt | we should look at flash_image source |
13:21.09 | tmzt | sets up the mtd I mean |
13:26.14 | *** join/#htc-linux MethoS-- (n=clemens@host-091-097-242-129.ewe-ip-backbone.de) |
13:26.51 | cr2 | tmzt: ok, i'll leave it to you :) |
13:27.13 | tmzt | to do what? |
13:27.22 | cr2 | nand yaffs |
13:27.38 | tmzt | I'm saying if you have g1 .config |
13:27.47 | tmzt | it should just work |
13:28.11 | *** join/#htc-linux AntiXpucT (n=Skim@77.106.108.232) |
13:28.12 | tmzt | mostly that was reading and copying |
13:28.29 | cr2 | even on mtd15 ? |
13:28.32 | tmzt | though it gave me a chance to look at the code |
13:28.41 | tmzt | what do you mean? |
13:28.47 | cr2 | btw, how do i set readonly mtd flag for spl |
13:29.18 | cr2 | i'll try to mount extended_rom now. |
13:29.25 | tmzt | let me see, forget where atag parsing is |
13:29.31 | cr2 | then we can discuss what to do with android |
13:29.54 | tmzt | something special about mtd15? |
13:30.34 | cr2 | no, just that android will access other partitions and format them ;) |
13:30.35 | tmzt | I think the community there would very much like to resize partitions independently of hboot |
13:30.53 | tmzt | that's not good |
13:30.57 | tmzt | oh |
13:31.08 | tmzt | yeah, in initrc |
13:31.33 | tmzt | the cache partition takes up toomuch space |
13:31.59 | tmzt | and it's only used by OTA from t-mobile |
13:33.05 | tmzt | and yaffs2 system is full on some builds now, so apps go to sd card with symlinks |
13:33.31 | tmzt | the system/data split is artificial |
13:34.01 | tmzt | recovery is nice, but some might prefer the full usable nand e rw root |
13:34.11 | tmzt | be |
13:34.37 | tmzt | this would need a new bootloader |
13:34.53 | tmzt | dream_kill: is that what you said? |
13:35.28 | cr2 | tmzt: sorry. i use initrd-htcraphael-20090412.cpio.gz |
13:35.52 | cr2 | not initrd-angstrom.cpio.gz |
13:36.12 | tmzt | yeah, I misunderstood what you said about android |
13:36.47 | tmzt | I certainly wouldn't do anythin with it with a valid mtd table |
13:37.32 | tmzt | I'm just saying there may be some users interested in working on bootloader for both/all devices |
13:37.41 | cr2 | ok |
13:38.01 | tmzt | to replace spl/hboot/eng/and the git one |
13:38.01 | cr2 | diam has the same 512MB nand as raph ? |
13:38.20 | dream_kill | yes |
13:38.27 | cr2 | ok |
13:38.27 | dream_kill | wait |
13:38.29 | dream_kill | nope |
13:38.30 | dream_kill | 256 |
13:38.44 | cr2 | dream_kill: hmm. well. |
13:39.36 | cr2 | i see that a lot of diam people complain about something in xda-dev thread |
13:40.14 | cr2 | i think they are screwed because once i've enabled the second SDRAM bank :) |
13:40.26 | dream_kill | :d |
13:40.33 | cr2 | hehe. should buy better hardware :) |
13:40.35 | *** join/#htc-linux wirelessdreamer (n=dreamer@c-71-239-79-222.hsd1.il.comcast.net) |
13:40.39 | dream_kill | yep :P |
13:41.41 | cr2 | well, it should be trivial to add if (machine_*) instead of if(1) |
13:44.40 | *** join/#htc-linux syn-fin (n=alien@access68.terremark.com) |
13:47.29 | cr2 | TSystem.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a |
13:48.24 | *** join/#htc-linux syn-fin (n=alien@access68.terremark.com) |
13:49.22 | cr2 | ok, i can't mount fat off the nand anyway |
13:49.33 | dream_kill | why not? |
13:49.34 | dream_kill | :P ? |
13:50.48 | tmzt | right |
13:51.18 | cr2 | mount -o ro /dev/mtdblock6 /mnt/cf/ |
13:51.32 | cr2 | [ 405.515399] end_request: I/O error, dev mtdblock6, sector 64 |
13:51.33 | cr2 | [ 405.515429] msm_nand_read_oob: unsupported ops->len, 512 |
13:51.35 | cr2 | [ 405.515460] end_request: I/O error, dev mtdblock6, sector 72 |
13:51.36 | cr2 | [ 405.515490] msm_nand_read_oob: unsupported ops->len, 512 |
13:51.38 | cr2 | [ 405.515521] end_request: I/O error, dev mtdblock6, sector 80 |
13:51.39 | cr2 | [ 405.515551] msm_nand_read_oob: unsupported ops->len, 512 |
13:51.41 | cr2 | [ 405.515551] end_request: I/O error, dev mtdblock6, sector 88 |
13:51.43 | cr2 | [ 405.515612] msm_nand_read_oob: unsupported ops->len, 512 |
13:51.44 | cr2 | [ 405.515612] end_request: I/O error, dev mtdblock6, sector 96 |
13:51.45 | cr2 | [ 405.515643] msm_nand_read_oob: unsupported ops->len, 512 |
13:51.53 | tmzt | there might be trick for that |
13:51.55 | cr2 | hmm. how can i teach it about 2048 blocksize ? |
13:52.22 | cr2 | man mount |
13:52.25 | dream_kill | in the nand detect wasn't block size?? |
13:52.36 | tmzt | right a tfat driver, copy the setup from yaffs |
13:52.49 | cr2 | but fat is 512 ;) |
13:52.50 | tmzt | does, dd bs 2048 work? |
13:53.02 | tmzt | cluster size |
13:53.02 | cr2 | yes |
13:53.09 | dream_kill | aa |
13:53.13 | dream_kill | hack vfat :P |
13:53.17 | dream_kill | to have 2048 :P |
13:53.20 | tmzt | try imaging to sd |
13:53.37 | cr2 | tmzt: what is tfat ? |
13:53.56 | tmzt | transactional fat |
13:54.00 | tmzt | on msdn |
13:54.04 | cr2 | tmzt: hehe. mount -o loop |
13:54.46 | tmzt | does that work? |
13:55.29 | tmzt | tfat updates a different fat each time, not sure why though |
13:55.31 | cr2 | Mount options for fat |
13:55.40 | cr2 | <PROTECTED> |
13:55.42 | cr2 | <PROTECTED> |
13:56.26 | cr2 | root@htcraphael:~# mount -t vfat -o ro,blocksize=2048 /dev/mtdblock6 /mnt/cf/ |
13:56.30 | cr2 | mount: /dev/mtdblock6: can't read superblock |
13:56.31 | cr2 | that looks much better |
13:57.06 | dream_kill | mkfs.fat ../:P |
13:57.14 | cr2 | LOL |
13:57.18 | cr2 | [ 715.858386] FAT: "blocksize=2048" option is obsolete, not supported now |
13:57.20 | cr2 | [ 715.858782] msm_nand_read_oob: unsupported ops->len, 512 |
13:57.21 | cr2 | [ 715.858813] end_request: I/O error, dev mtdblock6, sector 0 |
13:57.22 | cr2 | [ 715.860736] FAT: unable to read boot sector |
13:57.38 | dream_kill | :P |
13:57.44 | dream_kill | hack kernel:P |
13:57.57 | cr2 | but i don't see the boot sector anyway |
13:58.05 | cr2 | in the data |
13:58.16 | tmzt | no signature? |
13:58.22 | cr2 | dream_kill: mke2fs -j -m 0 |
13:58.31 | cr2 | tmzt: no |
13:58.44 | cr2 | tmzt: i've compared with the itsutils dump. it looks the same |
13:59.08 | cr2 | tmzt: it seems that we need to parse the imgfs data ;-) |
14:00.02 | tmzt | it looks like the wrong partition |
14:00.11 | tmzt | look at Part03 |
14:00.18 | cr2 | <PROTECTED> |
14:00.20 | cr2 | <PROTECTED> |
14:00.22 | cr2 | <PROTECTED> |
14:00.23 | cr2 | HAHA |
14:00.28 | tmzt | ...MSWIN4.1 |
14:00.33 | tmzt | ... |
14:00.42 | cr2 | the flags from MSMp ATAG are not used |
14:00.47 | tmzt | ' TFAT32 |
14:01.19 | tmzt | what does that mean? |
14:01.45 | cr2 | od -c RAPH skip=$((0x7720000)) |
14:02.09 | cr2 | tmzt: if is set readonly flag in MSMp |
14:02.19 | cr2 | then it's ignored by g1 code. LOL |
14:03.21 | cr2 | 0000000 203 203 203 203 4 020 327 s 001 \0 \0 \0 234 \n \0 \0 |
14:03.26 | cr2 | 0000020 200 002 \0 \0 \0 340 \0 200 354 001 001 \0 354 001 001 \0 |
14:03.26 | cr2 | 0000040 354 341 001 200 \0 \0 \0 \0 354 341 001 200 \0 \0 \0 \0 |
14:03.26 | cr2 | 0000060 \0 \0 \0 \0 \0 \0 \0 \0 257 \0 \0 \0 \0 \0 377 200 |
14:03.46 | *** join/#htc-linux sdt555 (n=titus@147.145.40.44) |
14:03.51 | *** part/#htc-linux sdt555 (n=titus@147.145.40.44) |
14:04.00 | cr2 | erm |
14:04.05 | cr2 | 0000000 ] 030 031 234 360 221 E 267 375 341 202 K 1 035 244 303 |
14:04.07 | cr2 | 0000020 $ { ` 342 026 J 020 310 300 341 006 N \ 002 243 213 |
14:04.08 | cr2 | 0000040 371 221 H 302 223 214 @ I 002 036 204 020 362 $ \t Q |
14:04.10 | cr2 | 0000060 216 250 " 200 \b P 347 Z 030 l @ 220 \a 027 265 9 |
14:04.12 | cr2 | mtd6 |
14:05.25 | cr2 | dumb me |
14:05.25 | cr2 | od -c RAPH -j $((0x7720000)) | less |
14:05.25 | tmzt | imgfs has XPR in the first block |
14:06.03 | cr2 | 7720000 ] 030 031 234 360 221 E 267 375 341 202 K 1 035 244 303 |
14:06.32 | cr2 | 7720010 $ { ` 342 026 J 020 310 300 341 006 N \ 002 243 213 |
14:06.32 | cr2 | 7720020 371 221 H 302 223 214 @ I 002 036 204 020 362 $ \t Q |
14:06.32 | cr2 | 7720030 216 250 " 200 \f P 347 Z 030 l @ 220 \a 027 265 9 |
14:06.32 | cr2 | 7720040 220 B 022 ) 8 p 026 030 # 034 0 204 005 \n 036 201 |
14:06.32 | cr2 | 7720050 211 026 a 204 301 307 016 372 e 321 242 211 Q 2 342 347 |
14:06.33 | cr2 | 7720060 022 214 244 001 250 004 K 004 A 005 025 i H ` B 020 |
14:06.35 | cr2 | so itsutils output is the same as lnx |
14:06.41 | cr2 | imgfs is not a problem |
14:06.43 | cr2 | mtd5 |
14:06.56 | cr2 | tmzt: not always XPR |
14:07.10 | cr2 | tmzt: can be LZM, or no compression at all |
14:07.21 | tmzt | ok |
14:07.29 | tmzt | mine is XPR |
14:07.43 | cr2 | od -A x -c RAPH -j $((0x2820000)) | less |
14:08.04 | cr2 | yes, XPR is most often |
14:08.07 | cr2 | but i'm looking at the ondisk data |
14:08.31 | cr2 | 2820000 351 375 377 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:08.56 | cr2 | 2820010 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:08.57 | cr2 | * |
14:08.57 | cr2 | 2820800 M S F L S H 5 0 \0 \0 \0 \0 T \0 \0 \0 |
14:08.57 | cr2 | 2820810 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 = \0 \0 \0 |
14:08.59 | cr2 | * |
14:09.01 | cr2 | 2821000 376 003 \0 352 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:09.03 | cr2 | 2821010 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:09.05 | cr2 | * |
14:09.07 | cr2 | 2821040 E C E C \0 264 021 200 \0 264 021 \0 \0 \0 \0 \0 |
14:09.09 | cr2 | 2821050 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:09.11 | cr2 | no XPR here |
14:12.01 | cr2 | strange |
14:12.05 | cr2 | 240400000 351 375 377 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:12.06 | cr2 | 240400020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:12.32 | cr2 | 0000000 367 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:12.33 | cr2 | 0000020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 |
14:14.31 | cr2 | and i don't like these messages |
14:14.35 | tmzt | got fspanic, invalid cluster chain after changing first two bytes to match vfat |
14:14.35 | cr2 | [ 1737.359332] msm_nand_read_oob 2827800 800 0 failed -74, corrected 0 |
14:15.04 | tmzt | the fs driver has to set it up I think |
14:15.15 | tmzt | we should have a block layer |
14:15.33 | cr2 | ok |
14:16.15 | cr2 | but ignoring the MSMp flags is a g1 kernel bug |
14:16.24 | cr2 | imho |
14:16.25 | tmzt | invalid fsinfo |
14:19.11 | cr2 | the hboot is more difficult to disassemble, because there is no dumprom for it. |
14:20.26 | cr2 | <PROTECTED> |
14:20.27 | cr2 | <PROTECTED> |
14:20.28 | tmzt | still mounts with most the bootable part replaced with TFAT signature |
14:20.30 | cr2 | <PROTECTED> |
14:21.10 | tmzt | I need nde for this though |
14:21.21 | tmzt | don't have a copy here |
14:21.32 | cr2 | err -74 |
14:21.40 | cr2 | but 0 ecc errors |
14:21.44 | tmzt | have you looked at mtdif in yafds? |
14:22.05 | tmzt | ecc is in hw |
14:22.23 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
14:22.27 | tmzt | you would only see an error if one occured |
14:22.32 | cr2 | SUPPORT_WRONG_ECC_CONFIG ? |
14:22.35 | tmzt | AstainHellbring: really here now? |
14:22.43 | tmzt | no |
14:22.48 | tmzt | not for msm |
14:22.57 | cr2 | #define SUPPORT_WRONG_ECC_CONFIG 1 |
14:23.22 | tmzt | where? |
14:23.39 | cr2 | #define EBADMSG 74 /* Not a data message */ |
14:23.56 | cr2 | in /drivers/mtd/devices/msm_nand.c |
14:24.58 | AstainHellbring | huh tmzt? |
14:25.05 | cr2 | ok, i'll leave it to you. |
14:26.03 | cr2 | root 23 0.0 0.0 0 0 ? S< 16:44 0:00 [synaptics_wq] |
14:26.04 | tmzt | AstainHellbring: can you boot latest git on raph800? |
14:26.26 | cr2 | root 13 0.0 0.0 0 0 ? D< 16:44 0:00 [rpcrouter] |
14:26.33 | tmzt | cr2: I can research but not ready to test it yet |
14:26.53 | tmzt | actually my kernel isn't working now |
14:27.10 | cr2 | why synaptics, and why rpcrouter is D ? |
14:27.12 | tmzt | and I can't figure out why |
14:27.26 | tmzt | synaptics is cap.screen |
14:27.37 | cr2 | on g1 maybe |
14:27.45 | tmzt | yeah |
14:27.54 | cr2 | but i don't have g1 |
14:28.19 | AstainHellbring | I has a g1 |
14:28.38 | AstainHellbring | tmzt can you build me a kernel or link me to one and I'll try on the 800 |
14:29.56 | tmzt | ok, it will take a while to upload |
14:29.57 | cr2 | AstainHellbring: can you checkout the clean git tree ? |
14:30.16 | cr2 | AstainHellbring: i have my own that works, and don't want to break it :) |
14:31.05 | AstainHellbring | cr2 I dont have a box with git on it atm |
14:31.52 | cr2 | ok |
14:31.53 | cr2 | root@htcraphael:~# cat /proc/iomem |
14:31.53 | cr2 | 10000000-158fffff : System RAM |
14:31.53 | cr2 | <PROTECTED> |
14:31.53 | cr2 | <PROTECTED> |
14:31.54 | cr2 | 17100000-17300000 : msm_panel.0 |
14:32.01 | cr2 | 20000000-27ffffff : System RAM |
14:32.01 | cr2 | a0300000-a0300fff : msm_serial_hs.1 |
14:32.01 | cr2 | a0500000-a0500fff : msm_sdcc.2 |
14:32.02 | cr2 | a0800000-a0801000 : msm_hsusb |
14:32.04 | cr2 | a9900000-a9900fff : msm_i2c.0 |
14:32.06 | cr2 | <PROTECTED> |
14:32.08 | cr2 | aa200000-aa2effff : mdp |
14:32.10 | cr2 | aa600000-aa600fff : msm_mddi.0 |
14:32.20 | cr2 | framebuffer is in sdram |
14:33.45 | cr2 | htc-linux.org doesn't answer again |
14:36.30 | cr2 | the ssbi and tssc are not registered ? |
14:37.05 | cr2 | Blame NetRipper again :) |
14:37.14 | NetRipper | oi, stop blaming me! |
14:37.15 | NetRipper | ;) |
14:37.22 | AstainHellbring | blames NetRipper |
14:37.29 | NetRipper | bastards! |
14:39.52 | cr2 | LOL |
14:41.08 | *** join/#htc-linux maejrep[w] (n=madCoder@smtp-n.myyearbook.com) |
14:42.28 | tmzt | AstainHellbring: people.openezx.org/tmzt/zImage-testraph1 + 2 |
14:42.39 | tmzt | either, both, doesn't matter |
14:42.56 | tmzt | 2 is head htcraphael_defconfig |
14:43.12 | tmzt | 1 is one that didn't work |
14:43.56 | tmzt | no usb detected, and cat /dev/smd1 fails |
14:48.30 | cr2 | smd1 ? |
14:48.49 | tmzt | our ppp |
14:49.14 | AstainHellbring | ok downloaded those |
14:49.15 | tmzt | maejrep mapped it to the correct address |
14:49.39 | AstainHellbring | cr2 did you need something pulled from g1? |
14:50.06 | tmzt | config.gz |
14:50.08 | cr2 | AstainHellbring: can you ssh to g1 as root ? |
14:50.19 | AstainHellbring | should be able to one sec |
14:50.45 | AstainHellbring | booting g1 up now |
14:50.53 | AstainHellbring | has the new spl so it takes bloody forever |
14:51.17 | tmzt | new spl? |
14:52.19 | AstainHellbring | saphire spl port I believe |
14:52.23 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
14:52.38 | AstainHellbring | http://code.google.com/p/sapphire-port-dream/ |
14:52.42 | AstainHellbring | the spl from there |
14:53.17 | tmzt | ah |
14:53.27 | dream_kill | 1.33.2005? |
14:53.38 | AstainHellbring | dream_kill yes |
14:53.46 | dream_kill | is fast for me :P |
14:54.21 | AstainHellbring | for me it takes longer to boot then the old spl |
14:54.25 | dream_kill | the 1.33.2005 has different partitions setup (system is 91 meg compare with 71 meg as original) |
14:54.27 | AstainHellbring | dream_kill what rom you running? |
14:54.50 | dream_kill | don't ask ;) |
14:54.58 | dream_kill | h**o :P |
14:54.58 | AstainHellbring | bah! |
14:55.12 | dream_kill | beta1 :P |
14:55.40 | AstainHellbring | beta1 huh |
14:55.43 | AstainHellbring | not this one: http://forum.xda-developers.com/showthread.php?t=521059 |
14:55.53 | dream_kill | that one is older :P |
14:55.55 | cr2 | btw, what gX libararies are closed source ? |
14:56.18 | dream_kill | ok got to run |
14:56.31 | AstainHellbring | I have a link somewhere to beta4 I think |
14:56.35 | dream_kill | cr2...managed to make nand work ? |
14:57.00 | dream_kill | beta1 was release on 25 may :P |
14:57.03 | tmzt | cr2: gx? |
14:57.13 | cr2 | dream_kill: no. feel tired now. |
14:57.17 | dream_kill | ok |
14:57.19 | cr2 | tmzt: g1/g2 |
14:57.21 | dream_kill | l8er then :P |
14:57.26 | tmzt | oh |
14:57.30 | tmzt | gpu |
14:57.34 | tmzt | audio |
14:57.45 | tmzt | ril |
14:58.09 | cr2 | gps ? |
14:58.14 | cr2 | qcamera ? |
14:58.15 | tmzt | aucustic, what ever that is |
14:58.17 | *** join/#htc-linux xsacha (n=sacha@123.100.137.226) |
14:58.21 | tmzt | not sure |
14:58.27 | tmzt | camera yes |
14:58.28 | cr2 | htc_acoustic |
14:58.31 | cr2 | htc_ril |
14:58.42 | xsacha | hey im back |
14:58.45 | AstainHellbring | ok tmzt ready to try to boot those |
14:58.48 | cr2 | acoustic is your AudioPar/ ADIE ? |
14:59.02 | xsacha | so tmzt, you said there was no defconfig for my phone so i had to use the MSM one.. |
14:59.11 | tmzt | swetland said it was for headsets, so I think yes |
14:59.21 | xsacha | but the kernel i was using before had the msm one with android configs as well.. cant i just use my old kernel? |
14:59.22 | tmzt | xsacha: no |
14:59.35 | tmzt | relevant atuff from it |
14:59.45 | xsacha | yeah that's what i mean |
15:00.02 | xsacha | like CONFIG_BINDER and CONFIG_ASHMEM |
15:00.08 | tmzt | you were using an msm kernel? |
15:00.11 | xsacha | no |
15:00.21 | tmzt | which? |
15:00.24 | xsacha | the kernel source i was using had a defconfig from msm that contained android relevant parts |
15:00.39 | tmzt | what git |
15:00.47 | xsacha | i dunno, it's the one melgurth had |
15:00.53 | xsacha | i just used what he had since he had screen working on it |
15:00.58 | tmzt | I thought you were working on upstream |
15:01.13 | xsacha | i dont know how to find out where he got it from |
15:04.07 | xsacha | well there's much more android stuff in the android one than the one from melgurth anyway |
15:05.07 | *** join/#htc-linux mickey_jaw (n=mike@78-105-123-214.zone3.bethere.co.uk) [NETSPLIT VICTIM] |
15:05.11 | xsacha | ok well you say take the relevant stuff from msm defconfig.. but.. mm which defconfig do i base it on? |
15:05.39 | tmzt | zyl, or some other pxa3xx |
15:05.42 | tmzt | or none |
15:05.53 | xsacha | oh zylonite.. k |
15:06.34 | xsacha | default one is versatile. |
15:09.24 | AstainHellbring | brb gotta reboot |
15:11.33 | xsacha | do i need to disable all MTD stuff again? |
15:11.57 | xsacha | nevermind, it doesnt use MTD.. whew |
15:12.04 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
15:17.51 | xsacha | i dont know if this affects anything, but keyboard and touchscreen seem to be disabled? CONFIG_INPUT_KEYBOARD,.. should i enable? |
15:18.09 | xsacha | i know touchscreen probably still wont work without right driver, but still? |
15:24.37 | xsacha | on the service manual it had TOUCH UNIT (ORA) could ORA be a manufacturer? |
15:27.08 | *** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net) |
15:30.21 | cr2 | <PROTECTED> |
15:30.48 | *** join/#htc-linux syn-fin (n=alien@access68.terremark.com) |
15:35.52 | *** join/#htc-linux MethoS- (n=clemens@host-091-097-242-129.ewe-ip-backbone.de) |
15:36.22 | xsacha | mmm whys it asking me hard questions lol.. enable group scheduler? |
15:44.43 | xsacha | yay! :) |
15:50.00 | xsacha | tmzt: a lot of my pxa files like pxafb tell me to use pxafb257.c instead of pxafb2xx.c for example.. is this important? |
15:50.43 | tmzt | never heard of it |
15:51.03 | tmzt | how many MACH options are enabled now? |
15:51.13 | xsacha | actuall, it's the header file, not the c file |
15:51.30 | xsacha | just the one i hope.. I780 |
15:52.42 | tmzt | defintely keyboard |
15:53.02 | xsacha | k.. keyboard was disabled in zylo... |
15:53.03 | tmzt | touchscreen depends on controller |
15:53.14 | tmzt | probably wm97xx |
15:53.21 | xsacha | yeah, cant just guess the controller? |
15:53.26 | xsacha | try 1, see if it works, etc..? |
15:53.41 | tmzt | yes |
15:53.44 | xsacha | it has to be one of the 6 listed right? |
15:53.54 | xsacha | and it's not synaptics cause they only do multi-touch i think |
15:54.02 | tmzt | and if you have the irq we found |
15:54.22 | xsacha | but we werent sure if that irq was right (pxa2xx... pxa3xx issue) |
15:54.28 | tmzt | it's probably what I said, like omnia |
15:54.36 | xsacha | omnia uses wm97xx? |
15:54.47 | tmzt | for something |
15:54.57 | tmzt | probably sound and ts |
15:55.21 | tmzt | I think the irq was right |
15:58.51 | xsacha | touchscreen IRQ on my phone... GPIO23(87)=1 |
15:59.05 | xsacha | on GEDR0 |
16:00.13 | tmzt | it's under 96 |
16:00.29 | tmzt | it's almost certainly right |
16:00.35 | cr2 | tmzt: ? |
16:00.45 | tmzt | you have to add it to your board |
16:00.48 | cr2 | gpio23 is certainly under 96 ? |
16:01.04 | tmzt | cr2: 3 banks are the same |
16:01.29 | xsacha | arg.. didnt boot.. no filesystem support :P |
16:01.31 | tmzt | in reg-pxa.py and 310 pdf file |
16:01.50 | xsacha | so we dont need to change the python file for 3xx? |
16:02.00 | tmzt | we do |
16:02.13 | xsacha | just to change the names though? register per number or something |
16:02.18 | tmzt | but there is a lot of overlap |
16:02.52 | j0b0 | cr2, pong @ 14:52:25<cr2> j0b0: ping |
16:03.16 | tmzt | for mfp, but gedr is the same for those banks |
16:03.48 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d5a3.pool.einsundeins.de) |
16:04.32 | xsacha | so for the touchscreen.. is it wm9705, 9712, 9713 or i just use xx? |
16:05.34 | tmzt | find a board that uses it and copy |
16:05.44 | tmzt | name has to match |
16:06.05 | xsacha | huh? but am not sure with 97 it is |
16:06.29 | tmzt | it won't hurt anything to try |
16:06.43 | xsacha | wm9713 for omnia says it is an audio codec?? how's that work |
16:06.50 | tmzt | it's an i2c device right? |
16:06.58 | tmzt | adc |
16:07.09 | xsacha | CONFIG_TOUCHSCREEN_WM97XX |
16:07.10 | tmzt | look up the chip |
16:07.17 | tmzt | yes |
16:07.53 | xsacha | so it controls audio and touchscreen? |
16:07.59 | tmzt | it might |
16:08.28 | tmzt | you could try what cr2 said with bootloader |
16:08.44 | tmzt | thought ts and audio aren't always in there |
16:08.50 | tmzt | though |
16:09.00 | xsacha | what was that about bootloader? |
16:09.32 | xsacha | check it for strings? |
16:10.09 | tmzt | that's one way |
16:10.21 | tmzt | you won't get mappings though |
16:10.55 | xsacha | when are they gonna make a touchscreen version of bash :) |
16:13.17 | AstainHellbring | tmzt #1 wouldnt boot for me |
16:15.16 | AstainHellbring | #2 seemed good |
16:17.40 | *** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
16:18.38 | tmzt | 1 won't boot at all? |
16:18.49 | tmzt | did usb work in 2? |
16:18.58 | tmzt | does your pc see it |
16:20.09 | xsacha | this image (from android.git.kernel.org) is much smaller than previous image i used! |
16:20.19 | xsacha | only 2.4MB |
16:21.02 | AstainHellbring | checking now tmzt |
16:21.45 | xsacha | ummm.. m doing something wrong.. "Root-NFS: No NFS Server available, giving up" |
16:23.05 | xsacha | comments out everything to do with NFS |
16:23.26 | tmzt | your missing some configuratios |
16:23.29 | AstainHellbring | tmzt seems like maybe my rom I'm running is pissing off the booting process |
16:23.51 | xsacha | dunno why it attempts to load nfs instead of what i specify as root in my kernel cmdline |
16:23.52 | tmzt | what's it dping? |
16:24.25 | xsacha | i dont need SUNRPC right? (takes a while to compile) |
16:24.37 | tmzt | xsacha: CONFIG_BLOCK_MMC should be it |
16:24.53 | tmzt | you don't need it |
16:25.03 | xsacha | well that'd explain it.. line isnt there at all |
16:25.10 | tmzt | but you kernel is just falling back to nfs |
16:25.34 | tmzt | not sure that's exactly the right name |
16:26.01 | tmzt | you msm_defconfig from a working android branch? |
16:26.03 | xsacha | should CONFIG_MMC be enabled too? |
16:26.08 | tmzt | yes |
16:26.21 | tmzt | the one upstream doesn't work |
16:26.22 | xsacha | ok.. CONFIG_MMC is disabled in msm_defconfig and there's no block_mmc either |
16:26.44 | tmzt | where did you get this kernel? |
16:26.44 | xsacha | im using android.git.kernel.org one |
16:26.49 | tmzt | please |
16:27.04 | xsacha | the one you linked to me |
16:27.08 | tmzt | did you checkout after pull?- |
16:27.26 | tmzt | generic.git? |
16:27.33 | xsacha | mm no |
16:27.50 | tmzt | what's the git you cloned? |
16:28.28 | xsacha | url = git://android.git.kernel.org/kernel/common.git |
16:28.37 | tmzt | cat .git/config |grep url |
16:28.43 | tmzt | yeah ok |
16:28.49 | tmzt | git branch |
16:29.56 | xsacha | yeah |
16:30.05 | xsacha | 2.6.27 |
16:30.08 | tmzt | output? |
16:30.12 | tmzt | master? |
16:30.21 | xsacha | * android-2.6.27 |
16:30.25 | tmzt | what has * |
16:30.27 | tmzt | ok |
16:30.36 | tmzt | oh, yeah |
16:31.05 | tmzt | go into menuconfig and enable what you need |
16:31.18 | xsacha | that'll take forever? :P |
16:31.36 | tmzt | the msm_defconfig is no updated because this isn't an msm tree |
16:31.57 | tmzt | it's missing a lot things |
16:33.26 | xsacha | so i'll just enable things reevant to screen, memory card, touchscreen, keyboard, processor and i780 mmm |
16:34.36 | tmzt | yes |
16:37.09 | xsacha | ahh here we go |
16:37.23 | xsacha | root=/dev/nfs .... nfsroot=192.168.1.100... |
16:38.06 | xsacha | ill leave the default string blank :P |
16:38.19 | tmzt | right |
16:38.47 | tmzt | google/android probably used that on halibut |
16:39.18 | xsacha | mm ill enable bluetooth and wireless |
16:39.33 | *** join/#htc-linux MethoS- (n=clemens@host-091-097-242-129.ewe-ip-backbone.de) |
16:39.56 | tmzt | they probably won't work yet |
16:40.06 | tmzt | it shouldn't hurt though |
16:40.08 | xsacha | yeah, but will add them one day |
16:40.27 | tmzt | I think you have libertas on sdio |
16:40.48 | xsacha | that's wireless? but what's sdio? |
16:41.01 | tmzt | marex might be able to help with that |
16:41.25 | tmzt | treats sd protocal as a periphrial bus |
16:41.36 | marex | no idea ... with what ? |
16:42.02 | tmzt | you have the other portds disabled right now |
16:42.10 | tmzt | marvell wifi |
16:42.12 | xsacha | do i need to enable RAM block device? |
16:43.17 | AstainHellbring | tmzt usb works I see a driver prompt |
16:43.35 | marex | tmzt, join #libertas |
16:46.56 | xsacha | MMC embedded SDIO device support? |
16:47.34 | tmzt | no |
16:47.40 | tmzt | well maybe |
16:48.07 | tmzt | not necessarily requied if it can enumerate |
16:48.29 | xsacha | and no real time clock? |
16:48.49 | tmzt | pxartc or sa1100-rtc |
16:49.23 | xsacha | oh yeah it's down the bottom SA11x0/PXA2xx (NEW) |
16:51.22 | xsacha | why it doesnt let me turn off mouse support? hmmm |
16:51.40 | xsacha | Mice Interface |
16:52.08 | tmzt | where? |
16:52.20 | xsacha | Input device -> Mouse Interface |
16:53.28 | *** join/#htc-linux dcordes-kais (n=dcordes-@ip-77-25-15-100.web.vodafone.de) |
16:55.26 | tmzt | PS/2 mouse? |
16:55.30 | xsacha | yeah |
16:55.46 | xsacha | wont let me disable that |
16:55.52 | tmzt | that shouldn't be enabled |
16:56.09 | tmzt | halibut might have at keyboard port |
16:56.26 | tmzt | do it in .config then |
16:56.31 | xsacha | k |
16:57.17 | xsacha | i have AC97 driver for the pxa2xx chip enabled.. should i enable ASoC too? |
16:57.48 | xsacha | power efficient alsa for battery powered devices? |
16:58.00 | tmzt | you don't have a driver yet |
16:58.16 | xsacha | oh, it's not the same as touchscreen one? |
16:58.20 | tmzt | you can always enable things |
16:58.51 | xsacha | the AC97 driver for pxa2xx wont work? |
16:59.07 | tmzt | it maybe the same chip, but there are usually other things involved |
16:59.11 | xsacha | k |
16:59.23 | tmzt | that's only the dai host |
17:02.00 | xsacha | ah thats why it listed no partitions? needed ms dos partition support? |
17:03.18 | tmzt | yeah |
17:03.36 | tmzt | but you also had no mmc at all |
17:03.46 | tmzt | dos partition |
17:03.48 | tmzt | vfat |
17:03.54 | tmzt | ext2/3 |
17:03.56 | xsacha | :P |
17:04.00 | tmzt | cramfs |
17:04.03 | xsacha | i dont need ext3 though right? |
17:04.12 | tmzt | no |
17:05.11 | *** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
17:05.28 | xsacha | the wm97xx touchscreens dont appear in menuconfig.. so manually i guess |
17:07.25 | xsacha | mm i tried to make Image and it forced me to put the INPUT_MOUSEDEV back |
17:09.44 | tmzt | don't think that's a problem |
17:10.08 | tmzt | did you enable i2c? |
17:10.12 | xsacha | just weird i didnt need it before. now when i boot up it says initialising PS/2 :) |
17:10.18 | xsacha | yeah i enabled i2c |
17:10.50 | tmzt | so you need to add some stuff to your board |
17:11.20 | xsacha | CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_HELPER_AUTO=y |
17:11.30 | tmzt | find one with wm97xx and copy the code |
17:11.35 | xsacha | k |
17:11.44 | tmzt | right, board info |
17:11.59 | tmzt | pxa i2c as well? |
17:12.49 | xsacha | oops no.. didnt see that there |
17:13.47 | tmzt | I skip menuconfig and read Kconfig's now |
17:14.08 | xsacha | i780.c: wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO26); <-- this is a relic from zylonite |
17:14.08 | tmzt | the layout on arm makes no sense to me |
17:14.14 | tmzt | pc was fine |
17:14.45 | xsacha | zylonite is the only other pxa board with wm97xx |
17:15.24 | tmzt | copy that back then |
17:15.29 | xsacha | in fact the only other board in arm with it |
17:15.39 | tmzt | sorry if I had you remove it |
17:15.45 | xsacha | it's still there :) |
17:15.45 | tmzt | upstream, yeah |
17:15.52 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-5d87d423.pool.einsundeins.de) |
17:16.04 | tmzt | fix the irq/gpio then |
17:16.12 | xsacha | it wont be the same? |
17:16.13 | AstainHellbring | tmzt did you need stuff from me still? |
17:16.28 | xsacha | wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO26) |
17:16.34 | tmzt | address should be standard, maybe not |
17:16.44 | tmzt | huh |
17:16.52 | tmzt | never seen that before |
17:17.09 | tmzt | AstainHellbring: anything in dmesg when booting? |
17:17.43 | xsacha | zylonite has a different gpio for pxa320 (15) and pxa300/310 (26) |
17:18.10 | xsacha | <xsacha> touchscreen IRQ on my phone... GPIO23(87)=1 |
17:18.14 | tmzt | that's beacause there are two or three zyl's |
17:18.18 | tmzt | yeah |
17:18.34 | xsacha | so it should be MFP_PIN_GPIO23 on my phone? |
17:18.37 | tmzt | we probably need e mfp thing though |
17:18.43 | tmzt | yes |
17:19.00 | tmzt | I think, this changed in 3xx |
17:19.52 | tmzt | <PROTECTED> |
17:19.53 | tmzt | mfp_to_gpio(MFP_PIN_GPIO26) |
17:20.06 | xsacha | <PROTECTED> |
17:20.10 | tmzt | like that |
17:20.23 | tmzt | but your GPIO |
17:20.26 | xsacha | k |
17:20.41 | tmzt | it's because the gpio can move on 3xx |
17:20.46 | tmzt | it's weird |
17:20.51 | xsacha | lol |
17:21.34 | xsacha | im not sure what the wm9713_irq then goes on to do.. |
17:21.46 | xsacha | cause then it init's i2c and nothing happens after |
17:22.05 | tmzt | when you touch the screen it fires |
17:22.13 | xsacha | but that variable never gets used? |
17:22.17 | tmzt | causing the driver to be called |
17:22.27 | tmzt | irq - interrupt request |
17:22.41 | tmzt | kernel handles that part |
17:22.49 | tmzt | and the driver |
17:22.51 | xsacha | i mean where does int wm9713_irq get used? cant see any function taking it |
17:23.06 | tmzt | in a different file |
17:23.17 | xsacha | hmm k |
17:23.28 | tmzt | drivers/input/touchscreen |
17:23.40 | AstainHellbring | tmzt nothing special about dmesg that I saw... |
17:23.41 | tmzt | or drivers/i2c/chips |
17:24.00 | tmzt | AstainHellbring: no usb device? cdc-ether, etc? |
17:24.04 | tmzt | lsusb |
17:24.11 | tmzt | ifconfig usb0 |
17:24.36 | tmzt | that's the problem, it's not showing up on the bus |
17:25.06 | tmzt | if you unplug/replug usb it should print some messages |
17:25.13 | tmzt | mine wasn't |
17:25.31 | xsacha | it asked me: Intel PXA2XX I2C Slave comms support (I2C_PXA_SLAVE) [N/y/?] (NEW) |
17:26.01 | *** join/#htc-linux BabelO__ (n=fcr@193.253.141.89) |
17:26.42 | xsacha | going with default i guess |
17:28.44 | xsacha | think there might be an issue with that sa1100-rtc.. it sets my clock to 1970 |
17:28.49 | tmzt | n |
17:29.06 | tmzt | windows sets it wrong |
17:29.18 | tmzt | the new driver should work though |
17:29.27 | tmzt | disable the old one |
17:29.32 | xsacha | input: wm97xx touchscreen as /class/input/input1 :D |
17:29.45 | tmzt | and no i2c slave, only if you know you need it |
17:29.50 | tmzt | yay |
17:29.57 | AstainHellbring | tmzt I need to switch from android as my os to boot from zimage |
17:29.58 | xsacha | ALSA device list: #0: pxa2xx-ax97 (Wolfson WM9713, WM9714) |
17:30.07 | tmzt | cat /dev/input/event1 |
17:30.15 | xsacha | cant, kernel panicked |
17:30.27 | xsacha | cant open root device "mmcblk0p2" |
17:30.43 | tmzt | oh |
17:31.03 | tmzt | can ypu diff this config with your old on? |
17:31.17 | xsacha | yeah was thinking about that.. some mmc option i must be missing |
17:32.05 | tmzt | <PROTECTED> |
17:32.16 | tmzt | great |
17:32.30 | xsacha | what about these? < CONFIG_EXT2_FS_POSIX_ACL=y < CONFIG_EXT2_FS_SECURITY=y < CONFIG_EXT2_FS_XIP=y |
17:32.43 | xsacha | oh those are new things i added in this kernel |
17:32.45 | tmzt | woah, it sees you codec? |
17:32.50 | xsacha | yeah it does :) |
17:33.13 | tmzt | the one thing ac97 is good for |
17:33.17 | tmzt | <PROTECTED> |
17:33.33 | xsacha | ohh i know why clock isnt working |
17:33.35 | xsacha | > CONFIG_RTC_DRV_PXA=y |
17:33.42 | xsacha | instead of the SA1100 |
17:33.47 | tmzt | no |
17:33.52 | tmzt | well maybe |
17:33.59 | xsacha | clock worked in last imag |
17:34.14 | tmzt | it could be the old one that's compatible with win ce |
17:34.15 | tmzt | ok |
17:35.01 | xsacha | yeah it would be these options.. ill add them in: > CONFIG_MMC_PXA=y > CONFIG_MMC_SDHCI=y > CONFIG_MMC_SPI=y |
17:35.19 | tmzt | yeah |
17:35.33 | tmzt | I gues it's not mci then? |
17:35.39 | tmzt | no |
17:35.46 | tmzt | you don't need those |
17:36.00 | xsacha | oh? |
17:36.09 | tmzt | especially the last one |
17:36.25 | xsacha | last one only for SD controller? |
17:36.27 | tmzt | you have pxa-mci |
17:36.49 | tmzt | the first one is your driver |
17:37.06 | xsacha | i mean middle one |
17:37.32 | xsacha | do i need this? > CONFIG_SPI_PXA2XX=y |
17:37.33 | tmzt | mci is a version of it I think |
17:37.39 | tmzt | yes |
17:38.59 | xsacha | power management? CONFIG_PXA_PWM |
17:40.13 | tmzt | backlight probably |
17:40.18 | tmzt | maybe |
17:40.29 | tmzt | just enable it here |
17:42.16 | xsacha | well ill try it now |
17:43.39 | xsacha | so i dont need? Secure Digital Host Controller Interface support (MMC_SDHCI) [N/m/y/?] n |
17:43.41 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf9264.pool.einsundeins.de) |
17:43.58 | tmzt | I think you have to write a driver to expose it sysfs |
17:44.06 | tmzt | no |
17:44.09 | xsacha | k |
17:44.41 | tmzt | there is something wrong but that's not it |
17:46.37 | xsacha | yay! :) |
17:46.41 | xsacha | it ran init |
17:46.50 | tmzt | good |
17:46.55 | xsacha | new kernel panic :D |
17:46.56 | tmzt | try the ts |
17:47.04 | xsacha | (im running android init) |
17:47.05 | tmzt | what is it? |
17:47.27 | xsacha | Unable to load NLS charset FAT: codepage cp437 not found |
17:47.36 | tmzt | yeah, that's not a good one for working with hardware |
17:47.42 | tmzt | that panic'd? |
17:47.43 | xsacha | thats after it did a stat64 on dbus-daemon |
17:47.45 | xsacha | yes |
17:48.02 | tmzt | you need to enable that |
17:48.15 | xsacha | k, in the extended filesystems somewhere |
17:48.29 | tmzt | but it means your init has gotten further than I thought |
17:48.34 | tmzt | what? |
17:48.35 | xsacha | yay! |
17:48.49 | xsacha | further than reading the config files? |
17:48.58 | tmzt | probably |
17:49.22 | tmzt | unless you have an explicit mount command |
17:49.31 | tmzt | no this makes sense |
17:49.40 | tmzt | was it killing init? |
17:49.42 | xsacha | no mounting done |
17:49.46 | xsacha | yeah killed init |
17:50.01 | tmzt | nls normally won't panic |
17:50.26 | tmzt | the init is doing the commands in sequence |
17:50.34 | tmzt | then |
17:50.45 | xsacha | < CONFIG_VFAT_FS=y < CONFIG_FAT_DEFAULT_CODEPAGE=437 < CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
17:50.53 | tmzt | one is failing and init segfaults |
17:51.05 | xsacha | those are things the new kernel has, the old one doesnt |
17:51.09 | tmzt | just run oldconfig now |
17:52.03 | tmzt | it's not normal to require this much work to config the kernel |
17:52.22 | xsacha | mm |
17:52.30 | xsacha | old config? |
17:52.49 | tmzt | ARCH=arm make oldconfig |
17:52.49 | *** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
17:53.49 | xsacha | k |
17:54.45 | xsacha | use that Image? |
17:55.50 | *** join/#htc-linux surge (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) |
17:55.55 | xsacha | strange, it didnt update my Image |
17:56.36 | xsacha | <PROTECTED> |
17:58.01 | tmzt | are you make zImage or Image? |
17:58.06 | xsacha | Image |
17:58.21 | tmzt | now I get what you meant about the size |
17:58.26 | tmzt | use zImage |
17:59.36 | xsacha | umm.. make isn't compiling anything anymore :( |
17:59.54 | xsacha | was it meant to change? |
18:00.25 | xsacha | it just copied Image to zImage with piggy.gz |
18:01.25 | tmzt | what? |
18:01.38 | tmzt | yeah |
18:01.46 | tmzt | it compressed it |
18:02.02 | xsacha | but i mean what was make oldconfig for? |
18:02.16 | tmzt | to fix your selects |
18:02.25 | tmzt | did it ask anything? |
18:02.31 | xsacha | no |
18:02.36 | xsacha | does this make a difference?< CONFIG_NLS_DEFAULT="iso8859-1" -- |
18:02.38 | xsacha | <PROTECTED> |
18:02.38 | tmzt | ok |
18:02.50 | tmzt | maybe |
18:03.18 | tmzt | it loks like that caused the panic in that case |
18:03.37 | xsacha | ill try again now |
18:05.41 | xsacha | super fast boot time |
18:05.50 | xsacha | new kernel panic |
18:06.14 | tmzt | with zImage? |
18:06.24 | xsacha | after stat64("/system/bin/playmp3".... sh: can't access tty; job control turned off |
18:06.27 | xsacha | yeah zImage.. |
18:06.31 | tmzt | ok |
18:06.42 | xsacha | which config is job control.. ? lol |
18:06.44 | tmzt | what's the panic though? |
18:06.58 | xsacha | seg fault.. kernel panic: attempted to kill init! |
18:06.59 | tmzt | your are in a shell |
18:07.13 | tmzt | comment out playsound |
18:07.28 | xsacha | where is playsound? |
18:07.28 | tmzt | that probably caused the segfault |
18:07.39 | tmzt | not sure |
18:07.48 | tmzt | it's not in init.rc? |
18:07.58 | tmzt | your are in a shell |
18:08.04 | tmzt | sorry |
18:08.14 | xsacha | it stat'ed the following files: debuggerd, rild, app_process, mediaserver, playmp3... PANIC! :) |
18:08.26 | tmzt | yeah |
18:08.46 | tmzt | so comment it out |
18:08.58 | tmzt | oneshot probably |
18:09.02 | xsacha | oh it has a SIGCHILD (Child exited) before segfault |
18:09.11 | tmzt | ok |
18:09.57 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
18:10.54 | xsacha | should i comment out the whole playsound service or just 'oneshot' ? |
18:11.09 | tmzt | the whole lines |
18:11.12 | xsacha | this segfault is due to bad sound driver? |
18:11.23 | tmzt | it doesn't work anyway |
18:11.24 | tmzt | no |
18:11.30 | xsacha | oh ok |
18:11.41 | tmzt | lack of qdsp I think |
18:12.48 | xsacha | cool.. the trace went on forever... i saw a sort of splash screen maybe? like A N D R O I D? |
18:13.04 | tmzt | good |
18:13.13 | tmzt | get the pxafb patch now |
18:13.15 | xsacha | but i got a new segfault with FAT: IO charset iso8859-1 not found |
18:13.25 | tmzt | then you will have android |
18:13.50 | xsacha | (i had just changed it from -1 to -2 like the other kernel had) |
18:14.11 | tmzt | CONFIG_NLS |
18:14.17 | xsacha | and i thought that resolved the first error? :\ |
18:15.03 | tmzt | CONFIG_NLS_DEFAULT="iso8859-1" |
18:15.07 | xsacha | k |
18:15.23 | tmzt | CONFIG_NLS_CODEPAGE_437=y |
18:15.23 | xsacha | thats what it was originally, yeah |
18:15.29 | xsacha | so ill set it back |
18:15.33 | tmzt | that works |
18:15.42 | tmzt | msdos codepage |
18:15.58 | tmzt | oh |
18:16.10 | tmzt | CONFIG_NLS=y |
18:16.30 | tmzt | CONFIG_NLS_ISO8859=y |
18:16.47 | xsacha | the android splash screen is meant to be graphical like in the emulator? it's in text because need pxafb patch? |
18:17.01 | tmzt | yes |
18:17.14 | tmzt | surfaceflinger won't start |
18:17.44 | tmzt | CONFIG_VFAT_FS=y |
18:17.54 | xsacha | yeah got all those :) |
18:18.18 | tmzt | CONFIG_FAT_DEFAULT_CODEPAGE_437=y |
18:18.36 | xsacha | yep :) |
18:18.47 | tmzt | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
18:18.56 | tmzt | that's all |
18:19.06 | xsacha | booting.. |
18:19.11 | tmzt | get the patch then |
18:19.22 | xsacha | damn! |
18:19.41 | xsacha | futex(0x40001004, FUTEX_WAKE, .... |
18:19.42 | tmzt | then you have to ad support for configuring ts |
18:19.45 | xsacha | seg fault |
18:19.54 | tmzt | where? |
18:20.03 | tmzt | still panic? |
18:20.06 | xsacha | yes |
18:20.56 | xsacha | it stat mediaserver, then clock get time, then futex when it crashes |
18:21.44 | tmzt | take out strace |
18:21.59 | tmzt | it might slow it down too much |
18:22.21 | xsacha | k |
18:24.23 | xsacha | now i get A N D R O I D Kernel Panic - not syncing: Attempted to kill init! |
18:25.07 | xsacha | and i can see an error about the rtc device not existing |
18:25.20 | tmzt | start commenting thing out in init.rc |
18:25.59 | tmzt | not dalvik or whatever it is that starts android |
18:26.20 | tmzt | that's a warning |
18:26.44 | xsacha | yeah no /drivers/rtc/htosys.c or something |
18:27.11 | tmzt | htc? |
18:27.28 | tmzt | none of that should be enabled |
18:27.28 | xsacha | i dunno, it's back on winmo now |
18:28.05 | xsacha | well the thing after mediaserver is ... dbus |
18:28.25 | tmzt | leave that |
18:28.27 | xsacha | bluetooth |
18:28.32 | tmzt | what else? |
18:28.40 | xsacha | hcid |
18:29.00 | xsacha | hfag, hsag, |
18:29.08 | xsacha | and lastly installd |
18:30.02 | tmzt | comment mediaserver |
18:30.02 | j0b0 | evening |
18:30.02 | tmzt | no shell process? |
18:30.02 | j0b0 | my git is busted |
18:30.02 | j0b0 | error: bad index file sha1 signature \ fatal: index file corrupt |
18:30.02 | xsacha | shell? no |
18:30.02 | tmzt | j0b0: you know this stuff? |
18:30.03 | tmzt | ah |
18:30.03 | j0b0 | is there a way to repair it or to export all local branches and re-import in a new clone? |
18:30.16 | xsacha | zygote is before mediaserver |
18:30.20 | tmzt | you can clone a local repo |
18:30.49 | j0b0 | clone the corrupt repo into a new directory? |
18:30.50 | tmzt | zygote is android, won't work without it very well |
18:30.55 | xsacha | :) |
18:30.58 | tmzt | yeah |
18:31.06 | j0b0 | will try. thanks |
18:31.24 | tmzt | then copy .git/config |
18:31.29 | tmzt | and pull |
18:31.46 | xsacha | i have 2: pxa2xx-mci.0:unable to stop clock.. think they matter? |
18:31.57 | xsacha | it still panicks |
18:31.59 | tmzt | not now |
18:32.17 | tmzt | remove bluetooth |
18:32.20 | tmzt | comment |
18:33.15 | xsacha | so the whole dbus? |
18:33.20 | tmzt | could be something in default.rc |
18:33.28 | tmzt | not yet |
18:33.38 | tmzt | prop |
18:33.55 | tmzt | if it's looking for qemud |
18:34.09 | xsacha | service dbus /system/bin/dbus-daemon --system --nofork socket dbus stream 660 bluetooth bluetooth user bluetooth group bluetooth net_bt_admin |
18:34.32 | tmzt | check default .prop and see if qemu anything is 1 |
18:34.41 | tmzt | leave that |
18:34.44 | xsacha | ro.secure=1 ro.debuggable=1 persist.service.adb.enable=1 |
18:34.53 | tmzt | those are just groups |
18:34.57 | tmzt | no |
18:35.00 | xsacha | nothing else is in default.prop |
18:35.22 | tmzt | move the goldfish files off of sd |
18:35.38 | xsacha | init.goldfish.rc and the ones in /etc? |
18:35.56 | xsacha | one* |
18:36.12 | tmzt | what's in there? |
18:36.22 | xsacha | init.goldfish.rc |
18:36.31 | xsacha | .sh in the /etc folder |
18:37.00 | tmzt | name? |
18:37.07 | xsacha | init.goldfish.sh |
18:37.23 | tmzt | what's in it? |
18:37.55 | xsacha | starts net, then qemud=`getprop.ro.kernel.android.qemud` |
18:38.24 | xsacha | and sets dns |
18:38.24 | tmzt | add back stace as strace -ff |
18:38.29 | tmzt | try again |
18:38.46 | xsacha | do i keep the goldfish.rc in root? |
18:38.52 | tmzt | I don't think it's running |
18:38.58 | tmzt | move that |
18:39.07 | tmzt | somewhere else |
18:39.17 | xsacha | but keep the shell file? |
18:39.25 | tmzt | yeah |
18:40.03 | xsacha | strace -ff without the -p 1? |
18:41.43 | tmzt | no |
18:41.54 | tmzt | forgot we did that |
18:42.08 | tmzt | add -ff there |
18:42.21 | xsacha | hmmm? |
18:42.36 | xsacha | reads the man |
18:43.20 | tmzt | wrong command? |
18:43.24 | xsacha | so just strace -ff & ? |
18:43.30 | tmzt | no |
18:43.49 | tmzt | strace -ff -p 1 & |
18:44.04 | tmzt | it follows subprocesses |
18:44.17 | xsacha | k, cause before we only saw what init did |
18:44.38 | xsacha | and output to tty0? |
18:44.46 | tmzt | yes |
18:45.38 | xsacha | AHA! |
18:45.56 | xsacha | where do i start.. |
18:46.13 | tmzt | segfault |
18:46.18 | xsacha | .. /system/lib/libreference-ril.so (Permission Denied) |
18:46.26 | xsacha | heaps of files it cant find |
18:46.41 | tmzt | did I say to comment that? |
18:46.42 | xsacha | tries to access mmcblk0p1p7, p8, p9 |
18:46.59 | tmzt | it will do that |
18:47.40 | xsacha | then p=428 does poll ( <unfinished ...> and then futex on pid = 1 resumes and SEGFAULT |
18:48.14 | tmzt | what program? |
18:48.33 | xsacha | cant tell |
18:49.16 | tmzt | check man, include open, fork, exec, read, write |
18:49.20 | xsacha | it's the one that searches for mmcblk0p1p7.. |
18:49.29 | tmzt | mountd? |
18:49.35 | xsacha | it gets returned to by 429 |
18:49.42 | tmzt | comment that |
18:49.43 | xsacha | and then all it does is check those |
18:50.21 | tmzt | this isn't 1.5 then? |
18:50.24 | xsacha | 1.1 |
18:50.29 | tmzt | ok |
18:50.39 | tmzt | vold repla |
18:50.44 | tmzt | <PROTECTED> |
18:51.21 | xsacha | this? service mountd /system/bin/mountd socket mountd stream 0660 root mount |
18:54.08 | xsacha | now it panicks while reading some binary file |
18:54.25 | xsacha | licicui18n.so |
18:54.29 | xsacha | lib* |
18:55.55 | xsacha | pid=420 begins to read it, it gets SIGCHLD (child exited), then pid=420 begins to read again and it shows 4KB |
18:56.26 | xsacha | then it does a seek to -8 from end.. and then does a read where it segfaults |
18:57.02 | xsacha | i dont know why it would seek to the end and then do a read |
18:58.15 | tmzt | normal trick |
18:59.09 | xsacha | wouldnt it go over the end? |
18:59.47 | tmzt | we need to debug then |
18:59.53 | tmzt | man gdbserver |
19:00.25 | xsacha | tty0 --attach 420? |
19:00.33 | xsacha | when 420 exists.. |
19:01.24 | tmzt | no |
19:01.44 | tmzt | you need a copy for the phone anyway |
19:02.23 | tmzt | I think you can use it start a process and wait for the debugger to connect |
19:02.45 | tmzt | but we have a few issues here |
19:02.58 | tmzt | you can't debug init directly |
19:05.02 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
19:05.14 | xsacha | how do i connect to laptop? |
19:05.35 | tmzt | plug in the usb |
19:05.45 | xsacha | thatll work? |
19:06.07 | tmzt | we don't have an android function driver so we'll have to use g_ether |
19:06.14 | tmzt | it should |
19:06.53 | *** join/#htc-linux WigglerAway (n=james@92-235-224-158.cable.ubr12.stav.blueyonder.co.uk) |
19:07.25 | tmzt | the thing is crashing a service shouldn't bring down init anyway |
19:08.07 | tmzt | normally logcat will tell you the problem, what service is crashing |
19:09.07 | xsacha | mm booting up angstrom to test all those devices right now |
19:09.16 | tmzt | but tge kernel is crashing and we don't have a chance |
19:09.22 | tmzt | ok |
19:09.26 | tmzt | add |
19:09.54 | tmzt | Drivers Usb Gadget Network |
19:10.00 | tmzt | and PXA |
19:10.18 | tmzt | will make it easier |
19:10.56 | tmzt | angstrom should have the corect stuff in /etc/network/interfaces |
19:11.09 | tmzt | but check the ip |
19:11.37 | xsacha | drivers/usb/gadget/... |
19:12.07 | xsacha | cant see any network or pxa |
19:13.10 | tmzt | menuconfig |
19:13.36 | tmzt | do you see gadget? |
19:14.14 | tmzt | you can check Kcondig in there though |
19:14.37 | xsacha | mm no.. no gadget? |
19:15.29 | tmzt | where? |
19:15.34 | xsacha | CONFIG_USB_GADGET i see in config |
19:15.48 | tmzt | ok, =y that |
19:15.57 | tmzt | and do oldconfig |
19:19.01 | xsacha | hmm? |
19:19.07 | xsacha | it deleted the USB_GADGET i stuck in |
19:19.44 | xsacha | there was no CONFIG_USB_GADGET in Kconfig or my original .config.. it was in another machines defconfig tho |
19:20.00 | *** join/#htc-linux marcin_ (n=marcin@chello089077185047.chello.pl) |
19:20.02 | tmzt | delete the is not set line |
19:20.18 | xsacha | there is no is not set line though |
19:20.26 | tmzt | and add the new one- |
19:20.31 | xsacha | E486: Pattern not found: GADGET |
19:20.54 | tmzt | add it |
19:20.56 | xsacha | should i add a new entry to Kconfig? |
19:21.02 | tmzt | no |
19:21.04 | xsacha | cause when i add it to .config, make oldconfig deletes it |
19:21.54 | xsacha | sacha@X ~/androidkernel $ make oldconfig scripts/kconfig/conf -o arch/arm/Kconfig # # configuration written to .config # and it's gone :( |
19:22.01 | tmzt | if you look at Kconfig it should say why |
19:22.23 | xsacha | in Kconfig: E486: Pattern not found: GADGET |
19:22.52 | tmzt | drivers/usb/Kconfig |
19:23.14 | xsacha | E486: Pattern not found: GADGET |
19:23.30 | tmzt | read the file |
19:23.33 | xsacha | it's in drivers/usb/gadget/Kconfig |
19:23.47 | tmzt | yes |
19:24.11 | tmzt | which is why there's source line |
19:25.20 | *** join/#htc-linux RoBaDo (n=RoBaDo@adsl-177-48-fixip.tiscali.ch) |
19:25.54 | j0b0 | tmzt, after cloning the old local repo, all my branches are now remotes/origin/what-they-were. |
19:26.21 | j0b0 | at least i can check them out and produce diffs, so nothing is lost |
19:29.43 | tmzt | I haven't figured out why that is |
19:30.09 | tmzt | if you look at the text files in .git it might make sense |
19:30.34 | *** join/#htc-linux RoBaDo (n=RoBaDo@adsl-177-48-fixip.tiscali.ch) |
19:31.00 | tmzt | I tink you can move them to branches as well |
19:31.14 | tmzt | .git/info |
19:33.17 | xsacha | ok i think i have gadget working now |
19:33.37 | tmzt | good |
19:33.54 | *** join/#htc-linux mib_pdtgvi (i=d4feb130@gateway/web/ajax/mibbit.com/x-a46d5e5c6b01ac32) |
19:34.44 | xsacha | hmm but now i get: led-core.c:(.text+0x47720): undefined reference to `switch_set_state' |
19:34.55 | xsacha | dont think i changed any led stuff |
19:34.58 | j0b0 | that just contains 'exclude'. i think i will just manually export some diffs from the cloned corrupted repo and apply in a fresh clone. it feels safer |
19:35.59 | tmzt | if you cat the branches in the old one you'll see they are sha1's |
19:36.00 | *** join/#htc-linux puregenius (n=chatzill@brln-4d0ced34.pool.mediaWays.net) |
19:36.21 | tmzt | it's simple and complex at the same time |
19:36.58 | tmzt | a little like the internet and dns really |
19:37.11 | tmzt | names for numbers |
19:42.56 | xsacha | 00:00:24.807155 open("/system/lib/libicui18n.so", O_RDONLY|O_LARGEFILE) = 3 00:00:24.808475 lseek(3, -8, SEEK_END) = 754908 00:00:24.809376 read(3, "\0\0@\255PRE ", 8) = 8 |
19:43.36 | tmzt | it stopped ther again? |
19:43.47 | xsacha | still stops there, but that's what it is meant to do |
19:43.51 | xsacha | on mine it doesnt do that |
19:44.26 | xsacha | on mine it opens file, reads / sigchld exit, then it starts process again, reads from file, seeks, then reads, sigfault |
19:45.18 | tmzt | if comment out mouuntd does it still panic? |
19:45.27 | tmzt | what lib again? |
19:45.34 | xsacha | yeah we commented out mountd before |
19:45.39 | *** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl) |
19:45.41 | xsacha | to fix other problem |
19:45.52 | tmzt | so it's another program? |
19:46.00 | xsacha | libicui18n.so |
19:46.07 | xsacha | is file it tries to read |
19:46.52 | tmzt | run file on that |
19:47.39 | tmzt | can you dind out what program? |
19:47.55 | tmzt | even grep -ra if needed |
19:48.03 | xsacha | apparently /system/bin/runtime |
19:48.20 | xsacha | whatever that is |
19:48.44 | *** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it) |
19:48.45 | xsacha | i think it's init |
19:49.48 | xsacha | libicui18n.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped |
19:50.25 | xsacha | same as all others |
19:51.20 | tmzt | and strings |grep lib? |
19:52.24 | xsacha | libicuuc.so libicudata.so libc.so libstdc++.so libm.so libicui18n.so |
19:53.12 | tmzt | what is runtime? |
19:53.44 | xsacha | it's init i think |
19:54.03 | xsacha | other people have /system/bin/runtime instead of init |
19:54.26 | xsacha | anyway my kernel isnt compiling with gadget |
19:54.38 | tmzt | is ini a symlink? |
19:54.44 | xsacha | no |
19:54.49 | tmzt | errors |
19:55.06 | xsacha | led-core.c:(.text+0x47720): undefined reference to `switch_set_state' |
19:55.16 | xsacha | in drivers/builtin.o |
19:55.48 | xsacha | no idea how gadget affected leds |
19:58.33 | tmzt | grep GADGET .config , only pate the used ones here |
19:59.02 | tmzt | do you have CONFIG_INPUT? |
19:59.14 | xsacha | yeah |
20:00.22 | xsacha | CONFIG_USB_GADGET_M66592=y # CONFIG_USB_GADGET_PXA27X is not set grr it keeps changing this! |
20:00.48 | xsacha | GADGET, DUALSPEED, SELECTED and PXA27X |
20:00.54 | tmzt | is there one for 3xx? |
20:00.57 | xsacha | no |
20:01.16 | tmzt | that should work yhen |
20:01.28 | tmzt | check Kconfig for deps |
20:01.32 | xsacha | im thinking something to do with LEDs came u |
20:01.41 | tmzt | rm drivers/builtin.o |
20:01.51 | tmzt | triggers |
20:03.32 | xsacha | i disabled LED thing and now i get |
20:03.38 | xsacha | pxamci.c:(.text+0x47720): undefined reference to `switch_set_state' |
20:03.51 | xsacha | seems a lot of things wanted this switch set state |
20:05.56 | tmzt | CONFIG_SW? |
20:06.18 | tmzt | git grep that |
20:06.30 | xsacha | SWAP? |
20:06.40 | tmzt | no |
20:06.44 | xsacha | switch? |
20:06.50 | tmzt | yes |
20:07.03 | xsacha | disabled |
20:07.06 | tmzt | enable led |
20:07.14 | tmzt | enable that |
20:07.33 | xsacha | k |
20:08.30 | *** join/#htc-linux MLM_ (n=mlvdmeid@meide.xs4all.nl) |
20:08.44 | *** join/#htc-linux RBCS (n=Rbcs@adsl-177-48-fixip.tiscali.ch) |
20:09.15 | xsacha | that worked! :) |
20:09.38 | tmzt | yay |
20:10.39 | *** part/#htc-linux RoBaDo (n=RoBaDo@adsl-177-48-fixip.tiscali.ch) |
20:11.57 | xsacha | how do i test my touchscreen @ /class/input/input1? |
20:13.19 | xsacha | "setting pen detect pull-up to 8000 Ohms" hmm |
20:16.10 | xsacha | mm /dev/input/uinput? |
20:20.28 | *** join/#htc-linux RBCS (n=Rbcs@adsl-177-48-fixip.tiscali.ch) |
20:23.36 | tmzt | BabelO: can you join #xda-devs ? |
20:23.53 | tmzt | xsacha: sorry? |
20:24.53 | tmzt | it appears to work |
20:25.33 | tmzt | cat /dev/input/event1 |
20:25.39 | tmzt | touch screen |
20:27.52 | xsacha | so it's a problem i dont have that dev? |
20:28.01 | xsacha | i only have mice in /dev/input |
20:28.52 | tmzt | ignore that |
20:29.23 | tmzt | ls /sys/class/input |
20:29.39 | tmzt | you're missing evdev it looks like |
20:29.52 | tmzt | but ls anyway |
20:29.58 | xsacha | ohh |
20:30.01 | tmzt | it could be mdev |
20:30.26 | xsacha | INPUT_EVDEV? |
20:30.45 | tmzt | BabelO: oh, wasn't sure, sorry |
20:31.07 | tmzt | xsacha: yes |
20:31.10 | BabelO | tm:) |
20:31.18 | BabelO | tmzt: no problem |
20:31.24 | xsacha | well /sys has nothing in it btw |
20:31.49 | tmzt | mount -t sysfs sys /sys |
20:32.09 | tmzt | unless your missing that config as well |
20:32.13 | xsacha | aha |
20:32.38 | tmzt | in which case you defconfig is very broken |
20:32.57 | xsacha | mount worked.. |
20:33.14 | tmzt | it's not in /etc/fstab ? |
20:33.40 | xsacha | there is no fstab on android |
20:34.00 | tmzt | I thought you where in angstrom |
20:34.02 | xsacha | im running busybox on android (instead of android) |
20:34.08 | xsacha | yeah i switched :P |
20:34.36 | xsacha | angstrom didnt have one either though |
20:34.39 | tmzt | uncomment that mount in init.rc |
20:34.56 | xsacha | there is no mount in init.rc :\ |
20:35.23 | tmzt | your running init=/bin/sh ? |
20:35.35 | tmzt | so no init at all |
20:35.53 | tmzt | and no specials except the ones we made |
20:35.55 | xsacha | yes |
20:36.17 | xsacha | mm input1 is a folder |
20:36.27 | tmzt | cat /sys/class/input/event1/dev |
20:36.57 | xsacha | no dev |
20:37.04 | xsacha | oh event1 |
20:37.14 | xsacha | you mean input1 |
20:37.32 | tmzt | cat /sys/class/input/event1/name |
20:37.33 | tmzt | no |
20:37.57 | xsacha | ls /sys/clas/input input0 input 1 mice |
20:38.47 | xsacha | using input 1, if i cat name i get: wm97xx touchscreen |
20:39.20 | tmzt | .config, INPUT_DEVICE or whatr evdev is |
20:39.33 | xsacha | k |
20:39.48 | tmzt | your ts probably works |
20:40.26 | tmzt | android won't work without some patches |
20:40.38 | xsacha | k |
20:40.48 | tmzt | zaurus android sjould have them |
20:41.10 | par | yeah thats my prob too i find myself moving over a bunch of stuff from angstrom to lenny |
20:41.24 | tmzt | I have something else for you to try that doesn't though |
20:41.42 | tmzt | par: have any of your code still? |
20:41.55 | tmzt | for android on pxa |
20:43.07 | xsacha | compiled evdev in.. input still blank |
20:43.44 | tmzt | which? |
20:43.57 | xsacha | inpu_evdev |
20:43.59 | par | oh i never did any of that, i'm not a coder |
20:44.17 | par | some guy nmaed ffetsomething or other did it.. i'll see if i can find it |
20:44.27 | tmzt | par: I mean do you have, remember how to patch, etc. |
20:44.59 | tmzt | xsacha: sys or dev? |
20:45.17 | xsacha | oh dev.. it's in sys like you showed before |
20:45.21 | par | Fbettag |
20:45.23 | xsacha | cat dev gives 13:65 |
20:45.28 | xsacha | whatever that means |
20:45.33 | par | and it was just Android 1.0 |
20:45.34 | tmzt | mknod c that |
20:45.49 | tmzt | par: looking for pxafb patch |
20:45.52 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
20:45.58 | tmzt | not userspave |
20:46.24 | par | http://forum.xda-developers.com/showthread.php?t=415665 |
20:46.28 | xsacha | mknod c.. what? |
20:46.47 | par | theres a rootfs.. i'm trying to see if there is a link for any of the code anywhere |
20:46.58 | tmzt | mknod /dev... c major minor |
20:47.28 | xsacha | yeah i got the dev and c part.. not the major and minor :) |
20:49.13 | tmzt | major:minor |
20:49.18 | *** join/#htc-linux lama_ (i=lama@netbsd.pl) |
20:49.21 | tmzt | from dev |
20:49.37 | par | - took the Kernel from handhelds.org (2.6.21-hh20) with |
20:49.37 | par | htcblueangel_defconfig |
20:49.37 | par | - patched it with http://android-on-n8xx.googlecode.com/files/linux-2.6.21_rx-34_androi... |
20:49.37 | par | <PROTECTED> |
20:49.37 | par | android.diff is for 2.6.23 and causes some trouble. |
20:49.38 | par | - activated Android specific settings and compiled it |
20:49.40 | par | - created the userland-img like in http://www.alextreme.org/drupal/?q=android_on_n810 |
20:49.42 | par | - used haret to boot the kernel off the sd-card (mostly copied from |
20:49.44 | par | angstrvm) |
20:50.09 | par | we can look at the patches he used |
20:51.07 | par | looks like he mostly patched from the n810 |
20:52.24 | xsacha | 13, 65? |
20:52.52 | xsacha | my keyboard cant do numbers other than 0 and 1 :P |
20:53.38 | par | look at fbettag's post here: http://tinyurl.com/m3qh8x |
20:55.03 | par | jeez, he's booting with an omap kernel? 2.6.21-hh20-omap1 |
20:55.35 | par | probably just says that cuz was never changed |
20:55.50 | par | CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE), cr=0000397f |
20:56.47 | par | unfortunately none of that has anything about the framebuffer |
20:57.07 | par | and in fact the screen is all messed off even when you boot tht |
20:57.48 | xsacha | android loads? |
20:58.37 | par | try it.. just go to that tinyurl link i posted and make an sd card |
20:59.29 | par | loads but plenty of stuff is messed up and needs fixin |
20:59.38 | par | including the screen |
21:00.15 | tmzt | xsacha: it's what telnet is for |
21:00.58 | xsacha | major minor is 13, 65? |
21:02.37 | tmzt | whatever dev said |
21:02.47 | xsacha | ohhhh |
21:03.08 | tmzt | try the n8x0 userland |
21:03.22 | tmzt | yours seems broken |
21:03.24 | xsacha | i read that post but looks like he didnt get it working? |
21:03.50 | *** join/#htc-linux sdt555 (n=titus@147.145.40.44) |
21:03.55 | *** part/#htc-linux sdt555 (n=titus@147.145.40.44) |
21:04.01 | tmzt | talk to solca in #android or look up nitdroid project |
21:09.23 | par | well the ts doesnt' work.. navigation is by the dpad |
21:10.48 | par | an keyboard works |
21:15.56 | par | found some stuff , including that patch here: http://alextreme.org/android/ |
21:16.22 | tmzt | it's omap though |
21:16.39 | tmzt | we can use that userland build |
21:16.48 | tmzt | but not kernel |
21:16.53 | par | yah |
21:17.19 | tmzt | we either need to use zaurus one or write it again |
21:17.49 | tmzt | not that hard, could even be faster on pxa310 |
21:18.30 | par | i'm just looking at their patch |
21:18.47 | par | mostly its omap stuff |
21:19.04 | par | he just used a kernel built from hh20 for ba |
21:20.02 | tmzt | why? |
21:20.42 | cr2 | looking for a wince expert now :) |
21:21.05 | cr2 | wince programming, to be more accurate |
21:22.17 | par | +# CONFIG_ARCH_PXA is not set |
21:22.25 | par | +CONFIG_ARCH_OMAP=y |
21:22.32 | cr2 | when i'm moving the stylus, what event does the window receive ? |
21:23.16 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
21:23.36 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey) |
21:28.18 | cr2 | haha |
21:28.21 | cr2 | WM_MOUSEMOVE The user moved the stylus while the tip was pressed to the screen. |
21:28.22 | tmzt | cr2: window message?, #hpcdev might work, actuall talking in there now about bootloader |
21:28.39 | cr2 | http://msdn.microsoft.com/en-us/library/ms924836.aspx |
21:28.53 | cr2 | i have some (many) evil plans for haret |
21:29.01 | tmzt | cool |
21:29.08 | tmzt | itsme |
21:29.14 | tmzt | generic atags |
21:29.43 | tmzt | full feature bidirectional protocol? |
21:30.09 | tmzt | uspl launcher |
21:30.17 | tmzt | download to ram |
21:30.24 | cr2 | no, these are practical things. i'm thinking about evil ones |
21:30.41 | cr2 | download to ram works already. |
21:30.55 | tmzt | from host? |
21:31.07 | cr2 | Kevin2 even started resume into boot |
21:31.19 | tmzt | yeah |
21:31.41 | cr2 | i don't know if librapi2 is functional enough |
21:31.52 | tmzt | there's room in xip area for something like softice apparently |
21:32.04 | tmzt | it h RapiInvoke |
21:32.24 | cr2 | does it work ? |
21:32.47 | cr2 | all these p* itsutils tools depend on it. |
21:32.54 | *** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes) |
21:33.57 | tmzt | no idea, couldn't parse win32 headers enough |
21:34.08 | tmzt | to make sane gnu structs |
21:35.31 | tmzt | oh yeah, we need an autmatic bsp generator :) |
21:35.42 | cr2 | ok, next wince question. |
21:36.04 | cr2 | how to enumerate the windows ? |
21:36.24 | tmzt | there is an api |
21:36.44 | tmzt | don't know the name |
21:36.47 | cr2 | i have a similar program working on x11, but windows programming is too hideous for me :) |
21:37.05 | tmzt | could be FindWindowEx |
21:37.36 | cr2 | so i want to find a window from haret, and send this WM_MOUSEMOVE event |
21:38.32 | cr2 | in 11 i'm sending XK_Right & such. but wince may miss the keyboard and key events. |
21:38.42 | xsacha | tmzt: cat /dev/input/input1 |
21:38.50 | tmzt | no |
21:38.50 | xsacha | a(box)X (twice) |
21:39.04 | tmzt | every time? |
21:39.17 | xsacha | i can only do it once |
21:39.39 | xsacha | then random characters fly everywhere lol |
21:39.45 | cr2 | The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. |
21:39.46 | tmzt | I think you have the wrong device then |
21:39.53 | tmzt | yes |
21:40.07 | tmzt | and it should let you keep looking |
21:40.08 | xsacha | event0/dev ? |
21:40.23 | tmzt | keyboard probably |
21:40.59 | xsacha | ohhh |
21:41.16 | *** join/#htc-linux lama (i=lama@netbsd.pl) |
21:41.19 | cr2 | tmzt: Ex is not really needed |
21:41.24 | cr2 | HWND FindWindow( |
21:41.38 | cr2 | LPCTSTR lpClassName, |
21:41.38 | cr2 | LPCTSTR lpWindowName ); |
21:41.45 | tmzt | yeah |
21:41.55 | cr2 | tmzt: but how can i list all windows with names ? |
21:42.12 | tmzt | you have HWND |
21:42.30 | cr2 | EnumWindows ? |
21:42.32 | tmzt | some other api must give you the title |
21:42.38 | tmzt | oh |
21:42.43 | tmzt | maybe |
21:43.22 | cr2 | GetWindow/CeGetWindow |
21:44.02 | cr2 | HWND GetActiveWindow(void); |
21:44.03 | *** join/#htc-linux cmonex (n=xy6091@ioz8tsz7bb.adsl.datanet.hu) |
21:44.04 | cmonex | hi |
21:44.06 | cmonex | party?=) |
21:44.12 | cr2 | LOL |
21:44.33 | tmzt | my fault, |
21:45.03 | tmzt | it was the evil haret thing |
21:45.12 | tmzt | now win32 apis |
21:45.31 | cmonex | ? |
21:46.13 | tmzt | reading msdn, trying to figure out how to enumerate windows |
21:47.04 | cr2 | i want to extend haret a bit, but it's quite some time ago that i've read Petzold's book :) |
21:47.19 | cr2 | for win3.1 :) |
21:47.37 | xsacha | run win3.1 in dosbox, yay |
21:49.24 | cr2 | cmonex: i want to have a programmable window screengrabber in haret. |
21:50.35 | cr2 | to compare the data in my PNA with OSM. |
21:51.32 | tmzt | this is the evil thing? |
21:51.55 | cr2 | xsacha: i wish it was possible to run barebones wince in qemu |
21:53.19 | *** join/#htc-linux kolonibal (n=kll@cust-IP-31.data.3.dk) |
21:53.55 | cr2 | tmzt: imagine a script |
21:54.09 | tmzt | yeah |
21:54.14 | cr2 | tmzt: that moves 1/2 width right, dumpfb, ... |
21:55.03 | tmzt | or hook WM_UPDATE, grab the dc when it's done? |
21:55.04 | cr2 | after that you have an atlas on the SD |
21:55.45 | cr2 | fullscreen mode ? |
21:55.47 | xsacha | tmzt: ok i did cat input1 |
21:56.05 | tmzt | see I forget most the windows stuff I actually learned |
21:56.07 | cr2 | dcordes: sleeping ? |
21:56.09 | xsacha | wm97xx-ts 0-0:WM9713,WM9714: No IRQ specified |
21:56.13 | xsacha | why would it think that? |
21:56.18 | dcordes | cr2, no I'm fully operational. |
21:56.38 | tmzt | it probes the i2c though? |
21:57.10 | cr2 | dcordes: i think we forgot the adsp_5200.c file |
21:57.25 | tmzt | yeah |
21:57.26 | cr2 | tmzt: why not do 'dump pxa27x' first ? |
21:57.28 | dcordes | in which commit? |
21:57.47 | tmzt | it's pxa310 if you mean xsacha |
21:58.02 | cr2 | dcordes: in the last one. it's just a copy of adsp_6210.c, for now. |
21:58.08 | tmzt | and it's crashed every device I've tried it on |
21:58.11 | xsacha | i know the IRQ |
21:58.22 | xsacha | i did dump and i got a bunch of values |
21:58.49 | tmzt | but does it want pen irq or the i2c one, or is there one? |
21:58.53 | cr2 | tmzt: you must have strange devices :) |
21:59.21 | cr2 | tmzt: the source is available. to parse everything by hand is pita. |
21:59.43 | tmzt | I could use a wm_send feautre though |
22:00.15 | xsacha | it says that no irq was specified.. so it doesnt think i gave it one |
22:00.28 | xsacha | but hang on!! |
22:00.39 | xsacha | whenever i touch the screen, all this mumbo jumbo appears on the screen |
22:00.49 | tmzt | xsacha: look at driver source and find that message |
22:00.52 | cr2 | tmzt: sendmesage(getactivewindow,...) ? |
22:01.08 | tmzt | not active window |
22:01.13 | xsacha | thats a good sign right? that means it's working? |
22:03.23 | cr2 | sendmessage/postmessage. evil :) |
22:03.53 | xsacha | it says message about no specified irq, but touching the screen provides output |
22:04.25 | cr2 | tmzt: http://www.tech-archive.net/Archive/VB/microsoft.public.vb.winapi/2007-04/msg00160.html |
22:09.51 | xsacha | if (!wm->pen_irq) dev_err(wm->dev, "No IRQ specified\n"); |
22:18.54 | dcordes | cr2, https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=blob;f=arch/arm/mach-msm/qdsp5/adsp_6210.c ? |
22:19.40 | *** join/#htc-linux Shinto (n=John@g227193193.adsl.alicedsl.de) |
22:21.57 | cr2 | dcordes: no, the adsp_6210.c from the same 2.6.27 tree |
22:22.05 | cr2 | but i think they are the same |
22:22.28 | *** join/#htc-linux marcin_ (n=marcin@chello089077185047.chello.pl) |
22:35.20 | dcordes | cr2, http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=b7d0434ab2bbb4d52f38cd75355554f31f4ccaad |
22:37.56 | cr2 | dcordes: thanks |
22:38.03 | dcordes | np |
22:38.37 | xsacha | touchscreen works :D:D |
22:39.55 | xsacha | anyone know of a touchscreen console app? |
22:44.38 | toer | we also need a couple of defconfig changes for the qdsp to even compile dont we |
22:45.15 | *** join/#htc-linux surge (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) |
22:49.25 | dcordes | xsacha, ts_test ? what do you want to do? |
22:50.30 | cr2 | dcordes: can we do some changes to initrd eventually ? |
22:50.58 | dcordes | sure. what's on your mind? |
22:51.26 | cr2 | vodafone-de in /etc/ppp/peers |
22:51.54 | cr2 | and to remove partition scanning. don't know where it's located though. and the ts_* tools |
22:52.19 | cr2 | toer: the qdsp and rpc are not in defconfig ? hmm. you are right |
22:53.26 | toer | http://privatepaste.com/b41DPfCRbz |
22:54.02 | cr2 | dcordes: a new patch ? |
22:54.55 | cr2 | toer: i don't know how to test them in non-android environment. i'm not that so far with the gps rpc. |
23:10.24 | dcordes | I need faster internet. OE fetching takes so long |
23:14.15 | tmzt | git is still broken for me with htcraphael_defcofig |
23:14.56 | tmzt | even tried disabling CPUFREQ |
23:16.54 | toer | mine hangs to its a long time since i tried to boot linux, looks like mine hangs at console hangover |
23:17.22 | toer | but it vibrates |
23:18.12 | dcordes | tmzt, what's the last known working commit for you? |
23:18.15 | tmzt | it usually times out mmc |
23:18.33 | tmzt | dcordes: trying to figure that out |
23:20.12 | dcordes | k |
23:20.35 | tmzt | not going very well |
23:24.19 | tmzt | I have been able to get usb back but not smd1 |
23:24.23 | cr2 | toer: which phone do you have ? |
23:24.57 | cr2 | tmzt: add a rootdelay, or boot with initrd and mount SD |
23:25.09 | cr2 | tmzt: wtf is smd1 ? |
23:25.32 | tmzt | the mmc timeout isn't the prboblem |
23:25.52 | tmzt | that's only with a very long handover |
23:26.31 | tmzt | the channel maejrep set up for ppp data |
23:27.46 | dcordes | cr2, what are you using for ppp data? |
23:28.43 | tmzt | the reason for that it couldn't be enumerated in smem for some reason |
23:28.54 | cr2 | tmzt: smd1 is packet channel with the current code. do you really want it ? |
23:28.54 | tmzt | so it's set up manually |
23:29.17 | cr2 | dcordes: what do you mean ? cu+pppd, manually. |
23:29.19 | tmzt | I've tried changing that, didn't help |
23:29.43 | cr2 | tmzt: can it be made smd7 ? |
23:29.54 | tmzt | if I could figure out what it was |
23:29.56 | tmzt | yes |
23:30.09 | tmzt | it wouldn't use for anymore |
23:31.31 | tmzt | but it would work |
23:31.40 | tmzt | and diag is on 1 |
23:31.53 | tmzt | or should be I think |
23:33.14 | cr2 | yes |
23:33.35 | toer | cr2: raph100 |
23:33.46 | cr2 | raph100 is very g1 compatible, so it's better to stay this way. |
23:34.04 | cr2 | toer: any success/failure with qdsp/rpc ? |
23:34.47 | tmzt | have figured out what packet means? |
23:36.09 | toer | tried the diff from lavendert a couple of months ago which i guess are similar to whats in git |
23:36.44 | toer | no success though |
23:40.17 | cr2 | toer: it was a "hello" server there. |
23:40.21 | par | is android booting and running on the raph yet? |
23:40.53 | cr2 | toer: now the snd/adsp/audiomgr are added with right numbers. |
23:41.00 | tmzt | yeah |
23:41.09 | tmzt | connect-utb.com |
23:41.13 | cr2 | par: it was long ago. the question is if it's usable |
23:43.50 | tmzt | cr2: can we properly init usb now? |
23:44.04 | *** join/#htc-linux UnknownArtists (n=unknown@84.19.198.127) |
23:45.09 | toer | cr2: ill try some tomorrow its getting late.. |
23:45.20 | toer | good thing im on the late shift at work this week |
23:46.21 | *** join/#htc-linux UnknownArtists (n=unknown@84.19.198.127) |
23:50.32 | *** join/#htc-linux UnknownArtists (n=unknown@84.19.198.127) |
23:55.42 | cr2 | good night |