00:03.31 | Hymie | cr2: did you change both to 240? |
00:03.40 | Hymie | or just RF? |
00:03.41 | Hymie | er |
00:03.42 | Hymie | RD? |
00:03.47 | Hymie | uh, SD! |
00:04.16 | Hymie | ok, for sure |
00:04.19 | Hymie | it is not SD ;) |
00:04.21 | Hymie | er |
00:04.22 | Hymie | is SD |
00:04.42 | cr2 | SD |
00:04.53 | Hymie | I don't think it was booting into the disk though, but we'll see in a minute |
00:04.56 | Hymie | phone is rebooting |
00:04.58 | Hymie | and my god |
00:05.00 | Hymie | I want a pizza right now |
00:05.05 | Hymie | if only someone would make one, and then |
00:05.06 | Hymie | wait! |
00:05.10 | Hymie | they do, they do deliver! |
00:06.27 | Hymie | ok |
00:06.27 | Hymie | it looks like it tries to mount |
00:06.27 | Hymie | then dies or something |
00:06.33 | Hymie | last line is "ext2-fs earming... " |
00:06.37 | Hymie | about number of mounts witohut fsck |
00:07.16 | Hymie | no telnet still with this version |
00:07.17 | Hymie | hmm |
00:07.28 | Hymie | two things |
00:07.42 | Hymie | I've compiled about 4 billion Linux kernels before |
00:07.47 | Hymie | but just never happened to cross compile |
00:07.55 | PITABoy | it is easy |
00:07.55 | Hymie | can you show me where the sources are? |
00:07.59 | Hymie | of course, but... |
00:08.04 | PITABoy | get any sources |
00:08.05 | Hymie | what do I need ;) |
00:08.12 | Hymie | I want the tree that cr2 is working on |
00:08.15 | PITABoy | i use the handhelds.org sources |
00:08.28 | Hymie | he's hacked it a bit for this treo |
00:08.36 | Hymie | or maybe he can give me a diff |
00:08.40 | Hymie | or some such |
00:08.47 | PITABoy | let me give you a link to a fourm artivle that I posted with links to files that I use. |
00:08.51 | Hymie | cool |
00:08.53 | Hymie | thanks |
00:10.48 | PITABoy | http://forum.xda-developers.com/showpost.php?p=1642216&postcount=13 at the bottom there are 3 links you will need binutils gcc toolchain |
00:10.51 | cr2 | Hymie: can you run fsck on this partition ? |
00:11.16 | Hymie | cr2: there doesn't seem to be fsck in the RD ramdisk |
00:11.24 | PITABoy | when you build binutils be sure to tell it that you want arm-linux to be the target arch |
00:11.28 | Hymie | I will run on my box here I guess, sec |
00:11.31 | PITABoy | gcc toolchain is a binary |
00:11.44 | Hymie | (but, it should mount fine even with fsck warning) |
00:12.20 | PITABoy | be back in about 20-30 mins I'm at work and have to actually work sometimes ;-) |
00:12.41 | cr2 | Hymie: you don't have the ramdisk with *SD .exe |
00:12.58 | Hymie | cr2: right, but I did with the RD |
00:13.10 | Hymie | and that is the only way I can do anything on the device |
00:13.10 | Hymie | but |
00:13.14 | Hymie | I fsck via my desktop |
00:13.22 | cr2 | ok. |
00:13.36 | cr2 | Hymie: but the *SD.exe is the only way to move forward. |
00:14.02 | Hymie | cr2: I don't see that, because we have to find out what is wrong with ext2 partitions |
00:14.23 | Hymie | it gave ext2 mount warning again, but I just realised it always will, because it is 2027 for the device when it boots |
00:14.32 | Hymie | so, 20 years with no fsck ;) |
00:15.07 | Hymie | would you be able to compile RD with 240x240, and maybe some filesystem? then I could format the flash with this filesystem, and we could at least test things |
00:15.08 | Hymie | or |
00:15.18 | Hymie | I mean |
00:15.23 | Hymie | if the kernel doesn't let it mount |
00:15.26 | Hymie | then why does it now |
00:15.30 | Hymie | it be borked! |
00:16.09 | cr2 | we need to check for a newer version of the SD driver. |
00:19.15 | Hymie | http://www.gtlib.gatech.edu/pub/handhelds.org/projects/toolchain/ |
00:19.21 | Hymie | this is fairly old |
00:19.24 | Hymie | should I be using something newer? |
00:24.01 | cr2 | codesourcery |
00:24.48 | cr2 | hmmm |
00:24.50 | cr2 | http://www.fluff.org/ben/linux-26/2622/2622-rc4-mmc1 |
00:25.09 | cr2 | we may be stuck for a while |
00:28.05 | Hymie | cr2: it can't entirely be the sd card driver, because I can mount a vfat partition fine and access all the files... |
00:28.49 | cr2 | there are some dma patches too. |
00:29.06 | cr2 | we need an update to the .23 .24 kernel ;) |
00:29.51 | cr2 | th MMC/SD is completely revamped because of the SDIO inclusion into the kernel |
00:30.06 | Hymie | ah |
00:30.11 | cr2 | there is not sense wasting time trying to fix the .21 driver. |
00:30.18 | Hymie | no, I guess not |
00:30.32 | Hymie | there should be an easier way to get the diffs just applied for SD |
00:30.36 | Hymie | but I bet other parts of things changed |
00:30.44 | Hymie | .21 to .23 is what? a year? |
00:30.53 | cr2 | no. |
00:30.53 | Hymie | a long time anyhow, heh |
00:31.08 | Hymie | seems like it takes 3 months to 6 for a dot release these days |
00:31.17 | Hymie | 6 months at least anyhow |
00:31.18 | Hymie | but |
00:31.35 | Hymie | I get no kernel panic or anything, it's very strange that I can use vfat but not ext2 |
00:31.45 | Hymie | hmm, wasn't there a way to use vfat as root? |
00:32.28 | cr2 | jffs2 maybe ? |
00:32.32 | Hymie | I guess the problem would be dev.. I don't think vfat supports that |
00:32.53 | Hymie | JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. |
00:33.03 | Hymie | you don't like reiser because of hans? ;) |
00:34.10 | Hymie | hmm |
00:34.12 | Hymie | neat filesystem |
00:34.42 | cr2 | no, i've just forgot about it. |
00:34.52 | cr2 | jffs2 is compressed |
00:34.59 | cr2 | better on t he flash |
00:36.59 | Hymie | er |
00:37.02 | Hymie | this seems weird |
00:37.25 | Hymie | The file system image is created using the files and directories contained in the direc- |
00:37.25 | Hymie | <PROTECTED> |
00:37.25 | Hymie | <PROTECTED> |
00:37.26 | Hymie | <PROTECTED> |
00:37.42 | Hymie | it's not.. uh, normal ;) |
00:37.49 | Hymie | can we use reiser? or what's that other one? |
00:37.57 | Hymie | it's late here |
00:38.14 | cr2 | yes. |
00:38.25 | cr2 | is it complied into the kernel ? |
00:39.00 | Hymie | it is here, but not there I don't think |
00:40.39 | cr2 | ok, it's late... |
00:40.43 | cr2 | good night |
00:41.09 | Hymie | :( |
00:44.05 | cr2 | ;) compiling |
00:44.13 | Hymie | !!! |
00:44.16 | Hymie | you the dude! |
00:47.24 | cr2 | done |
00:47.52 | Hymie | cool |
00:51.43 | Hymie | ? |
00:53.35 | Hymie | ah, did you do SD? |
00:54.28 | cr2 | yes |
00:54.29 | Hymie | yeah, you did ;) |
00:54.54 | Hymie | if oyu do RD though, I can get in and see wtf is up |
00:54.54 | Hymie | hmm |
00:54.56 | Hymie | it stops |
00:55.02 | Hymie | I don't know what it is supposed to do |
00:55.02 | Hymie | I mean |
00:55.11 | Hymie | if I have RD, I can see if it really can mount |
00:55.15 | Hymie | by doing ls, etc |
00:55.20 | Hymie | and even chroot or pivot root manually |
00:55.24 | Hymie | and observe via dmesg, etc |
00:55.58 | Hymie | hey, do you have rndis compiled in statically in this kernel? |
00:56.12 | Hymie | because, that would cause a problem with this, it doesn't seem to connect to my box |
00:57.53 | cr2 | i didn't change anything else. |
00:58.55 | cr2 | uploaded the RD |
00:58.58 | Hymie | yes, but because of the 240x240 I can see this now ;) |
00:59.47 | Hymie | sec |
01:00.18 | Hymie | in cr2's honour |
01:01.37 | Hymie | for it was acting baked |
01:04.17 | Hymie | ROTFL |
01:04.25 | Hymie | ok, I have to wipe my phone |
01:04.28 | Hymie | it can't runb any apps |
01:04.31 | Hymie | everything is not "signed" |
01:05.04 | Hymie | so that's cool |
01:05.33 | cr2 | good night :) |
01:05.56 | Hymie | thanks.. I'll type here so you can see tomorrow wtf happened |
01:10.54 | Hymie | !@!!! |
01:11.19 | Hymie | I got a prompt |
01:11.23 | Hymie | but I have no keyboard ;) |
01:11.35 | Hymie | weird |
01:11.38 | Hymie | I have no driver yet |
01:11.52 | Hymie | I think that the usb stuff (rndis and usb) is not staticly compile |
01:11.56 | Hymie | but are modules |
01:12.06 | Hymie | because, with your latest, it doesn't even see when I plug it in |
01:12.10 | Hymie | the USB, I mean |
01:12.55 | PITABoy | what device are you using |
01:12.55 | PITABoy | and what are you trying to boot |
01:13.34 | PITABoy | are you using a mogul kiaser touch or something older? |
01:14.12 | PITABoy | if it is one of the three listed can you post a kernel config and a link where I can download it like in pastbin or something |
01:14.32 | PITABoy | Hymie |
01:14.38 | PITABoy | brb |
01:15.16 | Hymie | PITABoy: no, it's a treo 750 |
01:15.23 | PITABoy | oh |
01:18.44 | Hymie | cr2: so, here's my reasoning. If you compile without ramdisk (and therefore no initrd?), I have no USB modules. If you compile with ram disk, but it sees the flash (as now, when reiser is working) it does a pivot root, and we lose the modules and it can't use the rndis driver. |
01:18.45 | Hymie | at least |
01:18.47 | Hymie | seems that way |
01:19.34 | cr2 | Hymie: wtf you are taking about ? |
01:19.59 | cr2 | there is not pivot root, you mount root directly. |
01:20.00 | Hymie | cr2: well, it seems every time I manage to mount my SD card partition, I can't access the device's USB any more |
01:20.28 | cr2 | probably the sshd is not configured of something like that. |
01:20.41 | cr2 | are you using qtopia4 ? |
01:20.43 | Hymie | cr2: right, but my point is.. you made a new RD image, yes? |
01:20.50 | cr2 | no. |
01:20.56 | cr2 | the rd is always the same |
01:21.02 | Hymie | cr2: I mean the entire executable |
01:21.04 | cr2 | it has telnetd, btw. |
01:21.13 | Hymie | cr2: you made a new one with reiser support int he kernel |
01:21.17 | cr2 | yes |
01:21.24 | Hymie | as soon as you did that, my treo booted differently |
01:21.26 | cr2 | it's just 1 more module |
01:21.33 | cr2 | ? |
01:21.39 | Hymie | and in such a way as I think it found the filesystem, mounted it, and did pivot_root by itself |
01:21.43 | cr2 | what do you have on the sd ? |
01:21.58 | Hymie | O.P.I.E.II-4.3.0.tar.bz2 |
01:22.04 | Hymie | you gave me the link |
01:22.10 | Hymie | but, what is on the SD isn't what I'm talking about now |
01:22.16 | cr2 | it found the fs because it has root=/dev/mmcblk0p1 as the command line |
01:22.23 | Hymie | ok! |
01:22.26 | Hymie | that's what I wondered ;) |
01:22.31 | Hymie | so, we mounted the filesystem |
01:22.34 | cr2 | yes |
01:22.35 | Hymie | this much we know now |
01:22.35 | Hymie | but |
01:22.43 | Hymie | when I plug in the usb now |
01:22.46 | Hymie | it doesn't load the driver |
01:22.51 | cr2 | if goxboxlive didn't do ifup usb0 then you can't login |
01:22.52 | Hymie | which makes me think that there are modules it can't load now |
01:23.03 | cr2 | which driver ? |
01:23.05 | cr2 | usb ? |
01:23.10 | Hymie | the USB driver is there |
01:23.12 | cr2 | it works with the RD |
01:23.13 | Hymie | but no rndis maybe? |
01:23.20 | cr2 | RD does not have amy modules |
01:23.24 | Hymie | so all static |
01:23.27 | Hymie | so, something software |
01:23.27 | cr2 | yes |
01:23.30 | Hymie | perhaps as you say ifup |
01:23.31 | Hymie | then |
01:23.36 | Hymie | but, it looks like it should auto ifup |
01:23.43 | cr2 | take the opie2 by Babel= |
01:23.49 | Hymie | it has auto usb0 in /etc/network/interfaces |
01:23.51 | Hymie | where? |
01:23.53 | cr2 | ok. |
01:24.28 | cr2 | <PROTECTED> |
01:24.52 | Hymie | eta 1 minute |
01:24.58 | Hymie | bah, slow |
01:25.00 | Hymie | only 500k/sec |
01:27.49 | Hymie | booting |
01:28.08 | Hymie | exactly the same thing happened, heh |
01:28.47 | Hymie | well, if you have time, can you make me an RD with root= in it? then I can at least do things when the image works |
01:30.39 | Hymie | ok, nada |
01:31.54 | Hymie | cr2: if you can make me that RD image without the root= line, then I can get in and manually dig around. I'll have no problems figuring out exactly what is up, if I can just get a telnet into this thing, when I can mount the SD card too. So, we have the SD card mount fixed, becaues it works with reiser. But, because of the root= line, I can't get in to do anything... |
01:32.14 | Hymie | cr2: so, if you have time torrow or whatever, I can guarentee that an RD image with no root= will allow me to debug this significantly |
01:44.53 | *** join/#htc-linux Hawk||- (n=Hawk@p5B17CAF8.dip0.t-ipconnect.de) |
02:09.16 | PITABoy | Hymie |
02:09.48 | PITABoy | you are trying to mess with files in a ipie2 image |
02:10.15 | PITABoy | all you need to do is install it to your sd card on the second partition |
02:11.03 | PITABoy | then on your linux box type mkdir /mnt/OPIE && mount /dev/sda2 /mnt/OPIE |
02:11.29 | PITABoy | Note in this example you have no sata drives or other usb storage devices plugged in |
02:12.29 | PITABoy | I dont know how much you know about linux but sda1 is the first partition on your first serial device. sda2 is the second partition on the first device |
02:12.31 | Hymie | PITABoy: don't worry about that, I have no issues using linux ;) |
02:12.38 | PITABoy | ok |
02:13.00 | Hymie | PITABoy: the problem is just getting the treo to boot right |
02:13.26 | Hymie | PITABoy: there's nothing to do but wait until cr2 can make a non root= image |
02:13.34 | Hymie | so it boots off of the ram disk instead of the sd card |
02:14.21 | PITABoy | why dont you just exit the fstab in the image to boot from ramdisk instead of sd card? |
02:14.44 | Hymie | edit, I take it you mean, and I don't have cr2's kernel tree |
02:14.55 | Hymie | with his patches for the treo, so it will boot |
02:15.25 | PITABoy | so you are talking about the kernel and not the opie fs image |
02:15.30 | Hymie | yes |
02:15.32 | PITABoy | oh |
02:17.03 | Hymie | actually, I'll make a dummy partition for the first one, since cr2's boots of the first partiton |
02:17.11 | Hymie | then it won't be successful, and I can get in |
02:45.01 | Hymie | cr2: this image *is* different |
02:45.12 | Hymie | cr2: it won't boot even without the reiser or other linux fs present |
02:47.00 | PITABoy | do you know if there are any tools to dump hardware info other than haret? |
02:47.49 | Hymie | no, I don't know.. I would think there are, but... |
03:14.58 | *** part/#htc-linux PITABoy (i=c0684379@gateway/web/cgi-irc/ircatwork.com/x-965a835afd666c6b) |
04:01.36 | *** join/#htc-linux Zoolooc (n=fredsiba@p5495299E.dip0.t-ipconnect.de) |
04:04.09 | *** join/#htc-linux Hawk|- (n=Hawk@p5B17CAF8.dip0.t-ipconnect.de) |
04:18.02 | *** join/#htc-linux PITABoy (n=gentoo@adsl-221-110-242.rmo.bellsouth.net) |
04:31.59 | *** join/#htc-linux PITABoy (n=gentoo@adsl-221-110-242.rmo.bellsouth.net) |
04:34.17 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
04:44.05 | *** join/#htc-linux GPFerror (n=GPF@cpe-76-187-41-132.tx.res.rr.com) |
05:53.13 | *** join/#htc-linux PITABoy (n=gentoo@adsl-221-110-242.rmo.bellsouth.net) |
06:18.19 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
06:18.42 | welp | hrm, i'm getting permission denied errors on tmp/staging/i686-linux/bin/oe_sha256sum, but my user is the owner of it, and permissions are rwxr-xr-x |
06:26.27 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
06:44.47 | welp | i can see the error pastebinned elsewhere on the 'net, but see no solution |
07:02.10 | *** join/#htc-linux rob_w (n=bob@Mb2de.m.pppool.de) |
08:29.46 | *** join/#htc-linux Hoots (n=wmirc_us@ip-83-149-3-155.nwgsm.ru) |
08:29.53 | Hoots | hello |
09:04.31 | *** join/#htc-linux BabelO (n=fcr@81.80.236.75) |
09:16.00 | *** join/#htc-linux Hawk||- (n=Hawk@p5B17CAF8.dip0.t-ipconnect.de) |
09:16.28 | *** join/#htc-linux the_sys0p (i=nroberts@116.60.26.132) |
09:44.08 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
09:53.22 | *** part/#htc-linux BabelO (n=fcr@81.80.236.75) |
10:07.08 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
10:22.09 | welp | hrm, anyone have any ideas wrt my permission errors with oe_sha256sum? |
10:32.04 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
10:41.42 | *** join/#htc-linux BabelO (n=fcr@81.80.236.75) |
10:45.04 | welp | BabelO: hey, i'm getting permission denied errors about oe_sha256sum... any ideas about what's going on? |
10:46.58 | welp | i've got bitbake-1.8.8 installed |
10:47.36 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
10:51.12 | BabelO | welp: hi |
10:51.30 | BabelO | welp: no sorry, i vent this error |
10:51.39 | BabelO | welp: you are running as root ? |
10:54.13 | welp | sh: /mnt/750-2/welp/1/tmp/staging/i686-linux/bin/oe_sha256sum: Permission denied |
10:54.16 | welp | NOTE: The SHA256 Sums do not match. Wanted: 'de7290f334baf631a14d031df304ee94cfb550aa69e7512aa589d21c2381c7d8' Got: '' |
10:54.19 | welp | NOTE: Task failed: Checksum of 'http://download.savannah.gnu.org/releases/quilt/quilt-0.45.tar.gz' failed |
10:54.22 | welp | running as normal user |
10:54.25 | welp | but all permissions are ok |
10:54.26 | welp | and that's where the file is |
10:54.52 | welp | welp@viciousgameserver /mnt/750-2/welp/1 $ ls -l /mnt/750-2/welp/1/tmp/staging/i686-linux/bin/oe_sha256sum |
10:54.56 | welp | -rwxr-xr-x 1 welp welp 12K Nov 6 21:27 /mnt/750-2/welp/1/tmp/staging/i686-linux/bin/oe_sha256sum |
10:59.07 | welp | o.O even if i'm root, i get permission denied :| |
11:02.14 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
11:07.03 | welp | buh, this is annoying :( |
11:07.13 | welp | do any of the bitbake devs hang out in here at all/ |
11:07.17 | welp | *? |
11:22.01 | *** join/#htc-linux ImCoKeMaN_ (n=me@rrcs-67-78-122-67.sw.biz.rr.com) |
11:22.18 | *** join/#htc-linux rob_w (n=bob@X18d3.x.pppool.de) |
11:44.26 | *** join/#htc-linux BabelO (n=fcr@81.80.236.75) |
11:53.55 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
12:35.47 | *** join/#htc-linux g0atboy (n=mike@general-ld-219.t-mobile.co.uk) |
12:36.32 | g0atboy | yo |
12:38.05 | *** join/#htc-linux zoolooc (n=lucian@p5495299E.dip0.t-ipconnect.de) |
12:42.23 | g0atboy | does anyone have a spare min 2 help me with an issue with ppp on the UNI? |
12:47.43 | g0atboy | have setup GPE + X11, got gommunicator to work for the most part, but still cant get the pppd to connect to GPRS/UMTS data service. |
12:48.14 | g0atboy | should i have gsmd running when i issue the pon |
12:48.48 | g0atboy | im using /dev/ttyS0 right? |
12:49.13 | cr2 | g0atboy: the data channel is on /dev/ttyUSB0 |
12:49.45 | g0atboy | yeah, wiki at hh.org says that too but device doesnt exist |
12:49.59 | cr2 | the command channel is on /dev/ttyS0, but once you have established the connection the data goes over usb |
12:50.10 | cr2 | login and run lsusb ? |
12:50.47 | cr2 | you need pxa27x ohci enabled and usbserial loaded. |
12:51.51 | g0atboy | what, so chat-script talks to /dev/ttyS0, then pppd uses /dev/ttyUSB0 after i have dialed |
12:51.59 | g0atboy | right? |
12:52.37 | g0atboy | or just try to modprobe usbserial then talk to /dev/ttyUSB0 for everything |
12:52.42 | g0atboy | ? |
12:53.57 | g0atboy | sorry to be a pain, just need to know as much as possible before i reboot uni in linux cos its my only source of internet right now so i may b gone 4 a while... |
12:56.33 | cr2 | yes |
12:56.52 | cr2 | lsusb will show if the phone is visible. |
12:57.23 | g0atboy | thanks 4 ur help, reebooting now hopefully cu again in 5mins if all is well... |
13:08.34 | *** join/#htc-linux kise (n=kise@82.147.51.146) |
13:08.42 | kise | hi |
13:17.52 | *** join/#htc-linux kiozen (n=oeichler@p5492A413.dip0.t-ipconnect.de) |
13:18.48 | kiozen | hi |
13:19.52 | kiozen | crs: I got oe toolchain, cegcc, mingw32ce and haret compiled. |
13:20.50 | kiozen | and the kernel source on disc via cvs |
13:20.55 | kiozen | what's next? |
13:25.07 | cr2 | hi kiozen |
13:25.11 | cr2 | compile the kernel |
13:25.38 | kiozen | any spezial config? |
13:30.02 | cr2 | make looxc550_defconfig |
13:30.05 | cr2 | first |
13:30.21 | cr2 | do you have the device already ? |
13:35.17 | kiozen | cr2: only have arch/arm/configs/looxc550_static_defconfig |
13:35.27 | kiozen | device is on my desk |
13:35.29 | kiozen | :) |
13:35.40 | kiozen | trusty amazon |
13:37.05 | kiozen | which one of the 3 compilers to use? |
13:37.11 | kiozen | bin/sh: arm-linux-gcc: command not found |
13:37.35 | BabelO | kiozen: make CROSS_COMPILE=arm-angstrom-linux-gnueabi |
13:37.47 | BabelO | hi kiozen |
13:37.57 | kiozen | hi & thanks |
13:42.15 | kiozen | is 'make modules' still needed with 2.6? |
13:42.35 | *** join/#htc-linux kise (n=kise@82.147.51.146) |
13:43.28 | cr2 | no. |
13:43.48 | kiozen | ok kernel compiled |
13:43.54 | cr2 | PATH=~/stuff/tmp/cross/bin/:$PATH CROSS_COMPILE=arm-angstrom-linux-gnueabi- make |
13:44.05 | cr2 | good. |
13:44.16 | cr2 | can you run haret now ? |
13:44.37 | cr2 | i need 3 simple things first. |
13:44.40 | kiozen | Guess I need a SD card for that, don't I |
13:44.44 | cr2 | no |
13:44.57 | cr2 | put it on the device over usb/wifi/bt/whatever |
13:45.24 | kiozen | unpacking cable :) |
13:45.59 | cr2 | ok. |
13:46.01 | kise | cr2, can u help me 2 :P? i have a magican, and i want to run linux on it just for funn, it is a spare phone so its not important |
13:46.13 | cr2 | you can also compile the linload.exe |
13:46.40 | cr2 | kise: magician is relatively well supported , afair |
13:47.17 | cr2 | kiozen: make linload KERNEL=~/linux/kernel26/arch/arm/boot/zImage INITRD=rootfs.cgz SCRIPT=default.txt |
13:47.56 | cr2 | if you don't need the initrd (you do not :) then drop the INITRD=rootfs.cgz token |
13:48.11 | kise | i found this page, and i downloaded, alredy compiled files, http://www.linuxtogo.org/~htcpxa/ |
13:48.37 | kise | but when i make the partitions on the sd card, the phone wount read the card |
13:48.38 | cr2 | the default.txt may need some commands and 'ramboot' am ende |
13:49.20 | cr2 | kise: in principle, you don't need the partitions at all. |
13:49.32 | cr2 | kise: you mean the wince can't see the card ? |
13:49.50 | kise | yes, or it cant read the fat16 partition |
13:50.29 | cr2 | kise: if you'll change the kernel command line, you don't really need the fat partition |
13:50.50 | cr2 | i've even went so far that dropped the partitioning completely. |
13:51.20 | cr2 | i just mount a partitionless SD |
13:51.25 | *** join/#htc-linux ivucica (i=ivucica@161.53.76.175) |
13:51.43 | kise | hmm, can u make a small guide for me 2 do this? |
13:53.55 | kiozen | cr2: plugin the device via usb creates a new network device. |
13:54.01 | kiozen | how should that work? |
13:55.27 | cr2 | kise: why don't you just boot and see if linux works ? |
13:56.00 | cr2 | kiozen: where did you plug the device ? |
13:56.19 | kiozen | linux pc -> usb -> loox |
13:56.35 | kise | beacouse the guide tels me to start the linloader.exe from the memmorycard, and when the phine cant se the card, its a bit hard to run somthing from there |
13:58.24 | cr2 | kise: linloader can be anywhere. even in RAM |
13:58.52 | cr2 | but it'll will obviously die after linux reboot :) |
13:58.57 | kiozen | cr2: no rule to make linload from the kernel path? |
13:59.17 | cr2 | kiozen: in the haret source dir |
13:59.23 | kise | aha.. hmm so i can make a ext2 part. on the sd card, and put the linloader.exe on the internal memmorycard |
14:00.37 | cr2 | yes. |
14:00.53 | cr2 | on the flash if you'd like to preserve it over hard reboot. |
14:01.03 | ivucica | cr2: hi! |
14:01.18 | kiozen | ok out/linload.exe |
14:01.40 | cr2 | kiozen: what do you have in linload.exe ? |
14:01.43 | cr2 | hi ivucica |
14:01.53 | ivucica | cr2: is it just me or mmc in-kernel api has changed significantly from 2.4 to 2.6? :S |
14:02.07 | cr2 | changed significantly |
14:02.19 | cr2 | and it'll change even more from .21 to .24 ;) |
14:02.26 | ivucica | aw damnit |
14:02.32 | ivucica | i've been skipping through it ... |
14:02.33 | kiozen | cr2: ??? |
14:02.46 | cr2 | kiozen: sorry, in the default.txt :) |
14:03.01 | ivucica | ... and i have no idea on how to do get that 2.4 driver into 2.6 :/ |
14:03.11 | Hymie | mr cr2! |
14:03.20 | kiozen | set COM 2 |
14:03.20 | kiozen | set kernel "zImage" |
14:03.20 | kiozen | set initrd "initrd" |
14:03.20 | kiozen | set cmdline "root=/dev/ram0 ramdisk_size=8192 keepinitrd init=/linuxrc console=ttyS2,115200n8" |
14:03.20 | kiozen | boot |
14:03.31 | cr2 | no |
14:03.44 | ivucica | hm, cr2, i see you are very busy now helping newbies, so i'll stop irritating you ;) |
14:04.21 | ivucica | i'll perhaps be back this evening, so if you could then give me any hints and docs on how to write the driver, i might be able to scrape something up |
14:04.37 | cr2 | kiozen: is the c500 in the haret source ? |
14:04.48 | cr2 | otherwise you need 2 lines |
14:04.55 | cr2 | set MTYPE xxxx |
14:04.55 | ivucica | otherwise, if i don't know how to do it, and if noone else decides to take it over, i guess that h3800 platform will drift into death |
14:04.57 | cr2 | ramboot |
14:05.31 | ivucica | cr2, just one more question: ramboot != linuxboot? |
14:05.33 | cr2 | ivucica: i need to write an AT SD driver myself. |
14:05.39 | ivucica | if so, what is the difference? |
14:05.48 | ivucica | cr2: ah :| |
14:06.14 | kiozen | found include/mach-types.h:# define machine_is_looxc550() (machine_arch_type == MACH_TYPE_LOOXC550) |
14:06.30 | cr2 | ramboot is booting the zimage loaded to ram by linking it into haret aka linload.exe |
14:07.07 | cr2 | kiozen: use 1417 for now |
14:07.27 | kiozen | MTYPE 1417 ? |
14:07.33 | cr2 | kiozen: i think we will use 1454 later |
14:07.34 | cr2 | yes |
14:07.54 | cr2 | looxn560 MACH_LOOXN560 LOOXN560 1454 |
14:07.58 | ivucica | hm, i'd ask what's the difference to normal boot, but i'll refrain from that, and leave you to concentrate on one newbie alone -- i don't need to irritate you further ;) |
14:07.59 | ivucica | bye ;) |
14:08.22 | kiozen | set COM 2 |
14:08.23 | kiozen | set kernel "zImage" |
14:08.23 | kiozen | set initrd "initrd" |
14:08.23 | kiozen | set cmdline "root=/dev/ram0 ramdisk_size=8192 keepinitrd init=/linuxrc console=ttyS2,115200n8" |
14:08.23 | kiozen | set MTYPE 1417 |
14:08.23 | kiozen | ramboot |
14:08.29 | kiozen | that's ok |
14:08.42 | cr2 | kiozen: set MTYPE 1417 |
14:09.29 | kiozen | didn't I? |
14:09.38 | cr2 | set cmdline "root=/dev/mmblk0p1" |
14:09.40 | cr2 | ramboot |
14:09.48 | cr2 | imho these 3 lines are enough |
14:10.06 | cr2 | maybe we need to adjust the cmdline a bit later. |
14:10.20 | cr2 | if the ram size will be disdetected |
14:10.35 | cr2 | and you should have 1 partition you the SD card. |
14:11.14 | kiozen | no SD card at hand, at the moment |
14:11.35 | cr2 | ok, but then you can only boot the ramdisk |
14:11.39 | kise | cr2 ext2 is the right type? |
14:11.47 | kiozen | made linloader.exe |
14:12.01 | cr2 | kise: yes. yesterday we have tried reiserfs, it works too. |
14:12.23 | cr2 | kiozen: why do you need the linloader if you don't have an SD card ? |
14:12.45 | cr2 | kiozen: where do you want to install linux ? |
14:12.55 | kiozen | on the loox |
14:13.03 | cr2 | on mdoc-g4 ? |
14:13.17 | cr2 | it's not yet supported. |
14:13.32 | kiozen | ok slowdown I get lost :) |
14:14.12 | cr2 | if you want to run linux, you need an SD card. |
14:14.28 | cr2 | costs 10€ for 1GB. |
14:14.34 | kiozen | ok have to wait until I get home |
14:14.37 | kise | cr2, what is the difference between harriet, and linloader.exe |
14:14.43 | kiozen | it's more a location problem :) |
14:14.51 | cr2 | last i've bought it. |
14:15.48 | cr2 | kise: the primary purpose of haret is to help RE. linloader is a hacked haret version to make booting more user-friendly. |
14:16.03 | kise | aha thanks |
14:16.13 | cr2 | kiozen: can you run haret on the device right now ? |
14:16.41 | kiozen | first have to figure out how to get this USB stuff working |
14:17.00 | cr2 | kiozen: on linux you need synce |
14:17.21 | cr2 | http://sf.net/projects/synce |
14:17.43 | Hymie | bah! synce #_$)@#$+_# (/me isn't happy with that project ;) |
14:17.51 | Hymie | it works though |
14:18.23 | Hymie | kiozen: if you get a cheap ($10) SD card reader, you don't need to get synce going |
14:18.23 | cr2 | Hymie: they always requires you patching and recompiling the kernel with each release. |
14:18.41 | cr2 | Hymie: he does not have an SD card right now. |
14:18.47 | Hymie | cr2: yes, although the latest small patch is left over because the upstream rndis-host guy won't take it |
14:18.55 | Hymie | the kernel guy |
14:19.03 | Hymie | cr2: ah, pain! |
14:19.18 | cr2 | Hymie: why ? is there another way to change the MTU ? |
14:19.37 | cr2 | yes, i hate synce for that. i'm not going to recompile the kernel. |
14:19.44 | Hymie | cr2: he's worried about how it will effect rndis-host for other things, or some such |
14:20.05 | Hymie | cr2: it would be nice to have a mtu= option or something you could use when loading the module though |
14:20.13 | cr2 | Hymie: why doesn't he make a module param |
14:20.14 | Hymie | cr2: they at least, as you say, no recompile just for that |
14:20.25 | Hymie | cr2: dunno.. as I said, it'd be quite nice |
14:20.46 | cr2 | yes modprobe ipaq i_am_a_weird_wince5_guy=1 |
14:20.52 | Hymie | heh |
14:21.22 | cr2 | activesync is a piece of shit anyway ;) |
14:21.44 | cr2 | welp: don't have this problem . |
14:21.52 | *** join/#htc-linux g0atboy (n=mike@general-kt-195.t-mobile.co.uk) |
14:21.59 | Hymie | cr2: I just wish everyone would make at least one viable project. With the fince guy, and synce, and then all the other projects, like Zimrbra, fundombul etc |
14:22.19 | g0atboy | yo |
14:22.24 | Hymie | and none work quite right (well.. zimbra seems to work ok, but you gotta pay for sync!) |
14:22.37 | welp | cr2: yeah, it seems no-one does, and i can't work out whether there are any bitbake devs on irc or not |
14:22.40 | cr2 | Hymie: synce could have done it long ago. |
14:23.16 | Hymie | cr2: I always suspect that if you work for the synce project, M$ comes along and hires you through some third company, so you don't have time to work on it any more ;) |
14:23.17 | cr2 | i usually distrust bsd licensed projects exactly because of that reason. |
14:23.33 | kise | cr2, what release should do u think i should have on my magican? openmoko? |
14:24.00 | cr2 | kise: use what pH5 uses |
14:24.40 | kise | ? pH5 |
14:24.42 | kiozen | I see 13 archives for synce 0.10.0. do I have to compile all 13? |
14:25.38 | Hymie | kiozen: there is a wiki page |
14:25.40 | cr2 | Hymie: the projects like synce are exactly the reason why people hate linux. m$ don't need to hire anybody. |
14:25.49 | Hymie | kiozen: that walks you though it ... |
14:26.08 | Hymie | cr2: it's a plot, I tell you, a plot! it's not linux, somehow M$ has done something, I know it! |
14:26.20 | kiozen | I guess I make a short walk home instead. |
14:26.31 | cr2 | i agree. m$ benefits a lot from the current synce state. |
14:26.45 | kise | http://linuxtogo.org/~ph5/magician/ this one? |
14:26.50 | cr2 | kise: yes |
14:27.06 | Hymie | kiozen: a sd card reader + sd card is 100x better than screwing with synce for this.. especially if you can have them in less than an hour to two |
14:27.09 | BabelO | kiozen: i follow that win wince5 http://www.synce.org/index.php/Starting_A_Connection |
14:27.10 | kise | :D i fell like a onecelledanimal |
14:27.15 | cr2 | require patching the kernel and split it into 13 packages. don't have qt4 gui . |
14:29.04 | Hymie | cr2: hey, you want to monkey with this treo business, or at least discuss the strangeness I experienced last evening? |
14:29.15 | kiozen | cr2: colleague has one to borrow me. we can go on :) |
14:29.16 | Hymie | cr2: strange ahappenings |
14:29.18 | cr2 | Hymie: i don't get your problem. |
14:29.29 | welp | cr2: which version of bitbake are you using? |
14:29.51 | cr2 | kiozen: put haret.exe on the SD |
14:30.00 | Hymie | cr2: for some strange reason, every time I boot with the new RD image, it drops me to a command line and doesn't do anything that the old ram disk used to do, like ifup usb0 and such, so I can telnet in |
14:30.18 | welp | g0atboy: you using linux atm or? |
14:30.28 | kiozen | ok |
14:30.36 | kiozen | anything else? |
14:30.40 | cr2 | welp: |
14:30.41 | cr2 | bitbake/bin/bitbake --version |
14:30.41 | cr2 | BitBake Build Tool Core version 1.8.9, bitbake version 1.8.9 |
14:30.53 | Hymie | cr2: I'll backup my device and then try a few more things while you help Mr kiozen with his new found sd card joy ;) |
14:30.59 | cr2 | kiozen: edit default.txt |
14:31.15 | welp | cr2: ooh, that's an idea... i'll give the 'uninstalled' method a go. |
14:31.21 | g0atboy | welp: yeah, but on my desktop thru winmob's wireless modem app |
14:31.23 | cr2 | kiozen: can you connect over usb ? |
14:31.38 | g0atboy | cr2: what kernel do u use n ur uni? 2.6.19-hh13 or 2.6.21-hh17? cos theres only usbserial and ohci modules in the repo for -hh13. Image i'm using is latest GPE from angstrom images and uses -hh17 |
14:31.43 | kiozen | connect ? |
14:31.48 | cr2 | kiozen: btw, can oyu connect over wifi ? |
14:31.52 | cr2 | telnet |
14:32.07 | kiozen | no wifi in the office - spys you know |
14:32.30 | *** join/#htc-linux ivucica (i=ivucica@161.53.76.175) |
14:32.38 | cr2 | g0atboy: compile whatever you want, and replace the modules in the rootfs. |
14:32.51 | cr2 | kiozen: ok. then you need to edit default.txt |
14:32.56 | cr2 | kiozen: add the |
14:33.08 | cr2 | pd xxx 0x0 0x800 |
14:33.16 | cr2 | line to default.txt |
14:33.22 | cr2 | as the _only_ line |
14:33.32 | cr2 | and then press 'run' in haret |
14:33.39 | cr2 | it should create the 'xxx' file |
14:33.46 | cr2 | hm. sorry |
14:33.52 | cr2 | pwf xxx 0x0 0x800 |
14:34.01 | cr2 | send the xxx file to me |
14:34.24 | cr2 | then i need the output of |
14:34.45 | cr2 | pwf yyy 0xa0000000 0x100000 |
14:34.49 | cr2 | and |
14:35.03 | cr2 | pwf zzz 0xa0100000 0x100000 |
14:36.04 | cr2 | then i'll need the output of the 'dump gpio' command. |
14:36.11 | *** join/#htc-linux rob_w|laptop (n=rob_w@p549B8594.dip0.t-ipconnect.de) |
14:36.51 | cr2 | kiozen: i'd also like to know if this gnuharet-20070726162* program works on n560 |
14:36.59 | cr2 | http://jornada820.sourceforge.net/files/haret/ |
14:38.29 | cr2 | g0atboy: actually we should stop this insanity and include modules in the zimage by using initramfs |
14:38.56 | cr2 | g0atboy: at least for the first-time users and initial installation. |
14:39.51 | Hymie | cr2: do you think we can get the treo 750 keyboard to work, since all I have right now is a busybox prompt? ;) |
14:40.11 | cr2 | Hymie: can you trace the SPI port in haret ? |
14:40.24 | cr2 | Hymie: at least on hermes it's on spi. |
14:41.12 | Hymie | cr2: are you sure nothing else is new on the kernel or rd image? I mean, why does it still try to boot from the sd card? :( |
14:41.40 | Hymie | cr2: I wonder if some init script in this RD image is also looking for anything it can mount on the SD card |
14:41.56 | Hymie | cr2: wait, I'll boot from the device's ram, with no SD card in at all |
14:42.06 | welp | whee, same problem with svn version |
14:42.50 | ivucica | cr2: got any idea where i can find docs for the mmc slot on h3800? |
14:42.55 | cr2 | Hymie: it's the rootfs.cgz by Kevin2 |
14:43.07 | cr2 | Hymie: http://handhelds.org/~koconnor |
14:43.25 | cr2 | http://handhelds.org/~koconnor/HTCHermes |
14:44.09 | cr2 | or make the following -> http://handhelds.org/~koconnor/initramfs/ |
14:45.23 | kiozen | cr2: dump gpio gpio.dat |
14:45.29 | kiozen | does not seem to work |
14:46.17 | cr2 | kiozen: with the latest haret ? |
14:46.53 | Hymie | cr2: hmm, well, something is indeed different with this boot image, because all it does not is drop me to a command line, even if I have no SD card in the device. Before, the ram root image you had, would allow me to telnet in at 106, as you know. Now, nada :( |
14:46.57 | kiozen | compiled yesterday |
14:47.34 | cr2 | kiozen: maybe. check my old hack gnuharet* at http://jornada820.sourceforge.net/files/haret/ |
14:48.18 | cr2 | Hymie: strange. |
14:48.31 | cr2 | Hymie: btw, the keyboard http://wiki.xda-developers.com/index.php?pagename=Hermes_KBD |
14:49.00 | Hymie | ah! |
14:49.07 | Hymie | what should we do for this? |
14:49.31 | cr2 | Hymie: it's not a 5min job. |
14:49.45 | cr2 | Hymie: and you need to check the SPI port first. |
14:49.47 | Hymie | k |
14:50.12 | cr2 | but the SPI keyboard driver is available for blueangel. |
14:50.15 | Hymie | cr2: what do I need to do, press each button and map what happens |
14:50.25 | ivucica | cr2: do you have any 3870 docs? compaq's site is (expectedly) down |
14:50.27 | Hymie | cr2: ah, so we can try that? |
14:50.28 | cr2 | it#s just hooked to the asic3_spi |
14:50.44 | cr2 | ivucica: no. |
14:51.04 | cr2 | Hymie: trace the SPI port first, and dump the clock divisor register. |
14:51.52 | Hymie | cr2: haret? |
14:52.10 | cr2 | yes. and http://wiki.xda-developers.com/index.php?pagename=HermesMemoryMap |
14:52.24 | cr2 | 0xb6900000 0x59000000 1 SPI |
14:55.30 | ivucica | cr2: ok... |
14:55.34 | ivucica | well, be back later! |
15:01.04 | *** join/#htc-linux kiozen (n=oeichler@p5492A413.dip0.t-ipconnect.de) |
15:03.25 | kiozen | cr2: sent all 4 files |
15:04.21 | cr2 | kiozen: got them. |
15:04.33 | cr2 | kiozen: do you have the haretlog.txt file now ? |
15:04.35 | Hymie | cr2: so, should I be doing a vdump here on the spi addresses, or what is best? |
15:04.56 | cr2 | Hymie: addlist trace on the region |
15:05.03 | kiozen | cr2: nothing on the SD disc |
15:05.09 | cr2 | Hymie: you use 'pd' |
15:05.48 | cr2 | kiozen: create an empty 'earlyharetlog.txt' file in the same directory as haret, start haret, exit haret. |
15:06.46 | cr2 | kiozen: which haret did you use for 'gpio' ? |
15:06.58 | kiozen | your's |
15:07.19 | cr2 | ok. then you can dump a lot more decoded pxa27x information :) |
15:08.25 | Hymie | d 0x59000000 1 |
15:08.26 | Hymie | 59000000 | 0000003a | :... |
15:09.35 | cr2 | kiozen: this is the list of "dumpers" http://pastebin.ca/764749 |
15:09.47 | cr2 | Hymie: do you have the S3C2442 manual ? |
15:10.02 | welp | w00ts! seems the permission denied errors were something to do with the fact that i was using an nfs mount |
15:10.53 | Hymie | http://72.14.205.104/search?q=cache:_c-P3Ma3wJUJ:www.samsung.com/global/business/semiconductor/productInfo.do%3Ffmly_id%3D229%26partnum%3DSC32442+S3C2442&hl=en&ct=clnk&cd=1&gl=ca |
15:10.54 | Hymie | ? |
15:10.57 | cr2 | kiozen: you may use all the PXA27x commands. |
15:11.15 | cr2 | SC32442A45_Users_Manual_Rev11.pdf |
15:11.25 | cr2 | i'm not sure if it's the latest. |
15:12.30 | kiozen | ok make a dump with all PXA27x* |
15:12.30 | Hymie | http://www.samsung.com/Products/Semiconductor/MobileSoC/ApplicationProcessor/ARM9Series/SC32442/SC32442A45_Users_Manual_Rev11.pdf |
15:12.32 | Hymie | it's not there :( |
15:12.46 | cr2 | kiozen: yes. |
15:13.05 | Hymie | they must of detected us linux freaks downloading it, heh |
15:13.33 | cr2 | lol |
15:17.29 | cr2 | kiozen: so it's not n560, but 'FUJITSU SIEMENS COMPUTERS Pocket LOOX 5xx' |
15:18.05 | kiozen | what ever its gray ;) |
15:18.21 | cr2 | ok :) |
15:18.28 | kiozen | can I put all dump commands into one default.txt? |
15:18.52 | cr2 | dump gpio on mainline haret is outdated ;) |
15:19.02 | cr2 | yes, put the commands into default.txt |
15:19.07 | kiozen | like |
15:19.12 | cr2 | but create different files |
15:19.20 | cr2 | dump pxa27xclock clock |
15:19.25 | cr2 | dump pxa27xpower power |
15:19.29 | cr2 | and so on. |
15:19.31 | kiozen | ack |
15:24.55 | kiozen | cr2: sent |
15:25.00 | cr2 | thanks. |
15:25.40 | cr2 | i'll create a wiki page on hh.org |
15:35.11 | cr2 | Hymie: really can't find it anymore |
15:35.37 | cr2 | brochures and adobe flash player. |
15:52.41 | cr2 | kiozen: is your bt/wifi/gps on ? |
15:52.52 | kiozen | no |
15:53.46 | cr2 | can you enable them and do pxa27xserial,pxa27xcken ? |
15:54.12 | kiozen | have to wait until I get home :) |
15:54.24 | cr2 | ok. |
15:54.39 | cr2 | it's interesting that you have usb host enabled and working. |
15:55.07 | kiozen | it's in the cradel |
15:55.49 | cr2 | it's the usb client |
15:55.56 | cr2 | and both pwm channels. |
15:56.04 | cr2 | 1 is the backlight. |
15:56.10 | welp | buh |
15:58.59 | kiozen | cr2: I would like to know why it is recognised a new network adapter when connented to my SuSE system |
15:59.10 | kiozen | vi usb |
15:59.21 | kiozen | s/vi/via |
15:59.21 | welp | mine does that too |
15:59.33 | welp | but, gentoo not suse |
16:00.14 | welp | i take it you have networkmanager installed? |
16:00.14 | kiozen | no, hate it :) |
16:00.14 | welp | on my computer, it attempts to disconnect me from the wireless to connect to the usb interface <.< |
16:00.14 | kiozen | that is why :) |
16:00.24 | cr2 | kiozen: wince5 is rndis |
16:00.46 | cr2 | aka braindead ms-ethernet over usb |
16:01.15 | kiozen | thus I can connect to it via samba client :) |
16:01.41 | cr2 | with the right software on both sides, yes. |
16:02.07 | kiozen | does wince have telnet or ssh support? |
16:02.27 | kiozen | hehe watched it yesterday 3 times |
16:02.27 | cr2 | or course not. |
16:02.58 | kiozen | thus how will I connect via wifi? |
16:03.22 | cr2 | haret has builtin telnetd |
16:03.30 | kiozen | ahhh |
16:03.51 | kiozen | ok I get home and make the traces |
16:03.53 | kiozen | bbl |
16:12.22 | welp | don't wanna brick the device though |
16:14.19 | cr2 | welp: on magician ? |
16:14.49 | welp | BA |
16:15.09 | cr2 | hehe. it#s too early. |
16:15.10 | welp | keeps installing a whole load of O2 crud when i hard-reset |
16:15.37 | welp | (O2 being a network provider here in the UK) |
16:15.45 | cr2 | we need to analyze the BL gpio and MEMCTL setup |
16:15.48 | cr2 | here too |
16:16.09 | welp | i should consider learning the ropes |
16:16.13 | welp | so i can help out some more... |
16:16.29 | welp | i figure openembedded is a good way to get started, though |
16:16.32 | cr2 | and also the tags head. |
16:17.02 | welp | i'd rather figure out the kb problem first |
16:17.08 | cr2 | you'd look at the perltools at xda-dev for booting wince-less |
16:17.10 | cr2 | ok. |
16:17.39 | cr2 | before we will flash, it's necessary to make the kernel boot from RAM wince-less. |
16:18.04 | welp | but! didn't BabelO say something about needing to build a new image with wifi stuff? i'm sure he mentioned something about the kb driver being sorted |
16:18.07 | welp | might be wrong though |
16:18.56 | cr2 | don't think so. |
16:19.18 | cr2 | the spi driver needs to be decoupled from asic3_spi stuff. |
16:19.38 | cr2 | because it's generic enough. |
16:19.55 | cr2 | and can be used on other devices too. |
16:24.34 | *** join/#htc-linux Hawk| (n=mn@195.37.234.205) |
16:46.58 | *** join/#htc-linux g0atboy (n=mike@general-kt-195.t-mobile.co.uk) |
16:47.14 | g0atboy | hey again |
16:47.37 | g0atboy | still having probs with usbserial |
16:48.17 | g0atboy | here's where i'm at |
16:48.18 | g0atboy | Installed www.angstrom-distribution.com/unstable GPE Image |
16:48.18 | g0atboy | Installed loadsa packages |
16:48.18 | g0atboy | installed modules from http://www.angstrom-distribution.org/unstable/feed/armv5te/machine/htcuniversal/ |
16:48.18 | g0atboy | <PROTECTED> |
16:48.18 | g0atboy | <PROTECTED> |
16:48.19 | g0atboy | and a few others for the _2.6.21-hh17 kernel |
16:48.21 | g0atboy | I have 2.6.21-hh17 kernel and also somewhere 2.6.19-hh14? kernel from GPE launcer cab file posted on xda-devs |
16:48.31 | *** join/#htc-linux kise (n=kise@82.147.51.146) |
16:48.49 | g0atboy | cannot modprobe modules into either of these kernels (invalid module format) |
16:48.49 | g0atboy | using modprobe -f results in messages about symbols not found |
16:48.49 | g0atboy | so still nothing when i use lsusb |
16:49.44 | g0atboy | what should i do now? does anyone have a prebuilt module for the -hh17 kernel or do i have to go off and compile myself a new kernel and modules? |
16:50.05 | g0atboy | what about a copy of the -hh13 kernel? |
16:51.50 | *** part/#htc-linux Hawk| (n=mn@195.37.234.205) |
16:51.54 | g0atboy | sorry 2 spam |
17:00.52 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db09f03.pool.einsundeins.de) |
17:01.04 | kiozen | cr2: sent |
17:08.56 | *** join/#htc-linux g0atbo1 (n=mike@general-kt-195.t-mobile.co.uk) |
17:11.27 | cr2 | kiozen: your gps runs at 9600 ? |
17:11.41 | cr2 | "standard" setting |
17:12.12 | kiozen | hm I switched on the gps app, searching for satelites. |
17:13.02 | cr2 | you have 921600 on BTUART |
17:13.02 | kiozen | wince is... well a bit peculiar to use |
17:13.02 | cr2 | i guess it's BT. |
17:13.02 | cr2 | nothing at FFUART. |
17:13.02 | cr2 | the STUART is at 9600 |
17:13.12 | cr2 | usually it's the IR setting |
17:13.53 | cr2 | but all 3 are on. |
17:15.09 | cr2 | yes. bt should be BT UART on COM5: |
17:15.56 | cr2 | STUART should be IR. |
17:16.28 | cr2 | you may check it by switching IR listen on/off while tracing. |
17:17.26 | kiozen | currently I tray to get GPS fix |
17:18.12 | cr2 | well ,your registry says gps in on COM8 ? |
17:18.27 | cr2 | it's STUART too. |
17:18.53 | cr2 | so you can't use IR and GPS simultaneously. i guess |
17:19.17 | cr2 | does n560 have a serial RS232 port ? |
17:19.46 | cr2 | and there should be some gpio for switching between IR and GPS |
17:20.23 | kiozen | gps is com8 and 9600, from system setup |
17:20.53 | kiozen | don't know about serial port, nothing obvious |
17:21.11 | kiozen | don't need IR :) |
17:21.52 | cr2 | ok, but normally IR is on. so we need to know how to switch it off. |
17:22.02 | cr2 | and switch the gps on. |
17:22.38 | cr2 | my hint is at 0x69 |
17:22.53 | cr2 | 105 |
17:23.16 | cr2 | | 105 | O | 0 | 0 | 0 | | |
17:23.29 | cr2 | you can check it by switching IR on/off |
17:23.35 | cr2 | and GPS on/off |
17:24.53 | cr2 | kiozen: btw, wince speaks of HTC Dresden :) |
17:27.56 | kiozen | hm can't find anything to control IR |
17:29.53 | cr2 | einstellungen->verbindungen->übertragen ? |
17:31.03 | BabelO | cr2: is really 4800 nema mode and 9600 sirf mode for gps ? |
17:31.52 | cr2 | 4800 is standard nmea |
17:32.10 | cr2 | sirf should be 57600 on sane devices. |
17:32.18 | cr2 | sirf binary. |
17:32.38 | cr2 | but you'd better run gpsd at 115200 |
17:32.43 | cr2 | if it will work. |
17:32.51 | cr2 | otherwise switch to 57600 |
17:33.00 | cr2 | sirf must support it |
17:33.10 | BabelO | ok |
17:33.50 | BabelO | i use gpe2blue to share artemis internal gps with linux, just installing roadmap on greenphone now ;) |
17:33.53 | welp | BabelO: got bitbake gpe-image running now... tunning task 160 of 3665 |
17:37.01 | cr2 | lol |
17:37.19 | *** join/#htc-linux g0atboy (n=mike@149.254.192.192) |
17:37.28 | welp | ha, someone just logged in, saw all processors going at 100% and was like, "WTF IS GOING ON HERE?!" |
17:40.42 | cr2 | when 180+180+250GB disks died, they took my pxa alt_gpio parser ;) |
17:40.59 | cr2 | need to lookup and enter the values from the manual again... |
17:41.48 | cr2 | kiozen: do you have a serial connector on n560 ? |
17:42.52 | cr2 | kiozen: USB-Host yes says http://www.insidepda.de/pocket-pc,Fujitsu-Siemens-Pocket-Loox-n560,technische-daten,172.html |
17:43.35 | cr2 | Laufzeit 9 h |
17:43.39 | cr2 | we will see :) |
17:43.48 | BabelO | welp: once it finish you can take kernel i provide with opieII image and modules, because there is some patch i send hh but never applied |
17:44.54 | cr2 | yes, serial/USB sync |
17:45.03 | cr2 | http://www.insidepda.de/pocket-pc,Fujitsu-Siemens-Pocket-Loox-n560,adapterkabel,172.html |
17:45.17 | cr2 | so the serial console is on ffuart |
17:45.41 | cr2 | console=ttyS2,115200n8 |
17:45.49 | cr2 | isn't it infrared ??? |
17:46.53 | cr2 | http://de.wikipedia.org/wiki/FSC_Loox#N560 |
17:48.07 | welp | BabelO: what do the patches do/fix? |
17:49.44 | cr2 | BabelO: what patch ? |
17:51.18 | BabelO | cr2: it is only for the ds1wm freeze we have on BA |
17:51.41 | BabelO | we solve it with asylumed |
17:51.51 | BabelO | but our solution is not good ;) |
17:53.17 | cr2 | ok. |
17:54.17 | cr2 | BabelO: you should trace ds1wm in wince, and check the access pattern with ds1wm linux driver |
17:56.16 | BabelO | cr2: i already do that and pH5 take a look at our dump |
17:56.56 | cr2 | ok. |
18:05.56 | kiozen | cr2: sorry nmi by wife |
18:06.08 | cr2 | :) |
18:06.38 | kiozen | tried to get a satelite fix, no luck, this is supposed to be sirfIII |
18:07.31 | kiozen | Garmin sees several sats on the spot |
18:07.31 | cr2 | it depends on conditions |
18:08.21 | cr2 | Garmin has quadhelix+transistor-based preamplifier. |
18:09.00 | cr2 | nobody else does it this way today. greed=bad. |
18:09.14 | kiozen | ah I thought they just use the sirf module as is |
18:09.40 | cr2 | no,i've already opened my 76cx |
18:10.53 | cr2 | maybe i'd compile a custom gpsbabel and look at the fw dump :) |
18:11.26 | cr2 | BabelO: i've looked at the sirf3 fw dump from athena |
18:12.09 | cr2 | thumb is pita. but i've found some ram at 0x60000000 and some reg spaces at 0x80000000+ |
18:12.34 | cr2 | it is supposed to have 1MB SRAM and up to 4MB flash. |
18:14.52 | kiozen | grr wep key field is to short in wince |
18:15.21 | welp | BabelO: actually... any chance you can email me the kernel stuff? |
18:16.00 | *** join/#htc-linux pH5 (n=ph5@e178221166.adsl.alicedsl.de) |
18:16.16 | BabelO | welp : i m at work :( |
18:16.41 | cr2 | hm. what is CHOUT1 ? |
18:17.08 | welp | BabelO: well, it's on task 181 of 3665, so you can email me anytime before it finishes ;) |
18:20.34 | BabelO | cr2: Channel out 1 sound or video ;) |
18:20.47 | BabelO | cr2: your athena is a big computer ;) |
18:24.14 | kiozen | anyone knows a trick how to enter a 26 digit WEP key in wince? |
18:29.44 | cr2 | BabelO: CHOUT<1> Output Timer Channel Output 1—Periodic clock output from timer channel 11. |
18:30.11 | cr2 | kiozen: i use an open AP without any external interface. |
18:30.26 | cr2 | then just telnet from my notebook to the phone. |
18:31.07 | BabelO | kiozen: copy/paste :) |
18:31.14 | kiozen | lol |
18:31.17 | BabelO | no, seriously i don't know |
18:31.42 | kiozen | guess I have to generate a new key that is ascII printable |
18:32.13 | cr2 | BabelO: it's something new. it's the first device i know that uses these RTC timers |
18:37.32 | welp | whoa, bbfiles syntax is almost identical to gentoo's ebuilds... :o |
18:40.26 | cr2 | BabelO: px26x is a much more simple cpu :) |
18:41.44 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-4db09f03.pool.einsundeins.de) |
18:42.48 | BabelO | cr2: loox is a pxa272 ? |
18:45.30 | *** join/#htc-linux ivucica (n=ivucica@217.14.216.214) |
18:46.07 | cr2 | pxa270 + mdoc-g4 |
18:46.20 | BabelO | miam :) |
18:46.21 | cr2 | like universal |
18:46.37 | ivucica | um, hi ;) |
18:46.49 | cr2 | BabelO: 89 nc in 1 SSP_RXD3 0 0 0 - - - |
18:46.54 | cr2 | BabelO: old friend :) |
18:47.00 | kiozen_ | ok changed the key, now I got wifi |
18:47.34 | ivucica | if someone has some info on how to communicate using asic1 apis, and specs on mmc on h3800 ... :) |
18:47.38 | cr2 | L_VSYNC |
18:47.53 | cr2 | must be some pxa27x artefact. |
18:50.26 | welp | wow, i'm already on task 431 |
18:50.27 | welp | :)) |
18:50.29 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-4db09f03.pool.einsundeins.de) |
18:51.07 | ivucica | it's incredible that nobody is interested in 3800 anymore :O |
18:51.18 | cr2 | kiozen_: let's have some fun. do you have an SD card ? |
18:52.06 | kiozen_ | yes, but wait until I stored my son into bed ;) |
18:52.29 | ivucica | cr2: SD fun? :D |
18:52.42 | kiozen_ | SD not SM |
18:52.52 | ivucica | yes, yes, yes ... ;) |
18:53.11 | ivucica | i don't want to IMAGINE what you'll do with that poor card |
18:53.30 | ivucica | you'll probably be inserting it into some SD card reader |
18:53.31 | ivucica | yuck |
18:53.40 | ivucica | how dare you |
18:53.42 | ivucica | =] |
18:54.09 | ivucica | in any case, cr2, would you care to provide some "base" driver for MMC? |
18:54.28 | ivucica | meaning, bare minimum which interacts both with kernel driver model and "mmc.c" functions? |
18:56.27 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db09f03.pool.einsundeins.de) |
18:57.00 | *** join/#htc-linux g0atbo1 (n=mike@149.254.192.192) |
18:57.07 | ivucica | kiozen, cr2: are there any specs with regard to linux mmc interface, at least? |
18:57.28 | ivucica | e.g. things like mmc->ocr_avail (mmc being mmc_host*) |
18:57.54 | ivucica | i have no idea what it means and how it links to the old 2.4 driver (i'm trying to patch up a 2.6 mmc driver for h3800, btw) |
18:59.16 | cr2 | ivucica: you only need to change the asic1_mmc.c file |
18:59.34 | ivucica | cr2: i looked at it, and find very small parallels to the 2.6 model |
18:59.51 | ivucica | i thought of "copypasting" stuff into the 2.6 driver i patch up |
19:00.16 | cr2 | ivucica: i'm not an sd/mmc expert |
19:00.36 | ivucica | many of the values are even missing from the new kernel |
19:00.45 | ivucica | cr2: ah well ... know anyone i could bug, then? ;) |
19:01.36 | cr2 | no. |
19:02.17 | ivucica | eff darn :) |
19:02.39 | ivucica | i'll try to patch up something then |
19:08.42 | kiozen | son -> sleeping |
19:08.43 | kiozen | wife -> escaped to a friend |
19:08.43 | kiozen | bottel of wine -> open |
19:08.43 | kiozen | SD card -> present |
19:08.43 | kiozen | cr2: let's have some fun.... |
19:08.57 | ivucica | kiozen: wine? beer ftw |
19:09.07 | ivucica | what kind of a kernel hacker are you?! =] |
19:09.13 | cr2 | kiozen: grabbed opie2 already ? |
19:09.20 | kiozen | no kernel hacker :) |
19:09.26 | kiozen | cr2: no |
19:09.30 | ivucica | kiozen: tsk tsk =] |
19:09.39 | kiozen | do I really need it? |
19:10.22 | cr2 | kiozen: grab qtopia4 image for universal, and untar it on the ext2 formatted SD card. |
19:11.22 | kiozen | link? befor I search for ages |
19:11.28 | cr2 | http://www.linuxtogo.org/~htcpxa/htcuniversal/images/O.P.I.E-II/ |
19:12.06 | kiozen | the cab or the bz2 |
19:12.54 | cr2 | bz2 |
19:13.09 | cr2 | cab is the kernel for the universal itself. |
19:14.28 | cr2 | 1 partition, ext2/3, untar |
19:21.52 | ivucica | cr2: would "kernel-discuss@handhelds.org" be the correct list for my further questions? |
19:23.27 | cr2 | yes, but it's dead. |
19:24.00 | cr2 | i've send a test message 2 days ago and never got any reply. |
19:24.15 | welp | hah, the gentoo-freebsd mailing list hasn't had any messages since april |
19:29.52 | ivucica | heh |
19:30.11 | ivucica | cr2, i'm sure kernel-bugs will surely get more attention, but that's hardly a bug |
19:30.26 | ivucica | but, on the other hand, not maintaining a driver is definitely a bug ;) |
19:34.30 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db09f03.pool.einsundeins.de) |
19:34.45 | *** part/#htc-linux BabelO (n=fcr@81.80.236.75) |
19:37.13 | kiozen | hal deamon sucks... |
19:37.18 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz) |
19:39.54 | cr2 | :) |
19:40.39 | kiozen | cr2: files on SD |
19:42.19 | cr2 | ok. |
19:42.39 | cr2 | have you prepared the default.txt for booting ? |
19:42.45 | cr2 | set MTYPE ... |
19:42.50 | cr2 | set cmdline ... |
19:42.52 | cr2 | ramboot |
19:43.42 | ivucica | woah ... i must say i haven't seen an error like this before |
19:44.02 | ivucica | sec |
19:44.59 | kiozen | set MTYPE 1417 |
19:44.59 | kiozen | set cmdline "root=/dev/ram0 ramdisk_size=8192 keepinitrd init=/linuxrc console=ttyS2,115200n8" |
19:44.59 | kiozen | ramboot |
19:45.36 | ivucica | cr2 |
19:45.37 | ivucica | http://pastebin.com/d68ac1749 |
19:46.35 | cr2 | kiozen: set cmdline "root=/dev/mmbblk0p1" |
19:47.02 | kiozen | ack |
19:47.05 | cr2 | ivucica: does not look right anyway. |
19:47.06 | ivucica | kiozen: he made a typo |
19:47.16 | ivucica | should be /dev/mmcblk0p1 |
19:47.26 | ivucica | cr2: odd ... i copypasted it |
19:47.42 | kiozen | ok |
19:47.52 | ivucica | cr2: check out asic3_mmc.c |
19:48.00 | cr2 | ivucica: let's take the easy one: |
19:48.03 | cr2 | .get_ro = mmc_get_ro, |
19:48.23 | cr2 | this is _your_ function to get the .ro status |
19:48.43 | ivucica | mmm |
19:48.46 | ivucica | understood, sir! |
19:48.47 | ivucica | ;) |
19:50.00 | *** join/#htc-linux Zoolooc (n=fredsiba@p5495299E.dip0.t-ipconnect.de) |
19:50.50 | kiozen | what to do with that default.txt? |
19:51.13 | cr2 | compile into linload.exe |
19:51.50 | cr2 | make linload KERNEL=/path/to/zimage_c550 SCRIPT=yourdefault.txt |
19:51.59 | cr2 | in the haret source dir |
19:53.55 | kiozen | ok done |
19:54.08 | cr2 | put the SD card into the PDA, |
19:54.23 | cr2 | put linload.exe to the PDA |
19:54.30 | cr2 | click on linload.exe :) |
19:55.10 | kiozen | ok, need a second SD with FAT don't I |
19:55.22 | cr2 | no. |
19:55.32 | kiozen | ext2 on wince? |
19:55.41 | cr2 | what for ? |
19:55.53 | kiozen | you told me to format it with ext2 |
19:56.18 | cr2 | you said "files on SD" |
19:56.32 | kiozen | foamted with ext2 :) |
19:57.13 | kiozen | "kiozen: grab qtopia4 image for universal, and untar it on the ext2 formatted SD card." |
19:57.48 | cr2 | yes. |
19:57.59 | cr2 | this is the linux root filesystem |
19:58.22 | cr2 | now you need to put the linload.exe on the device itself. |
19:58.27 | cr2 | not on the SD card. |
19:59.03 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
19:59.10 | kiozen | ok that is what I wanted to know. get a 2nd SD to do so |
20:00.03 | cr2 | well, maybe activesync or such. |
20:00.23 | cr2 | actually it's a good idea to add a file get/put to haret. |
20:00.52 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-b47b1d70bb06dcd6) |
20:03.23 | kiozen | kernel panic :) |
20:03.37 | cr2 | message ? |
20:03.47 | kiozen | cannot open root device mmcblk0p1 |
20:03.54 | cr2 | ok. |
20:04.10 | cr2 | add rootdelay=5 to the cmdline |
20:04.19 | cr2 | and recompile linload |
20:13.04 | kiozen | splash -> console cause of fatals -> now it hangs in the GUI with "no network" |
20:13.30 | BabelO | good |
20:13.41 | kiozen | the fatals where about no modules.dep found :) |
20:13.56 | BabelO | how do you install modules ? |
20:14.12 | BabelO | export INSTALL_MOD_PATH=/whereis your image/ |
20:14.19 | BabelO | make modules_install |
20:14.39 | kiozen | was a percompiled image |
20:15.01 | BabelO | ah ok |
20:15.28 | ivucica | kiozen: don't cry about that, i wish i could get linux on h3800 to read mmc at all :'( |
20:15.36 | ivucica | i can't boot using haret *cries* |
20:15.37 | BabelO | but it is your kernel |
20:16.01 | kiozen | I am not crying. For a first try that was ok |
20:16.11 | kiozen | BabelO: no |
20:16.17 | BabelO | kiozen: you just need to find a way to mount your sd card |
20:16.21 | BabelO | ah ok |
20:16.32 | cr2 | BabelO: i vote for initramfs. |
20:16.46 | BabelO | ok |
20:17.03 | cr2 | you can't unload it from ram, but for the test/first install it's ok. |
20:18.40 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
20:19.54 | cr2 | BabelO: http://handhelds.org/~koconnor/initramfs |
20:20.19 | cr2 | pH5: are you here ? |
20:20.56 | BabelO | cr2: ok |
20:21.48 | cr2 | BabelO: you can't really tell export INSTALL_MOD_PATH=/whereis your image/ to somebody with the winxp :) |
20:22.10 | BabelO | winxp ? wha's that ;) |
20:22.28 | cr2 | used by some poor souls |
20:23.35 | ivucica | they're at least luckier than those infested with "hasta la". |
20:23.47 | cr2 | BabelO: it seems to me that the asm stub to boot from htc bl is really minimal. |
20:24.14 | BabelO | cr2: are you able to boot from bl on BA with htc-tools from pH5 ? |
20:24.26 | cr2 | BabelO: you'd also explain kiozen how to compile qtopia. |
20:25.06 | cr2 | BabelO: i've looked at his .S code 90% of it is not necessary with an SD boot. |
20:25.42 | cr2 | BabelO: i'm talking about booting, not flashing yet. |
20:25.43 | BabelO | cr2: now to compile qtopia it is fast ;) i m able to compile it in one shoot only ;) |
20:26.00 | BabelO | cr2: yes i m agrre, maybe we can found lot of bug like this |
20:26.09 | cr2 | you'll see a gazillion of kernel bugs to pop out started from the bl ramboot ;) |
20:26.18 | cr2 | :D |
20:26.45 | kiozen | modules.dep is searched for kernel 2.6.21-hh17 |
20:26.58 | kiozen | on the SD it's 2.6.21-hh16 |
20:27.01 | kiozen | no wonder |
20:27.19 | cr2 | kiozen: it can (should?) be solved with initramfs. |
20:27.54 | cr2 | just look at the README above |
20:28.00 | cr2 | <PROTECTED> |
20:28.00 | cr2 | <PROTECTED> |
20:28.00 | cr2 | <PROTECTED> |
20:28.00 | cr2 | <PROTECTED> |
20:28.00 | cr2 | <PROTECTED> |
20:28.01 | cr2 | <PROTECTED> |
20:28.48 | cr2 | BabelO: if the tags and zimage are pre-packaged, then this is the stub that you need to boot. |
20:37.27 | welp | damn, locale generation takes *ages* |
20:37.32 | welp | doesn't make use of all cores :/ |
20:45.45 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
20:46.56 | kiozen | ok, once you provide the correct modules in the correct path, the fatals are away |
20:47.05 | kiozen | but the GUI still freezes :) |
20:47.16 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
20:54.08 | BabelO | kiozen: you need to check touch screen input |
20:54.29 | cr2 | kiozen: can you login over usb ? |
20:54.29 | kiozen | what to look for? |
20:55.00 | cr2 | lsusb first |
21:00.41 | BabelO | test |
21:03.19 | *** join/#htc-linux PITABoy (i=na@adsl-221-110-242.rmo.bellsouth.net) |
21:06.55 | *** join/#htc-linux PITABoy (i=na@adsl-221-110-242.rmo.bellsouth.net) |
21:08.42 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-4db09f5e.pool.einsundeins.de) |
21:11.08 | kiozen_ | Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget |
21:11.48 | kiozen_ | this failing mount drives me nuts... |
21:12.14 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
21:12.49 | cr2 | kiozen_: what do you see when linux is booted ? |
21:13.32 | kiozen_ | ok now it boots again |
21:13.53 | kiozen_ | 4 outof five times the SD card failes to mount |
21:14.33 | kiozen_ | how can I connect via usb |
21:15.13 | cr2 | it can be a buggy mmc driver. |
21:15.35 | cr2 | increase the rootdelay to 10 |
21:16.37 | kiozen_ | ack |
21:17.07 | BabelO | kiozen_: to log over usb once you see device with lsusb, just use ifconfig usb0 192.168.0.201 on your machine |
21:17.17 | BabelO | remote device shout be at 192.168.0.202 |
21:17.57 | kiozen_ | ack, have to reboot, PC is fucked up :/ |
21:20.37 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db09f5e.pool.einsundeins.de) |
21:24.41 | kiozen | ok, connected via ssh |
21:26.13 | cr2 | to n560 ? |
21:26.32 | kiozen | yes, but it shut down :( |
21:27.26 | BabelO | kiozen: shut down off ? yes it is automatic apm on image, you have to move /usr/bin/apm to /usr/bin/apm.old |
21:27.34 | BabelO | something like that |
21:27.47 | BabelO | need to fix battery read before |
21:27.54 | kiozen | first I have to boot, panic with 10 sec, too |
21:28.40 | cr2 | BabelO: how to disable the phone funcs ? |
21:29.05 | BabelO | already disabled |
21:29.27 | BabelO | if environment QTOPIA_DEVICE=null |
21:30.27 | cr2 | on universal ? |
21:30.42 | cr2 | he uses universal image, because of vga |
21:30.55 | cr2 | or should he use yours ? |
21:31.05 | BabelO | ah vga screen ;) |
21:31.53 | BabelO | on mine i am sure about settings, i think goxboxlive do the same, so jsut set : |
21:31.55 | BabelO | <PROTECTED> |
21:31.56 | BabelO | <PROTECTED> |
21:31.56 | BabelO | <PROTECTED> |
21:32.19 | BabelO | this one for touchscreen input |
21:32.20 | BabelO | export QWS_MOUSE_PROTO=tslib:/dev/input/event4 |
21:32.26 | BabelO | to the correct device |
21:32.47 | BabelO | this one to display size in mm |
21:32.49 | BabelO | export QWS_DISPLAY=LinuxFb:Transformed:mmWidth53:mmHeight71 |
21:33.05 | BabelO | and export QWS_SIZE=480x640 for your settings |
21:34.16 | cr2 | he has the keyboard (pxa_gpio_keys) and the touchscreen. |
21:34.31 | cr2 | don't know the LCD size |
21:35.03 | cr2 | 3.5" for vga ? |
21:35.14 | cr2 | looks better than universal :) |
21:35.18 | cr2 | strange. |
21:36.53 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db09f5e.pool.einsundeins.de) |
21:38.34 | kiozen | BabelO: what password to use? the first time I succeded with 'root' |
21:38.51 | kiozen | never mind |
21:38.54 | kiozen | my fault |
21:39.13 | kiozen | cr2: I am connected the n560 again |
21:40.23 | *** join/#htc-linux TimRiker (n=timr@psnet.cc) |
21:40.51 | BabelO | kiozen: no password that s good |
21:40.58 | BabelO | can you pastebin dmesg output ? |
21:42.10 | kiozen | http://pastebin.ca/765210 |
21:42.53 | cr2 | PREEMPT |
21:43.58 | cr2 | nput: gpio-keys as /class/input/input0 |
21:44.11 | cr2 | input: ts-adc as /class/input/input1 |
21:44.23 | cr2 | No IRQF_TRIGGER set_type function for IRQ 0 (SC) |
21:44.29 | cr2 | that's not good. |
21:45.12 | cr2 | kiozen: your fs is fscked. |
21:45.25 | cr2 | probably your partition table is strange. |
21:45.37 | cr2 | 6>[ 280.640000] attempt to access beyond end of device |
21:45.37 | cr2 | <6>[ 280.640000] mmcblk0p1: rw=0, want=176903170, limit=990739 |
21:45.48 | cr2 | not surprise that you crahs. |
21:46.13 | kiozen | it was partitioned by a camera :) |
21:46.41 | kiozen | I get me a 2GB SD on the weekend |
21:46.49 | kiozen | promised :) |
21:47.08 | cr2 | partition under linux, or do not partition at all. |
21:47.28 | cr2 | just mke2fs -j -m0 /dev/sdb |
21:47.38 | kiozen | I just sneeked the SDs of my wive, shh don't tell her... |
21:47.54 | cr2 | and then use root=/dev/mmcblk0 |
21:48.04 | cr2 | :) |
21:48.14 | kiozen | ok, I copy that for later |
21:48.56 | cr2 | i know how to resume from suspend on n560 now |
21:50.10 | kiozen | ok |
21:52.45 | cr2 | can you reformat the card, and reinstall the image again ? |
21:53.14 | cr2 | it may have happened that you pulled the card without properly unmounting it. |
21:57.43 | cr2 | ts-adc: Sample with too much jitter - ignored |
22:10.41 | kiozen | cr2: now it looks better, new pastebin? |
22:11.25 | BabelO | kiozen: you can set corect vriable and start qtopia ;) |
22:11.32 | BabelO | remove apm before ;) |
22:12.45 | kiozen | BabelO: wa'hat variable? |
22:13.08 | BabelO | kiozen: this one export QWS_MOUSE_PROTO=tslib:/dev/input/event1 |
22:13.11 | BabelO | for touchscreen |
22:13.34 | BabelO | and |
22:13.34 | kiozen | in default.txt ? |
22:13.47 | BabelO | kiozen no like in real linux ;) |
22:13.55 | BabelO | etc/init.d/qpe something |
22:14.03 | BabelO | or /opt/Qtopia/qpe something |
22:15.49 | cr2 | kiozen: the pastebin is otherwise ok. |
22:16.11 | cr2 | we only need to apply/switch off the gps and bt power. |
22:16.21 | cr2 | heh. find the gpios first. |
22:16.28 | cr2 | then you'll have them running |
22:16.49 | cr2 | my guess is that gps uses gpio 0x69 |
22:16.56 | cr2 | but you need to trace it. |
22:17.05 | cr2 | then you can just run gpsd |
22:18.00 | BabelO | then you can start roadmap, luck guy ;à |
22:18.30 | kiozen | ok, placed "export QWS_MOUSE_PROTO=tslib:/dev/input/event1" in /etc/init.d/O.P.I.E-II |
22:18.34 | kiozen | anything else? |
22:18.48 | cr2 | the only problematic thing is the mdoc-g4. everything else will be supported. |
22:19.25 | cr2 | kiozen: you'll probably need to write some custom keyboard/button driver. |
22:19.31 | cr2 | for qtopia. |
22:19.41 | cr2 | BabelO knows better :) |
22:20.10 | cr2 | you they are just remapped by some .conf file, i don't know. |
22:21.03 | BabelO | kiozen, yes if you can check /opt/Qtopia/qt_plugins/kbddrivers/ |
22:21.05 | welp | BabelO: are you home atm? |
22:21.20 | welp | BabelO: got to the stage where the locales are being generated... taking *ages* |
22:21.24 | BabelO | kiozen: something like that ? libhtcbuthandler.so libhtckbdhandler.so libkernelkeymapkbdhandler.so |
22:21.44 | BabelO | welp: yes at home since 9:00pm :) hard work today |
22:21.56 | welp | BabelO: hehe |
22:22.15 | BabelO | i check for the patch |
22:22.23 | kiozen | didn' help, still no touch screen |
22:22.24 | welp | BabelO: any chance you could email me the kernel stuff at welp@01welp.co.uk or welp@gentoo.org - either will do ;) |
22:22.54 | BabelO | kiozen: you killall qpe and restart script ?... |
22:23.12 | BabelO | kiozen: then killall qpe again and try ts_calibrate if you are lucky |
22:24.59 | cr2 | kiozen: yes, you need to calibrate the screen first. |
22:25.32 | BabelO | welp: http://pastebin.ca/765275 |
22:25.40 | BabelO | welp: #if 1 too ;) |
22:27.29 | kiozen | sh: cannot create /sys/class/backlight/corgi-bl/brightness: Directory nonexistent |
22:27.32 | kiozen | QVNCServer created on port 5900 |
22:27.36 | kiozen | ***Loaded htc buttons plugin! |
22:27.40 | kiozen | htcKbdDriverPlugin:create() |
22:27.44 | kiozen | ***Loaded htc keyboard plugin! |
22:27.48 | kiozen | Cannot open (/dev/input/event3) for keyboard (No such file or directory) |
22:27.52 | kiozen | root@htcuniversal:~$ No headset audio devices available... |
22:27.56 | kiozen | sh: cannot create /sys/class/backlight/corgi-bl/brightness: Directory nonexistent |
22:27.56 | kiozen | htcphonehardware plugin |
22:27.56 | kiozen | No IRDA devices found! |
22:27.56 | kiozen | sh: cannot create /sys/class/backlight/corgi-bl/brightness: Directory nonexistent |
22:27.56 | kiozen | No handsfree audio devices available... |
22:27.57 | kiozen | /usr/sbin/alsactl: load_state:1315: Cannot open /etc/alsa/stereoout.state for reading: No such file or directory |
22:28.40 | welp | BabelO: what driver is that? |
22:28.55 | cr2 | kiozen: yes, this stupid corgi-bl needs to be fixed. |
22:28.58 | BabelO | welp: drivers/w1/masters/ds1wm.c |
22:29.06 | kiozen | ts_calibrate does nothing |
22:29.25 | cr2 | kiozen: we did not include the sound driver because we need the power and reset gpios for it too. |
22:29.27 | BabelO | kiozen: it is a standalone app |
22:29.44 | BabelO | kiozen: you see it on your screen ? |
22:29.45 | welp | BabelO: yeah, worked that out, but the filename isn't very descriptive as to what it does ;) |
22:29.57 | cr2 | the gui must be shut down before calibrating. |
22:30.05 | kiozen | the last remains of qpe |
22:30.28 | kiozen | no qpe running |
22:30.35 | BabelO | welp: it is to ask battery capacity / current on w1 bus for ds2760 |
22:30.51 | welp | BabelO: aaha, ok |
22:31.17 | kiozen | http://pastebin.ca/765287 |
22:31.21 | BabelO | welp: curent driver at hh freeze after two read |
22:32.06 | BabelO | cr2: where is wifi on loox ? |
22:32.52 | cr2 | kiozen: ok. ts_calibrate does not do anything ? |
22:32.58 | kiozen | yes |
22:33.05 | cr2 | BabelO: on sdio (at least partially) |
22:33.25 | cr2 | kiozen: hexdump /dev/input/event0 |
22:33.30 | cr2 | sorry |
22:33.35 | cr2 | hexdump /dev/input/event1 |
22:33.41 | cr2 | and touch the screnn |
22:33.56 | kiozen | yup working |
22:34.37 | cr2 | ok, the it's just some fb unhappiness |
22:34.40 | BabelO | cr2: i think i know why :) |
22:34.50 | cr2 | rebooot, but don't start qpe |
22:35.00 | cr2 | then run ts_calibrate |
22:35.13 | BabelO | cr2: qtopia need libts 1.0 and not sure ts tools are fully rebuilt |
22:35.36 | cr2 | after /etc/pointercal will be created, you can safely run qtopia. |
22:35.48 | cr2 | BabelO: .ipk from angstrom ? |
22:35.58 | welp | BabelO: i'll have to work out how to patch the kernel when the image building is done... |
22:36.22 | welp | BabelO: btw... do you have a rough idea as to how long it takes for you to build a gpe image? |
22:36.52 | BabelO | welp: uh don't know i always build my kernel by hand, you can look at bb file, i think there is option to provide some patch |
22:37.20 | welp | BabelO: yeah, i understand bb files - they're almost identical to gentoo's ebuilds ;) |
22:37.25 | BabelO | welp: two days for an image lol, but i ve a athlon xp 1800 :) |
22:37.39 | welp | aaha, the quad-xeon should be a 'lil faster, then ;) |
22:37.39 | BabelO | with only 512Mo |
22:37.58 | welp | 6gig ram... o.O |
22:38.00 | BabelO | welp: next time i buy a quad core i think, time to try intel processor |
22:38.22 | BabelO | cr2: only way to check if i m right is ldd ts_calibrate |
22:38.37 | BabelO | cr2: or strace |
22:38.52 | welp | BabelO: nono, amd's good for really high-end stuff |
22:38.55 | welp | :P |
22:39.05 | kiozen | cr2: done, worked |
22:39.21 | cr2 | kiozen: qtopia can use the ts ? |
22:39.58 | ivucica | time to go |
22:40.00 | ivucica | bye! |
22:40.06 | kiozen | how deletes vi a singel char? |
22:40.09 | welp | bedtime |
22:40.18 | welp | night night folks, BabelO, cr2, kiozen, all! |
22:40.25 | kiozen | byw |
22:40.28 | kiozen | bye |
22:40.30 | BabelO | welp: bight |
22:40.31 | ivucica | bye cr2, BabelO, kiozen, welp, and others |
22:41.41 | cr2 | kiozen: x |
22:41.46 | cr2 | to the left |
22:41.55 | kiozen | never mind used nano |
22:42.04 | welp | vim ftw. |
22:42.33 | cr2 | lol |
22:42.47 | cr2 | i use joe. |
22:43.06 | welp | never heard of it ;) |
22:43.10 | welp | and with that, i go to bed! |
22:43.50 | BabelO | something is wrong people are going to bed and i make dinner :( |
22:43.59 | welp | it's called timezones ;) |
22:44.07 | welp | wait... you're an hour ahead of me, aren't you? :P |
22:44.26 | kiozen | works |
22:44.45 | BabelO | welp: 11:38pm here |
22:45.02 | cr2 | kiozen: good. |
22:45.10 | welp | yeah, you're an hour ahead.. poor BabelO :P |
22:45.11 | BabelO | good |
22:45.12 | cr2 | kiozen: you have the image of BabelO ? |
22:45.27 | cr2 | kiozen: then gpsd and roadmap should be installed. |
22:45.27 | kiozen | no what image? |
22:45.31 | cr2 | qtopia4 |
22:47.19 | BabelO | bluetooth should work then ? with hciattach |
22:47.45 | cr2 | BabelO: if powered . |
22:48.00 | cr2 | kiozen: try to boot with BT on |
22:48.09 | cr2 | btuart is /dev/ttyS1 |
22:48.22 | cr2 | it's the usual brf6150 |
22:49.03 | BabelO | so it is hciattach -S /etc/bluetooth/TIInit_3.2.26.bts /dev/ttyS1 texas |
22:49.11 | BabelO | just check the bts file where it is |
22:49.27 | cr2 | bts can be taken from wince. |
22:50.00 | cr2 | TIInit_3_4_27.bts btw |
22:50.11 | kiozen | but not today :) |
22:50.36 | cr2 | BabelO: there is also TIInit_3_4_27_DBG.bts |
22:50.50 | kiozen | let's get on with this tomorrow, I need a nap, bbl |
22:50.59 | cr2 | kiozen: well, the only thing needed from you now is to understand how to trace the gpios. |
22:51.11 | cr2 | good night. |
22:51.13 | BabelO | goo night kiozen |
22:51.25 | kiozen | ok I will learn |
22:51.26 | kiozen | :) |
22:52.07 | BabelO | cr2: it is a good news, you can wrote a book with pH5 and kevin2 on how to hack a new device from scratch in two days |
22:52.08 | BabelO | lol |
22:52.22 | cr2 | lol |
22:52.32 | cr2 | BabelO: we will even be better :) |
22:53.04 | cr2 | BabelO: we need to finish the BA. |
22:53.21 | BabelO | yes |
22:53.39 | BabelO | where can i found information on sd diagnostic ? |
22:54.00 | cr2 | for BA ? |
22:55.11 | BabelO | yes, xanadux ? |
22:56.28 | cr2 | http://wiki.xda-developers.com/index.php?pagename=RomTools%2Ftyphoonnbfdecode.pl |
22:56.56 | cr2 | create sdcard image |
22:57.20 | cr2 | the target should be ram |
22:57.33 | cr2 | (not in the help, but available) |
22:58.09 | cr2 | -r mfg=mfg.nb |
22:58.09 | cr2 | loads this data to RAM, and executes it. |
22:58.16 | cr2 | now also in the help :) |
22:58.59 | cr2 | lol. |
22:59.13 | cr2 | zimage in mfg.nb |
22:59.31 | cr2 | stub+tags.raw+zimage |
23:01.23 | BabelO | hmmm |
23:02.37 | cr2 | tags.raw: buildtag |
23:02.37 | cr2 | <PROTECTED> |
23:03.33 | cr2 | pH5 hardcoded 64 mb ;) |
23:03.58 | cr2 | should be a buildtag option. |
23:04.18 | cr2 | start and offset. |
23:09.03 | BabelO | cr2: you think we can do something wtih that once bl boot is ok ? |
23:09.29 | cr2 | with what ? |
23:09.39 | BabelO | sd diagnostic |
23:10.06 | cr2 | sd diagnostic is bl boot. |
23:13.16 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
23:17.54 | BabelO | ok |
23:18.16 | BabelO | cr2: i know it is possible to flash from sd |
23:18.39 | cr2 | it's easier. |
23:19.38 | cr2 | we need to agree with pH5 about the RAM load address, and how to put the mfg.nb together. |
23:46.29 | BabelO | good night cr2 |