**** BEGIN LOGGING AT Thu Jul 21 02:59:56 2011 Jul 21 08:27:13 SHR: 03Martin.Jansa 07shr-chroot * r081cb6fc9631 10/ (2308 files in 166 dirs): system upgrade - switch to gcc-4.6.1 Jul 21 08:41:37 moin Jul 21 08:41:47 * JaMa rebuilding shr-chroot from scratch Jul 21 08:41:55 on buildhost? Jul 21 08:42:06 and moin Jul 21 08:46:47 mrmoku: no, locally Jul 21 08:46:59 mrmoku: and shr-chroot itself not OE in it :) Jul 21 08:53:01 :) Jul 21 09:49:31 hi Jul 21 09:50:07 do one of you know where the xserver log is on the shr partition? Jul 21 09:50:13 there doesn't seem to be /var/log Jul 21 09:50:22 it is for newer shr-u Jul 21 09:50:41 but /var/log is in tmpfs so it will be gone after reboot Jul 21 09:51:08 ah, but I can copy it in an init script, thx Jul 21 10:04:18 how can it be X comes up, stays there for a couple of seconds and then the display goes black Jul 21 10:40:27 marcellus2: if you can ssh to it first, then start Xorg from commandline and check if it segfaults or something Jul 21 10:49:28 JaMa: I have problems to ssh into it Jul 21 10:49:36 I get Connection refused all the time Jul 21 10:49:50 and I can't get the error Jul 21 10:49:56 thats quite a pain Jul 21 10:50:46 what image did you install? Jul 21 10:51:23 I compiled my own Jul 21 10:51:37 shr-unstable? Jul 21 10:51:41 y Jul 21 10:52:39 I can ping however Jul 21 10:52:58 and got wild in the /etc/ssh/sshd_conf to allow quite everything without any result Jul 21 10:53:30 marcellus2: do you have password set? Jul 21 10:54:13 no, I'm not sure how to Jul 21 10:54:25 that could be the cause Jul 21 10:54:35 there is no physical keyboard on my device Jul 21 10:54:44 and I need a shell to set it Jul 21 10:55:12 start from different partition and chroot to that image or edit /etc/shadow from desktop if it's on uSD Jul 21 10:56:03 root::15176:0:99999:7::: Jul 21 10:56:04 what is it suposed to be? Jul 21 10:56:39 hashed password is in 2nd column Jul 21 11:16:58 darn, can't get it to work Jul 21 11:56:12 SHR: 03Martin.Jansa 07shr-chroot * r95775f6bb224 10/ (3139 files in 442 dirs): system rebuilt with gcc-4.6.1 Jul 21 11:56:15 SHR: 03Martin.Jansa 07shr-chroot * r5681269e3825 10/ (4025 files in 156 dirs): system rebuilt with gcc-4.6.1 Jul 21 12:55:37 hi all Jul 21 13:35:09 Weiss: btw there is another patch imho worth including upstream: http://git.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0001-glamo-kms-driver-drop-unused-xf86_config.patch Jul 21 14:56:16 darn, I forgot about mdev support Jul 21 14:58:57 hi Jul 21 15:00:04 hey there Jul 21 15:00:12 I now have minimal ssh support Jul 21 15:00:24 how do I install bash? Jul 21 15:00:32 opkg install bash :) Jul 21 15:00:52 just build it on your host and update URL for feed if you didn't in local.conf Jul 21 15:04:23 is there some kind of manual for everything in local.conf? Jul 21 15:05:27 opkg does not work Jul 21 15:05:46 I guess it can't anyway since I have no uplink Jul 21 15:06:16 how do I update the URL for feed? Jul 21 15:09:43 local.conf.sample shows many usefull options Jul 21 15:10:04 DISTRO_FEED_PREFIX = "jama" Jul 21 15:10:04 DISTRO_FEED_URI = "http://jama.homelinux.org/org.openembedded.shr" Jul 21 15:11:21 marcellus2: but you can change it manually on target too.. it won't be changed in next image unless you rebuild the package providing those anyways Jul 21 15:11:43 dev/recipes/meta/distro-feed-configs.bb Jul 21 15:12:02 I'll simply rebuild, I want my build environment and my phon in sync Jul 21 15:12:44 than you also have to -force-reinstall them on target :) Jul 21 15:12:58 or just tar over it Jul 21 15:13:32 how can I check what wireless card I have? Jul 21 15:13:58 lspci doesn't work obviously, however there is no lshw and lsusb is blank Jul 21 15:21:53 SHR: 03Martin.Jansa 07meta-smartphone * r2941b6e3b8d1 10/meta-openmoko/conf/machine/ (om-gta01.conf om-gta02.conf): meta-openmoko: weak assign to IMAGE_FSTYPES, to make it easier to override from local.conf Jul 21 15:22:03 SHR: 03Martin.Jansa 07meta-smartphone * re96c8041237b 10/meta-shr/conf/distro/shr.conf: SHR: add PREFERRED_PROVIDER_libcanberra-alsa Jul 21 15:32:40 SHR: 03Martin.Jansa 07meta-smartphone * ree116b07f5ff 10/meta-shr/conf/distro/shr.conf: SHR: return ASSUME_PROVIDED for virtual/libiconv-native accidentaly removed in previous shr.conf commit Jul 21 15:46:39 how to check out the wlan chipset? Jul 21 16:04:46 marcellus2: what device do you have? Jul 21 16:04:56 the geeksphone zero Jul 21 16:05:15 I try porting shr to it Jul 21 16:05:40 actually I'm pretty cyced I can boot it and ssh into it, thats the first time it worked Jul 21 16:12:43 marcellus2: have you saved your /proc/config.gz from android somewhere? Jul 21 16:12:54 sure Jul 21 16:13:12 however i fear that it might be some proprietary driver Jul 21 16:13:36 config: http://paste.pocoo.org/show/443633/ Jul 21 16:14:01 marcellus2: anyway, i googled this: http://forum.geeksphone.com/index.php?topic=2366.0 , it says the wifi chip is drivers/net/wireless/bcm4329/dhd.ko Jul 21 16:17:32 darn, I'll need a firmware for that Jul 21 16:17:42 thx Jul 21 16:18:07 marcellus2, dhd => broadcom Jul 21 16:18:38 then use bcm4329 Jul 21 16:18:51 it should be integrated in your kenrel sources Jul 21 16:19:14 marcellus2: looks like http://nv-tegra.nvidia.com/gitweb/?p=android/platform/system/wlan/broadcom.git is where some guys are working on it. And probably b43 should support it some day. Jul 21 16:19:15 the config is set to =m, however modprobe -l doesn't show up anything Jul 21 16:20:21 marcellus2: looks like it's connected via SDIO. Jul 21 16:20:51 never heard of SDIO Jul 21 16:21:24 I'll just statically add the model to the kernel instead of using a module Jul 21 16:21:24 I've the same driver on my nexusone Jul 21 16:21:36 bcm4329 Jul 21 16:21:42 with the android driver Jul 21 16:21:53 I was able to make it scan with an userspace trick Jul 21 16:22:14 but I guess I need to modify the driver to work without modifying the userspace Jul 21 16:22:17 I don't even have a wlan0 device Jul 21 16:22:30 eth0 Jul 21 16:22:30 marcellus2: :))) Jul 21 16:22:44 look for eth0 Jul 21 16:22:46 or do iwconfig Jul 21 16:23:30 no luck Jul 21 16:23:51 but the path in the defconfig is the default android path to the firmware image Jul 21 16:23:52 first don't compile it in your kenrel Jul 21 16:23:56 compile it as module Jul 21 16:24:01 change that Jul 21 16:24:06 (the firmware path) Jul 21 16:24:32 and put it as module Jul 21 16:24:35 that's mandatory Jul 21 16:24:39 because it has a hack inside Jul 21 16:24:42 I need to figure out where the nexusone adds the dependency to the firmware blob Jul 21 16:24:46 for sdio initialization Jul 21 16:24:54 so when you load the module Jul 21 16:24:55 I'll bbl,if someone see morphis here,please say to he check this link "http://pynell.com/images/aurora_1.png" :) Thanks Jul 21 16:24:58 it power on the sdio Jul 21 16:25:11 and it powers it off when you unload the module Jul 21 16:26:10 the cm config has an additional nvram blob Jul 21 16:26:30 however I'll need to recompile to check it out Jul 21 16:26:52 nvram blob???? Jul 21 16:26:55 never eared of that Jul 21 16:27:02 is it a firmware? Jul 21 16:27:15 note that bcm4329 is bluetooth and wifi in one chip Jul 21 16:27:23 and sdio is sd for devices Jul 21 16:27:27 s/sd/SD/ Jul 21 16:27:28 GNUtoo|laptop meant: and SDio is sd for devices Jul 21 16:27:32 like for SD cards Jul 21 16:27:40 but instead of an SD card Jul 21 16:27:44 CONFIG_BCM4329_NVRAM_PATH="/system/etc/wifi/nvram.txt" Jul 21 16:27:44 you put wifi cards Jul 21 16:27:51 ah ok Jul 21 16:27:55 seem like a firmware Jul 21 16:28:13 but it has fw_bcm4329.bin additionally to that Jul 21 16:29:54 what is the hack? Jul 21 16:30:14 that: Jul 21 16:30:25 or rather an equivalent to that: Jul 21 16:30:37 http://bobcopeland.com/srcs/android/msm_wifi.patch Jul 21 16:32:17 I'll try without the patch first, the cm branch is supposed to have everything included as is Jul 21 16:32:56 you don't need that patch Jul 21 16:32:59 it's already included Jul 21 16:33:09 in bcm4329 Jul 21 16:33:17 look at the code if you want Jul 21 16:33:59 the patch is for dream Jul 21 16:34:16 but the nexusone's bcm4329 and bcm4329 in general include a similar hack Jul 21 17:35:17 GNUtoo|laptop: are you there? Jul 21 18:08:17 I've a problem building setting up the build enviroment for shr in Arch Jul 21 18:08:19 There are lots of errors and I got no Idea how to eplain the problem or witch infos I shoul contribute. Jul 21 18:10:16 rootman__: pastebin (not paste here) the first lines of errors. Jul 21 18:17:02 has one of you seen "(EE) FBDEV FBIOBLANK: Interrupted system call" until now? Jul 21 18:17:06 http://pastebin.com/h66t56Zy Jul 21 18:26:36 at the end of the build process Jul 21 18:26:37 when i try "bitbake sqlite3" Jul 21 18:26:43 http://pastebin.com/aat987BB Jul 21 18:27:45 rootman__: what if you try disabling parallel build in local.conf? Jul 21 18:28:04 rootman__: it fails building sqlite3-native btw, not sqlite3. Jul 21 18:29:18 rootman__: i think i'd try entering "OE" devshell and doing preprocessing of the file in question manually to see why there's no i64 present and where it should come and why it doesn't. Jul 21 18:29:19 rootman__: are you using shr-chroot? Jul 21 18:30:29 yes I use shr-chroot Jul 21 18:31:12 rootman__: someone reported today issues with old (classic) OE and bitbake master Jul 21 18:32:22 rootman__: try "setup bitbake; cd bitbake; checkout -b 1.12 origin/1.12" and then bitbake/bin/bitbake instead of using system bitbake (that's bitbake master) Jul 21 18:34:05 "make setup-bitbake" Jul 21 18:34:31 aah thx Jul 21 18:37:18 not sure if this is the case.. because the problem was that -native DEPENDS were ignored and in your log I don't see missing headers.. Jul 21 18:39:44 how or where do I "make setup-bitbake" I don't get it Jul 21 18:39:53 in /OE dir Jul 21 18:40:09 it will checkout bitbake master for you Jul 21 18:40:15 maybe it's already there Jul 21 18:40:55 do you have SHR Makefile, right? ;) Jul 21 18:41:38 I'll get a "git.openembedded.net[0: 140.211.169.165]: errno=Connection refused" Jul 21 18:42:13 ah, right.. openembedded.net is down Jul 21 18:42:24 openembedded.org should work now IIRC Jul 21 18:43:43 yup it does Jul 21 18:48:07 fatal: Unable to look up git.openembedded.org (port 9418) (Name or service not known) Jul 21 18:49:42 * repository: git://git.openembedded.org/bitbake Jul 21 18:49:42 remote: Counting objects: 19, done. Jul 21 18:49:53 SHR: 03Martin.Jansa 07shr-chroot * r0b740d9651ab 10/ (21 files in 10 dirs): bitbake: update bitbake git repo URL Jul 21 18:51:15 rootman__: btw did you upgrade shr-chroot today? (do gcc -v show 4.6.1 for you?) Jul 21 18:51:33 no Jul 21 18:51:56 and is it 64bit chroot? Jul 21 18:52:02 yes Jul 21 19:00:35 wb Jul 21 19:00:45 rootman__: just building it here atm Jul 21 19:01:03 I restarted my fw now it fetches the files Jul 21 19:02:00 all fine NOTE: package sqlite3-native-3.6.23.1-r4.0: task do_rm_work_all: Succeeded Jul 21 19:02:57 what should I now do after "make setup-bitbake" Jul 21 19:03:33 20:26:35 < JaMa> rootman__: try "setup bitbake; cd bitbake; checkout -b 1.12 origin/1.12" and then bitbake/bin/bitbake instead of using system bitbake (that's bitbake master) Jul 21 19:03:36 SHR: 03Martin.Jansa 07shr-makefile * r6c09dee59685 10/Makefile: Makefile: update git.openembedded repo URL Jul 21 19:11:49 it's building atm (Is this right if I run OE om-gta02@shr /OE # bitbake/bin/bitbake sqlite3-native" Jul 21 19:21:16 if I run it as root "Do not use Bitbake as root." Jul 21 19:21:26 if I run it as bitbake user: Jul 21 19:21:38 Traceback (most recent call last): Jul 21 19:21:38 File "bitbake/bin/bitbake", line 234, in Jul 21 19:21:38 ret = main() Jul 21 19:22:15 rootman__: check /dev/shm permissions Jul 21 19:23:27 marcellus1, I was eating Jul 21 19:24:49 GNUtoo|laptop: no problem, I just tried kicking all opengles/skia support out of the kernel, since I read my error occurs, when someon tries to run xf86-video-fbdev while using kernel mode settings Jul 21 19:25:03 ok Jul 21 19:35:09 GNUtoo|laptop: that didn't do the trick Jul 21 19:35:28 what of the graphic drivers in the kernel do i actually need? Jul 21 19:35:35 msmfb Jul 21 19:35:51 that does explain my perma blank screen Jul 21 19:36:05 I was too greedy Jul 21 19:36:17 how did you launch Xorg? Jul 21 19:36:22 Xorg? Jul 21 19:36:24 or Jul 21 19:36:29 it launched automatically Jul 21 19:36:31 /etc/init.d/xserver-nodm start Jul 21 19:36:32 ok Jul 21 19:36:45 did you write a proper xorg.conf? Jul 21 19:36:59 and also an xserver file Jul 21 19:37:03 actually direct after the first flash x came up without me doing anything Jul 21 19:37:05 like in the howto Jul 21 19:37:10 when you do DPI= Jul 21 19:37:14 it did kind of work Jul 21 19:37:23 so do something Jul 21 19:37:57 however I got an error that the framebuffer did die Jul 21 19:37:58 and the screen turned blank Jul 21 19:38:52 i can dig it out, however I restartet -c menuconfig and m swap fills up, so my ability to do quite everything ion my pc right now is uite limited Jul 21 19:40:24 1)compile the kenrel with msmfb and your pannel Jul 21 19:40:35 since you used cyanogenmod config it should be in Jul 21 19:40:51 2)remove the 3d since you don't use it, it free some ram Jul 21 19:41:45 3)add an xorg.conf modifying on target and add also modify the file that contains DPI= on target Jul 21 19:43:09 how do I determine my mdp hw version? Jul 21 19:45:10 the cm one should do, how is it with msm support for backlight control? Jul 21 19:45:28 drm? Jul 21 19:46:30 there is no backlight support Jul 21 19:46:32 but led Jul 21 19:46:41 they use the LED API Jul 21 19:46:47 instead of the backlight API Jul 21 19:48:39 GNUtoo|laptop: I still have the problem that modprobe -l does not show anything Jul 21 19:48:49 and I can't find any kernel modules inside the phone Jul 21 19:48:56 ??? Jul 21 19:49:08 ensure that CONFIG_MSMFB is there Jul 21 19:49:13 apart the wifi Jul 21 19:49:18 yeah Jul 21 19:49:19 most is in the kenrel as =y Jul 21 19:49:27 however I need kernel modules for wifi Jul 21 19:53:06 yes that's normal Jul 21 19:53:10 make ARCH=arm xconfig Jul 21 19:53:19 and look if you can remove the 3d Jul 21 19:53:25 I did Jul 21 19:53:27 ok Jul 21 19:53:34 then do the 3) Jul 21 19:53:34 the x server does start Jul 21 19:53:45 however the screen turns blank after ~2 sec in X Jul 21 19:53:45 and Xserver has a log in /var/log Jul 21 19:54:06 (EE) FBDEV(0): FBIOBLANK: Interrupted system call Jul 21 19:54:16 thats the last one Jul 21 19:55:38 complete: http://paste.pocoo.org/show/443785/ Jul 21 19:56:35 try runniing it manually Jul 21 19:56:42 and look if it segfaults or something like that Jul 21 19:58:37 kk, recompile without msm3d and the proper hardware revision Jul 21 19:58:57 ok Jul 21 19:59:17 because on your log I didn't see it shut-down Jul 21 19:59:22 so maybe it segfaulted Jul 21 19:59:59 I think it was still running Jul 21 20:00:10 pidof can tell Jul 21 20:00:30 I forgot to check and now I need to wait for the compilation to finish :( Jul 21 20:01:32 I haven't found DIP= anywhere model related Jul 21 20:01:39 DPI Jul 21 20:01:52 xserver-common Jul 21 20:04:11 It seems to figure it out on its own Jul 21 20:04:40 echo "$(awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' that prints your machine name Jul 21 20:06:25 what for? Jul 21 20:06:39 xserver-common Jul 21 20:06:47 else you can just look manually Jul 21 20:06:51 in /proc/cpuinfo Jul 21 20:12:36 thx for your help i'll try again cu Jul 21 20:36:56 have you got the machine name? Jul 21 20:37:25 the usb0 and wlan0 nets do interfere, so as long as I'm in the shell of the phone I don't have internet Jul 21 20:38:51 have you got the last few messages? Jul 21 20:39:50 GNUtoo|laptop: are you still there? Jul 21 20:39:58 yes Jul 21 20:40:11 the machine name is "pw28_board" Jul 21 20:40:20 ok Jul 21 20:40:25 follow the porting guide Jul 21 20:40:40 and look at the 3) that I told on irc Jul 21 20:40:42 read the files Jul 21 20:40:44 xorg.conf Jul 21 20:40:50 however my wifi has the same subnet as the usb interface, so the connection was severed Jul 21 20:40:52 and /etc/X11/xserver-common Jul 21 20:40:56 it's straingtforward Jul 21 20:41:00 ah that is a problem Jul 21 20:41:05 first make xorg work Jul 21 20:41:24 kk, brb Jul 21 21:07:22 I can basically do nothing from the porting guide Jul 21 21:09:59 GNUtoo|laptop: i have no internet on the phone, hence I can't install vim, and can't install bash Jul 21 21:10:18 ash does not escape the escape key correctly, so I can't :wq in vi Jul 21 21:11:29 also I can't clone cornucopia or do anything useful Jul 21 21:12:04 I don't care for X or the phone functionality at the moment since the limited shell cripples me in quite anything I do Jul 21 21:12:11 please help me get the wifi to work Jul 21 21:15:00 usbnet is an option in your case? sorry i wasn't seeing your conversation Jul 21 21:18:22 marcellus1, try vi Jul 21 21:18:31 ok Jul 21 21:18:43 no escape Jul 21 21:18:45 but you can ssh inside Jul 21 21:18:50 since you can ssh inside Jul 21 21:18:55 you have usbnet connection Jul 21 21:19:04 which means that it's a step away from having internet Jul 21 21:19:06 but only with "ssh root@192.168.0.202 "/bin/ash -i"" Jul 21 21:19:09 follow that guide: Jul 21 21:19:32 http://wiki.openmoko.org/wiki/USB_Networking Jul 21 21:19:33 http://wiki.openmoko.org/wiki/USB_Networking ? Jul 21 21:19:35 :) Jul 21 21:19:36 yes Jul 21 21:21:18 I can't use iptables since the phone and the wifi both use 192.168.0.0 Jul 21 21:21:55 but I can change the ip of the phone :) Jul 21 21:21:59 brb Jul 21 21:22:36 you can: http://wiki.openmoko.org/wiki/USB_Networking#Changing_the_Neo_IP_address Jul 21 21:22:38 ah ok Jul 21 21:23:00 marcellus1, to change the ip of the phone try: Jul 21 21:23:05 nano /etc/network/interfaces Jul 21 21:23:09 or if nano doesn't work Jul 21 21:23:11 scp it Jul 21 21:23:14 modify it Jul 21 21:23:19 and scp it back on the phone Jul 21 21:24:14 * angelox|laptop thinks that he is the only one that uses mcedit as editing tool Jul 21 21:24:21 what's that? Jul 21 21:24:33 midnight commander edit? Jul 21 21:24:39 yes Jul 21 21:24:47 ok Jul 21 21:45:14 ok, no masquerade support on my desktop, i think I'll carry on tomorrow Jul 21 21:47:36 ok Jul 21 21:48:04 else there is an easy way Jul 21 21:48:10 host the ipk on your laptop Jul 21 21:48:23 since there is a connection between both Jul 21 21:48:25 it'll work Jul 21 21:48:36 just point /etc/opkg/*-feed.conf to your laptop Jul 21 21:48:39 I checked, bb bash does not create a bash ipk Jul 21 21:48:51 what does it create then? Jul 21 21:48:59 I'm not sure Jul 21 21:50:19 however it did compile, but there is no bash ipk in /p-zero Jul 21 21:52:07 check in architecture's folder Jul 21 21:54:22 look in armv6 Jul 21 21:56:03 my keyboard got stuck i tried recompiling bash and my harddisk froze Jul 21 21:56:26 yeah, there it is Jul 21 21:57:11 I have a long way to go :/ **** ENDING LOGGING AT Fri Jul 22 02:59:57 2011