00:01.49 | zdooder | oops ... heh, ok :) |
00:01.56 | wasup | ali1234: how would i go about getting a network connection on this virtual machine... |
00:01.58 | zdooder | This is very very bad code :) |
00:02.19 | ali1234 | wasup: sorry, dont know on windows. google it? |
00:02.44 | wasup | ok. |
00:02.50 | ali1234 | zdooder: the version i originally sent you i had fixed that... maybe you want to compare them? |
00:03.08 | zdooder | ali1234: Only joking, I don't care if it's ugly spaghetti code if it works :) |
00:03.41 | ali1234 | well, i didnt write it... the "my" version i just tidied up the code a bit. but i thought maybe i broke it |
00:04.28 | ali1234 | but in any case you should only need tocomment until the first return statement |
00:07.59 | zdooder | ali1234: sorry, same results... :-( |
00:08.22 | ali1234 | it still crashes? hmm... |
00:08.37 | ali1234 | it should not be touching any gpio with that stuff commented |
00:08.48 | zdooder | ali1234: Should I try instrumenting any of this to see how far it gets maybe? (Can that even be done in kernel code?) |
00:10.05 | ali1234 | i just noticed that the keymap relies on the array sizes |
00:10.20 | zdooder | keymap being matrix_buttons[][]? |
00:10.34 | ali1234 | yeah |
00:18.39 | zdooder | Heh: drivers/char/keyboard.c:1124:2: warning: #warning "Cannot generate rawmode keyboard for your architecture yet." |
00:20.39 | zdooder | oh ho!!! It's booting!! |
00:21.09 | wasup | send me a copy...:) |
00:21.26 | zdooder | http://wormhole.akropolys.com/htclinux/zImage-noworkqueue-latets |
00:21.31 | ali1234 | what did you do? |
00:21.55 | zdooder | Changed the Makefile so that the keyboard driver was linked in before the touchscreen driver (I think?)... |
00:22.05 | ali1234 | ??? |
00:28.22 | *** join/#htc-linux W8TVI (n=me@71.238.236.234) |
00:28.30 | zdooder | wasup: If you want to try it, the zImage-full there has basically the file as I got it from ali1234 originally before we started all this, it doesn't appear to be any different to me but you're welcome to try it. |
00:31.41 | ali1234 | zdooder: so what's the result? any working keys? |
00:33.47 | zdooder | Seems like the same "q" is the menu key and "shift" works as "cancel" (in Android) but that's it... no keys are actually usable to type in a URL or anything. |
00:34.17 | zdooder | I'm thinking maybe I need to get the touchscreen driver turned off to properly be able to do the keyboard stuff now. |
00:35.06 | ali1234 | did you put back in all the original gpios? |
00:35.53 | ali1234 | actually looking at the code i cant see how any buttons would work |
00:36.11 | ali1234 | it should only write events to the kernel log |
00:38.08 | zdooder | I did put back the original row and col gpios |
00:39.52 | wasup | ok |
00:40.15 | zdooder | wasup: did this only log to the kernel log, or did the keys actually type? |
00:44.13 | ali1234 | did you use the version where it calls kaiser_kbd_enable_irqs(); ? |
00:44.32 | ali1234 | i have a feeling that without that it will only log 1 keypress |
00:46.47 | wasup | zdooder: what do you mean? |
00:46.52 | wasup | in haret console? |
00:47.50 | ali1234 | when you boot that kernel image, what happens? |
00:48.30 | wasup | ali1234: me or zdooder? |
00:49.05 | ali1234 | wasup: you :) |
00:49.25 | wasup | let me find out. |
00:49.44 | wasup | im at work so im multitasking... :) |
00:50.34 | ali1234 | zdooder: the *old* version generated real keypresses. but then ginge rewrote it to log the gpios to kernel log. but he didnt finish writing it, which is why the code in queuework makes no sense. i finished it, tidied it up etc (put back the enable irq call etc) |
00:50.58 | wasup | <PROTECTED> |
00:51.03 | wasup | u want me to try that one right? |
00:51.14 | ali1234 | zImage-full i guess |
00:51.52 | ali1234 | yeah |
00:52.00 | *** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca) |
00:52.24 | ali1234 | particularly what happens when you press the q,w,e,r keys :) |
00:53.06 | ali1234 | hopefully you will see a message like: "r xx, c xx v xx" |
00:53.12 | ali1234 | where xx = some useful numbers |
00:53.31 | ali1234 | but this depends on whether your rootfs writes the kernel log to the screen or not |
00:56.54 | wasup | it booted to android |
00:57.12 | ali1234 | well... that's no good :( |
00:57.20 | ali1234 | try this initrd |
00:58.03 | ali1234 | http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20080602.tar.bz2 |
00:58.49 | ali1234 | take that initrd and boot it using your normal haret and kernel. it should boot to a shell prompt, and any kernel messages will be displayed |
00:59.05 | ali1234 | you need to extract the initrd from the tar file btw. ignore the other stuff in it |
00:59.05 | *** join/#htc-linux SmallR2003 (n=SmallR20@79-77-125-175.dynamic.dsl.as9105.com) |
00:59.26 | ali1234 | brb |
01:00.00 | *** part/#htc-linux ali1234 (n=al@robotfuzz.co.uk) |
01:00.30 | *** join/#htc-linux heise2k (n=rheise@65-78-40-52.c3-0.upd-ubr6.trpr-upd.pa.cable.rcn.com) |
01:05.19 | *** join/#htc-linux ali1234 (n=Al@robotfuzz.co.uk) |
01:08.36 | wasup | hmmm....so whats up? |
01:09.29 | ali1234 | don tknow. did it work? |
01:09.38 | wasup | im checking real quick |
01:09.46 | wasup | just a sec.. i had to reboot my phone |
01:10.00 | wasup | lmao..."reboot my phone" hahahaha... |
01:10.22 | wasup | i never thought id have to say that |
01:20.08 | wasup | hmmm... it's taking a while to boot... |
01:20.12 | wasup | might be frozen? |
01:20.34 | ali1234 | with what kernel/initrd? |
01:20.49 | wasup | the zImage-full |
01:21.04 | wasup | and the initrid you gave me a link to |
01:21.13 | ali1234 | is the backlight turned off or something? |
01:21.21 | wasup | huh?? |
01:21.24 | wasup | no... |
01:21.34 | wasup | it came up loading... but then just froze |
01:21.40 | ali1234 | what point did it get to? |
01:22.22 | wasup | haret... |
01:22.28 | wasup | when you click run |
01:22.30 | wasup | and it loads... |
01:22.32 | wasup | right there |
01:22.49 | wasup | wait. |
01:22.52 | wasup | it's booting |
01:22.54 | wasup | i think |
01:22.58 | ali1234 | ??? |
01:23.01 | wasup | booting linux |
01:23.03 | wasup | ....... |
01:23.05 | wasup | ... |
01:23.12 | wasup | just kinda sitting there |
01:23.24 | ali1234 | black screen with white writing? |
01:23.31 | ali1234 | or in haret? |
01:23.43 | wasup | HaRET: Booting linux... |
01:23.54 | wasup | progress bar |
01:24.01 | wasup | goes all the way up then just sits. |
01:25.08 | ali1234 | maybe the default.txt needs a tweak. that initrd is quite big |
01:27.30 | wasup | what should i put? |
01:27.50 | ali1234 | compare it with the default.txt from the archive |
01:31.31 | wasup | ok |
01:34.46 | wasup | hey i got to go... |
01:34.52 | wasup | ill be back tomorrow |
01:34.56 | wasup | you gonna be on? |
01:35.47 | ali1234 | probably |
01:35.56 | wasup | ill be back tomorrow.. |
01:36.01 | ali1234 | ok cya then |
01:36.06 | wasup | later |
01:36.13 | wasup | :) |
01:36.15 | *** part/#htc-linux wasup (n=Tech@208.47.103.106) |
01:37.09 | Kevin2 | NetRipper: Yes. |
01:55.57 | *** join/#htc-linux wasup (n=Tech@208.47.103.106) |
01:56.00 | *** part/#htc-linux wasup (n=Tech@208.47.103.106) |
02:55.59 | *** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca) |
03:29.57 | *** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-52-97.hsd1.nj.comcast.net) |
03:42.32 | *** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca) |
04:30.37 | *** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) |
04:31.59 | *** join/#htc-linux yesher (n=yeshtar@98.109.131.116) |
05:03.56 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
05:58.55 | *** join/#htc-linux kiozen (n=oeichler@p54929F08.dip0.t-ipconnect.de) |
06:49.37 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
06:50.48 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
06:52.57 | BabelO | morning |
06:53.02 | BabelO | kiozen: email :) |
06:53.24 | kiozen | BabelO: the late one? |
06:53.34 | kiozen | BabelO: morning |
06:54.09 | BabelO | kiozen: yes |
06:54.56 | kiozen | BabelO: yes I read, very funny :) never write emails after 12:00 in the night ;) |
06:55.48 | kiozen | let's see if I can setup the UI for symbol search, today |
07:12.21 | BabelO | kiozen: ok, so i finish the parsing |
07:16.49 | BabelO | going to work, bbl |
07:27.01 | *** join/#htc-linux Marajin (n=marajin@87-194-102-189.bethere.co.uk) |
07:31.37 | *** join/#htc-linux rob_w (n=bob@M81ef.m.pppool.de) |
07:32.43 | *** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se) |
07:39.40 | *** join/#htc-linux Marajin_ (n=marajin@87-194-102-189.bethere.co.uk) |
07:46.27 | Marajin_ | yo |
07:49.32 | *** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
07:49.59 | BabelO_ | kiozen: do you see the new USB api in qt extented ? mass storage gadget :) |
07:50.36 | kiozen | BabelO_: haven't dared to look at qt extended yet, fear I have to rewrite M |
07:51.11 | BabelO_ | kiozen: don't think you have to rewrite, it should work like this |
07:51.32 | BabelO_ | tell me when you have the GUI ready :) |
07:52.11 | kiozen | eh, work is piling up again.. let's see |
08:01.15 | BabelO_ | kiozen: ok, i fix my mind code seem oj now :) |
08:01.24 | BabelO_ | s/oj/ok/ |
08:07.36 | *** join/#htc-linux yvo (n=musman@195.154.155.26) |
08:24.03 | tmzt_ | BabelO_: would you know how, if PXA_GPIO_IRQ_BASE is (64), how a pin on an external usb chip could be 61? |
08:25.13 | BabelO_ | tmzt_: not an IRQ ? |
08:25.22 | tmzt_ | gpio |
08:25.54 | tmzt_ | alt function?, maybe I missed something |
08:25.56 | BabelO_ | tmzt_: GPIO_IRQ_BASE is simply a mapping to acces irq register from the gpio number |
08:26.10 | BabelO_ | tmzt_: yes simple gpio |
08:26.24 | BabelO_ | tmzt_: what is this device with only 63 gpio ? |
08:26.31 | BabelO_ | coffe time, bbl |
08:36.08 | Marajin_ | morning BabelO_ |
08:36.13 | Marajin_ | and yvo |
08:36.14 | Marajin_ | and kiozen |
08:36.16 | Marajin_ | and tmzt_ :P |
08:36.24 | Marajin_ | ya know what.. let's just stick with 'morning all' |
08:36.36 | yvo | morning everybody ;) |
08:38.57 | *** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl) |
08:47.14 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
08:49.06 | dcordes | morning |
08:49.23 | Marajin_ | mornin' dcordes |
08:51.16 | yvo | hi dcordes |
08:53.26 | dcordes | Marajin_: yvo hey there |
09:16.03 | cr2_ | hi |
09:16.19 | cr2_ | i see an interesting subproject here :) |
09:16.55 | cr2_ | can ida disassemble avr-gcc code ? hmm, maybe objdump will be enough. |
09:21.40 | dcordes | cr2_: hi, can you have a look at my .config for the kaiser nand? |
09:22.06 | dcordes | cr2_: I'm trying to build google android 2.6.25 for my device and nand is important |
09:22.57 | cr2_ | dcordes: enable nand, and block device. i think it should be enough |
09:23.33 | dcordes | cr2_: hm msm defconfig doesn't even build the menu NAND DEVICES. only MTD_MSM_NAND |
09:23.50 | dcordes | and a whole bunch of other MTD configs |
09:26.48 | cr2_ | ok, then use their setup |
09:27.45 | dcordes | booting |
09:28.04 | dcordes | "msm_nand: erasing NAND" |
09:30.03 | dcordes | cr2_: I've got mtd char and block devices |
09:31.03 | dcordes | mtd0 mtd0ro mtdblack0 |
09:31.18 | cr2_ | good |
09:31.34 | cr2_ | try to dd |
09:31.58 | dcordes | hexdump gives me a lot of data from them |
09:32.00 | dcordes | :) |
09:32.40 | yvo | may be you can try to wrtie some datas on it et read them to be sure you can read what you can write... |
09:33.00 | yvo | may be you can try to write some datas on it and read them to be sure you can read what you can write... |
09:33.04 | dcordes | yvo: write is no go :) |
09:33.18 | dcordes | yvo: I could overwrite the early bootloader |
09:33.46 | yvo | well,dangerous things to do... |
09:34.08 | yvo | so nand is the primary memory on the device |
09:34.10 | yvo | ? |
09:34.14 | dcordes | yea right |
09:34.33 | dcordes | it's the kaiser. same wince stuff as on your ks20 |
09:34.59 | yvo | ok |
09:36.07 | yvo | btw, I have fucked up my tree, I cannot compile a kernel... I have to check back all my changes one by one to find the bad guy |
09:36.38 | dcordes | no backup? |
09:36.50 | dcordes | cr2_: where shall I write? |
09:37.17 | dcordes | cr2_: and must I mount it first or so? |
09:37.34 | cr2_ | dcordes: dd if=/dev/mtd0 | strings |
09:37.40 | yvo | no, just a diff from dzo tree. I will look at the diff |
09:37.47 | cr2_ | dcordes: your should not write! |
09:38.09 | tmzt_ | cr2_: what is the highest gpio/irq physical pin on pxa255? |
09:38.10 | cr2_ | dcordes: you can't mount anything. for 2 reasons. |
09:38.25 | cr2_ | tmzt_: < 85 |
09:38.36 | tmzt_ | ok, thank you |
09:38.42 | cr2_ | tmzt_: pxa26x have 85 afair. |
09:38.57 | dcordes | cr2_: 1. we don't have the partitions 2. I don't wanna fsck up nand? |
09:38.58 | cr2_ | tmzt_: pick the manual and check |
09:39.35 | tmzt_ | I have started at 61 and am going to 85, skipping all the known irqs and building zImages to test later |
09:39.36 | dcordes | dd: /dev/mtd0: Invalid argument |
09:39.37 | cr2_ | dcordes: 3. not all partitions are mountable |
09:39.58 | cr2_ | dcordes: dd if=/dev/mtd/mtd0 | strings |
09:40.08 | dcordes | the path is correct.. |
09:40.33 | cr2_ | dcordes: how do you run hexdump ? |
09:40.45 | dcordes | hexdump /dev/mtd0 |
09:40.47 | dcordes | hexdump /dev/mtd0ro |
09:41.02 | dcordes | both work. but I just noticed it's always the same 2 lines repeating |
09:41.36 | yvo | strings /dev/mtd0 should work |
09:43.00 | dcordes | oh the output I get on hexdump seems merely like a print for the driver |
09:43.07 | dcordes | strings gives the same |
09:43.14 | cr2_ | dcordes: how did you setup the partitions ? |
09:43.52 | dcordes | msm_nand_read_oob <some increasing vbalue> 1000 0 empty page |
09:43.55 | dcordes | msm_nand_read_oob <some increasing vbalue> 1000 0 empty page |
09:44.19 | dcordes | msm_nand_read_oob <some increasing vbalue> c7645000 100000000000 0 |
09:44.29 | dcordes | teh above 3 lines repeat |
09:45.22 | dcordes | <some increasing vbalue> starts at 1000 |
09:45.47 | dcordes | cr2_: I didn't setup anything. I only booted with the msm defconfig nand/mtd specific settings |
09:45.57 | yvo | hum, it may be the kernel saying errors... |
09:47.00 | yvo | you can try a "hexdump /dev/mtd0 2>/dev/null" to check if it's hexdump output or errors output |
09:47.02 | dcordes | cr2_: how can I set them up? |
09:47.09 | dcordes | ok |
09:47.32 | dcordes | yvo: same stuff still appears. so it's some printks |
09:47.47 | yvo | yep, at least not on stderr |
09:48.08 | yvo | you have them in a dmesg too ? |
09:48.19 | dcordes | yep |
09:48.31 | yvo | ok, printk, so it's not the content of the nand... |
09:48.32 | dcordes | ./drivers/mtd/devices/msm_nand.c:printk("msm_nand_read_oob %llx %x %x failed %d\n", |
09:48.57 | dcordes | at the very beginning hexdump prints two 'normal' hexdump lines |
09:49.28 | dcordes | but I don't see them when I redirect hexdump to a file |
09:49.45 | yvo | hum, strange |
09:50.20 | yvo | if your redirect stderr in a file, you have something in the file ? ( 2>file ) |
09:50.48 | dcordes | no |
09:51.14 | dcordes | 00000000 ffff ffff ffff ffff ffff ffff fffff ffff\ * |
09:51.22 | dcordes | maybe because it's nothing |
09:52.24 | dcordes | aha |
09:52.58 | dcordes | when I try to read /dev/mtdblock0 it looks different |
09:53.17 | yvo | less printks ? |
09:53.38 | dcordes | msm_nand_read_oob: unsupported ops->len, 512 |
09:53.57 | dcordes | Buffer I/O error on device mtdblck0, logical block 0 |
09:54.02 | yvo | well, the driver cannot access your nand correctly... |
09:54.06 | dcordes | and the same repeats while trying to read |
09:54.24 | yvo | /dev/mtd0 is a char device node ? |
09:54.47 | dcordes | I don't have "file", how else can I check? |
09:54.57 | yvo | ls -l /dev/mtd0 |
09:55.21 | yvo | the first character before the permission should be either a c (char) or a b (block) |
09:55.31 | dcordes | 90, 0 |
09:55.41 | dcordes | c |
09:55.57 | yvo | and /dev/mtdblock0 ? |
09:56.03 | yvo | 90, 0 too ? And "b" ? |
09:56.04 | dcordes | a b |
09:56.42 | dcordes | /dev/mtdblock0 is brw-r----- 1 root disk 31, 0 |
09:57.03 | yvo | ok, it's a different format of the error, because it tries to access it in a different way. |
09:57.49 | dcordes | ok |
09:58.12 | yvo | block devices are accessed with some kind of buffer, char devices directly |
09:58.31 | yvo | I think your nand driver is not the good one... |
09:58.39 | dcordes | ok so the buffer is empty and prints empty pages? |
09:58.57 | dcordes | oh I get the empty pages from the char |
09:59.00 | dcordes | device |
09:59.07 | yvo | well, no, think of it like a direct access file vs sequential access file |
09:59.44 | yvo | it just can't access the addresses he tries to |
09:59.49 | dcordes | so looks like msm_nand.c needs work |
10:00.23 | dcordes | can you check which nandid ks20 has when you compile next time? |
10:00.39 | dcordes | it should be enough to build msm_nand |
10:01.17 | yvo | yep, I'll try, but I have no console access for now. |
10:01.55 | cr2_ | dcordes: there should be some device-dependent config. i have no idea how it's done on msm |
10:02.06 | cr2_ | dcordes: here is the hermes nand config http://handhelds.org/cgi-bin/cvsweb.cgi/~checkout~/linux/kernel26/arch/arm/mach-s3c2442/htchermes/htchermes.c |
10:02.19 | dcordes | cr2_: something that gets 'activatec' when a certain nandid is present? |
10:02.25 | dcordes | activated |
10:03.42 | yvo | since the kernel show the device, it detects something, but... |
10:04.26 | dcordes | cr2_: shall I try the same Whole Flash thing? |
10:04.36 | dcordes | it starts at 0 maybe work as well here |
10:07.36 | yvo | do you know if I can have fun with an old qtek 2020i ? I can have my hands on one soon |
10:08.05 | dcordes | yvo: it's the htc himalaya |
10:08.27 | dcordes | or is it alpine? |
10:08.44 | yvo | don't know... |
10:08.58 | dcordes | http://pdadb.net/index.php?m=specs&id=164 |
10:09.03 | dcordes | Qtek 2020i (HTC Alpine) Specs |
10:09.23 | dcordes | might have support from hh.org tree |
10:09.51 | dcordes | cr2_ posted a link to the cvsweb above |
10:10.18 | yvo | I'll look at it when I'll have it for me (I think I just saved it from the trash ! ) |
10:13.09 | dcordes | lucky alpine :) |
10:15.09 | cr2_ | yvo: linux will boot, and the touchscreen works. |
10:15.33 | cr2_ | yvo: but some more cpld tracing is needed. |
10:16.02 | cr2_ | then wifi will work. sound is uda1380 |
10:16.23 | cr2_ | so you only need to know the power/reset gpios. |
10:17.11 | cr2_ | http://wiki.xda-developers.com/index.php?pagename=AlpineResearch |
10:17.21 | yvo | I'll try when it will be mine. It's my customer's old phone... So cannot do much with it for now |
10:17.33 | cr2_ | ok |
10:19.28 | yvo | I've bookmarked the research pages |
10:23.32 | dcordes | cr2_: does .mask_flags= MTD_WRITEABLE, mean the flash is not writeable because the write flag is masked? |
10:24.40 | cr2_ | dcordes: i don't remember the details |
10:47.20 | yvo | well I have compiled a new kernel on my ks20 with a big hack to add the ts driver from the kaiser instead of the vogue one |
10:47.58 | yvo | I have no more errors from i2c notbusy bus but it hangs after PM messages :/ |
10:49.26 | dcordes | try removing vogue-hw.c from the line you use (vogue?) in arch/arm/mach-msm/Makefile |
10:50.15 | dcordes | you're in the htc-vogue branch, no? |
10:51.19 | yvo | yep I am |
10:51.53 | yvo | I try it then lunch time |
10:53.43 | dcordes | <PROTECTED> |
10:53.52 | dcordes | try removing that as well |
10:53.54 | yvo | yep, just removed to |
10:53.59 | dcordes | it's what I wanted to say first |
10:54.00 | yvo | it cannot compile with it |
10:54.26 | dcordes | w/o pm or w/o hw? |
10:54.36 | dcordes | or both |
10:54.57 | yvo | w/o hw it complains about pm |
10:55.17 | yvo | w/o hw AND w/o pm it doesn't compile |
10:55.36 | dcordes | what's the error? might be just the board file |
10:55.48 | yvo | w/o pm only it just miss "arch_idle" on default_idle function |
10:57.06 | yvo | hum, tried with pm instead of vogue-pm, undef references too |
10:57.19 | yvo | I go to lunch, next news next episode ;) |
10:57.51 | dcordes | yvo: bon appétit |
10:58.00 | yvo | merci ;) |
11:40.16 | *** join/#htc-linux sikkle (n=sikkle@MTLXPQAK-1176053010.sdsl.bell.ca) |
11:44.13 | *** join/#htc-linux dase (i=dase@p1atin.de) |
13:02.59 | *** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com) |
13:18.08 | yvo | I wonder if I'm not taking the KS20 problem by the wrong end... |
13:22.20 | yvo | I will try to make the kaiser work with the fb from the vogue |
13:22.45 | yvo | the kaiser branch work with the fb from the vogue |
13:27.19 | *** join/#htc-linux Raketemensch (n=Rakete@192.234.2.49) |
13:55.52 | *** join/#htc-linux Ibleace (n=L0rd@static-host210-2-132-196.link.net.pk) |
13:57.16 | *** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan) |
13:59.09 | Ibleace | anyone here? |
14:04.17 | dcordes | yvo: might be better since kaiser and ks20 have the same chipset |
14:05.21 | yvo | dcordes, yes, when I finished my battle against git... |
14:05.29 | dcordes | yvo: the htc-msm (kaiser..) branch is 2.6.24 |
14:05.40 | dcordes | yvo: we have ported kaiser to 2.6.25 |
14:06.28 | yvo | dcordes, I have to realize the level of modifications for the FB... It's not just a file for this one |
14:07.13 | dcordes | yvo: yes it's complex because the framebuffer code in the htc-vogue branch is much more uptodate than the one in the htc-msm branch |
14:07.26 | dcordes | you could use an older reference of the vogue tree |
14:07.38 | dcordes | *revision |
14:08.06 | yvo | I will first try to align the mem addresses between the 2 |
14:08.22 | dcordes | optimum would be to use the android-msm-2.6.25 branch with our kaiser patches on top and then get the latest vogue framebuffer code from htc-vogue in. |
14:09.17 | dcordes | http://headfuzz.co.uk/files/android/git-diff-2.6.25-170908.diff here is the diff. it's against branch android-msm-2.6.25 from git.android.com tree |
14:09.41 | yvo | thx |
14:09.55 | dcordes | I would really use that as a basis instead of htc-msm git code. |
14:10.04 | dcordes | else you work with old code |
14:10.18 | Ibleace | anyone can help me? |
14:10.27 | dcordes | Ibleace: don't ask to ask just ask |
14:10.53 | Ibleace | i tried Magician Xanadux in my device |
14:10.56 | Ibleace | its done perfectly |
14:11.07 | Ibleace | but when i click on Haret and pressed RUN |
14:11.18 | Ibleace | its just start running boot image |
14:11.27 | Ibleace | and then asking for login in terminal window |
14:11.33 | dcordes | Ibleace: ask MnemonicPunk he has a debian for magician |
14:11.43 | Ibleace | how can i type when there is no keys to type :) |
14:12.03 | Ibleace | dcordes thnx :) |
14:12.09 | dcordes | Ibleace: looks like you boot a filesystem without X |
14:12.15 | dcordes | or qtopia or anything like that |
14:12.27 | Ibleace | i just did the steps as i read on xda-develoeprs |
14:12.32 | Ibleace | http://wiki.xda-developers.com/index.php?pagename=MagicianXanadux |
14:12.59 | Ibleace | do you habe any link where i can get complete help for installing with X |
14:13.00 | dcordes | it says GPE image |
14:13.13 | dcordes | that should not ask for a login from console but get you a graphical login screen. |
14:13.56 | Ibleace | its not taking me to graphical window |
14:14.03 | Ibleace | its just stuck on terminal screen |
14:14.50 | dcordes | that's odd. a pity that MnemonicPunk is not here. he was all about magician userland the last days |
14:15.17 | Ibleace | dcordes ok np, i'll wait for him/her |
14:16.06 | dcordes | lord somebody on that wiki page said you would use windows mobile contacts when you boot linux |
14:16.29 | dcordes | cr2_: still abouts? |
14:17.36 | dcordes | cr2_: I tried to steal the nand board setup from the hermes board file but I'm uncertain about some parts of it |
14:18.09 | dcordes | yvo: do you have wifi in the ks20? |
14:18.21 | yvo | dcordes, yes |
14:19.06 | dcordes | yvo: do you know the chip? |
14:19.28 | yvo | no, I can see it from WM ? |
14:19.30 | yvo | wince |
14:19.56 | dcordes | I don't know |
14:20.10 | yvo | samsung 2700S WiFi Adapter |
14:20.28 | yvo | That's what I have in the netword card configuration panel |
14:21.07 | dcordes | ok |
14:21.19 | dcordes | we should document those things in the xda wiki |
14:21.49 | dcordes | it doesn't fit there 100% but who cares while there are so many msm devices documented already |
14:22.35 | yvo | xda-wiki is only for the htc ? (theoratically) |
14:23.25 | dcordes | I think so |
14:23.49 | dcordes | but I doubt somebody would care if we document the ks20 research |
14:24.25 | yvo | yes, of course |
14:24.41 | yvo | I'll create a LG-KS20 page, or should I name it otherway ? |
14:24.59 | dcordes | let's make it simple and go KS20 only |
14:25.06 | yvo | ok |
14:25.07 | dcordes | KS20_Research |
14:25.47 | dcordes | and from that page you can link KS20MemoryMap KS20_GPIO KS20_IRQ KS20_WIFI etc |
14:26.03 | dcordes | you could use Kaiser_Research as an example |
14:26.19 | dcordes | http://wiki.xda-developers.com/index.php?pagename=KaiserResearch |
14:27.05 | yvo | I will, but for now I will just add a first page with basic informations |
14:27.58 | yvo | just wrote the basic page |
14:28.05 | dcordes | ok nice |
14:28.17 | yvo | http://wiki.xda-developers.com/index.php?pagename=KS20 |
14:28.25 | yvo | (obi42 on the wiki/forum) |
14:29.10 | dcordes | ok let's hope nobody will whine about it being no htc |
14:30.07 | yvo | if someone says something, I will setup a page for this on my server |
14:30.15 | yvo | that's not a problem for me |
14:30.47 | dcordes | ok |
14:38.09 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
14:44.51 | yvo | dcordes, is it an acx on the kaiser for the wifi ? |
14:52.10 | yvo | dcordes, I don't think your path is up to date with the android git... I doesn't apply :s |
14:52.16 | yvo | or.... wait |
14:52.23 | yvo | I may be in the wrong branch |
14:53.17 | *** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl) |
14:56.12 | dcordes | yvo: sorry I forgot to mention |
14:56.17 | dcordes | it is against android-msm-2.6.25 |
14:56.26 | dcordes | from git.android.com tree |
14:56.29 | yvo | you told it |
14:56.31 | dcordes | but not the latest commit |
14:56.41 | yvo | which one ? |
14:56.45 | dcordes | wait a sec |
14:57.08 | yvo | (I'm doing several things, I forgot to swith to android-msm...) |
14:57.20 | dcordes | http://git.android.com/?p=kernel.git;a=commit;h=e647bbd3632c5b77e03c354e3cfc55dfdd77f6e9 |
14:57.41 | dcordes | if the patch doesn't apply against that commit |
14:58.00 | dcordes | revision I mean, try http://git.android.com/?p=kernel.git;a=commit;h=33af2d5cd1ccdb2e03fbedec854ea61f69b3ebf2 |
14:58.01 | SanMehat | morning |
14:58.06 | dcordes | morning SanMehat |
14:58.19 | yvo | Hi SanMehat |
14:58.20 | SanMehat | dcordes: hows it going man? |
14:58.36 | dcordes | I'm fine |
14:58.43 | dcordes | trying to sort out msm7200 kaiser nand |
14:58.48 | SanMehat | ah |
14:58.52 | yvo | dcordes, hum, you download the tree or you master git ? |
14:58.54 | dcordes | you? |
14:59.10 | SanMehat | dcordes: not too bad, tired.. |
14:59.34 | dcordes | yvo: the patch is against android-msm-2.6.25 from git.android.com git. you can either fetch the whole google tree or fetch linuxtogo tree and add the branch remotely |
15:01.24 | dcordes | yvo: if you can get the latest framebuffer code working there, that would be great. I'm also looking to use it with kaiser and polaris, but didn't manage it |
15:01.29 | Ibleace | dcordes thnx my work is done.. the GPE image was incorrect :) |
15:02.15 | dcordes | Ibleace: that's great. look out for new images at http://linuxtogo.org/~htcpxa/ soonish |
15:02.30 | yvo | I've just downloaded the android tree. I'm changing the branch while hacking php and some shell scripts... |
15:02.40 | dcordes | might put the debian image and we could make an openmoko fso image for the pxas |
15:02.42 | Ibleace | dcordes yaa i found image at that link.. thnx nayway |
15:03.23 | dcordes | yvo: that will work. just make sure you checkout one of the above revisions of android-msm-2.6.25 |
15:03.42 | yvo | ok |
15:04.15 | dcordes | yvo: sorry another small hint: include/asm-arm/arch-msm/entry-macro.s is broken in the headfuzz patch. replace it with the one from htc-linux (linuxtogo) branch |
15:04.47 | dcordes | yvo: that only affects kaiser-smd.c code |
15:05.10 | dcordes | doesn't matter if you aren't going to use the modem |
15:06.46 | yvo | actually, my first step is having a ffully booting linux, which is not (yet) the case. So modem is not my priority |
15:07.11 | dcordes | yvo: btw there is some additional info on the kaiser/polaris specific things at http://linuxtogo.org/~lgorris/ |
15:07.20 | dcordes | including kernel builds and such |
15:07.25 | *** join/#htc-linux miknix (n=miknix@81.193.82.194) |
15:07.28 | yvo | added to bookmarks |
15:07.31 | dcordes | ok |
15:07.39 | dcordes | I've got to go. bbl |
15:07.47 | cr2_ | dcordes: can we override the msm_proc_comm() implementation for our non-android code ? |
15:07.57 | yvo | ok, bye dcordes see ya, and thx a lot |
15:08.07 | cr2_ | too late :) |
15:08.13 | dcordes | cr2_: proc_comm is important for non android specific functions as well |
15:12.08 | cr2_ | i think that vreg* is not implemented ? and the clk* code needs the replacement too. |
15:14.35 | *** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde) |
15:23.33 | *** join/#htc-linux hqqh (n=hqqh@e178163128.adsl.alicedsl.de) |
15:28.50 | *** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) |
15:42.59 | *** join/#htc-linux LunohoD_ (n=alex@e180071039.adsl.alicedsl.de) |
15:43.40 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
15:46.35 | *** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com) |
15:48.57 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c48c.pool.einsundeins.de) |
15:52.06 | *** join/#htc-linux goxboxlive_ (n=goxboxli@139.84-48-212.nextgentel.com) |
15:54.52 | cr2_ | hi kiozen |
15:54.59 | kiozen | hi |
15:55.14 | kiozen | sorry no time for windows today |
15:55.20 | cr2_ | goxboxlive_: a780 drives me crazy, because the gps can't be switched on |
15:55.25 | cr2_ | kiozen: ok |
15:56.06 | kiozen | cr2_: hope my family will let me escape to office tomorrow :) |
15:56.22 | *** join/#htc-linux exco (n=exco@e181117199.adsl.alicedsl.de) |
15:56.35 | cr2_ | :) |
15:59.24 | exco | :-D |
16:03.13 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
16:08.57 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-5d87d754.pool.einsundeins.de) |
16:09.35 | goxboxlive_ | cr2_: Have you tried to reflash it? |
16:09.43 | goxboxlive_ | or update it if that is an option? |
16:11.40 | cr2_ | goxboxlive_: i think it's the battery |
16:12.14 | cr2_ | which is old, and probably does not charge in full. then LTE decides not to start gps |
16:12.21 | goxboxlive_ | cr2_: what has that with gps to do? Have you tried switching gps on with the charger attached? |
16:12.23 | cr2_ | fscking closed source software ;) |
16:12.39 | cr2_ | there is no button in the gui |
16:13.51 | goxboxlive_ | hmm i have heard about that problem before at the motorolafans forum. People have claimed that they have suthenly lost the gps on/off soft button in the settings |
16:14.40 | cr2_ | yes. |
16:14.52 | cr2_ | it happens only with the low battery charge |
16:15.52 | goxboxlive_ | i c |
16:16.59 | goxboxlive_ | as i told you you can have mine. I have two batteries, one of them a year and the other one old (bad state). The newest oneis in good condition. |
16:19.06 | cr2_ | ok, but then i owe you some money :) |
16:22.01 | goxboxlive_ | cr2_: no no need for that. Just pay me for the shipping. Send me your mail adress by email and i ship it to you. |
16:23.25 | cr2_ | ok, thanks. |
16:23.47 | BabelO_ | cr2_: hi, already compiling qtextented ? :) |
16:23.53 | BabelO_ | hello goxboxlive_ |
16:23.56 | goxboxlive_ | hi BabelO |
16:24.50 | cr2_ | BabelO_: it#s available ? |
16:25.03 | BabelO_ | cr2_: http://qtextended.org/downloads/source/qt-extended-opensource-src-4.4.1.tar.gz |
16:25.20 | BabelO_ | good night, lol |
16:25.26 | goxboxlive_ | BabelO: is that the one we can run on our embedded devices? |
16:25.34 | BabelO_ | goxboxlive_: yes |
16:25.43 | goxboxlive_ | Why the new name? |
16:25.49 | BabelO_ | goxboxlive_: maybe freerunner device is already in |
16:25.56 | goxboxlive_ | hmm i c |
16:25.59 | BabelO_ | goxboxlive_: i m downloading |
16:26.08 | BabelO_ | goxboxlive_: because of nokia |
16:26.31 | BabelO_ | going to home now |
16:26.32 | BabelO_ | bbl |
16:27.04 | goxboxlive_ | bye, me to . I'll try compile fir the neo |
16:27.07 | cr2_ | goxboxlive_: with gps and wifi control built-in. don#t know about the cam |
16:27.22 | goxboxlive_ | i c |
16:29.02 | cr2_ | omg |
16:29.06 | cr2_ | 190MB download |
16:34.42 | goxboxlive_ | hmm i need to have qt4.3 in my path?? |
16:34.54 | goxboxlive_ | it wouldnt even run configure --help |
16:35.10 | cr2_ | goxboxlive_: devices/neo is there |
16:35.46 | cr2_ | RROR: Qt Extended cannot be built from the source directory. You should build |
16:35.46 | cr2_ | <PROTECTED> |
16:35.49 | goxboxlive_ | yes i saw it . It's the one i am going to try to build |
16:35.54 | cr2_ | ok |
16:36.10 | goxboxlive_ | cr2_: you need to export QTOPIA_DEPOTH_PATH |
16:36.53 | cr2_ | Testing the system Qt: FAIL |
16:36.54 | cr2_ | Could not compile test app (requires SQLITE and SVG support). |
16:37.07 | cr2_ | i#ve rerun configure |
16:37.48 | cr2_ | and compile for amd64 :) |
16:38.13 | goxboxlive_ | i am doing a apt-get upgrade :-) |
16:38.24 | goxboxlive_ | i saw that qt ehere updated |
16:40.56 | cr2_ | Building for: qws/linux-x86_64-g++ |
16:42.12 | cr2_ | You are licensed to use this software under the terms of |
16:42.12 | cr2_ | the GNU General Public License (GPL) versions 2 or 3. |
16:43.39 | goxboxlive_ | i am on configurering |
16:43.54 | goxboxlive_ | my qmake where pointed to /etc/alternatives/qmake |
16:44.11 | goxboxlive_ | i just edited the symlink to point to qmake4 instaed |
16:44.26 | cr2_ | didn't fail for me yet |
16:44.29 | cr2_ | Embedded support .... x86_64 |
16:44.45 | cr2_ | Finding project files. Please wait... |
16:44.45 | cr2_ | <PROTECTED> |
16:44.47 | goxboxlive_ | it failed for me :-( |
16:45.05 | goxboxlive_ | hmm some dbus stuff |
16:45.10 | cr2_ | WARNING: Failure to find: ../skin.cpp |
16:45.10 | cr2_ | WARNING: Failure to find: ../skin.h |
16:45.14 | goxboxlive_ | they have probably changed it again |
16:45.24 | cr2_ | i hope so |
16:45.43 | cr2_ | it should be easier to compile |
16:45.58 | cr2_ | Qt Extended has been configured. You can build Qt Extended by running |
16:45.59 | cr2_ | bin/qbuild. |
16:47.28 | cr2_ | : relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC |
16:48.50 | cr2_ | should not fail on a 32bit machine |
16:58.04 | goxboxlive_ | still complaining about missing dbus, even though i have it |
16:59.05 | ellisway | afternoon all |
17:06.17 | cr2_ | kiozen: http://lists.openstreetmap.org/pipermail/merkaartor/2008-October/000702.html |
17:12.56 | *** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net) |
17:13.11 | goxboxlive_ | hi tsdogs |
17:13.38 | tsdogs | hi goxboxlive_ |
17:13.40 | tsdogs | is qt extended downloadable? |
17:13.43 | cr2_ | tsdogs: hi. qt extended is the last craze of the day |
17:13.44 | goxboxlive_ | yes |
17:13.49 | cr2_ | :) |
17:13.52 | tsdogs | :) |
17:13.59 | goxboxlive_ | i am trying to build it now, but it fails testing dbus |
17:14.06 | goxboxlive_ | under configure |
17:14.07 | tsdogs | lol |
17:14.19 | cr2_ | i compiled it for the embedded-amd64 |
17:14.25 | goxboxlive_ | and i havent moved dbus.h siince i build the 4.2 version |
17:14.25 | tsdogs | it's some path problem I had with 4.3 |
17:14.47 | cr2_ | some linking is broken though. |
17:14.50 | tsdogs | hmm, there is a test folder where you can check why it fails |
17:15.18 | goxboxlive_ | pastebin.no/45254 |
17:15.20 | ellisway | cr2_ are there any haret logs / dumpos from a 16gb ameo that i could make that would be of any use for you ? |
17:15.46 | cr2_ | ellisway: i have only 8GB |
17:16.02 | ellisway | k |
17:16.23 | cr2_ | ellisway: the dmesg area is probably the most interesting (and easy) thing to dump |
17:16.40 | cr2_ | ellisway: and the ipl/spl |
17:17.15 | tsdogs | ok downloading :) |
17:17.16 | ellisway | i can dump / log anything if u want the info |
17:17.17 | dcordes | yo |
17:18.04 | ellisway | but i would need a helping hand to do so |
17:18.15 | dcordes | cr2_: can you help me with the board specific nand setup for kaiser? |
17:18.30 | tsdogs | goxboxlive_: afair you should check the test folder |
17:18.50 | goxboxlive_ | tsdogs: i have and it checks dbus/dbus.h |
17:18.59 | tsdogs | btw has paulproteus merged it to main? |
17:19.05 | tsdogs | hmm some path problem |
17:19.18 | tsdogs | goxboxlive_: what device? |
17:19.22 | goxboxlive_ | The i have dbus.h in my include folder in the toolchain. |
17:19.30 | cr2_ | dcordes: i'm not a nand expert. try to look at other devices |
17:19.32 | goxboxlive_ | i trying for neo now, since it is there default |
17:20.18 | goxboxlive_ | and i have exported my path to the toolchain |
17:20.20 | tsdogs | can you try a make in config.tests/dbus? |
17:21.14 | tsdogs | wow 177mb that's big! |
17:21.47 | cr2_ | yeah |
17:22.04 | goxboxlive_ | maybe i nake a new toolchain |
17:22.12 | goxboxlive_ | ok |
17:22.23 | cr2_ | bbl |
17:23.28 | goxboxlive_ | tsdogs: i get the same, dbus/dbus.h no such file of directory |
17:23.42 | tsdogs | that's odd |
17:24.49 | tsdogs | goxboxlive_: I have a -dbus and -dbuspath "/opt/toolchains/arm920t-eabi/arm-angstrom-linux-gnueabi" in configure |
17:25.00 | tsdogs | maybe you need to change gta configure script |
17:25.00 | dcordes | SanMehat: is there anything board/nand module specific in nand_partitions.c? |
17:25.20 | goxboxlive_ | tsdogs: of course i have forgot to add the dbuspath, i'll try again |
17:25.28 | tsdogs | :) |
17:25.37 | paulproteus | tsdogs, (hi?) |
17:25.44 | tsdogs | paulproteus: hi |
17:25.49 | paulproteus | I haven't put QT Extended into the git repo, no. |
17:26.20 | tsdogs | paulproteus: I was just wondering, but maybe creating a new repo is good? |
17:26.30 | SanMehat | dcordes: hmm. possibly.. it all depends if the bootloader supports the ATAG_MSM_PARTITION atag |
17:27.06 | tsdogs | I think they changed so many things that merging would lead to many troubles :) |
17:27.15 | BabelO | goxboxlive_: compiling ? |
17:27.16 | paulproteus | Could be right. |
17:27.26 | dcordes | SanMehat: when I boot, nand should already be setup. what does that ATAG_MSM_PARTITION do? |
17:27.31 | tsdogs | but I'm not git expert :) I still fight with it sometimes |
17:27.41 | tsdogs | ok download finished |
17:27.52 | dcordes | SanMehat: I have a hynix module |
17:28.07 | SanMehat | dcordes: it is a record created by the bootloader which contains the partition information on the nand |
17:28.49 | dcordes | SanMehat: so that should be no problem |
17:29.22 | dcordes | SanMehat: is it possible/useful to read that record out? |
17:29.28 | goxboxlive_ | BabelO: no i haveproblemwith the dbus test. I know the dbuspath where removed with 4.2, but it seems like i need it again. I am testing now |
17:29.37 | dcordes | SanMehat: I think we even have such a table already |
17:29.56 | SanMehat | dcordes: then you dont need it :) is that code even running? |
17:30.37 | dcordes | SanMehat: yes the driver seems to load fine. I get a char and a block device mtd0 |
17:30.50 | SanMehat | so your nand only has 1 partition? |
17:30.54 | goxboxlive_ | Ni, still the same shit. No dbus availabel |
17:31.05 | dcordes | SanMehat: should have more |
17:31.21 | dcordes | SanMehat: one for the bootloader, one for psplas, one for data etc |
17:31.33 | SanMehat | then you're not getting the full partition information from the bootloader :) |
17:31.39 | dcordes | that's how the driver init looks in dmesg http://pastebin.com/m16769179 |
17:32.00 | goxboxlive_ | BabelO: what toolchain are you using, is it new, or is it the old one |
17:32.11 | dcordes | SanMehat: where is the driver told how/where to fetch the partition table? |
17:32.27 | SanMehat | thats what the ATAG_MSM_PARTITION is for (at least on our platforms) |
17:32.42 | dcordes | ok |
17:32.44 | SanMehat | if your bootloader is not creating that entry then you need to figure out how the bootloader is representing the partition information |
17:32.46 | BabelO | goxboxlive_: the one from qtopianet |
17:33.01 | goxboxlive_ | it isent available now |
17:35.07 | *** join/#htc-linux snakefreak-serve (n=g@dyndsl-091-096-093-118.ewe-ip-backbone.de) |
17:35.30 | snakefreak-serve | anyone know a htc windows channel in irc? |
17:35.45 | dcordes | SanMehat: #define ATAG_MSM_PARTITION 0x4d534D70 means the driver fetches the table from this address in the ram? |
17:37.07 | tsdogs | ok configuring x86 target |
17:37.19 | tsdogs | htc uni needs some work I think. |
17:38.11 | goxboxlive_ | tsdogs: WARNING: -dbuspath is deprecated. Please use -dbus instead. |
17:38.29 | tsdogs | maybe you need -dbus "/path" ? |
17:38.29 | BabelO | goxboxlive_: i post on #qtopia |
17:38.34 | tsdogs | ok |
17:42.49 | dcordes | cr2_: where does the kaiser spl put the nand partition table? |
17:50.11 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
18:09.17 | *** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
18:14.52 | tmzt_ | dcordes_: thats the tag number for the atag, might have to change haret to pass it |
18:23.45 | *** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net) |
18:31.19 | cr2_ | dcordes_: haret needs to be patched if you want to get some nonstandard ATAGs |
18:31.48 | tmzt_ | cr2_: could there be a generic mechanism for that? |
18:32.12 | cr2_ | SanMehat: is this ATAG documented somewhere ? |
18:33.02 | cr2_ | tmzt_: the kernel needs to know what do they mean. |
18:34.19 | tmzt_ | if ATAG_REVISION is already defined, and I know its tag number, would it be possible to have command to add that atag, or any other, and is it always a string or 32bit value? |
18:35.10 | tmzt_ | what happened here is I was looking at kexec and how it passed the mtype, then found that was on r1 |
18:35.22 | tmzt_ | and not an ATAG |
18:35.43 | tmzt_ | now I have a kernel that boots from haret and not kexec, and I don't know why |
18:38.01 | *** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se) |
18:39.37 | tsdogs | cr2_: how did you build qt extended for amd64? it failes for me :( |
18:40.53 | tsdogs | hmm, actually I'm on intel x86_64 now |
18:44.07 | dcordes_ | cr2_: can't we use the atag value set by spl? |
18:44.10 | cr2_ | tmzt_: mtype must be in the cpu register, it's all documented. |
18:44.19 | dcordes_ | cr2_: did you see the msm code bit which sets the address? |
18:44.28 | cr2_ | dcordes_: atag is a haret issue. |
18:44.29 | dcordes_ | <PROTECTED> |
18:44.50 | cr2_ | dcordes_: it's just some "random" number. |
18:44.54 | dcordes_ | cr2_: what's that address? is it the place where the nand driver fetches the ATAG_MSM_PARTITION ? |
18:45.06 | cr2_ | no, it#s a name |
18:45.10 | dcordes_ | ok |
18:45.34 | dcordes_ | so what info is to be patched into hareT? |
18:45.36 | cr2_ | tsdogs: it could not link, so it does not work. |
18:45.55 | tsdogs | ho ok, I get the same, but it's a known bug :( |
18:45.56 | cr2_ | dcordes_: we need to know the layout |
18:46.19 | dcordes_ | cr2_: like the RaphaelNAND and HermesNAND tables in the wiki? |
18:46.34 | tmzt_ | cr2_: I found that (r1), but the only in /proc/atags is the cmdline, is there anything else that needs passed to get the kernel to boot? |
18:46.44 | cr2_ | tsdogs: CXX = g++ -m32 |
18:47.07 | tsdogs | cr2_: that fixes it? |
18:47.12 | cr2_ | dcordes_: i have no idea what the androids put in this tag. |
18:47.26 | cr2_ | tsdogs: imho, it should |
18:47.33 | tmzt_ | gcc needs to be multiarch too, isn't usually on i386 |
18:47.51 | cr2_ | tsdogs: i think it tries to link with /foo/lib, where suse puts the 32bit libs |
18:48.22 | cr2_ | tmzt_: amd64 gcc supports -m32. always. |
18:48.26 | dcordes_ | SanMehat: what do you put in this ATAG_MSM_PARTITION tag? |
18:48.28 | tsdogs | lol well I think any distro puts 32bit in /foo/lib :) |
18:48.46 | cr2_ | tmzt_: otherwise this /lib64/ stupidity will not make any sense |
18:48.50 | tsdogs | cr2_: yes, but I dunno if I have all the 32bit version of the devel packages |
18:49.00 | tsdogs | I'll give it a try anyway |
18:49.19 | cr2_ | tmzt_: it was /lib/ on alpha, so the /lib64/ invention is for 32bit "compatibility" only |
18:49.47 | cr2_ | tsdogs: lib64 is what LSB says |
18:50.25 | tsdogs | cr2_: yes, but I don't have alphas here (only an ultraspark aroung :) |
18:50.26 | dcordes_ | cr2_: do you think the windows driver operates in a similar way and puts a similar tag with the bootloader where we can look the data up? |
18:50.26 | cr2_ | tsdogs: but afair it was redhat who did it. and "business" == backwards compatible friendly suse. |
18:50.42 | tsdogs | lol |
18:50.45 | cr2_ | ultra is big-endian |
18:51.05 | cr2_ | and solaris also have a lot of 32bit compatibility weirdness |
18:51.43 | tsdogs | hmm, it's been a while since I beta tested solaris :) |
18:51.57 | tmzt_ | <PROTECTED> |
18:52.03 | cr2_ | dcordes_: windows ? it's android ultra-secure bootloader that creates it. |
18:52.32 | dcordes_ | cr2_: urks why is the msm driver in git then? |
18:52.41 | dcordes_ | if it's not usable w/o that secret stuff |
18:53.12 | cr2_ | dcordes_: be thankful to androids that the've published even that ;) |
18:53.28 | tsdogs | bbl |
18:53.39 | dcordes_ | argh |
18:54.12 | cr2_ | otherwise msm would have been an even bigger pita that it's now. |
18:54.18 | tmzt_ | http://git.android.com/?p=kernel.git;a=blob;f=arch/arm/mach-msm/nand_partitions.c;h=65ea5b8591ba463ef3053abb64f78c34bc053adb;hb=HEAD |
18:54.31 | dcordes_ | tmzt_: yea there is the TAG |
18:54.44 | cr2_ | somehow i want my universal back :) but it does not have gps... |
18:55.21 | tmzt_ | ATAGs have a length? |
18:55.32 | dcordes_ | I don't even know what those tags are :( |
18:55.43 | dcordes_ | cr2_: use a780 :D :D |
18:55.48 | cr2_ | there was some atag doc. |
18:56.01 | tmzt_ | it seems that it is a bunch of msm_ptbl_entry, no more than 8 |
18:56.15 | cr2_ | dcordes_: a780 has gps on the BB (like arm9), so i can#t control it |
18:56.22 | cr2_ | so it#s also pita |
18:56.23 | dcordes_ | moko wiki has some info on nand/atag |
18:56.33 | dcordes_ | BB? |
18:56.34 | tmzt_ | using the length of the ATAG as the count by dividing it by the size of msm_ptbl_entry |
18:56.35 | cr2_ | athena has it much better. |
18:56.38 | tmzt_ | baseband |
18:56.42 | cr2_ | baseband |
18:56.48 | dcordes_ | ok |
18:57.34 | cr2_ | athena has sirf3 firmware as update, so i've even tried to disassemble that :) |
18:58.24 | cr2_ | but it's an annoying arm+thumb mix,where my old ida becomes a lot of problems. |
18:58.39 | dcordes_ | cr2_: is atag so secret? it seems to me like an open standard. doesn't the msm_nand use that standard? |
18:59.14 | cr2_ | dcordes_: i meant that we don't have the android "SPL" |
18:59.27 | tmzt_ | struct msm_ptbl_entry |
18:59.27 | tmzt_ | 41 { |
18:59.27 | tmzt_ | 42 char name[16]; |
18:59.27 | tmzt_ | 43 __u32 offset; |
18:59.27 | tmzt_ | 44 __u32 size; |
18:59.29 | dcordes_ | yea that's clear |
18:59.29 | cr2_ | dcordes_: and if we will ever have it. |
18:59.30 | tmzt_ | 45 __u32 flags; |
18:59.32 | tmzt_ | 46 }; |
18:59.59 | tmzt_ | it looks like flags aren't used |
19:00.01 | cr2_ | android spl should be like u-boot or so. |
19:00.20 | tmzt_ | arm9 brings up msm? |
19:00.29 | cr2_ | name="foobar", offset=0, size=256MB |
19:00.31 | dcordes_ | first not-so-open-platform in the world |
19:00.41 | cr2_ | don't know the size= units. |
19:01.02 | cr2_ | dcordes_: they do not do evil :) |
19:01.18 | tmzt_ | more to parse, and if the bl gets it from a binary table, would it make sense to printf and then parse in linux? |
19:01.39 | cr2_ | it will be certainly fun to disassemble, once it comes out. |
19:01.43 | tmzt_ | ptn->size = entry->size * 64 * 2048; |
19:01.54 | cr2_ | ok |
19:02.05 | dcordes_ | cr2_: I'll try and get one cheap from gB |
19:02.25 | cr2_ | i doubt that the GB version will be cheap. |
19:02.33 | tmzt_ | offset is the same |
19:02.51 | cr2_ | offset is zero, so it does not matter |
19:03.00 | dcordes_ | cr2_: I'll wait until it turns out nobody likes them and the providers must give free cake with them |
19:03.03 | cr2_ | you don#t need/have a superblock there anyway. |
19:03.12 | tmzt_ | for more than one partition? |
19:03.19 | cr2_ | lol |
19:03.25 | cr2_ | dcordes_: i think you are wrong. |
19:03.42 | cr2_ | dcordes_: when i read xda-dev, i get quite a different impression. |
19:04.11 | cr2_ | it's like an iphone marketing craze. |
19:04.16 | dcordes_ | ok then they will sell like warm semmeln. still I'll see if I can get one. |
19:04.22 | dcordes_ | will make some money soon |
19:04.38 | cr2_ | everybody knows that the phone is crippled and not state of the art, but still shells out a lot of money for it. |
19:05.55 | cr2_ | ellisway: still around ? |
19:06.03 | tmzt_ | has anyone, but maybe android, come close to the software on it? |
19:06.08 | dcordes_ | that's right. I have heard that crippled aspect from many people talking about the g1 |
19:06.33 | dcordes_ | tmzt_: the userland is available from the sdk googles hand out |
19:06.34 | tmzt_ | it has powervr now too? |
19:07.16 | dcordes_ | tmzt_: what's that? |
19:07.35 | cr2_ | dcordes_: half-vga is just plain silly. it will force the developers to do sane geometry management, but still it's bad for the first phone in the line |
19:07.39 | tmzt_ | 3d chip, I mean come close to the consistency/usability of mobile osx |
19:08.05 | tmzt_ | yeah, wondered why they didn't do same as n770 |
19:08.19 | dcordes_ | they could have used similar hardware like the raphael |
19:08.24 | exco | I was wondering - can you easily run OpenMoko on the G1? |
19:08.36 | exco | and - would you want that? |
19:08.37 | dcordes_ | exco: we talked about the closed situation of the bootloader |
19:08.45 | cr2_ | tmzt_: their "built-in ati technology" looks more like mesa to me. |
19:09.10 | dcordes_ | exco: it's likely you will be punted into a box with no rights from boot up. won't be easy like running haret in wince |
19:09.42 | ellisway | yeh |
19:09.43 | cr2_ | dcordes_: maybe they've royally pissed m$, but raphael as g1 would have been a real kick in the face for iphone3g |
19:09.44 | tmzt_ | you, the pleasures of a real os kernel |
19:09.46 | tmzt_ | yeah |
19:09.58 | exco | that does sound as open as the iphone... |
19:10.03 | ellisway | just trying to sort out a slow performing 100mb fibre link atm though |
19:10.14 | ellisway | so buusy for next 15 mins or so |
19:10.20 | cr2_ | ellisway: do you have the 16G ameo ? |
19:10.23 | cr2_ | ok |
19:10.23 | ellisway | yes |
19:10.28 | dcordes_ | exco: yes indeed |
19:10.36 | dcordes_ | exco: still the open image remains sustained across the market |
19:10.39 | ellisway | talking on it atm while tryingto sort outthis fibre link |
19:11.33 | ellisway | cr2_ will let ya know as soon as i`m free |
19:11.33 | exco | dcordes_: well as far as applications are concerned... it will be relatively open... compared to what Apple's doing |
19:12.38 | tmzt_ | ALoGeNo: you here? |
19:12.50 | dcordes_ | exco: relatively.. from my perspective this seems like yard excersie in jail |
19:13.11 | dcordes_ | exco: there's also cooked apps for the iPhone |
19:13.43 | exco | at least it will shift some attention towards "open source", dcordes_ |
19:13.51 | exco | well it already does |
19:14.08 | cr2_ | exco: htc does the best on the hardware side, compared to the monstrosity known as nokia |
19:14.26 | dcordes_ | tmzt_: do you think there's any chance to create the nand tag stuff without having a sample? |
19:14.31 | cr2_ | exco: htc uses real off the shelf components, and does not spare on features. |
19:14.38 | ellisway | k i`m free now |
19:15.00 | tmzt_ | seeing that n95 android was really omap, for a "high-end" phone was sad |
19:15.04 | cr2_ | ellisway: have you tried the 8G ameo bot ? |
19:15.15 | ellisway | bot ? |
19:15.23 | cr2_ | boot :) |
19:15.23 | *** join/#htc-linux yvo (n=musman@98.226.77-86.rev.gaoland.net) |
19:15.30 | ellisway | nope |
19:16.02 | exco | cr2_: that's why they are so successful... if they were open it would be really nice |
19:16.04 | cr2_ | ellisway: http://jornada820.sourceforge.net/files/haret/ |
19:16.50 | cr2_ | exco: agreed |
19:17.03 | dcordes_ | exco: don't you have the magician? |
19:17.26 | ellisway | athena-boot ? |
19:17.34 | ellisway | or the zimage ? |
19:17.49 | cr2_ | athena-boot |
19:17.59 | exco | dcordes_: yes, I do... and some half ones :-) |
19:18.15 | exco | dcordes_: but I was thinking about getting a G1 on ebay |
19:18.50 | cr2_ | ellisway: and the dmesg_buf -> http://wiki.xda-developers.com/index.php?pagename=AthenaMemoryMap |
19:19.00 | ellisway | k where should i store it on the rom / flash-disk / sd card |
19:19.14 | cr2_ | ellisway: does not matter |
19:19.28 | cr2_ | ellisway: i boot off the usb stick :) |
19:19.44 | ellisway | k |
19:20.06 | cr2_ | because the usb host works very well in linux |
19:20.13 | dcordes_ | exco: better get a raphael |
19:20.17 | cr2_ | unlike the others ;) |
19:20.21 | dcordes_ | exco: or hd |
19:20.46 | exco | what about the touch cruise ? |
19:21.02 | cr2_ | dcordes_: i'd like to know wtf is digital compass on g1 |
19:21.34 | exco | The G1 also provides a digital compass, which enables it to present your direction as you move it, making the accelerometer controls smarter. |
19:21.36 | dcordes_ | exco: polaris. it is supported in the htc-msm branch |
19:21.53 | dcordes_ | cr2_: do you mean g1 or raph100? |
19:22.06 | cr2_ | exco: so it's not the accelerometer |
19:22.17 | exco | apparently not, cr2_ |
19:22.22 | cr2_ | ok. |
19:22.31 | yvo | hi again all ! |
19:22.40 | exco | cr2_: "The primary application for this is being able to hold up the phone in orbit around yourself to navigate Street Views. It could also be applied for intelligent maps that present North automatically so you don't get turned around." |
19:22.51 | cr2_ | raphael has a compass irq, but i don't see any code/driver/program that uses it. |
19:23.15 | exco | cr2_: so I guess it's useful for navigation when walking |
19:23.22 | cr2_ | exco: but you can do the same with the accelerometer |
19:23.48 | exco | cr2_: well the accelerometer doesn't really tell you which way north is, does it? |
19:23.49 | cr2_ | i'm curious if they really have a chip that measures the earth magnet field |
19:24.05 | cr2_ | like garmin 60/76CS(x) |
19:24.51 | cr2_ | exco: knowing the direction of the magnetic field does not help Street Views either |
19:25.36 | yvo | dcordes_, I haven't been able to apply your patch :( |
19:25.42 | exco | well I suppose it'll tell street views where north is? |
19:26.05 | cr2_ | exco: in 80% of cases yes |
19:26.19 | dcordes_ | yvo: hey again. which revision did you apply against? |
19:26.54 | yvo | I've downloaded the 2 revisions you sent me, as snapshot to be sure |
19:28.05 | dcordes_ | yvo: they were just guesses. I could have looked it up in my tree but I didn't think of that. sorry if I caused you losing time. the last commit in my local branch is ea2e4fc53fec9008be4572fe5fa887181ddf3fef Merge branch 'msm-2.6.25' into android-msm-2.6.25 |
19:29.00 | yvo | don't worry, I'll try this specific branch |
19:29.14 | dcordes_ | branch android-msm-2.6.25 |
19:30.43 | yvo | git, grrrrr it says "is a merge but no -m given"... |
19:31.40 | exco | In the long run - do you think there will be a XDA-Developers distro for all the HTC phones? |
19:33.21 | dcordes_ | yvo: strange. did you try applying against the latest revision already? |
19:33.26 | ellisway | cant get the athena-boot to work cr2 |
19:33.51 | ellisway | always returns a error from haret of undefined mtype |
19:34.16 | cr2_ | ellisway: strange. |
19:34.50 | dcordes_ | yvo: according to the git log in my local branch I have the latest commit |
19:34.51 | cr2_ | ellisway: can you dump the "dmesg" area ? |
19:35.08 | ellisway | u pasted info on that before didn`t you |
19:35.42 | yvo | dcordes_, ok |
19:35.53 | dcordes_ | yvo: I could give you a snapshot of my worktree.. but it's not that tidy |
19:36.06 | ellisway | ah was the memory map u pasted link to |
19:36.19 | ellisway | ok how do i get the dmesg |
19:36.23 | yvo | dcordes_, I'll try to download the last tree and apply the patch |
19:36.38 | dcordes_ | yvo: ok |
19:36.38 | cr2_ | ellisway: telnet to running haret and do |
19:37.03 | cr2_ | pwf dmesg16G 0xa0100000 0x200000 |
19:37.16 | ellisway | any specific ver of haret |
19:37.19 | cr2_ | no |
19:37.34 | ellisway | k i`ll grab the newest then |
19:37.47 | cr2_ | ok |
19:37.58 | dcordes_ | ex87: ping |
19:38.30 | yvo | dcordes_, origin/android-msm-2.6.25 ? |
19:38.48 | dcordes_ | yvo: yea |
19:38.55 | dcordes_ | I usually do it like that: |
19:39.08 | dcordes_ | git clone git://git.android.com/kernel.git kernel |
19:39.09 | dcordes_ | cd kernel |
19:39.28 | dcordes_ | git checkout -b android-msm-2.6.25 origin/android-msm-2.6.25 |
19:40.14 | yvo | well, I downloaded the kernel tree this afternoon with the clone command |
19:40.40 | yvo | and I just done a checkout origin/android-msm-2.6.25 |
19:40.48 | yvo | but it doesn't apply... |
19:41.12 | dcordes_ | yvo: what exactly does fail? |
19:41.22 | *** join/#htc-linux wasup (n=Tech@208.47.103.106) |
19:42.01 | yvo | dcordes_, a lot ! |
19:43.03 | yvo | dcordes_, the failed ones : arch/arm/mach-msm/Makefile arch/arm/mach-msm/clock.c arch/arm/mach-msm/smd_tty.c arch/arm/mach-msm/timer.c arch/arm/mach-msm/vreg.c |
19:43.32 | yvo | dcordes_, etc, it even block asking if I already applied the patch |
19:43.45 | ellisway | what port does haret listen on |
19:43.51 | tmzt_ | 9999 |
19:43.54 | yvo | 9999 |
19:43.57 | ellisway | ty |
19:44.14 | dcordes_ | yvo: looks like I'm out of clue. Want a copy of my tree? |
19:44.34 | ellisway | k |
19:44.51 | ellisway | i take it i should now find a file called dmesg16G |
19:45.04 | yvo | well, if you have it available somewhere |
19:45.29 | dcordes_ | yvo: I can upload it to linuxtogo server. or can I pass it directly? |
19:45.58 | yvo | the linuxtogo server seems to me to be the best option |
19:45.59 | cr2_ | ellisway: in the same directory as haret |
19:46.05 | ellisway | yeh |
19:46.14 | ellisway | i `m just gettingready to upload it |
19:48.13 | dcordes_ | yvo: ok I will ping you when it's prepared |
19:49.02 | yvo | dcordes_, ok thx |
19:50.23 | dcordes_ | cr2_: so is the situation about msm7200 nand all screwed up or do you think we can get it to work without a g1 |
19:50.55 | ellisway | k htc-linux.org/dmesg16G |
19:51.24 | cr2_ | dcordes_: a working g1 with working kernel source is certainly better than the current patchwork git.android.com |
19:51.33 | cr2_ | ellisway: wget |
19:52.31 | dcordes_ | cr2_: nand is vital t. I have somebody who wants to port the whole new openmoko to kaiser if we can him working storage and net(other than gprs) |
19:52.43 | cr2_ | ellisway: can you do a soft-reset, and dump/reupload it again ? |
19:52.59 | dcordes_ | get him |
19:53.20 | *** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it) |
19:53.30 | ellisway | yeh |
19:53.54 | wasup | openmoko??? |
19:53.56 | wasup | wow |
19:53.59 | wasup | that would be nice |
19:54.15 | ellisway | waiting on the unit to boot back up after the softreset |
19:54.54 | dcordes_ | wasup: yes the moko guys are looking to extend their new framework to other platforms |
19:55.08 | ellisway | when i telnet to the device should i do itvia activesync or is it ok via wireless |
19:55.22 | wasup | yea? what are the odds of that working on a titan? |
19:55.34 | *** join/#htc-linux snakefreak-serve (n=g@dyndsl-091-096-093-118.ewe-ip-backbone.de) |
19:55.43 | dcordes_ | wasup: just the different command sets. |
19:56.44 | dcordes_ | wasup: the AT commands is the only real difference from the userspace(distro) point of view. the rest is kernel level. once the moko dudes have the msm7200 working, msm7500 (titan etc) will be easy |
19:57.00 | cr2_ | ellisway: does not matter |
19:57.13 | dcordes_ | wasup: that will apply to msm7x01A as well |
19:57.15 | cr2_ | ellisway: Misc: 1583 on board <- that is good |
19:57.46 | wasup | mmmm |
19:57.51 | wasup | sounds good |
19:57.55 | wasup | hahaha |
19:59.03 | cr2_ | ECS is accelerometer. good. |
20:00.29 | tmzt_ | cr2_: how in the 'dump gpio' output do I find if a pin is pulled low by default? |
20:02.20 | ellisway | uploading new dmesg now |
20:02.25 | cr2_ | tmzt_: you see the pin status in the table |
20:02.31 | dcordes_ | wasup: tmi for you? |
20:02.48 | tmzt_ | yeah, what are the D S A direction/alternate function? |
20:03.27 | cr2_ | ellisway: 2 mDoCs ? interesting |
20:03.35 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
20:03.42 | dcordes_ | yvo: do you know .git/objects/pack is important? |
20:04.15 | yvo | dcordes_, I know almost nothing with git, so no, I don't know |
20:04.18 | ellisway | k htc-linux.org/dmesg16G2 |
20:05.08 | cr2_ | ellisway: LCD is "Samsong" ? |
20:05.37 | cr2_ | ellisway: downloaded |
20:05.45 | dcordes_ | yvo: ok I'll keep it. uploading. |
20:06.08 | yvo | :) |
20:06.19 | tmzt_ | cr2_: what are the D S A direction/alternate function? |
20:07.00 | wasup | anyone know where the angstrom initrd is located for download? |
20:07.05 | wasup | i forgot the link |
20:07.21 | cr2_ | D is direction (I/O), A is alternate (if !=0), so you can check the datasheet for the function |
20:07.27 | zdooder | wasup: I got mine here: http://dx.infernix.net/kaiser/initrd-angstrom-console |
20:08.00 | tmzt_ | S? |
20:08.30 | wasup | zdooder: thats only 6.7 megs? |
20:08.40 | wasup | the one i was using before was close to 18 i think |
20:08.44 | wasup | wierd |
20:09.08 | zdooder | Yeah 6MB about... I dunno, it seems to boot into a console though |
20:09.39 | tmzt_ | zdooder: what CONFIG_MACHINE do you have =y in .config ? |
20:10.15 | ellisway | cr2 is it worth me forwarding the haret port through my firewall for you to be able to have a play |
20:10.49 | cr2_ | ellisway: not yet. i've got a lot of interesting data for it. |
20:10.58 | zdooder | tmzt_: CONFIG_MACH_HTCVOGUE? |
20:10.58 | ellisway | k |
20:11.06 | cr2_ | ellisway: should i re compile the athena-boot ? |
20:11.30 | ellisway | its easy done if u want to telnet direct to it at any point |
20:11.45 | cr2_ | no, i'd like to know if it boots |
20:12.13 | dcordes_ | zdooder: I can try and cook up a more useful intird. do you guys need anything special for the keyboard? |
20:12.37 | ellisway | since the 1st day i got the device i`ve been wanting to see a nice lil tux pic on the screen as it loads the kernel |
20:12.45 | zdooder | dcordes_: I doubt it yet, can't really type anything so as long as it gets to a console and we can read the kernel debug output I think that's all we need right now. |
20:13.00 | dcordes_ | zdooder: fine |
20:13.30 | ellisway | so if u think a recompile of the athena-boot with the new mtype will do the job then by all means please do so |
20:14.59 | cr2_ | ok |
20:15.15 | dcordes_ | zdooder: you can also boot from SD |
20:16.29 | zdooder | dcordes_: What does "boot from SD" mean? |
20:17.47 | dcordes_ | zdooder: instead of using the rootfs from an intird, you can as well extract it to a partition on your sd card, which is more elegant |
20:18.20 | zdooder | dcordes_: Partition? ok, I didn't know you could partition SD cards :) |
20:19.32 | cr2_ | ellisway: recompiling |
20:19.38 | ellisway | k |
20:19.55 | dcordes_ | zdooder: yea just specify CMDLINE= "root=/dev/mmcblk0p<partition-number-here>" in your default.txt |
20:20.47 | zdooder | dcordes_: sweet.. how do you make the paritions initially? fdisk on another box? |
20:20.50 | cr2_ | btw, is there a gcc-4.3 based toolchain P? |
20:21.25 | dcordes_ | zdooder: yea use your favourite partitioning program on a linux box |
20:21.48 | tmzt_ | cr2_: what is the S column? |
20:22.18 | cr2_ | tmzt_: level ? |
20:22.28 | cr2_ | sf.net does not allow ssh anymore ? |
20:22.43 | tmzt_ | at the time it dumps? |
20:22.49 | dcordes_ | zdooder: it is useful to make two partitions: first with vfat so wince can read it and you can put haret, default.xt and the kernel, and the second with something linux cna use, for example ext2 where you can extract the root filesystem |
20:22.58 | tmzt_ | maybe to a subdomain? |
20:23.09 | zdooder | dcordes_: sweet, thanks! |
20:23.44 | cr2_ | hehe. that's bad. |
20:23.57 | dcordes_ | zdooder: no problem. the titan sd driver should work perfectly. you guys use the htc-vogue branch from linuxtogo, right? |
20:24.16 | cr2_ | ellisway: how do i upload to htclinuxorg ? |
20:24.29 | ellisway | i did send you a mail ages ago |
20:24.38 | cr2_ | hmm. |
20:24.40 | dcordes_ | ellisway: that would have been me |
20:24.42 | ellisway | but will search my mailbox for it |
20:24.51 | cr2_ | yes, i remember. need to dig it out |
20:24.52 | ellisway | no before i sent to u dcordes_ |
20:24.58 | dcordes_ | alright |
20:25.28 | cr2_ | i have ~6000 emails in inbox |
20:25.33 | ellisway | user is htcl77 |
20:25.34 | zdooder | dcordes_: Right |
20:25.44 | ellisway | searching my mailbox atm |
20:25.48 | dcordes_ | zdooder: then SD is no problem. |
20:26.06 | dcordes_ | zdooder: just make sure you use the correct kernel config |
20:26.51 | cr2_ | ellisway: found it. |
20:27.19 | dcordes_ | dzo should put a arch/arm/configs/htcvogue_defconfig |
20:29.00 | ellisway | resent |
20:30.25 | cr2_ | ellisway: logged in |
20:30.25 | dcordes_ | yvo: half the way. 54% 173MB 122.6KB/s 19:58 ETA |
20:30.39 | ellisway | k |
20:30.43 | yvo | dcordes_, ok |
20:30.56 | yvo | dcordes_, I'll work it tomorrow then |
20:32.21 | dcordes_ | yvo: I cleaned the tree up a bit and made a build. it boots fine on kaiser. should provide you with everything available from the patch |
20:32.47 | cr2_ | ellisway: uploaded to public_html |
20:32.57 | ellisway | linload ? |
20:33.08 | wasup | hey is this the git i would use for titan git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git |
20:33.18 | yvo | dcordes_, yes, thanks a lot, I'll play with pleasure with it |
20:33.38 | cr2_ | ellisway: yes |
20:33.48 | dcordes_ | wasup: yep |
20:33.50 | ellisway | k |
20:33.55 | wasup | ok thanks. |
20:34.03 | cr2_ | ellisway: it's the standard name. i was lazy to change it. |
20:34.12 | cr2_ | ellisway: let me know if it boots |
20:35.15 | yvo | dcordes_, I'll also see if it boot as is on the ks20. I think there is almost only the fb different from the kaiser |
20:35.18 | tmzt_ | cr2_: by level you mean those were the values of the pin when dump gpio was run? |
20:35.58 | ellisway | undefined mtype |
20:36.21 | *** join/#htc-linux szsoftware (n=kvirc@e178199077.adsl.alicedsl.de) |
20:36.38 | szsoftware | dcordes_: ping |
20:37.25 | cr2_ | ellisway: ok |
20:37.50 | cr2_ | ellisway: can you create earlyharetlog.txt file in the same directory, and rerun haret ? |
20:37.56 | ellisway | lol |
20:38.00 | cr2_ | ellisway: i guess it has a different name. |
20:38.09 | ellisway | i was just about to ask if u wanted me to do that |
20:38.14 | ellisway | yeh |
20:38.18 | ellisway | athena 400 |
20:38.29 | cr2_ | i need the full strings |
20:38.34 | ellisway | k |
20:38.35 | wasup | dcordes_:one last question... what is the git command i use to switch to the vogue branch? |
20:38.37 | cr2_ | so i'll add it to the machtypes |
20:38.55 | ellisway | will do the earlyharetlog and put it on htc-linux |
20:39.03 | cr2_ | well, i can force the athena machtype |
20:39.04 | cr2_ | ok |
20:39.43 | cr2_ | htcathena MACH_HTCATHENA HTCATHENA 1289 |
20:39.57 | dcordes_ | wasup: git checkout -b htc-vogue origin/htc-vogue |
20:40.00 | ellisway | probably better to get the info and then register the device |
20:40.05 | dcordes_ | szsoftware: pong |
20:40.08 | cr2_ | ellisway: sure |
20:40.58 | szsoftware | dcordes_: respect and appreciation about your efforts concerning nand |
20:41.20 | ellisway | u need just the haretlog itself yes |
20:42.16 | cr2_ | yes |
20:42.25 | cr2_ | ellisway: uploaded linload1289.exe |
20:42.53 | dcordes_ | szsoftware: thanks I only build it with the msm defconfig instructed by cr2 ;) |
20:43.25 | ellisway | k |
20:43.32 | ellisway | haretlog uploaded |
20:43.35 | szsoftware | dcordes_: are dismantled pictures for kaiser or polaris available, where the nand is shown in good quality? |
20:43.39 | cr2_ | ok |
20:43.59 | szsoftware | dcordes_: I'm up to date about that ;-) |
20:44.17 | dcordes_ | szsoftware: I have my nand id. cr2_ grabeed the id table from spl |
20:44.31 | cr2_ | ellisway: looks good |
20:44.34 | ellisway | k i`m gonna try the 1289 |
20:44.46 | szsoftware | dcordes_: I know the process :-) |
20:44.51 | ellisway | unless u would prefer me to wait |
20:45.19 | ellisway | the device i have is tmobile uk branded btw |
20:46.30 | ellisway | i have a pic of tux |
20:46.40 | cr2_ | ellisway: uploaded linload-athe.exe |
20:46.43 | cr2_ | :D |
20:46.45 | szsoftware | dcordes_: Very silly question/idea: Don't ask about how to do that, but could a physical image of the nand, fetched with a eeprom reader, help to examine the rom/nand content? |
20:47.01 | ellisway | ok |
20:47.07 | cr2_ | ellisway: yes, i've seen it in the log. ameo is t-mob^tm |
20:47.30 | ellisway | well the linload1289 reached as far as a prompt |
20:47.40 | cr2_ | szsoftware: of course |
20:48.07 | cr2_ | ellisway: i wish it was the same on msm7201A :) |
20:48.08 | ellisway | 1 error regarding the fb0 con_rotate |
20:48.23 | cr2_ | it's a bug in the ramdisk |
20:48.44 | dcordes_ | szsoftware: I think everything required is available |
20:48.45 | cr2_ | ellisway: you can connect an usb keyboard now. if you have the multi-cable |
20:48.49 | dcordes_ | cr2_: am I right? |
20:49.09 | ellisway | i have the cable |
20:49.16 | cr2_ | dcordes_: if you'll have the raw nand dump, you'll know the offsets |
20:49.27 | ellisway | just need to find a usb keyboard |
20:49.33 | cr2_ | ellisway: ok |
20:49.42 | szsoftware | cr2_: thats what I thought too |
20:50.15 | yvo | dcordes_, I go to sleep, you'll give me the link tomorrow |
20:50.17 | dcordes_ | cr2_: can't you get them from the spl? |
20:50.25 | dcordes_ | yvo: ok |
20:50.30 | cr2_ | dcordes_: in theory ;) |
20:50.35 | yvo | goodnight all ! |
20:50.50 | dcordes_ | yvo: you're timing is good |
20:50.54 | cr2_ | dcordes_: incomplete, and not so nice. |
20:50.54 | dcordes_ | yvo: the upload just finished |
20:51.00 | yvo | and btw, I had the alpine |
20:51.10 | yvo | really ? |
20:51.16 | dcordes_ | yvo: yes want to grab it? |
20:51.19 | yvo | I may download it during the night |
20:51.36 | ellisway | doesn`t work with my logitech cordless |
20:51.55 | ellisway | sees the receiver but doesnt get any of the key presses |
20:52.47 | ellisway | keyboard is definantly connected to the receiver |
20:53.32 | exco | who still has a Magician? |
20:54.14 | wasup | dcordes_: how would i setup the defconfig for titan? |
20:54.25 | wasup | or would i use a different defconfig |
20:54.42 | dcordes_ | wasup: if there was one you would do a make htctitan_defconfig |
20:55.09 | wasup | but there isn't |
20:55.12 | wasup | so what should i do? |
20:55.20 | dcordes_ | wasup: do a "wget http://it029000.massey.ac.nz/vogue/.config" in your kernel root |
20:55.31 | wasup | ok |
20:56.01 | dcordes_ | wasup: do you havea working toolchain now? |
20:56.16 | wasup | i should... |
20:56.21 | wasup | i got the .config |
20:56.31 | wasup | do i just typ make now? |
20:56.39 | dcordes_ | make zImage |
20:56.48 | wasup | i need to set path right? |
20:57.00 | dcordes_ | if you don't set the vars ARCH and CROSS_COMPILE in the Makefile or otherwise you must pass them with the commands |
20:57.28 | wasup | make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- ? |
20:57.31 | tmzt_ | you can use a full path for CROSS_COMPILE |
20:57.50 | dcordes_ | wasup: yea like that |
20:58.11 | yvo | got it dcordes_, now time to sleep |
20:58.13 | yvo | see ya all |
20:58.17 | dcordes_ | yvo: ok good night |
20:59.28 | wasup | arm-none-linux-gnueabi-(SHOULD I PUT SOMETHING HERE) |
20:59.41 | dcordes_ | no |
20:59.46 | wasup | ok |
21:00.22 | dcordes_ | szsoftware: so I've heard rumours you are going to read out the nand? :) |
21:01.53 | wasup | WTF? /bin/sh: gcc: command not found |
21:02.08 | szsoftware | dcordes_: I'm just looking at some detailed pics of the kaiser's motherboard. Look whether the chip pins are accessible whith some needles :-) |
21:02.23 | wasup | make[2]: *** [scripts/basic/fixdep] error 127 |
21:03.45 | szsoftware | dcordes_: I remember to those guys who attached mod chips to game consoles, for accessing those roms without voiding warranty |
21:04.09 | wasup | dcordes_: do you know what this means "make: *** NO rule to make target 'incluce/config/auto.conf', needed by 'include/asm-arm/.arch'. STOP."? |
21:04.10 | dcordes_ | szsoftware: I have seen those guys as well |
21:04.30 | wasup | s/incluce/include |
21:04.48 | ellisway | k i have a working usb keyboard |
21:04.55 | dcordes_ | wasup: that's odd. are you in the right branch? |
21:05.07 | tsdogs | wasup: there is a reference to auto.conf in Makefile, but file is missing or there is no rule on how to buildit |
21:05.22 | tmzt_ | its built from .config by kconfig |
21:05.25 | cr2_ | ellisway: hmm. the ramdisk does not have the hid module ;) |
21:05.41 | wasup | i copied the .config from DZO's site |
21:05.45 | dcordes_ | maybe he must run a menuconfig firsT? |
21:05.49 | cr2_ | ellisway: i#ve used it with full qtopia off the usb stick |
21:05.58 | ellisway | coo |
21:05.59 | cr2_ | ellisway: it was fun to boot |
21:06.01 | dcordes_ | wasup: try running make menuconfig and save directly |
21:06.03 | tmzt_ | make oldconfig or make prepare |
21:06.25 | ellisway | i`m happy to have seen tux on the fb0 whilst booting |
21:06.25 | cr2_ | ellisway: because i've connected the stick and keyboard to the usb hub :) |
21:06.43 | tmzt_ | where is arm-none-linux-gnueabi-gcc on your filesystem? |
21:06.44 | cr2_ | ellisway: the mouse can be connected to the hub too. |
21:07.03 | cr2_ | ellisway: does the linload-athe.exe boot ? |
21:07.04 | wasup | <PROTECTED> |
21:07.11 | ellisway | just about to try it |
21:07.17 | dcordes_ | wasup: you must always pass the vars |
21:07.28 | wasup | oh ok |
21:07.35 | zdooder | wasup: I think you have to get the dev packages for fedora too, if you haven't |
21:07.46 | tmzt_ | you need a native compiler too |
21:07.55 | szsoftware | cr2_: from the current point of view, would efforts doing a nand-dump be ridiculous? |
21:07.56 | zdooder | wasup: i.e. it needs the cross-compiler to actually compile the kernel, but it needs the native compiler to compile tools needed to compile the kernel also |
21:08.05 | tmzt_ | if you are using PATH= and :$PATH to it |
21:08.17 | cr2_ | szsoftware: is it possible to use itsutils ? |
21:08.44 | wasup | oh k |
21:08.56 | wasup | i will try to get those |
21:09.00 | ellisway | yes the linload-athe works |
21:09.15 | dcordes_ | wasup: open Makefile in your kernel root with an editor. at the beginning there are some variabels set. you can define ARCH and CROSS_COMPILE there as well so you don't need to pass it manually all the time |
21:09.17 | cr2_ | ellisway: ok, then we'd patch haret |
21:09.27 | szsoftware | cr2_: don't know about itsutils |
21:09.31 | cr2_ | ellisway: i'll check whcih LCD i have |
21:09.33 | ellisway | keyboard is also working |
21:09.41 | cr2_ | ellisway: usb ? |
21:09.48 | szsoftware | cr2_: have to check that out |
21:09.57 | ellisway | yeh logitech cordless |
21:10.08 | cr2_ | ellisway: there is a native keyboard driver. for 8G |
21:10.11 | wasup | dcordes_: ok i will try that |
21:10.21 | cr2_ | maybe it'll work on 16G |
21:10.31 | wasup | zdooder: do you know what the dev package would be called? |
21:10.35 | cr2_ | but it needs some glue code to make it work. power+irq |
21:10.48 | ellisway | me and a friend have tried each others keyboards on my unit |
21:10.54 | cr2_ | ok |
21:11.10 | szsoftware | reading http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom |
21:11.11 | ellisway | he has a 8gb his keyboard was a bit flaky on my unit and mine was flaky on his |
21:11.16 | ellisway | but worked |
21:11.27 | ellisway | probably just a few different key mappings |
21:12.13 | wasup | dcordes_:the path was already in the MakeFile |
21:13.21 | dcordes_ | szsoftware: you have a windows machine? |
21:13.49 | szsoftware | dcordes_, cr2_: in the xda-devs space is a tutorial/howto, for raw backup of the rom. Had that in mind already, but forgot. |
21:14.30 | szsoftware | dcordes_: Hope to deliver the rom of polaris as soon as possible :-) |
21:14.33 | cr2_ | szsoftware: that description looks good |
21:15.13 | ellisway | looks like it sees part of the sd card controller |
21:15.19 | ellisway | from what i can see in the dmesg |
21:15.33 | cr2_ | ellisway: you can boot any rootfs off the usb. even a 750GB disk ;) |
21:15.45 | ellisway | co |
21:15.48 | cr2_ | ellisway: this driver is incomplete |
21:15.53 | ellisway | k |
21:16.05 | szsoftware | cr2, dcordes_: I even have in mind, there was written about the offsets, for backing up certain parts of the rom. |
21:16.26 | cr2_ | szsoftware: still it's better to have a full raw dump |
21:16.38 | ellisway | is there any info from the device that can help you with the development of the 8gb unit |
21:16.53 | cr2_ | ellisway: no |
21:16.54 | ellisway | or is it going to be pretty much the same |
21:16.56 | dcordes_ | cr2_: szsoftware ok will bot windows to try that with kaiser |
21:17.07 | cr2_ | ellisway: i can make gps and bt work with some minor effort |
21:17.07 | ellisway | k |
21:17.21 | cr2_ | but the real thing is to switch to 2.6.27 |
21:17.28 | ellisway | k |
21:17.42 | cr2_ | and it#s not that difficult |
21:17.47 | ellisway | i think thats probably true for the universal aswell |
21:17.52 | cr2_ | unlike the asic3_mmc based devices. |
21:17.54 | ellisway | waiting on a new kernel |
21:17.57 | cr2_ | no |
21:18.04 | cr2_ | universal has asic3_mmc |
21:18.07 | ellisway | ah yeh asic |
21:18.25 | ellisway | a tad out of touch atm |
21:18.38 | szsoftware | dcordes_: since my thinkpad (a30p) I have to replace the hdd at this medion laptop for booting in windows :-( |
21:18.48 | ellisway | been to busy working to keep uptodate on whats been happening with the htc linux stuff |
21:19.04 | szsoftware | dcordes_: *tp gave up* |
21:19.36 | ellisway | last i remember was that there was some porting effort ongoing with regard the asic3_mmc |
21:19.49 | ellisway | but that must be best part of 6 weeks back |
21:21.41 | cr2_ | ellisway: maybe |
21:22.34 | ellisway | and from what i remember that was with regards to the 2.6.26 kernel and was partitaly working on some devices and not working on others |
21:22.57 | *** join/#htc-linux snakefreak-serve (n=g@dyndsl-091-096-106-017.ewe-ip-backbone.de) |
21:23.07 | cr2_ | ellisway: send me a link if you'll find it. |
21:23.22 | cr2_ | it#s not only universal, but hx470x and many others. |
21:23.26 | ellisway | will be in the channel logs somewhere |
21:23.27 | cr2_ | blueangel/himalaya |
21:23.43 | ellisway | as it was in chan that i remember people talking about it |
21:24.06 | ellisway | i think you were moving or on holiday at the time |
21:24.42 | cr2_ | ok |
21:24.55 | ellisway | think it was BabelO and some1 else talking bout it |
21:25.17 | ellisway | this is all from memory |
21:25.28 | ellisway | so i might have my wire twisted |
21:25.30 | cr2_ | ellisway: the ati sd controller on athena/hermes is very similar to asic3_mmc |
21:25.55 | cr2_ | so if asic3_mmc will be ported, ati sd will be coming soon. |
21:26.39 | ellisway | i should get a friend of mine to start doing some dev work he has more spare time than i do |
21:27.42 | ellisway | i`m swamped with work for a few big companies here which is what has been taking all my time |
21:28.34 | ellisway | 1 more thing that i can probably do while i think about it is to dump the ipl/spl |
21:28.54 | ellisway | but would need u to walk me through the process of doing so |
21:31.34 | cr2_ | ellisway: the device looks very similar to 8G |
21:31.56 | cr2_ | ellisway: maybe porting to 2.6.27 should be the first step |
21:32.17 | cr2_ | porting means mainly adapting to the new htc-egpio api. |
21:34.10 | ellisway | k |
21:36.45 | ellisway | what about the gsm on the athena |
21:36.58 | ellisway | is that somthing that could be supported |
21:37.31 | ellisway | or is there some nasty lil bit of htc code that would make it almost impossible |
21:38.12 | cr2_ | i#ve documented the DPRAM bits i've found |
21:38.16 | *** join/#htc-linux hansjuergen (n=chatzill@f054178084.adsl.alicedsl.de) |
21:38.32 | cr2_ | it looks similar to msm720xx in some sense |
21:38.52 | ellisway | ok |
21:38.59 | cr2_ | everything goes over dpram, and there are signals between the pxa270 and msm6275 |
21:39.05 | cr2_ | irq and registers. |
21:39.35 | cr2_ | http://wiki.xda-developers.com/index.php?pagename=AthenaDPRAM |
21:39.37 | ellisway | so simalar mess to the amss stuff with the kaiser |
21:40.00 | cr2_ | it's easier, because it's mostly done in hardware :) |
21:40.31 | cr2_ | but you have channels, and head/tails |
21:40.47 | ellisway | ok |
21:40.48 | hansjuergen | szsoftware: the howto seems to work fine on kaiser. |
21:40.57 | cr2_ | but there are real hardware interrupts for each channel |
21:41.11 | ellisway | coo |
21:41.27 | dcordes | szsoftware: how about polaris? |
21:41.44 | ellisway | i should look into getting another kaiser to have a play around with |
21:41.46 | cr2_ | but i have no idea about the purpose of these channels |
21:41.54 | cr2_ | maybe umts data and such. |
21:41.55 | ellisway | i did have 1 for about a week |
21:42.22 | szsoftware | hansjuergen: Fine, I currently examine that page, maybe pdocread compiles on linux and runs whith usb-rndis-lit or so |
21:42.24 | ellisway | but go so frustrated with it that i said to tmobile to either take it back as a working device or as a box of bits |
21:42.30 | cr2_ | dcordes: kaiser spl (and lcd init) looks easier than raph100 ;) |
21:42.37 | cr2_ | lol |
21:42.45 | szsoftware | http://www.xs4all.nl/~itsme/projects/xda/tools.html |
21:42.58 | ellisway | couple of days later i had the return bag come in the post |
21:44.27 | ellisway | ok well back to windows mobile for the ameo for now |
21:44.35 | dcordes | szsoftware: I'm in windows xp works well |
21:45.14 | ellisway | i still use the universal with windows mobile as acx100 is still 2 unstable for me under linux |
21:45.30 | szsoftware | I just look over the source of pdocread and the includes let me booting in windows as well :-) |
21:46.29 | ellisway | and i still havn`t managed to suss out why the gps on my motorola a780 doesn`t work |
21:46.40 | szsoftware | dcordes_: Today there is a hole in my head. Some words go through that hole in the nirvana. The includes say: dont't compilemeon linux ;-) |
21:46.49 | ellisway | although saying that |
21:46.52 | dcordes | cr2_: so what does that mean? you think you can get the magic nand table? |
21:47.13 | ellisway | didn`t u have some issues with the gps on your 780 cr2 ? |
21:47.15 | dcordes | szsoftware: alright :) |
21:47.52 | cr2_ | ellisway: my battery is old, so often i don#t j |
21:47.59 | cr2_ | have the gps enable button |
21:48.31 | ellisway | gps enable button ? |
21:48.39 | cr2_ | i think replacing the battery may help. |
21:48.45 | ellisway | reaches for the 780 |
21:48.50 | cr2_ | yes, how do you switch gps on ? |
21:49.04 | cr2_ | onscreen button in the setup dialog |
21:49.39 | *** part/#htc-linux hqqh (n=hqqh@e178163128.adsl.alicedsl.de) |
21:50.38 | ellisway | just waiting on it to finish booting |
21:51.00 | szsoftware | dcordes: have I noticed that right, that WE need only the raw dump of the WHOLE rom, so I can ignore that partition stuff on the hermes_rom_dump_wiki? |
21:51.19 | cr2_ | szsoftware: yes |
21:51.21 | ellisway | doesn`t show me a button |
21:51.43 | cr2_ | ellisway: how old is your battery ? |
21:51.59 | dcordes | szsoftware: I read something about reading the whole stuff raw in the doku page of the itsme tools |
21:52.00 | ellisway | original battery supplied with the device |
21:52.31 | szsoftware | cr2_: didn't find yet the command line syntax for pdocread for doing that silly dump, dcordes what about your findings? |
21:52.56 | dcordes | http://wiki.xda-developers.com/index.php?pagename=XdaUtils%2Fpdocread.exe |
21:53.33 | ellisway | worth me looking online for a new battery ? |
21:54.15 | dcordes | szsoftware: we just need to leave out -p |
21:54.15 | ellisway | the batt does still hold a resonable charge |
21:54.43 | szsoftware | dcordes: I just had the same assumption :-) |
21:54.51 | dcordes | hmm techincally, if we have 256 mb ram, I must have 256mb ram free right? :) |
21:57.01 | cr2_ | ellisway: hehe. my original stopped working long ago |
21:57.31 | dcordes | what's the absolute path to the storage card in windows style? |
21:57.43 | cr2_ | ellisway: how do you know that ? mine shows full charge, and lasts for some days. |
21:58.05 | cr2_ | ellisway: but gps was not working with the original battery, but was working with the newer one. |
21:58.38 | zdooder | Can I, without sounding like a total n00b luser, ask someone to explain the output of haret(console) to me, please? |
21:59.11 | ellisway | with a sim card in the device i get around 4/5 days on stand by |
21:59.46 | ellisway | and that drops to about 1/2 days if i`m making / receiving calls on it |
21:59.47 | szsoftware | dcordes: I have to backup my wm partition, reflash it with new stock rom, do a whole rom dump whithout personal data. Think I have all informations gathered |
22:00.14 | ellisway | i`ll get a new batt for it |
22:00.22 | dcordes | szsoftware: nvm maybe we can grab the data on your own if cr2 tells us how |
22:00.32 | ellisway | not going to be that expensive |
22:01.03 | ellisway | just need to find a supply for a good new batt not 1 thats been sitting on a shelf for the last 2 years + |
22:01.35 | cr2_ | yeah |
22:01.56 | szsoftware | dcordes: that would be the faster and easier way. |
22:02.21 | cr2_ | ellisway: V60/V300/V500/V600 |
22:02.53 | szsoftware | cr2_: What do I have to do whith the dumped rom? How I even find out, that rom is dumped well? |
22:03.12 | cr2_ | szsoftware: on the size |
22:03.29 | ellisway | what capacity battery did you get as a replacement cr2 |
22:03.49 | szsoftware | cr2_: oh, that I could have find out by my own :-) |
22:04.00 | ellisway | or did u get a standard motorola battery |
22:04.09 | cr2_ | ellisway: 700mAh, and for these phones too |
22:04.30 | szsoftware | cr2_: Where do I see the needed offsets of partitions? Is that the only information, we need about the rom? |
22:04.36 | cr2_ | it's a motorola 700mAh battery for V60/V300/V500/V600 |
22:04.50 | cr2_ | szsoftware: at first, yes. |
22:07.01 | dcordes | cr2_: offsets like these http://pastebin.ca/1217336 ? |
22:08.46 | *** join/#htc-linux webPragmatist (n=none@99-6-241-169.lightspeed.rcsntx.sbcglobal.net) |
22:09.24 | dcordes | hm only 4 partitions visible it seems |
22:10.00 | szsoftware | dcordes: how many did you expect? |
22:10.40 | dcordes | http://wiki.xda-developers.com/index.php?pagename=RaphaelNAND |
22:10.46 | dcordes | something like that maybe |
22:12.04 | szsoftware | dcordes, cr2_: 10 offsets == 10 partitions? |
22:13.58 | ellisway | new battery ordered |
22:14.28 | szsoftware | dcordes, cr2_: whats the meaning of MFG in the RaphNand description col? |
22:15.56 | cr2_ | dcordes: yes. try raw disk read, not mdoc. |
22:15.59 | szsoftware | dcordes: maybe, you wrote at my space, before you were knowing what you did. Mit Freundlichen Gruessen! |
22:16.20 | cr2_ | szsoftware: manufacturer something |
22:16.31 | szsoftware | cr2_: Thanks |
22:17.26 | szsoftware | cr2: whats mdoc? The output of pdocread -l ? |
22:18.21 | cr2_ | szsoftware: i think there are 2 modes |
22:19.03 | cr2_ | handle#0 a5e7e196ERROR: ITTFFSGetInfo - Falscher Parameter. |
22:19.08 | dcordes | cr2_: I didn't use any mdoc |
22:19.16 | cr2_ | this says, it#s not a mdoc |
22:19.16 | dcordes | but pdocread.exe |
22:19.24 | dcordes | oh |
22:19.25 | cr2_ | doc=mdoc |
22:19.37 | cr2_ | pdocread -h |
22:20.18 | dcordes | pdocread.exe hat einen Fehler festgestellt und muss beendet werden fullstop |
22:20.30 | cr2_ | the -w switch is useful for accessing non-diskonchip type flash devices. |
22:20.39 | cr2_ | so use -w |
22:21.24 | cr2_ | read te lower part http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom |
22:24.06 | dcordes | C:\xda>pdocread -w -d FLASHDR all.raw |
22:24.08 | dcordes | ERROR: ITTFFSGetInfo - Das System kann die angegebene Datei nicht finden. |
22:26.41 | dcordes | cr2_: it's explained how to dumb the single partitions. but how can I dump everything? |
22:27.31 | cr2_ | dcordes: pdocread -w -d FLASHDR -p Part00 0 0x31fc00 Part00.raw |
22:27.39 | dcordes | http://pastebin.ca/1217346 |
22:27.44 | cr2_ | use the full size instead of 0x31fc00 |
22:28.04 | cr2_ | Part00.raw will be MYFLASHDISK |
22:28.11 | dcordes | so the -p bit is basically overran and it reads everything then? |
22:28.20 | cr2_ | dcordes: hmm. found something... |
22:28.25 | cr2_ | does titan have wifi ? |
22:28.26 | dcordes | I see. how can I calculate the size? |
22:28.29 | dcordes | yes |
22:28.31 | cr2_ | 256MB |
22:28.34 | cr2_ | ok |
22:28.44 | dcordes | same as kaiser |
22:29.43 | dcordes | cr2_: I need to write to storage card. how can I specify that path instead of a relative filename? |
22:29.54 | dcordes | \Storage Card\file.raw? |
22:30.45 | szsoftware | dcordes: doesn't pdocread considers your windows machine as local? |
22:30.54 | dcordes | oh? |
22:31.17 | szsoftware | dcordes: just assume that |
22:31.37 | szsoftware | think it only talks to that itsutil.dll on the wm device |
22:31.51 | szsoftware | but acts local, cr2_? |
22:32.31 | dcordes | should have read the doku first |
22:32.36 | *** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se) |
22:32.55 | szsoftware | dcordes: according to the howtos I just read, everything is done in the commandline, you sit on. |
22:33.18 | cr2_ | dase: ? it writes on the windows disk |
22:33.44 | szsoftware | dcordes: if you have some partition files, there is written "concatenate them whith copy, respectively cat on linux" |
22:34.00 | cr2_ | dcordes: pdocread writes to the windows disk |
22:34.18 | szsoftware | dcordes: so I assume, the *.raw files are in your current work dir |
22:34.26 | cr2_ | i think this non-mdoc mode can be implemented in haret. |
22:34.35 | dcordes | cr2_: what's 256mb in hex? :-x |
22:34.48 | szsoftware | cr2_: So we have pointed that out. just for the log I use to say ;-= |
22:34.58 | cr2_ | awk '{print 256*1024*1024}' |
22:35.41 | dcordes | need to boot akita ^^ |
22:35.52 | zdooder | 0x100mb |
22:35.56 | zdooder | ;-) |
22:37.17 | zdooder | 0x10000000 I think |
22:39.53 | szsoftware | printf "%x" 268435456 --> 10000000, is that the right way? |
22:40.02 | cr2_ | yes |
22:40.30 | cr2_ | printf "0x%8.8x\n" 268435456 |
22:42.16 | szsoftware | dcordes: you're waiting for the rom dump? Ho long do 256M take? 10 minutes? |
22:42.31 | dcordes | no I'm having fun with awk |
22:42.36 | cr2_ | dcordes: 0x941* is probably the htc debug baord location |
22:43.11 | szsoftware | dcordes: I must admit, I almost only use awk as the better cut ^^ |
22:43.26 | dcordes | I never ran the program manually before |
22:43.46 | wasup | so in case anyone cares...my friend at work got the toolchain to work finally :) |
22:44.09 | szsoftware | wasup: congratulations :-) |
22:44.10 | wasup | appearently i was setting the path the wrong way |
22:44.20 | wasup | export PATH=~/android-kernel/arm-2008q1/bin:$PATH |
22:44.33 | wasup | ^thats what the xda forum said to set path |
22:44.58 | cr2_ | so one more area for wifi is excluded |
22:45.05 | wasup | my friend used PATH=$PATH:/android-kernel/arm-2008q1/bin |
22:45.09 | wasup | and it worked |
22:45.13 | wasup | :) |
22:45.35 | dcordes | great so have lots of fun with the dzo kernel |
22:45.36 | szsoftware | wasup: little cause, big effect. I hate such time-killers :-) |
22:45.45 | dcordes | wasup: did you already try the keyboard code out? |
22:46.02 | wasup | yeah... zdooder gave me a copy of the zImage |
22:46.09 | wasup | it gives gpios output |
22:46.14 | wasup | rows and columns |
22:46.17 | wasup | and yeah |
22:46.34 | wasup | just for the first four letters though.. |
22:46.39 | wasup | qwer |
22:47.13 | *** join/#htc-linux Raketemensch (n=Rakete@24-151-90-116.static.nwtn.ct.charter.com) |
22:48.08 | dcordes | cr2_: like that? "pdocread -w -d FLASHDR -p Part00 0 0x268435456 kaisrom.raw" |
22:48.34 | dcordes | wasup: I mean did you try to apply the patch to your local tree so you can try changes? |
22:48.49 | dcordes | wasup: the board-kaiser-keypad.c patch from ginge |
22:49.11 | szsoftware | dcordes, cr2_: pdocread -w -d FLASHDR -p Part00 0 0x10000000 Part00.raw |
22:49.19 | wasup | i havent yet... i will do so right now. how do i get it to include that in the build though? |
22:49.57 | szsoftware | Is that the way doing a 256M rom dump, e.g on polaris (or kaiser). Is that the conclusion of the latest discussion? |
22:50.15 | dcordes | ERROR: ITReadDisk : read 00000000 bytes - Falscher Parameter. |
22:50.35 | cr2_ | 0x268435456 ??? |
22:50.38 | szsoftware | dcordes: arrgh |
22:50.42 | dcordes | lol :D |
22:50.51 | cr2_ | dcordes: dump 1MB first |
22:51.12 | cr2_ | pdocread -w -d FLASHDR -p Part00 0 0x100000 1MB.raw |
22:51.20 | cr2_ | pdocread -w -d FLASHDR 0 0x100000 1MB.raw |
22:51.26 | cr2_ | this one is better |
22:51.43 | cr2_ | pdocread -w 0 0x100000 1MB.raw |
22:51.51 | cr2_ | this one may be even better :) |
22:51.55 | szsoftware | cr2_: I'm confused, why did you write 0x268435456 ??? |
22:52.04 | cr2_ | [00:48] <dcordes> cr2_: like that? "pdocread -w -d FLASHDR -p Part00 0 0x268435456 kaisrom.raw" |
22:52.25 | dcordes | that's the decimal value right? |
22:52.42 | cr2_ | what does pdocread -l say ? |
22:53.11 | dcordes | cr2_: all of the commands don't work |
22:53.22 | cr2_ | dcordes: reboot :) |
22:53.34 | cr2_ | then do pdocread -l |
22:53.35 | dcordes | which of the windows? |
22:53.41 | cr2_ | wince |
22:54.16 | dcordes | I've already pasted the -l output |
22:54.37 | szsoftware | C:\xda>pdocread.exe -l |
22:54.37 | szsoftware | Copying C:\xda\itsutils.dll to WCE:\windows\itsutils.dll |
22:54.37 | szsoftware | 210.63M (0xd2a0000) FLASHDR |
22:55.04 | szsoftware | dcordes: it doesn't detect the correct size? |
22:55.36 | dcordes | C:\xda>pdocread.exe -l |
22:55.37 | dcordes | Copying C:\xda\itsutils.dll to WCE:\windows\itsutils.dll |
22:55.39 | dcordes | 210.63M (0xd2a0000) FLASHDR |
22:55.40 | dcordes | | 3.12M (0x31f000) Part00 |
22:55.42 | dcordes | | 3.50M (0x380000) Part01 |
22:55.43 | dcordes | | 72.63M (0x48a0000) Part02 |
22:55.45 | dcordes | | 131.38M (0x8360000) Part03 |
22:56.12 | dcordes | szsoftware: how do your parts look? |
22:56.52 | cr2_ | ok |
22:57.30 | cr2_ | pdocread -w -d FLASHDR 0 0x100000 1MB.raw |
22:57.39 | szsoftware | dcordes: unfortunately I'm in linux yet. Because I have to change the laptop hdd's and be offline then. Wan't to gather more informations here first |
22:58.09 | cr2_ | dcordes: btw, your disk is 210.63M (0xd2a0000) FLASHDR |
22:58.29 | dcordes | yes |
22:58.39 | dcordes | I get a no such file error with the above cmdline |
22:58.42 | cr2_ | can you dump the first MB ? |
22:58.50 | szsoftware | cr2_: what about that line? I would expect the magic 256M and the depending hex-value: 210.63M (0xd2a0000) FLASHDR |
22:59.27 | cr2_ | szsoftware: the rest may be hidden, i don't know. |
23:00.01 | dcordes | cr2_: it won't dump the first mb |
23:00.05 | szsoftware | cr2_: So maybe dcordes errors came because he tried to read after the known area? Or even there is some hidden space at the beginning? |
23:00.42 | cr2_ | dcordes: what is happening? |
23:00.49 | dcordes | no such file |
23:00.59 | dcordes | C:\xda>pdocread -w -d FLASHDR 0 0x100000 1MB.raw |
23:01.00 | cr2_ | ok |
23:01.00 | dcordes | ERROR: ITTFFSGetInfo - Das System kann die angegebene Datei nicht finden. |
23:01.22 | dcordes | WARNING: using default 512 bytes for sectorsize |
23:01.23 | dcordes | CopyTFFSToFile(0x0, 0x100000, 1MB.raw) |
23:01.25 | dcordes | ERROR: ITReadDisk: outbuf==NULL |
23:01.26 | szsoftware | Step 1: Install the permissions CAB to your device |
23:01.26 | szsoftware | <PROTECTED> |
23:01.26 | szsoftware | In order to be able to do the read / write operations on your ROM, the security on your device needs to be set up in a certain way. Download this CAB file, and run it on your device. |
23:01.26 | szsoftware | <PROTECTED> |
23:01.26 | szsoftware | Attached File ITSUTILS_Preperation.CAB ( 29.09K ) Number of downloads: 4262 |
23:01.26 | dcordes | <PROTECTED> |
23:01.28 | dcordes | paste fest |
23:01.50 | dcordes | my kaiser is in service mode |
23:01.56 | cr2_ | pdocread -w -d FLASHDR -p Part00 0x0 0x31f000 Part00.raw |
23:02.01 | szsoftware | this info is from that site: http://www.modaco.com/content/daily/256280/pauls-guide-to-changing-the-htc-touch-t-mobile-wing-pagepool-size/ |
23:02.02 | cr2_ | service mode ?? |
23:02.31 | dcordes | szsoftware: I think those permissions relate to running the program at all |
23:02.46 | dcordes | cr2_: yes. the thing where you can access OESMBL |
23:03.31 | dcordes | using the serial/usb. it's a certain spl |
23:04.06 | cr2_ | dcordes: you should run plain wince |
23:04.13 | dcordes | C:\xda>pdocread -w -d FLASHDR -p Part00 0x0 0x31f000 Part00.raw |
23:04.14 | dcordes | CopyTFFSToFile(0x0, 0x31f000, Part00.raw) |
23:04.16 | dcordes | ERROR: ITReadDisk : read 00000000 bytes - Falscher Parameter. |
23:04.30 | cr2_ | strange. maybe i'd try myself ;) |
23:05.05 | dcordes | I can install cygwin so you can login |
23:07.16 | szsoftware | dcordes: will change the hdd, leave and come back later with my findings. |
23:07.20 | cr2_ | lol |
23:07.30 | cr2_ | dcordes: i can try it on raphael |
23:07.58 | dcordes | that would be nice |
23:08.11 | dcordes | szsoftware: ok cya |
23:08.20 | cr2_ | i'll reboot |
23:21.12 | wasup | dcordes_: so I now have to ability to make kernels.... I have successfully built a kernel with the kaiser keypad... i have the gpios data from haret console... whats the next step? |
23:21.52 | wasup | me and zdooder are trying to get this thing working... |
23:25.27 | *** part/#htc-linux webPragmatist (n=none@99-6-241-169.lightspeed.rcsntx.sbcglobal.net) |
23:39.01 | *** join/#htc-linux szsoftware (n=szsoftwa@e178220027.adsl.alicedsl.de) |
23:39.32 | szsoftware | dcordes: ping from outer (windows) space |
23:50.04 | dcordes | ping9? |
23:50.36 | dcordes | does dumping work for you? |
23:50.47 | dcordes | wasup: congrats. that's great |
23:51.04 | dcordes | wasup: are the vogue or titan gpios documented somewhere? |
23:52.21 | szsoftware | dcordes: I have to solve that problem first: Could not update itsutils.dll to the current version, maybe it is inuse? |
23:52.21 | szsoftware | try restarting your device, or restart activesync |
23:52.21 | szsoftware | or maybe your device is application-locked. |
23:52.47 | dcordes | szsoftware: ah sounds like you have the case where that unlocker is needed you mentioned earlier |
23:53.16 | dcordes | szsoftware: do you have a registry editor? |
23:53.18 | szsoftware | dcordes: just installed a enablerapi.cab and have some output |
23:53.27 | dcordes | ok nice |
23:53.42 | szsoftware | dcordes, its similar like yours. |
23:53.53 | szsoftware | dcordes: will pastebin it, moment |
23:53.56 | dcordes | k |
23:56.41 | szsoftware | dcordes: http://pastebin.com/m4fca211d |
23:56.41 | zdooder | dcordes: I don't think the titan ones are documented, and the vogue has no keyboard so there's nothing to go on there I don't think |
23:57.16 | dcordes | zdooder: yea buy you might start making a table |
23:57.34 | dcordes | will ease up things for further referrences |