00:13.04 | *** join/#htc-linux TheOther (n=nahh@178.80-202-153.nextgentel.com) |
00:13.54 | *** join/#htc-linux Kensan (n=ken@80.238.171.187) |
00:15.26 | *** join/#htc-linux sietse (n=sietse@vogons.xs4all.nl) |
00:15.26 | *** join/#htc-linux paulproteus (n=paulprot@2002:db69:2513:0:0:0:0:1) |
00:52.47 | *** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net) |
01:05.36 | *** join/#htc-linux nebi (n=nebi@c-abe970d5.02-145-7570701.cust.bredbandsbolaget.se) |
01:09.10 | *** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net) |
01:28.47 | tmzt_ | Kevin2: hey, trying to figure out how to build a basic mingwce32 program from the haret source, I can't find what you are using for headers |
01:49.39 | Kevin2 | tmzt_: I use the mingw32ce rpm. |
01:50.10 | tmzt_ | I have the mandriva one, it's all extracted and I don't see those headers |
01:51.15 | tmzt_ | /opt/mingw32ce/include/c++/4.1.0/ |
01:51.23 | tmzt_ | I guess this is stl stuff? |
01:52.59 | Kevin2 | What header? |
01:54.37 | tmzt_ | everything I see there says "This file is part of GNU ISO C++ library" |
01:55.08 | Kevin2 | I'm confused. You installed the rpm and you went into the haret directory and run "make". What happens then? |
01:55.24 | tmzt_ | trying it |
01:55.35 | tmzt_ | compiling, building resources |
01:55.37 | tmzt_ | looks ok |
01:57.26 | tmzt_ | #include <windows.h> |
01:57.37 | tmzt_ | in src/wince/haret.cpp |
02:00.55 | tmzt_ | sorry, Kevin2, found it: /opt/mingw32ce/arm-wince-mi |
02:00.56 | tmzt_ | ngw32ce/include/windows.h |
02:12.54 | *** join/#htc-linux lpotter (n=ljp@CPE-124-191-144-181.vic.bigpond.net.au) |
02:18.03 | *** join/#htc-linux ALoGeNo (n=QUAKEIII@unaffiliated/alogeno) |
02:28.05 | *** join/#htc-linux joschkop179 (n=joschi@f049002051.adsl.alicedsl.de) |
02:32.09 | *** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com) |
02:37.06 | *** join/#htc-linux axe_hm (n=weechat@217.116.62.236) |
03:41.51 | *** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) |
03:45.48 | *** join/#htc-linux ALoGeNo (n=QUAKEIII@unaffiliated/alogeno) |
03:46.17 | ALoGeNo | loo |
04:08.28 | parmaster | hi |
04:08.30 | parmaster | wow |
04:08.49 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-75-85-249-111.bak.res.rr.com) |
04:08.53 | parmaster | alogeno |
04:09.11 | ALoGeNo | hey parmaster :) |
04:09.17 | parmaster | is your bluetooth working on the uni? |
04:09.32 | ALoGeNo | i think so.. |
04:09.53 | parmaster | on the ba in /etc/sysconfig there is and option Bluetooth file |
04:10.07 | parmaster | in the file it has Bluetooth=no |
04:10.10 | ALoGeNo | let me turn it on |
04:10.29 | parmaster | so i changed it to yes and initrd wouldn't go |
04:14.25 | ALoGeNo | jum.. |
04:14.33 | ALoGeNo | it look like works |
04:14.36 | ALoGeNo | let me check |
04:18.52 | *** join/#htc-linux Magorium (i=Othello@gateway/tor/x-68f0c776a39ffeac) |
04:19.47 | ALoGeNo | parmaster |
04:20.00 | ALoGeNo | what distro are you using? |
04:22.42 | ALoGeNo | my debian not have /etc/sysconfig |
04:41.03 | parmaster | i was using angstrom |
04:41.11 | parmaster | the image built by alge |
04:41.35 | parmaster | so you run debian on your uni? |
04:59.52 | parmaster | i didn't realize it worked that well |
05:47.19 | *** join/#htc-linux bryanlet (i=bryanlet@69-196-166-153.dsl.teksavvy.com) |
06:17.16 | *** join/#htc-linux swc|666 (n=swc|666@unaffiliated/swc666/x-4934821) |
06:24.24 | *** join/#htc-linux axe_hm (n=weechat@217.116.62.236) |
06:24.26 | *** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-66-242.hsd1.nj.comcast.net) |
06:40.08 | *** join/#htc-linux kalemas (n=kalemas@128.15.117.87.donpac.ru) |
06:41.52 | *** join/#htc-linux zhobbs (n=zach@2.136.33.65.cfl.res.rr.com) |
06:57.32 | *** join/#htc-linux axe|hm (n=weechat@217.116.62.236) |
07:09.17 | *** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl) |
07:10.50 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
07:58.58 | *** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde) |
08:35.56 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
08:36.46 | *** join/#htc-linux dcordes (n=dcordes@ip-77-25-142-206.web.vodafone.de) |
08:37.17 | dcordes | morning |
09:00.17 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
09:07.07 | *** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net) |
09:14.31 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d2f8.pool.einsundeins.de) |
09:15.44 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
09:32.31 | *** join/#htc-linux nebi (n=nebi@c-abe970d5.02-145-7570701.cust.bredbandsbolaget.se) |
09:35.42 | *** join/#htc-linux kaze_work (n=kaze@ABordeaux-152-1-24-105.w82-125.abo.wanadoo.fr) |
09:45.32 | *** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net) |
09:49.56 | *** join/#htc-linux kalemas (n=kalemas@86.49.117.87.donpac.ru) |
09:56.17 | *** part/#htc-linux kalemas (n=kalemas@86.49.117.87.donpac.ru) |
10:31.16 | *** join/#htc-linux uplinked (n=linked@69.176.128.93) |
10:35.30 | uplinked | hi, i'm new to porting, i'd like to learn, excuse my noobish :) if i want to work on SD drivers for the kaiser, i *think* i want to clone the git repository from hh.org, build a new kernel, and launch it with haret, right? and if i'm trying to debug and run test code on my phone, what's a good bin for the rootfs? |
10:43.07 | *** part/#htc-linux uplinked (n=linked@69.176.128.93) |
10:43.28 | *** join/#htc-linux uplinked (n=linked@69.176.128.93) |
10:43.28 | toer | morning |
10:43.39 | uplinked | morning indeed |
10:44.04 | uplinked | kind of simultaniously evening for me |
11:14.38 | *** join/#htc-linux axe|hm (n=weechat@217.116.62.236) |
11:17.46 | Bushman | moin |
11:31.49 | *** join/#htc-linux apt (i=ibot@rikers.org) |
11:31.49 | *** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup. |
11:42.01 | *** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net) |
11:42.59 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
12:11.04 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
12:13.24 | dcordes | uplinked, hi. do you know my signature in the forum? pickup rootfs.cpio.gz from the kaiser-bootkit |
12:46.01 | *** join/#htc-linux axe|hm (n=weechat@217.116.62.236) |
13:20.59 | maejrep | <NetRipper> maejrep, then it seems it's fully booted... you need to tap the screen to start calibration <-- but tapping doesn't do anything. I end up having to reset |
13:26.02 | joschkop179 | c |
13:26.03 | joschkop179 | q |
13:26.12 | NetRipper | maejrep, i read it on the forum yes.. don't know why it would hang |
13:36.49 | Kensan | dcordes: hi |
13:40.48 | *** join/#htc-linux timebomb (n=tb@e176111087.adsl.alicedsl.de) |
13:44.51 | *** join/#htc-linux stefan_schmidt (n=stefan@p5B0373E3.dip.t-dialin.net) |
14:13.01 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d2f8.pool.einsundeins.de) |
14:18.58 | dcordes | mickey|ezx, can you mikea quick hack for the lack of carriage return? |
14:30.19 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
14:30.48 | *** join/#htc-linux hollo (n=hollo@3e6b025d.rev.stofanet.dk) |
14:31.53 | *** join/#htc-linux koboldx (n=metter@34-213.0-85.cust.bluewin.ch) |
14:33.46 | *** join/#htc-linux nebi (n=nebi@c-abe970d5.02-145-7570701.cust.bredbandsbolaget.se) |
14:38.25 | *** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net) [NETSPLIT VICTIM] |
14:38.25 | *** join/#htc-linux nizox (n=none@2a01:e35:8a13:a2b0:21c:c0ff:fe25:ff68) |
14:46.30 | parmaster | hi |
14:47.12 | *** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net) [NETSPLIT VICTIM] |
14:47.12 | *** join/#htc-linux nizox (n=none@2a01:e35:8a13:a2b0:21c:c0ff:fe25:ff68) |
14:58.41 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
15:10.49 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
15:13.30 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
15:38.34 | *** join/#htc-linux Moku (n=John@g227197102.adsl.alicedsl.de) |
16:07.32 | *** join/#htc-linux timebomb (n=tb@e176126063.adsl.alicedsl.de) |
16:15.51 | parmaster | hi |
16:16.18 | parmaster | dcordes: howdid that angstrom fso image for BA work out? |
16:32.42 | *** join/#htc-linux path (n=path@pc-15-190-86-200.cm.vtr.net) |
17:04.45 | uplinked | dcordes: thanks, there's a lot of info in that README.txt i'd never noticed that's been really useful! |
17:06.28 | *** part/#htc-linux uplinked (n=linked@69.176.128.93) |
17:07.10 | *** join/#htc-linux uplinked (n=linked@69.176.128.93) |
17:08.45 | uplinked | dcordes: browsing through the dirs at the ~lgorris site, i can't find anything called rootfs.cpio.gz. do you mean the angstrom-*.cpio.gz binary? |
17:13.02 | *** join/#htc-linux kirberich (n=maria@p5486AFB8.dip0.t-ipconnect.de) |
17:34.19 | *** join/#htc-linux woodson_ (n=CDP@c-76-101-90-149.hsd1.fl.comcast.net) |
17:38.42 | *** join/#htc-linux woodsz26 (n=CDP@c-76-101-90-149.hsd1.fl.comcast.net) |
17:43.19 | parmaster | that ba fso image dies for me right after the kernel starts the portmapper and then prints the system time to console |
18:04.56 | *** join/#htc-linux kobold_x (n=metter@34-213.0-85.cust.bluewin.ch) |
18:08.58 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
18:09.41 | dcordes | parmaster, yea foo.cpio.gz |
18:09.46 | dcordes | it's no binary |
18:12.57 | *** join/#htc-linux exco (n=exco@e181111071.adsl.alicedsl.de) |
18:17.27 | dcordes | parmaster, just grab the kaiser-bootkit |
18:18.09 | dcordes | parmaster, you don't want any hh.org sources |
18:22.51 | *** join/#htc-linux uplinked (n=linked@69.176.128.46) |
18:23.24 | *** join/#htc-linux timebomb (n=tb@e176122127.adsl.alicedsl.de) |
18:27.12 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey) |
18:30.50 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
18:32.39 | *** join/#htc-linux timebomb (n=tb@e176107042.adsl.alicedsl.de) |
18:34.39 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d2f8.pool.einsundeins.de) |
18:39.21 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
18:47.15 | dcordes | tmzt_, hey. you have a minute and some nerve for msm fb? |
18:47.56 | tmzt_ | dcordes: find something? |
18:48.25 | dcordes | tmzt_, no I've been lurking in #xorg but it doesn't seem like the place |
18:48.55 | dcordes | and no clue what to look for .. I was confused by the research yesterday |
18:49.41 | tmzt_ | we need to figure out what pixelflinger does with MSMFB_BLIT, particularly what src and dest rects and possibly img's |
18:50.20 | tmzt_ | trying to make a very simple ce program right now, so relearning win32 programming |
18:51.21 | dcordes | _re_learning? you learned that at uni? |
18:54.05 | *** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it) |
19:12.16 | tmzt_ | dcordes: I should say relearning the bit I knew |
19:12.53 | dcordes | tmzt_, do you have the link to pixelflinger? |
19:12.59 | dcordes | I can't find it in the android gitweb |
19:13.42 | tmzt_ | I was able to link a simplle .exe yesterday, now using the same commands it complains about missing symbols |
19:14.35 | dcordes | Kevin2, could probably help? |
19:18.26 | tmzt_ | core.git |
19:21.42 | dcordes | toer, does clock control work on the raph? |
19:22.05 | *** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
19:23.01 | dcordes | diogene31_, hi |
19:24.11 | diogene31_ | dcordes: hi there |
19:24.23 | dcordes | diogene31_, think you can help with X on kaiser? |
19:24.32 | dcordes | it's annoying only android works |
19:25.00 | diogene31_ | dcordes: sorry, no linux is allows on my kaiser. |
19:25.10 | diogene31_ | s/allows/allowed |
19:25.36 | dcordes | diogene31_, not until you finished your current project? |
19:26.16 | toer | dcordes: what is clock control? |
19:26.29 | tmzt_ | cpufreq? |
19:26.35 | diogene31_ | dcordes: Even if I finish the mio, I have a deal with my wife. My phone has to remain unscathed until I have another one :) |
19:26.47 | dcordes | I see :) |
19:26.58 | toer | how do i check if its working? |
19:31.06 | tmzt_ | dcordes: recovery.git minui/graphics.c |
19:31.34 | dcordes | toer, don't know looking at the code |
19:31.35 | dcordes | toer, in clock.h you can see which clocks you can set |
19:31.48 | tmzt_ | dcordes: we can use the vyres and change between active/offscreen framebuffers with yoffset |
19:31.50 | dcordes | #define ACPU_CLK 0 /* Applications processor clock */ probably the most interesting one |
19:32.10 | dcordes | toer, maybe pm.c has enough abstraction to easily test it |
19:33.06 | dcordes | toer, I was just wondering if somebody looked at it. guess things like SD are more important |
19:34.23 | dcordes | tmzt_, ok finally cloned the recovery |
19:35.03 | tmzt_ | clone recovery.git and core.git |
19:35.06 | dcordes | tmzt_, it doesn't seem rich in documentation |
19:39.03 | *** join/#htc-linux uplinked (n=linked@69.176.128.93) |
19:46.04 | dcordes | tmzt_, that's the panning thing, right? |
19:46.11 | dcordes | v?res |
19:46.51 | tmzt_ | the just used FBIOPUT_VSCREENINFO with vi.yoffset = n * vi.yres |
19:47.11 | tmzt_ | so you need the vyres = yres * 2 in the driver |
19:48.46 | dcordes | in order to .. ? |
19:50.09 | tmzt_ | to switch framebuffers, more importantly, to force the driver to update the screen |
19:50.29 | tmzt_ | maybe you could just use yoffset = 0 and it will still update? |
19:52.41 | dcordes | #ifdef PANNING |
19:52.41 | dcordes | info->var.yres_virtual = pi->height * 2; |
19:52.41 | dcordes | #else |
19:52.41 | dcordes | info->var.yres_virtual = pi->height; |
19:52.41 | dcordes | #endif |
19:52.58 | tmzt_ | #define PANNING in that file |
19:54.16 | dcordes | tmzt_, http://rafb.net/p/C5TWiT16.html current msm_fb.c we use on kaiser |
19:54.38 | dcordes | msm_fb.h http://rafb.net/p/tp3Ii620.html |
19:58.50 | tmzt_ | dcordes: does hw keyboard work on kaiser now? can you use a trout version of msm_fb.c? |
19:59.57 | dcordes | tmzt_, yes hw keyboard works well. my tree is too obsolete for that I fear |
20:00.25 | tmzt_ | why? |
20:00.37 | dcordes | it's based on pre-trout |
20:00.51 | dcordes | I can diff the fb.c |
20:01.07 | tmzt_ | you have include/linux/mdp_fb.h ? |
20:01.41 | tmzt_ | well, PANNING is enabled, you say that android (0.8 or 1.0?) works |
20:03.36 | dcordes | only the dzo 0.8 initrd |
20:04.47 | tmzt_ | we don't have the source for 0.8 so we don't really know what it's doing |
20:05.12 | dcordes | it's the 0.8 emulator image |
20:05.13 | tmzt_ | you can test recovery.git, but building it without the android build system looks compilicated |
20:05.16 | dcordes | no source for that? |
20:07.44 | tmzt_ | yes, in recovery.git |
20:07.52 | tmzt_ | no source for 0.8 that I can find |
20:20.46 | dcordes | tmzt_, what's the reason I should try trout fb (or something close as possible) for? |
20:21.09 | tmzt_ | we know android/recovery.git works with it on trout (g1) |
20:22.01 | tmzt_ | recovery.git from 1.0 works on your device with the troutfb we know what is needed to get a non-gpu X version working |
20:23.04 | dcordes | tmzt_, I didn't try 1.0 w/o fbcon |
20:23.53 | tmzt_ | I know, Chicago tried 1.0 and it failed to initialize, probably because of fbcon from reading the source |
20:25.18 | dcordes | tmzt_, you know where's a rootfs.tgz of 1.0? |
20:25.32 | tmzt_ | no |
20:29.41 | *** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) |
20:29.53 | *** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) |
20:31.02 | tmzt_ | dcordes: sorry, if recovery.git from 1.0 works on your device with the troutfb we know what is needed to get a non-gpu X version working |
20:32.14 | dcordes | ok |
20:32.24 | dcordes | extracting the latest 1.0 |
20:33.50 | tmzt_ | did you get your memory card working? |
20:35.42 | dcordes | no the block device I had seen was just the one which is auto created for the card reader |
20:35.52 | dcordes | so it's not detected I fear |
20:36.13 | dcordes | but I have this 1gb one which is ok for testing |
20:42.06 | kirberich | dcordes: btw, I decided against the x1 and for the g1 dev version, the anouncement of which came not a minute too early. |
20:42.17 | dcordes | tmzt_, ok think my 1.0 rootfs on sd is ready to go |
20:42.37 | tmzt_ | kirberich: the what? |
20:42.39 | dcordes | kirberich, sorry, what announcement? |
20:43.09 | kirberich | tmzt_: google just released a special version of the G1 for developers which is completely unlocked |
20:43.17 | kirberich | dcordes: the announcement for that phone |
20:43.23 | kirberich | I was about to buy the x1 and hope for the best |
20:43.36 | kirberich | but I think having a completely unlocked phone beats the slightly better hardware ;) |
20:43.55 | tmzt_ | x1 is resistive ts? |
20:44.13 | dcordes | kirberich, sounds good. can I get such a device in .eu? |
20:44.43 | kirberich | dcordes: I'm about to order one to germany |
20:44.54 | kirberich | shipping to .eu is insanely expensive though. |
20:45.09 | kirberich | $400 for the phone, $100 for shipping $80 for german sales tax |
20:45.31 | kirberich | +$25 registration fee for the android market |
20:45.37 | kirberich | since they only sell it to devs |
20:46.12 | dcordes | do you have a link where they describe what is unlocked in that context? |
20:46.29 | kirberich | hold on |
20:46.49 | kirberich | http://code.google.com/android/dev-devices.html |
20:47.05 | dcordes | they will send you a handwritten copy of the actual g1 ril code and you can access all nand partitions directly :) |
20:47.59 | kirberich | well mostly you can boot unsigned code if I understand it right |
20:48.27 | kirberich | also it has a cute laser engraving on the back ;) |
20:48.54 | kirberich | http://android.brightstarcorp.com/images/placeholders/dev3.jpg |
20:49.59 | tmzt_ | still t-mobile 2100 wcdma? |
20:50.21 | kirberich | what's that? |
20:51.13 | tmzt_ | means hspda probably won't work in eu I think |
20:51.27 | dcordes | I use hsdpa |
20:51.38 | tmzt_ | on g1 |
20:51.50 | dcordes | oh you mean like the hsdpa in g1 won't work |
20:51.58 | dcordes | what hsdpa do I have then? non-2100 ? |
20:52.16 | kirberich | ok this is a very good question ;) |
20:52.24 | kirberich | it would definitely suck not to have hsdpa. |
20:52.55 | kirberich | # 3G WCDMA (1700/2100 MHz) |
20:52.55 | kirberich | # Quad-band GSM (850/900/1800/1900 MHz) |
20:52.55 | tmzt_ | doesn't even work on at&t here I think |
20:53.06 | AstainHellbring | tmobile us is 1700 mhz |
20:53.13 | AstainHellbring | eww fuck thats nasty specs |
20:53.19 | AstainHellbring | fucking mess |
20:53.20 | tmzt_ | which covers GSM/GPRS/EDGE |
20:53.37 | tmzt_ | ok, 2100 is standard? |
20:54.02 | tmzt_ | I know t-mobile is non-standard hspda, whichever that is |
20:54.46 | kirberich | iphone in germany (t-mobile) seems to use 2100 |
20:54.50 | kirberich | no, does use 2100. |
20:55.11 | tmzt_ | ok, AstainHellbring is saying that tmusa is 1700 not 2100 |
20:55.31 | kirberich | ok, so this means it'll work just fine in germany? |
20:55.42 | tmzt_ | AstainHellbring: can you explain this? |
21:00.19 | AstainHellbring | tmzt_? |
21:00.29 | AstainHellbring | tmusa is 1700 |
21:00.43 | tmzt_ | AstainHellbring: can you explain why/if the us g1 will/will not work in eu |
21:00.56 | AstainHellbring | should work in eu if eu works on 2100 |
21:01.17 | kirberich | AstainHellbring: which it does, iphone supports 1700/2100, same as g1 |
21:01.21 | tmzt_ | AstainHellbring: so it just doesn't support at&t 1900? what is the issue then? |
21:01.24 | kirberich | and iphone works just fine with hsdpa |
21:01.44 | AstainHellbring | yah tmzt_ and US iphone is 850/1900 not 1700 |
21:02.05 | tmzt_ | AstainHellbring: ok, that makes sense |
21:02.15 | kirberich | AstainHellbring: so you're saying it'll work? |
21:02.22 | AstainHellbring | should work kirberich |
21:02.45 | kirberich | awesome. I'm gonna click checkout then. |
21:06.09 | dcordes | stupid 1.0 rootfs keep getting me unable to open an initial console after it's mounted |
21:06.13 | dcordes | ^^ |
21:06.15 | exco | 524USD ... 413⬠... 100$ shipping is ridiculous |
21:06.48 | tmzt_ | dcordes: it won't be able to open a console |
21:07.01 | tmzt_ | dcordes: well, you should still have /dev/console |
21:07.06 | kirberich | exco: sure is |
21:07.16 | tmzt_ | dcordes: and if you left CONFIG_VT you should also have the "root bug" from g1 |
21:07.34 | kirberich | but after a year with my current contract it's cheaper than having a t-mobile contract with a subsidized phone. |
21:08.09 | tmzt_ | dcordes: can you paste the error? |
21:08.19 | exco | kirberich: Isn't t-mobile releasing the G1 in Germany in January? |
21:08.51 | kirberich | exco: yeah, but only t-mobile. and as I said, the t-mobile contracts are insanely more expensive than my current o2 contract |
21:09.11 | dcordes | tmzt_, I think it can't execute init or so |
21:09.26 | kirberich | Please allow within 3 business days for shipment of any physical product. <- somehow, I doubt I'll have the phone in 3 days. |
21:10.08 | exco | called O2 today and those "§$@"§ won't let me extend with the new Genion L Special ... |
21:10.30 | kirberich | exco: they won't? why that? |
21:11.38 | dcordes | tmzt_, I grabbed this http://cs-alb-pc3.massey.ac.nz/vogue/android-05-12-08.zip _(latest 1.0 from dzo), extracted the initrd to / (it holds a script to setup the rootfs which then runs init1, the actual android init), mv init1 init, copied the data folder from data.img to /data and the /system folder to /system |
21:11.48 | exco | kirberich: they say it's only for new customers |
21:11.56 | kirberich | ok that sucks. |
21:12.04 | kirberich | so my contract is gonna get more expensive too. |
21:12.13 | kirberich | oh well, still cheaper than tm |
21:12.14 | dcordes | tmzt_, and I boot with root=mmcblk0p2 where / is and init=/init |
21:12.43 | tmzt_ | dcordes: can you paste the /init ? (if it's not binary) |
21:13.11 | exco | kirberich: when looking at the ebay prices for a non-dev unlocked G1 - the 4xx⬠seem reasonable |
21:13.28 | dcordes | tmzt_, the actual init in dzo's zip is a script which sets up the filesystem (mounts the data, system loopfiles) and then executes the binary init1 |
21:13.35 | dcordes | I only use init1 because I do the setup myself |
21:13.44 | tmzt_ | sorry? |
21:14.07 | tmzt_ | if we can extract these yaffs2 to ext2 it would probably work better |
21:14.08 | dcordes | tmzt_, could you grab the zip? it's a bit complicated to explain |
21:14.15 | dcordes | that's what I did |
21:14.22 | dcordes | it's all on my ext2 / |
21:14.26 | kirberich | exco: but those still don't allow booting of unsigned code, which I find a cool gimmic. They also don't have the cool laser engraving. And, they're on ebay ;) |
21:15.13 | exco | kirberich: yeah - I agree with you that it is a good price (would even be nicer with reasonable shipping) |
21:16.22 | dcordes | tmzt_, I just boot, the sd card is initialized, and then I get unable to open initial console |
21:16.43 | kirberich | exco: yeah the shipping really kinda sucks. |
21:16.53 | kirberich | but at least I get the sales tax (about 80 euros) back |
21:18.02 | tmzt_ | dcordes: you have /dev/console ? |
21:18.17 | exco | I'd also buy one then :-) |
21:18.18 | dcordes | tmzt_, statically in the rootfs? |
21:18.33 | tmzt_ | dcordes: where are you reading this? I thought fbcon was disabled |
21:18.40 | parmaster | for the people who have been trying to place calls on the BA through gomunicator |
21:18.41 | dcordes | lol no :) |
21:18.43 | parmaster | GSM Voice and SMS application which i ( RobertWoerle) took over from a nice guy at [WWW]Yargybot.com. Initially it was hardcoded to a Ipaq GSM Jacket. Now i already removed most of the hardcoded things and added command line options for device specifications and init strings. Nontheless it still not functional in that sense so you cant take or start phone calls with it. I |
21:19.12 | tmzt_ | dcordes: just mknod /dev/console c 5 1 |
21:19.17 | dcordes | tmzt_, I thought I'd try if the rootfs does anything before I take the nontrivial journey of building without fbcon :) |
21:19.21 | parmaster | thats the name of the dude who you want to f*** up if you wanted to make calls on it. |
21:19.26 | parmaster | cuz it used to work. |
21:19.46 | dcordes | tmzt_, btw, I diffed the kaiser and vogue defconfig. the graphics part is 1:1 |
21:19.51 | dcordes | except for this one line |
21:20.19 | dcordes | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y |
21:20.24 | dcordes | which is disabled on kais |
21:21.18 | tmzt_ | ok, don't know what that is |
21:22.13 | dcordes | ls dev |
21:22.13 | dcordes | block input null |
21:22.31 | tmzt_ | dcordes: just mknod /dev/console c 5 1 |
21:22.35 | dcordes | ok |
21:27.08 | tmzt_ | dcordes: you are using the script in initrd.gz? |
21:27.19 | tmzt_ | dcordes: how many partitions on the card? |
21:27.56 | dcordes | tmzt_, 2 |
21:28.05 | dcordes | tmzt_, which script? |
21:28.06 | tmzt_ | that's commented out anyway |
21:28.11 | tmzt_ | <PROTECTED> |
21:29.35 | tmzt_ | dcordes: did you get "Welcome to Vogue Linux" ? |
21:29.51 | *** join/#htc-linux uplinked1 (n=linked@69.176.128.46) |
21:30.16 | dcordes | tmzt_, as I mentioned before, I removed init and use init1 instead |
21:30.27 | dcordes | mv init1 init |
21:31.09 | tmzt_ | so /data and /system are on ext2 then? |
21:31.12 | dcordes | tmzt_, I extracted the initrd to / , mv init1 init, copied the data folder from data.img to /data and the /system folder to /system |
21:31.15 | dcordes | yes |
21:31.22 | tmzt_ | ok |
21:31.43 | tmzt_ | what do you get now? |
21:31.59 | tmzt_ | you should get a shell on /dev/console I think |
21:31.59 | dcordes | now that I did what? |
21:32.03 | dcordes | ah sorry |
21:32.22 | dcordes | I'm rebuilding the kernel with 1:1 android and graphics settings before I try with dev/console |
21:32.45 | tmzt_ | android? as in msm_defconfig from android git? |
21:33.19 | dcordes | no with the Android and Graphics part of the vogue defconfig. |
21:33.20 | tmzt_ | this init.rc is from emulator? |
21:33.27 | dcordes | nfc what all this is... |
21:37.04 | dcordes | tmzt_, maybe dzo made the init with android buildsystem and it does fancy stuff which doesn't work when it's all extracted to / ? |
21:37.43 | *** join/#htc-linux Poohba (n=poohba@c-71-58-20-66.hsd1.nj.comcast.net) |
21:42.54 | dcordes | tmzt_, ok I think mknod /dev/console did the trick ( or that Android configs) |
21:43.23 | dcordes | +CONFIG_ANDROID_RAM_CONSOLE=y |
21:43.23 | dcordes | +CONFIG_ANDROID_TIMED_GPIO=Y |
21:43.23 | dcordes | +CONFIG_ANDROID_PARANOID_NETWORK=y |
21:43.48 | dcordes | now the first lines printed after 'Freeing init mem' are |
21:44.03 | dcordes | init: can't log to /dev/tty5 |
21:44.34 | dcordes | init started: busybox v foo date |
21:44.46 | dcordes | init: can't log to /dev/tty5 |
21:45.10 | dcordes | starting pid 212, tty '': '/etc/init.d/rcS' |
21:45.15 | dcordes | init: can't log to /dev/tty5 |
21:45.34 | dcordes | Cannot run '/etc/init.d/rcS': No such file or directory |
21:45.46 | dcordes | Please press Enter to acticvate this console |
21:46.03 | dcordes | presses enter |
21:46.21 | dcordes | init: can't log to /dev/tty5 |
21:46.34 | dcordes | starting pid 213, tty '': '/bin/sh' |
21:47.44 | tmzt_ | you have DETECT_PRIMARY=y now? |
21:48.10 | dcordes | yep |
21:51.56 | dcordes | tmzt_, I guess the part where dzo mounts proc and sysfs in the initrd are not needed? |
21:52.18 | tmzt_ | dcordes: it looks like busybox is running it's init |
21:52.25 | tmzt_ | dcordes: which shouldn't be needed |
21:52.51 | dcordes | maybe because android init fails |
21:53.05 | dcordes | I have absolutely no device nodes in this filesystem |
21:53.19 | dcordes | only the 3 plus console |
21:55.05 | tmzt_ | what does /system/bin/sh symlink to? |
21:55.34 | dcordes | system/bin/sh: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped |
21:55.49 | tmzt_ | not file, ls -l |
21:56.12 | dcordes | stupid me |
21:56.30 | dcordes | <PROTECTED> |
21:56.32 | dcordes | wait a second... |
21:57.07 | tmzt_ | ok, any vt's in /system/etc/inittab ? |
21:57.14 | tmzt_ | gettys |
21:57.15 | dcordes | just umounted |
21:57.19 | dcordes | I did a terribke mistake |
21:57.30 | dcordes | and executed /bin/init all the time |
21:57.51 | tmzt_ | ok, makes sense |
21:57.56 | tmzt_ | just init=/init |
21:57.59 | tmzt_ | or leave it out |
21:58.03 | dcordes | yea I had that |
21:58.16 | dcordes | but /init was a simlink to /bin/init I created |
21:58.25 | dcordes | well now it definetly executes the android init |
21:58.28 | dcordes | (init1) |
21:58.36 | tmzt_ | ok, we need init to be the android one, unless you are mounting yaffs2 img's |
21:58.38 | dcordes | which does absolutely nothing |
21:58.58 | dcordes | you mean not the init1 from dzo image? |
21:59.08 | tmzt_ | yes, init1 from the dzo image |
21:59.12 | tmzt_ | which is the android init |
21:59.24 | dcordes | well kaiser tried to run it |
21:59.26 | dcordes | but doesn't like it |
21:59.33 | dcordes | Freeing init memory: 84k |
21:59.39 | dcordes | <blinking cursor here> |
22:00.09 | tmzt_ | no shell on console? |
22:00.24 | dcordes | no |
22:00.25 | dcordes | nothing |
22:00.28 | dcordes | only what I said |
22:01.21 | tmzt_ | you have service console \ |
22:01.27 | dcordes | ? |
22:01.35 | tmzt_ | you have service console /system/bin/sh |
22:01.36 | dcordes | what's that? |
22:01.39 | tmzt_ | <PROTECTED> |
22:01.41 | tmzt_ | in init.rc |
22:02.56 | dcordes | don't know what init.rc does but it mentiones chmod 777 /dev/smd0 |
22:02.57 | dcordes | <PROTECTED> |
22:02.57 | dcordes | <PROTECTED> |
22:03.08 | dcordes | I don't have any of these device nodes |
22:03.25 | tmzt_ | what are those? |
22:03.34 | dcordes | smd0 is the AT serial device |
22:03.42 | dcordes | smd1 data |
22:04.11 | tmzt_ | don't think that's important right now |
22:04.18 | dcordes | I wonder |
22:04.28 | dcordes | are there other device nodes missing. does android use only 3? |
22:04.35 | tmzt_ | init.rc is the configuration for the android init, it's like initscripts or upstart .d directories |
22:04.40 | dcordes | ok |
22:04.49 | dcordes | it doesn't seem to be used |
22:04.59 | dcordes | or it can't execute the service consoel for some reason |
22:05.22 | tmzt_ | file /system/bin/sh |
22:05.32 | tmzt_ | and ls -l /system/bin/sh |
22:05.51 | dcordes | -rwxr-xr-x 1 root root 86936 6. Dez 21:40 |
22:06.01 | dcordes | ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked |
22:06.06 | dcordes | (uses shared libs), stripped |
22:06.19 | dcordes | sounds good no? |
22:06.31 | dcordes | <PROTECTED> |
22:06.36 | tmzt_ | how did you extract system.img? |
22:06.50 | tmzt_ | if no init runs, kernel panics |
22:07.00 | dcordes | I gunziped, loop mounted, copied the folder. |
22:07.09 | tmzt_ | what format is it? |
22:07.21 | dcordes | well /init runs, but /init does not execute the /system/bin/sh |
22:07.29 | dcordes | do you have the zip? |
22:07.32 | tmzt_ | yes |
22:08.08 | dcordes | data is .ext3.gz |
22:08.21 | dcordes | system.img: Linux Compressed ROM File System data, little endian size 31023104 version #2 sorted_dirs CRC 0x9ececbc5, edition 0, 11186 blocks, 387 files |
22:08.22 | dcordes | .gz |
22:08.52 | dcordes | I loop mount both, copy the folders they hold (data system) to the card's root. |
22:09.07 | dcordes | before copied the initrd contents |
22:09.14 | dcordes | also to the card's root |
22:09.17 | *** join/#htc-linux AndyCR (n=Andy@71-211-33-123.clsp.qwest.net) |
22:09.33 | dcordes | I will rerun through this process to make sure I didn't destroy anything |
22:09.56 | tmzt_ | use cp -a |
22:10.20 | *** join/#htc-linux stefan_schmidt (n=stefan@p5B0373E3.dip.t-dialin.net) |
22:10.55 | tmzt_ | dcordes: is busybox static? |
22:10.59 | dcordes | wait.. |
22:11.03 | dcordes | cp -a what |
22:11.04 | tmzt_ | dcordes: if so, copy over /system/bin/sh and try that |
22:11.15 | tmzt_ | <PROTECTED> |
22:11.21 | tmzt_ | <PROTECTED> |
22:11.30 | dcordes | ok also use that for the initrd contents? |
22:11.43 | tmzt_ | yeah |
22:15.02 | dcordes | system/bin/sh: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped |
22:15.46 | dcordes | tmzt_, forgot to make the console device node |
22:17.49 | dcordes | tmzt_, ok same freeze after Freeing init memory: 84k as before |
22:18.41 | tmzt_ | using busybox for shell? |
22:18.59 | dcordes | no |
22:19.12 | *** join/#htc-linux LunohoD_ (n=alex@e180073204.adsl.alicedsl.de) |
22:19.27 | tmzt_ | also, it might already be switching to graphics mode or to a different vt (like 7) |
22:19.52 | tmzt_ | except the message (Free init memory...) stays on the screen? |
22:19.59 | dcordes | it says on the screen |
22:20.02 | dcordes | and the blinking cursor |
22:20.32 | dcordes | so you want me to copy busybox to the place where the init.rc points with the service console option? |
22:22.00 | tmzt_ | yes |
22:22.14 | tmzt_ | but name it as /system/bin/sh |
22:22.18 | tmzt_ | so it runs as a shell |
22:22.20 | dcordes | ok |
22:23.43 | dcordes | cp bin/busybox system/bin/sh |
22:23.48 | dcordes | anything else to try? |
22:23.59 | *** part/#htc-linux AndyCR (n=Andy@71-211-33-123.clsp.qwest.net) |
22:24.28 | tmzt_ | no |
22:24.34 | dcordes | ok same. |
22:25.19 | dcordes | tmzt_, the lack of devices is no problem? |
22:25.30 | dcordes | I will use the old 0.8 initrd for reference. |
22:25.44 | tmzt_ | dcordes: don't think so. let's make a simple init.rc though |
22:26.01 | tmzt_ | dcordes: it uses devfs style /dev entries |
22:26.09 | dcordes | hm |
22:26.23 | dcordes | maybe something lacks for that to work properly? |
22:26.36 | tmzt_ | can you make a init.rc with just the service entry? |
22:26.42 | tmzt_ | service console |
22:26.46 | dcordes | ok |
22:27.14 | tmzt_ | setupmodem.sh should have had oneshot |
22:27.24 | tmzt_ | and it probably will break without /dev/smd0 |
22:27.38 | dcordes | ok good point |
22:28.14 | tmzt_ | keep the first block |
22:28.33 | tmzt_ | on init, loglevel 3, exports at least PATH and LD_LIBRARY_PATH |
22:28.48 | *** join/#htc-linux uplinked (n=linked@69.176.128.93) |
22:30.01 | dcordes | tmzt_, can you pastebin the file as you imagin it? |
22:33.23 | dcordes | on init |
22:33.23 | dcordes | loglevel 3 |
22:33.23 | dcordes | <PROTECTED> |
22:33.24 | dcordes | <PROTECTED> |
22:33.24 | dcordes | <PROTECTED> |
22:33.24 | dcordes | service console /system/bin/sh |
22:33.26 | dcordes | <PROTECTED> |
22:34.13 | dcordes | same |
22:34.15 | *** join/#htc-linux nashpa (n=dliviu@dliviu.plus.com) |
22:34.19 | dcordes | wtf |
22:34.38 | tmzt_ | http://pastebin.com/m6c21d580 |
22:34.55 | tmzt_ | wow |
22:35.08 | tmzt_ | try init=/system/bin/sh |
22:35.45 | tmzt_ | also, grep FRAMEBUFFER .config |
22:37.53 | dcordes | I use all the Graphics configs from vogue defconfig. |
22:38.25 | dcordes | tmzt_, pointing init directly to busybox works |
22:38.28 | dcordes | did that before |
22:38.32 | tmzt_ | it maybe five lines |
22:39.11 | tmzt_ | we need to know if it still works with these configs? you tried that? |
22:39.28 | dcordes | I just copied the /init from the old 0.8 initrd just for fun |
22:40.35 | dcordes | it seems to get stuck now in the same situation, just that 3 lines are printed before |
22:40.40 | dcordes | init: HOW ARE YOU GENTELEMN |
22:40.41 | dcordes | bla |
22:40.43 | dcordes | blah |
22:40.52 | tmzt_ | of course |
22:41.04 | dcordes | and at the bottom there is A N D R O I D _ <- blinking |
22:41.20 | dcordes | this is right the moment after which the android splash should appear |
22:41.28 | tmzt_ | I think that is zygote? did you use the old init.rc? |
22:41.39 | dcordes | what is zygote? |
22:41.45 | tmzt_ | android user interface |
22:41.52 | tmzt_ | check init.rc and you will see it |
22:42.06 | dcordes | I mean, where do you think is zygote? |
22:42.20 | tmzt_ | what init.rc are you using now? |
22:42.21 | *** join/#htc-linux tekkdrone (i=tekkdron@72.183.115.231) |
22:42.26 | tmzt_ | that you got the A N .. ? |
22:42.37 | dcordes | <dcordes> on init |
22:42.37 | dcordes | <dcordes> loglevel 3 |
22:42.37 | dcordes | <dcordes> export PATH /sbin:/system/sbin:/system/bin:/system/xbin |
22:42.37 | dcordes | <dcordes> export LD_LIBRARY_PATH /system/lib |
22:42.37 | dcordes | <dcordes> class_start default |
22:42.37 | dcordes | <dcordes> service console /system/bin/sh |
22:42.39 | dcordes | <dcordes> console |
22:42.43 | dcordes | <dcordes> same |
22:42.45 | dcordes | this one |
22:42.47 | dcordes | because |
22:42.49 | dcordes | 0.8 initrd has no init.rc |
22:42.55 | tmzt_ | use mine |
22:43.00 | tekkdrone | hiyas folks :) |
22:43.09 | tmzt_ | <PROTECTED> |
22:43.12 | dcordes | tmzt_, the ANDROID is just text |
22:43.16 | tmzt_ | <PROTECTED> |
22:43.23 | tmzt_ | I know it's text |
22:43.30 | dcordes | tmzt_, basically what I have with the initrd /init is the same like with /init1 |
22:43.42 | dcordes | just that it has a few bytes extra text |
22:43.56 | tmzt_ | text? |
22:44.16 | tmzt_ | <PROTECTED> |
22:44.27 | dcordes | yes what I copied above hello gentlemen |
22:44.41 | dcordes | yes obviously |
22:44.58 | tekkdrone | perhaps I can help with your question, I've been porting android release to the htc apache |
22:45.17 | dcordes | my guess is it attempts to start zygote but that doesn't work for some reason |
22:45.21 | tmzt_ | ok, dcordes, can you use the 1.0 /init (binary) and my pastebin init.rc ? |
22:45.27 | dcordes | or something way more basic which lacks in my rootfs. |
22:45.28 | tmzt_ | tekkdrone: hi |
22:45.32 | dcordes | rather the second |
22:45.35 | tmzt_ | tekkdrone: you are using hh.org kernel? |
22:45.38 | dcordes | ok will do |
22:45.42 | tekkdrone | I was |
22:45.50 | tekkdrone | I'm using the android native kernel now |
22:46.03 | tmzt_ | tekkdrone: great. how did you get the drivers working? |
22:46.29 | tekkdrone | well, I still haven't got egpio working as intended, so wifi, audio, are still a nogo |
22:46.54 | tekkdrone | my first attempt was with m5, with the hh 21 kernel |
22:47.17 | tmzt_ | sd card? |
22:47.23 | tekkdrone | works like a dream |
22:47.34 | tekkdrone | though, can't get it to mount proper inside android, working on it |
22:47.41 | tmzt_ | it's not asic3_mmc then, just pxa mci |
22:47.41 | tekkdrone | i can see in in the console after a mount --bind |
22:47.50 | tekkdrone | aye, no asic3 |
22:47.54 | tmzt_ | good |
22:47.57 | tekkdrone | pxa_mci |
22:48.06 | tekkdrone | what arch you working on? |
22:48.12 | tmzt_ | we would like to get a apache kernel in linuxtogo.org |
22:48.17 | tmzt_ | pxa for motoq |
22:48.45 | tmzt_ | the other htc pxa devices use asic3_mmc so are not on current kernel |
22:48.49 | tekkdrone | you patch the framebuffer for doublebuffering and panning? |
22:49.07 | tmzt_ | but egpio (gpiolib) for apache should be |
22:49.08 | tekkdrone | zygote will tell you to diaf otherwise |
22:49.33 | tmzt_ | I have not tried android yet, just got an 8g card to try it without losing debian so I probably will soon |
22:49.43 | tmzt_ | there are some patches on omegamoon for pxafb |
22:49.57 | tekkdrone | aye I patched mine based on androidzaurus' work |
22:50.07 | tekkdrone | hmmm actually i have an egpio question for you |
22:50.33 | tmzt_ | not too familiar with it, but I can try |
22:51.00 | tekkdrone | so i'm using 2.6.25, with gpiolib, and pulled in htc-egpio from 2.6.27, which is written against gpiolib, best I can tell |
22:51.26 | tekkdrone | but for my board definitions I have no idea what my egpio_chip info should be or where to start digging |
22:51.45 | tmzt_ | try hh.org htcapache.c |
22:52.01 | tekkdrone | I did, but it's based on 2.6.21 and uses a pininfo struct |
22:52.16 | tekkdrone | kevin's old egpio code is very different from the htc-egpio in 2.6.27 |
22:52.22 | tmzt_ | what parameters are you looking for? |
22:53.22 | tekkdrone | hmm, i'd have to jump back to linux to tell you, i'm in windows atm |
22:53.46 | tekkdrone | brb :) |
22:55.46 | *** join/#htc-linux datachaos (n=datachao@189.27.176.206.adsl.gvt.net.br) |
23:03.55 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
23:05.18 | *** join/#htc-linux tekkdrone (n=tekkdron@72.183.115.231) |
23:05.24 | tekkdrone | eh, that's better |
23:05.32 | tmzt_ | hello |
23:05.37 | tekkdrone | sorry 'bout that :) |
23:05.38 | tmzt_ | I see what you mean with egpio |
23:05.51 | dcordes | tekkdrone, great. in which android branch do you work? |
23:05.53 | tmzt_ | http://git.openezx.org/?p=openezx.git;a=blob;f=arch/arm/mach-pxa/magician.c |
23:06.00 | dcordes | tmzt_, I tried the init1 with your init.rc |
23:06.01 | dcordes | no joy |
23:06.07 | tmzt_ | same thing? |
23:06.12 | dcordes | I get the impression there's no luck with init1 |
23:06.18 | dcordes | unless we find out what it fails to do |
23:06.25 | tekkdrone | the main 2.6.25 branch dcordes |
23:06.31 | dcordes | tekkdrone, do you have some 1,0 rootfs.tgz? |
23:06.43 | dcordes | tekkdrone, got a link? |
23:06.50 | tekkdrone | aye, my blog, chillaxin.net |
23:06.52 | dcordes | they have so many branches now .. |
23:07.10 | tekkdrone | i have the collection for the apache posted up there |
23:07.21 | dcordes | your homepage has that windows vista background :) |
23:07.22 | tekkdrone | it's an initrd, zimage, rootfs, and haret stuffs |
23:07.31 | tekkdrone | lol is that where that's from? |
23:07.32 | dcordes | initrd? 1.0 based? |
23:07.33 | tekkdrone | noooooooooo |
23:07.55 | tekkdrone | mmmm not sure which init is in 2.6.25? |
23:08.07 | tmzt_ | init is not in the kernel |
23:08.25 | tekkdrone | i'm sorry, it's from the android release source |
23:08.39 | dcordes | android m5 |
23:08.47 | dcordes | we are out for the 1.0 release |
23:08.58 | tekkdrone | m5 was where i started |
23:08.59 | dcordes | for a reason. need to debug the framebuffer |
23:09.16 | tekkdrone | the latest package i put out is based on release android |
23:09.23 | tekkdrone | not m5 |
23:09.32 | tekkdrone | using the native android 2.6.25 kernel |
23:09.53 | tekkdrone | I'd be more than happy to post my pxafb.c |
23:10.03 | tekkdrone | (2.6.25) |
23:10.25 | dcordes | hm? |
23:10.29 | tmzt_ | we need the initrd/root filesystem |
23:10.35 | tmzt_ | pxafb won't help on msmfb |
23:10.38 | dcordes | you have a lot in that patch |
23:10.46 | dcordes | all the pxa stuff |
23:11.04 | dcordes | gedit need a long time to display it |
23:11.19 | tekkdrone | the only diff on that site is for m5, i haven't diff'd my new work |
23:11.21 | dcordes | lol you got the acx driver in it? |
23:11.54 | tekkdrone | and at the time, it was a diff between vanilla 2.6.21 and hh21 |
23:11.58 | tekkdrone | hence, acx |
23:12.11 | dcordes | tekkdrone, got a direct link to the 1.0 rootfs? |
23:12.20 | tekkdrone | aye, sec dcordes |
23:13.09 | tekkdrone | here, it's early, and messy |
23:13.10 | tekkdrone | http://esc180.midphase.com/~chillaxi/downloads/2.6.25-longbow/android.rootfs.tar.bz2 |
23:14.17 | tekkdrone | i alter my initrd to either call /init or /sbin/init which is a busybox binary |
23:14.29 | tekkdrone | <PROTECTED> |
23:15.12 | tekkdrone | (this is being chained in from windows mobile with haret, so the boot process is a little funky) |
23:16.01 | tekkdrone | keep in mind, this is all built with gnu-linux-eabi- for arm/mach-pxa |
23:16.14 | tekkdrone | err, gnu-arm-eabi |
23:16.39 | dcordes | should be fine |
23:16.52 | dcordes | don |
23:16.59 | dcordes | don't understand your boot process tho |
23:17.25 | dcordes | you made init a customized busybox that fires up everything? |
23:17.41 | tekkdrone | no, i only boot to busybox when i don't want full bringup of android |
23:17.46 | tekkdrone | otherwise i just call android's init |
23:18.54 | tekkdrone | haret loads my kernel and initrd into ram, jumps to it, brings up the hardware, mounts the sdcard, then mounts my android.img (built from the rootfs) |
23:19.15 | tekkdrone | it's the same process gpe uses for htc apache |
23:19.18 | tekkdrone | or used* |
23:20.00 | tekkdrone | once the rootfs is mounted and we switch root to it, /init is called if i'm booting android, /sbin/init is called if i want a shell to poke around in |
23:20.19 | tekkdrone | (as that would be a symbolic link to busybox) |
23:20.27 | tekkdrone | afk, nicotine |
23:25.40 | *** join/#htc-linux chab7 (n=kvirc@212.92.4.114) |
23:28.47 | dcordes | tekkdrone, can you make calls? |
23:29.51 | tekkdrone | lol, aye what's up? |
23:34.22 | tmzt_ | tekkdrone: what console= do you use? |
23:34.52 | tekkdrone | console=ttyS0,115200n8 console=tty0 fbcon=rotate:1 |
23:35.15 | tmzt_ | dcordes: do you have console=tty0 ? |
23:35.20 | tekkdrone | so i don't have to turn my head sideways while I type |
23:35.21 | dcordes | no |
23:35.23 | tekkdrone | XD |
23:35.41 | tmzt_ | dcordes: do you have console= anything? |
23:35.44 | dcordes | no |
23:35.54 | dcordes | tekkdrone's rootfs does the same as mine |
23:35.57 | tmzt_ | should be ok |
23:36.44 | dcordes | that it's also stuck after executing init? |
23:36.51 | tmzt_ | dcordes: copy his /dev to your ext2 |
23:37.02 | dcordes | I have his /* in ext2 now |
23:37.12 | tekkdrone | use -rdp flags on the cp? |
23:37.21 | tmzt_ | <PROTECTED> |
23:37.29 | dcordes | used -a before |
23:37.48 | dcordes | I put your rootfs on my sd's ext2 and extracted it |
23:38.08 | dcordes | root=/dev/mmcblk0p2 init=/init |
23:38.11 | dcordes | rootwait=5 |
23:38.27 | dcordes | Freeing init memory |
23:38.27 | dcordes | _ |
23:38.58 | dcordes | tekkdrone, does it start the android splash animation right away after init is executed on your device? |
23:39.23 | tekkdrone | no, it says "ANDROID_" |
23:39.24 | dcordes | in that case I think 1.0 rendering engine doesn't like something about the kaiser fb |
23:39.36 | dcordes | doesn't even say ANDROID here |
23:39.42 | dcordes | only blinking cursor |
23:40.08 | tmzt_ | dcordes: we had all of that disabled, it still did not give you a console |
23:40.13 | tekkdrone | hmmm |
23:40.24 | tmzt_ | tekkdrone: do you have CONFIG_FRAMEBUFFER_CONSOLE in .config ? |
23:40.40 | dcordes | tmzt_, if it would be msm_fb I would get the printks |
23:40.42 | tekkdrone | I don't remember, let me look |
23:40.50 | dcordes | s/fb/sdcc/ |
23:41.40 | tekkdrone | oh yes, I have to tm |
23:41.46 | tekkdrone | and fb rotation |
23:41.57 | dcordes | tm? |
23:42.27 | tekkdrone | (tmzt_) |
23:42.35 | *** join/#htc-linux ionstorm (n=ion@ip68-110-122-89.ph.ph.cox.net) |
23:43.13 | tmzt_ | tekkdrone: android does fully run on yours? |
23:43.32 | tekkdrone | yes, but not with full hardware support |
23:43.41 | tekkdrone | wifi, audio, and PM are still out |
23:43.48 | tmzt_ | you compiled from android source? |
23:43.51 | tekkdrone | yes |
23:44.05 | tekkdrone | but I snagged the homescreen from the SDK because it's better looking |
23:44.08 | tekkdrone | :D |
23:44.29 | tekkdrone | rather than Home.apk it runs Launcher.apk after booting |
23:44.29 | tmzt_ | on qvga |
23:44.58 | tmzt_ | ok, we need debugging for init |
23:45.21 | tekkdrone | I'm going to see if i did anything funny in my initrd before launching init |
23:46.56 | tekkdrone | I remember one pain in the ass that I had |
23:47.38 | tekkdrone | instead of calling init, get to a busybox shell, use the mountproc command (it's a script i dropped in the bin directory) |
23:47.53 | tekkdrone | then get the real device majors |
23:48.03 | tekkdrone | and go create proper devices with mknod |
23:48.23 | tekkdrone | mmc, binder, fb0 were all wrong on mine |
23:48.36 | tekkdrone | as well as a couple other critical ones |
23:49.32 | tekkdrone | the init creates a bunch of them i think but it was different in my case with the two dev directories, I can barely remember how I ended up setting it up |
23:49.39 | tekkdrone | >_< |
23:49.40 | tmzt_ | the problem is we can't even get a shell to launch with init.rc |
23:50.13 | dcordes | tmzt_, I'll boot the old 0.8 initrd just to make sure |
23:51.26 | tekkdrone | fwiw, here's the original post http://esc180.midphase.com/~chillaxi/?p=149 it has my initrd, android root files, and such |
23:51.39 | tekkdrone | I imagine the zimage won't be of much use to you |
23:51.46 | tekkdrone | but the other stuff might |
23:51.52 | dcordes | no |
23:52.02 | dcordes | we need the release android renderer |
23:52.45 | dcordes | tmzt_, anything in the kernel config I might miss? |
23:53.18 | dcordes | tekkdrone, maybe you can have a look? http://rafb.net/p/VKNaIj83.html |
23:54.17 | tekkdrone | CONFIG_ASHMEM |
23:54.31 | tmzt_ | that's it |
23:54.39 | tmzt_ | the services might not even start without that |
23:54.44 | dcordes | greatness |
23:55.01 | tekkdrone | aye, enable everythign in the android drivers section if you haven't already |
23:55.04 | tekkdrone | minus 1 thing |
23:55.06 | dcordes | the 0.8 works w/o |
23:55.28 | dcordes | anything else missing? |
23:55.34 | tekkdrone | still looking |
23:57.22 | tekkdrone | turn off dummy console |
23:58.28 | tekkdrone | ebable all the android drivers except ram_console |
23:59.24 | *** join/#htc-linux ALoGeNo (n=QUAKEIII@unaffiliated/alogeno) |