00:00.06 | cr2 | you don't have a login ? |
00:00.20 | cr2 | i have forgot mine. |
00:00.40 | cr2 | and firefox does not autologin for some reason. |
00:07.23 | awelux_ | registering there takse time it seams |
00:08.29 | cr2 | yes. an e-mail. |
00:13.51 | awelux_ | what kind of wiki mis that? I registered and still can'T change this page. |
00:14.04 | awelux_ | I guess it would be to tricky to update it once someone messes it up. |
00:15.54 | awelux_ | oh well. That has time. cu around |
00:16.08 | awelux_ | When will you be leaving to vienna? |
00:16.14 | awelux_ | Next monday? |
07:14.16 | *** join/#htc-blueangel welby_ (n=welby@tollcross.wheely-bin.co.uk) |
07:19.20 | *** join/#htc-blueangel awelux (n=awelux__@dslb-084-058-169-116.pools.arcor-ip.net) |
12:51.01 | *** join/#htc-blueangel dullard (n=jim@adsl-static-1-30.uklinux.net) |
13:31.23 | dullard | cr2, which arm compiler are you using? where did you get it and do you have a config.site with it? |
13:34.45 | dullard | and in fact the same question for anyone else who has any good answers |
13:38.25 | dullard | here's another more general question that I once knew the answer to but my brain has shrunk. How do I convince a configure script that it is cross compiling and wont be able to run the tests? |
14:06.03 | mndctrl | dullard: I'm pretty new to embedded development, so I might answer a question you didn't ask, but have you tried openembedde+bitbake? It seems to me thats what's hot at the moment... |
14:08.02 | mndctrl | openembedded, sorry |
14:09.03 | dullard | I think they are good for a large set of sources that are all lined up and ready for compling to different architectures. I'm just trying to compile some other stuff :-) |
14:14.24 | mndctrl | okthen ;) |
14:15.50 | cr2 | hi guys |
14:16.04 | dullard | I've found a config.site that was for the ipaq and I'm fiddling with it to see if it helps |
14:16.09 | mndctrl | hi cr2... |
14:16.10 | dullard | hi cr2 |
14:16.13 | cr2 | openebedded compiles everything itself. gcc, glibc, etc. |
14:16.24 | dullard | I thought so |
14:16.38 | dullard | takes the fun out ;-) |
14:16.46 | cr2 | there are two toolchains on hh.org site: 3.3.2 and 3.4.1 |
14:16.58 | cr2 | i suggest to use the 3.4.1 |
14:17.09 | cr2 | it is stable and can compile everything. |
14:17.14 | cr2 | configure |
14:17.21 | dullard | damn I think I already grabbed the 3.4.1 |
14:17.23 | cr2 | i think you should do |
14:17.29 | dullard | I mean the 3.3.2 |
14:17.45 | cr2 | CC=/path/to/arm-linux-gcc ./configure |
14:18.06 | cr2 | at least i have compiled the libts.so package thisway. |
14:18.41 | dullard | ok I had a configure script that wanted to know things like the size of int etc |
14:19.02 | cr2 | actually i use the 3.4.4 toolchain from sdgsystems.com site, but they have removed it for some reason. |
14:19.35 | cr2 | but 3.4.1 should be ok too. |
14:21.00 | dullard | how about the includes for the c lib and stuff like that. Does the compiler come with them? are there compatibility issues? I imagine openembedded compiles libc |
14:21.49 | cr2 | mndctrl: magician kernel boots since yesterday. i think the gsm phone app will become very popular real soon :) |
14:22.15 | mndctrl | cr2: hehe, now if I could only get it to work ;)... |
14:22.31 | mndctrl | cr2: done with the library now, and I have a commandline testapp for the dial applicaion... |
14:23.06 | mndctrl | but for some reason oe+bitbake decided to turn against me yesterday, an I'm still getting som errors trying to buld stuff.. |
14:23.34 | cr2 | the "toolchain" includes gcc, binutils, glibc and a lot of headers. if something is missing (ncurses for example) then get it from the respective debian package |
14:24.42 | cr2 | oe+bitbake is a very big and sensitive thing. it is broken on a daily basis. |
14:26.09 | cr2 | mndctrl: i have used "echo" and "chat" ;-) |
14:26.16 | dullard | okay splendid, thanks. I found a config.site for the ipaq that answers difficult configure questions.... I don't know whether it answers them right but I'll give it a go |
14:26.20 | mndctrl | yeah I can tell... |
14:26.47 | cr2 | i think your best bet is the h3900 config. |
14:27.33 | cr2 | and maybe openzaurus, but they use the 2.4 kernel |
14:30.16 | mndctrl | cr2: Is it a big job setting up a native build environment on the ba itself? |
14:31.16 | cr2 | install debian on a 1Gig SD card. |
14:31.24 | mndctrl | ;) |
14:31.41 | mndctrl | I actually have 1gig sdcard ;) |
14:31.42 | cr2 | or less, but then you need to pick the packages. |
14:32.13 | mndctrl | but isn't it a hazzle getting it to boot? |
14:32.29 | cr2 | i did it on a 128Mb and it was rather painful ;) |
14:32.31 | cr2 | why ? |
14:32.58 | cr2 | you just do root=/dev/mmc* on a command line. |
14:33.04 | cr2 | you have a ba ? |
14:33.08 | mndctrl | yep... |
14:33.35 | cr2 | well. i don't know of a precompiled zimage. |
14:34.16 | cr2 | on the universal i do just that. compile the asic3_mmc support into the kernel and boot without any weird ramdisks. |
14:34.47 | cr2 | afaik, there is a precompiled zimage for the himalaya, too. |
14:36.05 | mndctrl | hmm... I fell of the wagon a while back ;) How can you compile a kernel for a ARM arch on a x86 computer? Cross-compile the kernel? |
14:36.16 | cr2 | yes. |
14:36.20 | mndctrl | oh ;) |
14:36.52 | cr2 | PATH=/path/to/toolchain/bin:$PATH make menuconfig |
14:37.01 | cr2 | PATH=/path/to/toolchain/bin:$PATH make |
14:37.07 | cr2 | PATH=/path/to/toolchain/bin:$PATH make modules_install |
14:37.07 | mndctrl | Well I need to do that, smack it on the sd card, boot haret and go? |
14:37.10 | cr2 | that's all. |
14:38.07 | cr2 | yes. but it can be simplified if you will link the zimageto haret. |
14:38.26 | cr2 | but i have not finished it yet. but it will work. |
14:38.59 | mndctrl | hmm... Use a toolchain from: ftp://ftp.handhelds.org/projects/toolchain/ ? |
14:39.07 | cr2 | then you will have a "wince" executable linux zimage. a virus, if you like :) |
14:40.13 | cr2 | get arm-linux-gcc-3.4.1.tar.bz2 from there |
14:40.23 | cr2 | it unpacks into /usr/local/arm/* |
14:41.20 | mndctrl | ok.. |
14:43.00 | mndctrl | I'm not too familiar with debian though... but isnt the apt-get thing based on binary packages? |
14:43.29 | cr2 | you need wget and debootstrap |
14:43.40 | cr2 | it was discussed on xda-dev |
14:44.08 | mndctrl | I'll go look for it ;) |
14:45.27 | cr2 | somewhere in the "Linux on Universal" thread. |
14:55.58 | mndctrl | why debian? can I use any linux distribution this way? |
15:05.57 | mndctrl | jej, just compiled my first arm application with the cross toolchain ;) cool... hehe... |
15:06.39 | cr2 | i don't know of any other distribution for arm. |
15:07.43 | cr2 | and opie/gpe/openzaurus/etc. is a custom mini-debian installation. you can simply add the standard debian packages to it. |
15:13.03 | mndctrl | ahh, ok I get it... |
15:15.33 | mndctrl | I was meaning to ask you guy a pretty strange question: How would you guys feel about a open project developing something like a PDA product? The development process of everything from the schematics of the circuit board to the designs would be open, and everyone could contribute... ?!? |
15:16.14 | mndctrl | Sort of like a copy-lefted product... |
15:18.21 | cr2 | it is easy to do it, but not cheap to actually produce it, unless you have your own sweatshop somewhere in China ;) |
15:19.08 | mndctrl | hehe, I guess we'd have to get people to sign up to buy it before production time or something.. but hopefully it would be really cheap ?! |
15:19.31 | cr2 | and the 3d printers on a molecular level are not yet there... |
15:19.51 | mndctrl | heheheh ;) yeah, lets wait for that? |
15:21.17 | cr2 | i think we have taken the best route. hack and remove wince from the existing phone. linux history shows that it is the most cost-effective strategy. |
15:22.00 | mndctrl | I guess... Only none of the devices out there are what I want ;) |
15:22.33 | mndctrl | but then again what people want tend to change on a regular basis... |
15:25.13 | cr2 | to overturn wince we must have the phone app and something more. my idea is to package qpegps/gpsdrive and roadmap. |
15:26.08 | cr2 | with some gui cleanups, or course. |
15:27.51 | cr2 | camera on ba is more difficult, but i will do it on the universal. |
15:29.53 | mndctrl | qpegps would be a big thing to get in there... |
15:30.20 | mndctrl | with out-of-the-box working modules for different adapters... |
15:30.25 | mndctrl | would be nice... |
15:31.28 | mndctrl | Hopefully my phoneapp will be out of the blue soon... Hopefully after april's gone I have a GUI to go with my library... |
15:32.16 | mndctrl | got a website for it as well now: http://opiedial.hanafjedle.net - mostly so I have a easy way to log my day-to-day activites.. |
15:36.59 | cr2 | i have installed qpegps and roadmap already, but there are some minor problems with the paths. |
15:37.35 | cr2 | on the universal LCD it is really slick :) |
15:38.35 | cr2 | you should replace "HI" on the logo with "AT+++" |
15:40.39 | mndctrl | cr2: hehe, nice suggestion ;) |
16:12.47 | mndctrl | cr2: you've had a look at rastermans eem (enlightment for embedded) ? looks great ;) |
16:45.50 | lamikr | cr2: Hi |
17:03.57 | cr2 | hi lamikr |
17:06.57 | lamikr | cr2: Do you happen to be a xanadux admin? |
17:08.12 | lamikr | I would like to get write access for gomunicator. I have tried to contact cp15 but have not heard anything back. |
17:08.43 | cr2 | no. i even don't have the write access to the webserver area for some reason. |
17:09.42 | lamikr | Oh, i have had some patches pending that allows using h6300 as a phone. |
17:13.08 | *** join/#htc-blueangel mndctrl (n=mind@81.167.1.2) |
17:15.10 | lamikr | cr2: Do you know who is w4xy? |
17:15.44 | cr2 | no. he has created xanadux many moons ago, but then disappeared. |
17:17.43 | lamikr | it seems that cp15 has also not been for months? |
17:17.50 | cr2 | yes. |
17:18.27 | cr2 | he was unhappy that he was the only person working on this project ;-) |
17:20.45 | lamikr | cr2: Oh, cp15 was very helpfull for me when I asked some questions. But funny that now there seems to be quite many working with this :-) |
17:22.45 | cr2 | that's because i have convinced the people with other htc phones to develop, and gathered a lot of info on these phones. |
17:23.22 | cr2 | i don't see anything done on blueangel. maybe we can ask rob_w about it. |
17:24.12 | lamikr | cr2: Yes, the info is quite remarkable. Yes, it is shame that nothing happens there for now. It seemed pretty functional. |
17:25.35 | lamikr | h6300 would also need a little bit more help. The problems are not that big but it helps a lot of somebody is just cleaning user apps for example. |
17:26.48 | lamikr | cr2: h6300 has still one showstopper before it can be a usable phone. We believe that suspend works but do not know how to get event from powerbutton to invoke it from sleep. |
17:29.00 | lamikr | cr2: Do you happen to know what kind of methods cp15 used for measuring the power consumption? He seemed to be able to measure pretty exactly how much power was consumed when he was trying to reduce the power consumption. |
17:32.35 | cr2 | i think he had some external hardware. |
17:32.53 | cr2 | i have written a haret patch to get this data from wince. |
17:33.13 | cr2 | i can also watch this battery monitor data in linux. |
17:34.55 | cr2 | SYSTEM_POWER_STATUS_EX2 stat2; |
17:35.04 | cr2 | GetSystemPowerStatusEx2(&stat2, sizeof(stat2), false) |
17:35.17 | cr2 | <PROTECTED> |
17:35.24 | cr2 | <PROTECTED> |
17:35.33 | cr2 | this is what you need in wince. |
17:35.53 | cr2 | stat2.BatteryTemperature |
17:36.01 | cr2 | if you are curious |
17:36.19 | cr2 | stat2.ACLineStatus |
17:36.24 | cr2 | this one is easy. |
17:36.39 | cr2 | stat2.BatteryLifePercent |
17:36.59 | cr2 | for the brainwashed numbers. lies, damn lies, statistics. |
17:38.25 | lamikr | Nice. Unfortunately we do not have haret working in h6300. Are those haret command btw htc model dependent? |
17:40.05 | cr2 | it will work on any wince. |
17:40.15 | cr2 | since 2.12 |
17:41.46 | lamikr | Nice, so are they using wince api? |
17:43.11 | cr2 | who ? |
17:44.16 | cr2 | you can see the current consumption in wince. |
17:44.18 | lamikr | Those haret commands? That's the only way I understand that those voltage methods would be same for all devices. |
17:45.45 | cr2 | haret is a wince program, and this is the c code :) |
17:46.05 | cr2 | this c code will work on any wince > 2.12 |
17:46.33 | lamikr | Yes, I know. I just thought first that you had added some htc model specific assempler there to get the currency and battery info. |
17:49.15 | cr2 | i have adapted the driver from hx4700. the ds267x monitor chip is quite common on ipaqs |
17:49.39 | *** join/#htc-blueangel jeanseb (n=jeanseb@lns-bzn-47f-62-147-133-94.adsl.proxad.net) |
17:50.34 | lamikr | cr2: I do not have any idea what we have for currency monitoring. At least tsc2101 could be used for checking the battery status. |
17:53.44 | lamikr | cr2: Could you apply the gomunicator batch to cvs if I send it for you. It enables one init function for h6300 but others devices would not use that as they have set iniATCmd="" in config. |
17:56.29 | jeanseb | hi |
17:56.34 | lamikr | hi |
17:57.01 | lamikr | jeanseb: Are you working with the htc devices? |
17:59.13 | jeanseb | not really |
17:59.33 | jeanseb | I will when but need first to by a sd card :d |
18:01.35 | lamikr | jeanseb: Well, that's the start :-) |
18:02.16 | jeanseb | yes but need to bye something else to came over the 100 € limit for shipping :D |
18:03.33 | lamikr | So you do not have any local shops selling those? In here the sd card readers cost about 20 euro, and sd cards itself about 20-40 euro. |
18:04.30 | jeanseb | yes but cost on local shop are expensive for this kind of stuff |
18:04.55 | jeanseb | excepting the UC big difference. |
18:05.18 | jeanseb | But as i m thinking about laser color printer buying ;) |
18:05.35 | lamikr | Wow, how much those costs nowadays? |
18:05.58 | jeanseb | from 200 to 300 € |
18:06.05 | jeanseb | may 400 |
18:06.23 | jeanseb | for "low cost" ones |
18:06.30 | jeanseb | ok go eating |
18:06.55 | lamikr | Well, not a bad price if the color last like in normal printers. |
18:30.06 | *** join/#htc-blueangel BabelOued (n=BabelOue@lun34-2-82-238-28-28.fbx.proxad.net) |
18:54.52 | *** join/#htc-blueangel hlbot524 (n=adm@iclem.net) |
19:12.16 | awelux | hi |
19:30.17 | lamikr | hi |
19:35.32 | *** join/#htc-blueangel mndctrl (n=mind@81.167.1.2) |
20:42.58 | cr2 | hi awelux |
20:43.08 | awelux | hi cr2 |
20:43.25 | cr2 | have new pictures ? :) |
21:00.37 | awelux | no not yet. I will get a campera on sunday |
21:00.41 | awelux | *camera |
21:01.49 | awelux | I'm trying to get an initrd to work |
21:02.09 | awelux | Do you have an idea what is needed for that? |
21:02.34 | awelux | kernel gzip support and ext2 somehow? |
21:05.32 | cr2 | yes. |
21:06.07 | cr2 | just take one for the universal, it has the pxa27x_udc already. |
21:06.31 | cr2 | http://jornada820.sf.net/files/uni |
21:08.47 | awelux | I don't understand yet how ithe rd get's decompressed. |
22:00.17 | *** join/#htc-blueangel awelux (n=awelux__@dslb-084-058-169-116.pools.arcor-ip.net) |
22:15.11 | awelux | cr2, do you understand how the initrd is passed to the kernel? Or how the commandline is passed to the kernel? |
22:15.46 | cr2 | not really. it just works :) |
22:16.17 | cr2 | i also remember that there was a plan to get rid of initrd and replace it with initramfs. |
22:16.26 | cr2 | which used a cpio archive. |
22:17.21 | awelux | I just don't understand how the initrd location is passed to the kernel. I guess I broke it somehow |
22:17.37 | cr2 | by haret in tags. |
22:18.04 | *** join/#htc-blueangel AlphaPi[jr] (i=aaa@host226-180.pool870.interbusiness.it) |
22:18.04 | awelux | I thought haret doesn't build valid tags. |
22:19.21 | awelux | and the tags are just pointers to the virtual addresses of kernel and initrd pages |
22:25.18 | cr2 | haret builds the tags. there is a function for that in linboot.c |
22:32.49 | awelux | ok. |
22:32.55 | awelux | I broke them |
23:04.59 | awelux | I was confused because the offset of the tag list start to memory base and address list of kernel pages to base of preloades is both 0x100 |