**** BEGIN LOGGING AT Sun Oct 09 02:59:57 2011 Oct 09 11:14:40 does a regular distro (like angstrom) contain software to use the phone part of a PDA ? Oct 09 11:38:44 lautriv, not sure Oct 09 11:38:57 lautriv, but shr does Oct 09 11:39:15 what's your pda? Oct 09 11:39:27 basically shr is more suited for phones Oct 09 13:22:54 GNUtoo, still there ? Oct 09 13:23:00 yes Oct 09 13:25:38 lautriv, shr people are in #openmoko-cdevel btw Oct 09 13:25:54 but what's your pda? Oct 09 13:25:59 does the modem uses AT commands? Oct 09 13:26:01 GNUtoo, about your former question : the actual testbuild is hx4700/angstrom2011.10 . i use this as foundation for another PDA where i know it's the same arch. basically i will try to get some stable (minimal usable) rootfs and ask the other PDA about resources from within the running system. Oct 09 13:26:45 "ask the other PDA about resources from within the running system." what do you mean? Oct 09 13:28:38 GNUtoo, i mean some unknown thingies like what/how does GPRS, where is the CAM/BT/WLAN and so on Oct 09 13:28:56 ok Oct 09 13:29:07 so basically if I understand well you want to boot an image Oct 09 13:29:18 and then look at the hardware once the image is booted Oct 09 13:29:19 ok Oct 09 13:30:16 yes, i build everything for hx4700, do some finetuning (autostart of a ttyS and such) recompile the kernel and will see what happens. Oct 09 13:30:21 ok Oct 09 13:30:31 but consider integrating your work in SHR Oct 09 13:30:37 it's based on openembedded Oct 09 13:30:49 and is the way to go for smarphones without 3d acceleration Oct 09 13:31:07 it's based on enlightenment and has some finger friendly GUI for the telephony Oct 09 13:31:27 once known, i will create some new *.bb and give it to the project. Oct 09 13:31:33 if you want I can try to do some screenshot Oct 09 13:31:46 it also has a telephony middleware known as fso Oct 09 13:31:53 or freesmarphone.org Oct 09 13:32:07 that handle the power management, the telephony etc... Oct 09 13:32:25 so it's not like ubuntu with a phone GUI on top Oct 09 13:32:28 it's way better Oct 09 13:32:33 shr/fso is running on a bare kernel or somewhat customized ? Oct 09 13:32:56 the more standard your kernel is the better it is Oct 09 13:33:11 that is why i ask Oct 09 13:33:14 but it can handle not-so-standard kernels as well, in a limited way Oct 09 13:33:40 because you'll have to standardize some stuff Oct 09 13:33:47 for instance it expects alsa Oct 09 13:33:56 or WEXT at least Oct 09 13:34:21 but for instance for suspend/resume it can handle android suspend/resume too Oct 09 13:34:29 i prefer to be as vanilla as possible :-) Oct 09 13:34:30 or for sysfs node it's very easily adaptable Oct 09 13:34:48 for instance if you have to do echo 1 > /sys/..../gps_power_on Oct 09 13:34:55 it can handle it very easily Oct 09 13:35:31 but really the more standard your kernel is(that means like kernel.org not like android) the better it is Oct 09 13:36:42 GNUtoo, another thing ...............the PXA270 has the ability to do framebuffering. do you know if this is often/commonly used (because in the case of hx4700 they use another chip) Oct 09 13:37:43 ah? Oct 09 13:37:46 what do you mean? Oct 09 13:38:13 you mean that instead of using the pxa270 framebuffer it has an external chip that does that? Oct 09 13:38:19 if so that's handled in the kernel Oct 09 13:38:34 and it would provides a framebuffer too Oct 09 13:38:58 i mean the primary graphics, this other PDA has 240x320 and i hope/guess it's directly driven by the PXA270 (as supposed to the kernel-framebuffer) Oct 09 13:39:16 hx4700 is using w100 Oct 09 13:39:27 ah ok Oct 09 13:39:48 do you already have a kernel running on it? Oct 09 13:40:17 http://scap.linuxtogo.org/index.php?page=1 Oct 09 13:40:26 the first 2 screenshots are SHR Oct 09 13:40:40 It's on the nexus S that is a work in progress Oct 09 13:40:47 I can make screenshots on other devices if you want Oct 09 13:40:53 for instance to show contacts Oct 09 13:41:07 on the hx, i have a running 2.6.21 build in and 3.0 on SD-Card (kexec dualboot) but the 3.0 was build "console-image" and thus i miss a onscreen-keyboard. Oct 09 13:41:27 (I got nexus S last saturday....so it's normal that it's in that state) Oct 09 13:41:38 pictures would be interresting :-) Oct 09 13:42:02 http://shr-project.org/trac/wiki/Look Oct 09 13:42:05 else there is that Oct 09 13:42:16 but the videos were made so long agi Oct 09 13:42:18 *ago Oct 09 13:42:42 for instance the htcdream videos were done when at the beginning of the port Oct 09 13:47:13 i will have a close look at it if i got this thingie up (and that BS winmob killed) :-)) Oct 09 13:48:10 sh... mplayer fails to compile Oct 09 13:50:10 can oe blacklist a certain recipe ? Oct 09 13:53:50 lautriv, are you using oe.dev ? Oct 09 13:54:01 because I don't think that mplayer is in oe-core yet Oct 09 13:56:41 GNUtoo, got the whole git from the wiki and guess it's actual core......actually i don't need mplayer but its part of "angstrom-x-image" which fails on a undeclared function in libavcodec. Oct 09 13:56:59 from the wiki? where? Oct 09 13:57:17 because now new developments should focus on oppenembedded-core Oct 09 13:57:20 http://www.openembedded.org/wiki/Getting_started Oct 09 13:57:41 http://scap.linuxtogo.org/index.php?page=1 new screenshot.... Oct 09 13:58:01 the stylus is on the right of the screen Oct 09 13:58:04 near m Oct 09 13:58:14 that makes a list that you can go trough Oct 09 13:58:17 like with android Oct 09 13:58:50 oh that's old infos Oct 09 13:58:59 that should be updated or oe-core should be mentioned Oct 09 13:59:15 but I've something even faster for you Oct 09 13:59:19 that doesn't require a build Oct 09 13:59:59 http://narcissus.angstrom-distribution.org/ Oct 09 14:00:06 but that's for angstrom not for SHR Oct 09 14:00:50 i know that site, but i need oe ro change settings afterwards. Oct 09 14:00:55 *to Oct 09 14:08:43 for shr we have even two porting guide Oct 09 14:10:18 i'll try to bitbake shr-image, even the primary target has no phone-abilities :-) Oct 09 14:13:22 bbl, thx for info Oct 09 14:13:55 lautriv, you should consider migrating to shr-core Oct 09 14:14:09 because that's where the developement is nowadays Oct 09 14:36:03 GNUtoo, migrating to shr-core means to pull another repo ? Oct 09 14:39:23 yes Oct 09 14:39:28 and to rebuild from scratc Oct 09 14:39:32 *scratch Oct 09 14:39:44 I think we have a Makefile to easier the process Oct 09 14:39:51 ask in #openmoko-cdevel about that Oct 09 14:40:02 I don't use the Makefile but a manual process Oct 09 14:41:07 GNUtoo, decades ago i built linux for SGI machines from scratch, and it was indeed not that confusing stuff like todays versioning&&scripting crap :D Oct 09 14:41:26 back in 15 min... Oct 09 17:53:44 can anyone give me a few details about angstrom "console-image" ? i have connected a hx4700 via USB to my host and some lines about g_ether gadget came in front. but my host can't even see the device ? Oct 09 17:56:09 ah? Oct 09 17:56:16 modprobe cdc_ethernet? Oct 09 17:58:35 GNUtoo, i would be glad to enter anything (only touchscreen, tried USB for backdoor) and btw shr is compiling since we talked about. Oct 09 17:58:53 ok Oct 09 17:59:07 note that shr people usually hang at #openmoko-cdevel Oct 09 17:59:31 you're compiling shr-core? Oct 09 17:59:31 but if the hx detects a connection, my host should at least enummerate any device ............ Oct 09 17:59:40 ah right Oct 09 18:00:13 what were the lines about g_ether? Oct 09 18:00:28 i will do the shr-core after some basics from oe, the kernel and any local access is mandantory Oct 09 18:00:52 ok Oct 09 18:02:11 it gives me "full-speed config #1 : CDC Subset/SAVE" which intents to be net-emulation over USB. Oct 09 18:03:21 yes it is Oct 09 18:03:37 but cdc_ethernet is for your host Oct 09 18:04:05 you said you had some lines about g_ether on your devices Oct 09 18:04:09 what are theses lines? Oct 09 18:04:39 same lines, repeated, nothing on my host-bus. Oct 09 18:04:45 HAH i have an idea for the solution, should be possible to change the init on the SD and ssh there :-) Oct 09 18:21:31 and ssh there? Oct 09 18:21:34 you can ping it? Oct 09 18:22:29 meh, that was NOT bright.........the recipes for hx4700 contain some specific patches about the ASIC and acx(wireless) and now i see thy are not compiled :-( Oct 09 18:25:04 then compile them Oct 09 18:26:01 GNUtoo, i purged the tmp in favor of shr, actually 55% done so i have to wait :-( Oct 09 18:27:24 why just doing that Oct 09 18:27:27 mv foo bar Oct 09 18:27:30 rm -rf bar Oct 09 18:27:34 mkdir foo Oct 09 18:28:25 huhu Oct 09 18:28:26 I think you must find a plan for the device and stick to it Oct 09 18:28:33 like do this then do that Oct 09 18:28:35 etc.. Oct 09 18:30:27 GNUtoo, the plan is simply to get something up with the ability of a onscreen-keyboard because this thingie has no real kbd. because the console-image did not care and the x-image fails on libavcodec, i hope/guess shr will do minimal functionality at least on some GPE. Oct 09 18:30:57 try that: Oct 09 18:31:02 keep your console image Oct 09 18:31:13 but compile the kernel with g_ehter in Oct 09 18:31:19 like =y Oct 09 18:31:24 so no loading issues Oct 09 18:31:33 but I guess that won't change a thing anyway Oct 09 18:31:44 since you don't see it in lsusb Oct 09 18:31:51 I guess you have a kernel problem Oct 09 18:31:59 so at first try to compile and load a kernel Oct 09 18:32:09 then once that stage is done Oct 09 18:32:37 try to modify the defconfig to put g_ehter in and modify its arguments for beeing more verbose on the framebuffer console during boot Oct 09 18:33:08 if what it writes is too fast....take a movie of it and play it back at low framerates or one frame per second Oct 09 18:33:15 be sure to select correct fonts for that Oct 09 18:33:25 (in framebuffer cosole) Oct 09 18:33:39 s/in framebuffer console/near framebuffer console/ Oct 09 18:34:23 GNUtoo, i assume the USB problem is host<->host instead of host<->slave and the right deal would be to bring acx up and call the dropbear BUT this setup is already purged and so i wait for a shr one. Oct 09 18:35:03 all the setup? Oct 09 18:35:08 get an image from somewhere Oct 09 18:35:17 and try to boot it with a custom kernel Oct 09 18:35:24 you don't need to bitbake shr at that point Oct 09 18:35:36 you'll need that later Oct 09 18:35:42 and again what's your machine? Oct 09 18:36:14 i can boot from a former image, build into the flash inside, this one can ssh but lacks on gcc (to less resources after my swap on CF-Card died) Oct 09 18:37:38 what are you trying to do exactly? Oct 09 18:37:46 and what's your machine? Oct 09 18:38:07 (usually nearly no one need gcc on target) Oct 09 18:38:50 altough I think enlightenment requires it for the compilation of the config files, but I'm not sure Oct 09 18:38:54 machine is hx4700, i will start a rootfs with onscreen keyboard, if that is ok i will customise the kernel to another machine with the same CPU. Oct 09 18:39:39 maybe try the opie images Oct 09 18:39:52 that has an on-screen keyboard for the terminal Oct 09 18:39:59 but it's very small(the keyboard) Oct 09 18:40:11 i bet they will also fail on the libavcodec. Oct 09 18:40:23 possible Oct 09 18:40:28 so try oe-core for that Oct 09 18:40:46 because oe.dev is kind of abandoned Oct 09 18:41:11 where was the git located again ? Oct 09 18:42:53 if you want SHR you must follow that: Oct 09 18:43:20 http://shr-project.org/trac/wiki/Building%20SHR Oct 09 18:43:35 but you'll need to add the meta-handleds repository Oct 09 18:43:44 so maybe better starting with angstrom: Oct 09 18:45:36 http://sakrah.homelinux.org/blog/2011/03/using-openembedded-core-to-build-angstrom-for-qemu/ Oct 09 18:46:00 but are you sure h4700 has telephony? Oct 09 18:49:27 nope, the hx4700 has not, but the target behind. Oct 09 18:49:50 so what's the target behind? Oct 09 18:50:02 motorola hce700g Oct 09 18:50:08 ok Oct 09 18:50:21 but nobody has details Oct 09 18:51:49 ok indeed details are hard to find Oct 09 18:51:58 so you'll need to play with haret I guess Oct 09 18:52:17 did you succeed to boot something on hce700g? Oct 09 18:52:36 also I know somebody doing some GNU/Linux on rugged pdas Oct 09 18:53:01 his irc name is tuxbrain (from the tuxbrain company) Oct 09 18:53:07 not yet, i assume it has the framebuffer on PXA instead W100 but if i have a solid foundation i can dig around Oct 09 18:53:13 ok Oct 09 18:53:28 do you at least have serial on the hce700g? Oct 09 18:54:44 what i know so far : serial,USB.BT(broadcom),WLAN(Samsung) 128/128M flas/RAM a CAM/Barcodescanner and GPRS-Modem Oct 09 18:55:17 ok Oct 09 18:55:33 but no pinout for the craddle, i have to dig via a successful(try and error) made kernel Oct 09 18:55:48 hmmm Oct 09 18:56:03 do you have a windows ce serial terminal? Oct 09 18:56:12 because else get a multimeter Oct 09 18:56:24 and identify ground Oct 09 18:56:36 then you must watchout for the voltages Oct 09 18:56:51 yes, actually it runs on win mob 2003, based on CE 4.2 and i have also haret there. Oct 09 18:56:52 because you would have to short rx and tx Oct 09 18:57:08 and from windows try to type in the serial terminal Oct 09 18:57:25 and if you see what you type you identified rx and tx (and ground that was there before) Oct 09 18:57:43 then you would have to get a special serial adapter with level shifter in it (easiest) Oct 09 18:57:47 and wire it Oct 09 18:58:02 then rest to find the bauds but that's easy with picocom Oct 09 18:58:17 seem that you have a long way to go.... Oct 09 18:58:18 GNUtoo, i'm more a hardware man than i do in software but all that matters only if the kernel can identify/control the serial later on. Oct 09 18:58:38 try to find the pins first Oct 09 18:58:42 before booting anything Oct 09 18:59:14 because you'll have to write a kernel board file for that device at least Oct 09 18:59:36 i can do this in parallel because the image needs longer to compile :-) Oct 09 19:00:03 do you also have an h4700? Oct 09 19:00:11 or just that motorolla thing? Oct 09 19:00:36 i own both, reason for this way (same CPU) Oct 09 19:00:44 ok nice Oct 09 19:00:53 so compiling the images are not that useless Oct 09 19:01:16 that is, at east hx4700 got 3.0 lately :-) Oct 09 19:01:22 *least Oct 09 19:01:27 yes I know Oct 09 19:01:35 have to go for now, will meet you later. thx for all hints Oct 09 19:01:49 so try to find serial ports pin at very first Oct 09 19:01:50 bye **** ENDING LOGGING AT Mon Oct 10 02:59:57 2011