**** BEGIN LOGGING AT Thu Feb 14 02:59:57 2008 Feb 14 06:19:21 the recent email from Michael about software changes to improve battery life, does anyone know if thats gta02 only or gta01 too? Feb 14 06:19:40 i saw mention tha Neos usb port can act as host or device, i'm wondering if its possible to make my laptops usb act as a device to use my laptop keyboard directly on another machine. Possible? anyone point me somewhere I might find out. Feb 14 06:20:37 i wonder if you could get synergy working between the neo and a pc, that might do what you want Feb 14 06:23:18 synergy works over lan, i'd really like direct usb connection with minimal or no host configuration, only configuring my laptop. Feb 14 07:37:19 Hello Everybody Feb 14 07:37:32 Does openmoko supports runlevel? Feb 14 07:43:44 Anybody there??? Feb 14 07:44:07 How can disable the verbose output from the bootloader? Feb 14 07:56:31 hi all Feb 14 07:57:07 is it possible to change the boot splash screen in openmoko?? Feb 14 08:01:05 i have bought a new Neo phone...i would like to update my firmware...please give me some details on ths... Feb 14 08:01:15 yes, it is. Feb 14 08:02:48 [[flashing openmoko]] on the wiki? Feb 14 08:02:52 search for flashing? Feb 14 08:03:09 yeah! i found that.... Feb 14 08:03:24 what's the problem? Feb 14 08:03:33 @SpeedEvil: give me some pointers on changing the splash screen Feb 14 08:04:33 I have written an application. I want my moko to boot in silent mode and start into my application directly... Feb 14 08:06:10 Varun: I don't have easy access to the wiki or my phone ATM Feb 14 08:06:46 I'd look on the neo for a phone of size >50k <500k, not in the /bin directories Feb 14 08:06:55 or search the wiki for splash Feb 14 08:20:08 good morning Feb 14 08:41:32 morning Feb 14 08:45:44 hi Feb 14 09:27:10 hehe, the talk on the mailing list about FIC working on power management and squeezing every amp out of the battery makes me think of Apollo 13. I'm expecting someone to comment about running a coffee pot any time now Feb 14 10:50:20 hi...i bought a new neo 1973....i m trying to flash openmoko....for that, I am not able to get u-boot menu (if i press Aux button and power button) Feb 14 11:07:03 Varun, turn the neo off, hold the aux button and turn the neo on (while still holding the aux-button) Feb 14 11:09:31 Is there anychance that the GTA02 will be available for sale in March ? Feb 14 11:18:13 CVirus: not really. Expect April Feb 14 11:19:32 :( Feb 14 11:53:43 hi all Feb 14 11:56:08 oh, I've got into right channel Feb 14 11:56:11 dose someone test that new qtopia image? Feb 14 11:58:02 but, what about the left channel? ;) Feb 14 12:03:59 * nullie eager to get freerunner Feb 14 12:09:58 hi...i m not able to get the u-boot menu.... Feb 14 12:10:08 any clues?? Feb 14 12:13:07 is the aux-button broken? Feb 14 12:13:59 no...its there Feb 14 12:14:04 i hold aux button n then pressed power button...but, its not startng u-boot menu.... Feb 14 12:14:36 when it is started, does the aux-button do anything? Feb 14 12:37:33 not able to get into u-boot menu...help needed...aux button n power button are working... Feb 14 12:40:15 zash: after booting into openmoko, aux menu is working... Feb 14 12:41:00 so it's not broken Feb 14 12:41:06 are you holding it long enough Feb 14 12:42:23 yeah! i m holding it for long time... Feb 14 12:42:27 hm Feb 14 12:43:47 actually i bought a new GTA01V4 phone....not able to flash openmoko as i m not able to get into u-boot menu...anyother way?? Feb 14 12:45:21 varun: that's weird Feb 14 12:45:33 varun: but you don't need to go to the menu for flashing Feb 14 12:45:59 how can i use dfu-util without getting into u-boot running mode?? Feb 14 12:46:54 i think there's a one second delay before it starts booting linux, in this period i think you can connect over usb and go into running mode Feb 14 12:47:48 using cu?? Feb 14 12:47:56 cu -l /dev/ttyACM0 Feb 14 12:47:58 ?? Feb 14 12:48:10 yea, maybe, i used minicom Feb 14 12:48:12 and picocom Feb 14 12:48:29 wat are they?? Feb 14 12:48:41 but i'm sure the aux + power combintation will work if you get it right Feb 14 12:49:31 i have been using GTA01V3 previously...i didnt face any problem there... Feb 14 12:50:19 also, its not showing the booting splash screen...simply showing a white flash n booting up... Feb 14 12:51:06 it's possible also to reflash from under linux Feb 14 12:51:16 but not practiced much afaik Feb 14 12:51:40 give me some clues...i ll check it out here... Feb 14 12:52:12 also, if i do dfu-util --list....its saying no device found... Feb 14 12:53:31 the programs to flash things under linux are called mtdutils i think Feb 14 12:53:44 ok Feb 14 12:53:52 right, only u-boot is DFU-capable, so in linux dfu-util --list will show nothing Feb 14 12:54:26 err mtdutils is the name of the package containing allt he programs Feb 14 12:54:40 or mtd-utils Feb 14 12:57:41 varun: unplug battery leave 30 mins Feb 14 12:57:49 varun: replace battery, rettyr Feb 14 12:57:52 retry Feb 14 12:58:00 * * OM Bug 1230 has been created by dodji(AT)openedhand.com Feb 14 12:58:01 * * oops at boot in rtc_dev_open() Feb 14 12:58:02 * * http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1230 Feb 14 12:58:21 30 mins?? or 30 secs?? Feb 14 12:58:37 i tried replacing battery sooo many times....doesnt help... :( Feb 14 13:05:01 no file "config_svn.openmoko.org_.branches.src.target.kernel.2.6.24.x_3801_.tar.gz" on downloads.openmoko.org/sources Feb 14 13:05:34 zash: i tried to connect to /dev/ttyACM0 in that 1 sec gap...its getting connected...but, after few seconds its getting disconnected... Feb 14 13:11:14 any solutions?? Feb 14 13:12:18 duno, ask in the mls Feb 14 13:22:06 var: mins Feb 14 13:22:12 var: with the usb unplugged Feb 14 13:22:18 oh Feb 14 15:10:03 hi Feb 14 16:20:19 So, 50 days in suspend mode would be cool Feb 14 16:20:37 But it still sounds as if watching one movie will kill the '02 battery Feb 14 17:35:23 hmm Feb 14 17:35:30 is there a way to set the time from the interface? ~_~ Feb 14 17:36:25 anrp: Not afiak Feb 14 17:36:31 s/afiak/afaik/ Feb 14 17:36:32 wurp2 meant: anrp: Not afaik Feb 14 17:36:34 alright, so its not just me :S Feb 14 17:36:44 date -s Feb 14 17:36:45 * anrp sighs in relief Feb 14 17:36:56 date -s then sync the hardware Feb 14 17:37:09 Don't remember the name of the command, hwsomething I think Feb 14 17:37:11 i know how to do that Feb 14 17:37:12 hwclock Feb 14 17:37:16 thx Feb 14 17:37:18 just saying D: Feb 14 17:37:22 yeah Feb 14 17:37:32 also the GPS has "the" time Feb 14 17:37:37 it's just one of the many things that aren't there Feb 14 17:37:38 maybe sometime in the future it can be used .. Feb 14 17:37:45 Yeah, I wrote a script to set time from GPS Feb 14 17:38:00 but for some reason when I tell python to readlines from /tmp/nmeaNP, it never gets anything Feb 14 17:38:08 I haven't had time to fix it Feb 14 17:38:10 * anrp pokes the named pipe Feb 14 17:38:30 I may just make the script depend on gpsd :-( Feb 14 17:38:59 Or I may write a grep | tail process to pull the last line off nmeaNP with time in it, and read from the resulting file in python Feb 14 17:39:10 since grep & tail seem to work fine on nmeaNP :-/ Feb 14 18:05:12 oic, python by design doesn't return from a readlines call until the file is closed. Either I'll have to read into a buffer or do the grep | tail trick. Feb 14 19:17:28 wurp2: not a mic in a bt headset, just the mic/speaker on the moko itself Feb 14 19:22:57 bkruse: Wow, I think that's the longest response time I've gotten on IRC :-) Feb 14 19:23:34 I have redirected mic output to a file & successfully recorded Feb 14 19:23:35 wurp2: Ask me something, i'll prove it can be longer :D Feb 14 19:23:44 TRIsoft: heh Feb 14 19:24:00 It was very quiet Feb 14 19:24:15 TRIsoft: I asked the question yesterday or the day before Feb 14 19:24:28 Certainly not a complaint, just an amused observation Feb 14 19:24:34 wurp2: A good answer needs some time... Feb 14 19:24:42 wurp2: Sorry :] Feb 14 19:24:45 wurp2: can you show me that code? Feb 14 19:25:00 I think binding to 'default' in alsa in my problem (libalsa) Feb 14 19:25:01 bkruse: It's just a script Feb 14 19:25:03 I am not using pulseaudio Feb 14 19:25:12 I will send it to you Feb 14 19:25:18 wurp2: perfect! Feb 14 19:25:42 me neither Feb 14 19:25:56 ack, I just looked at it, I just use arecord Feb 14 19:26:08 I will be lazy and paste the pertinent bits here Feb 14 19:26:23 alsactl -f /etc/capturehandset.state (of course) Feb 14 19:26:24 restore Feb 14 19:26:44 arecord -f cd -t wav -d 30 somefile.wav Feb 14 19:26:46 That's it Feb 14 19:26:59 except of course restoring alsa to the appropriate config when done Feb 14 19:27:52 So if you can find the code in arecord, that should be right Feb 14 19:31:53 mickey|flu: If you are there (and not feeling too ill), you might want to have a look at my comment in bug #1177. I don't know if you get some sort of notification on it, so I hope it is ok that I mention it here. :) Feb 14 19:32:11 mickey|flu: Btw, hope you feel better soon (if that is the way to say it in English), or as we say in Norwegian, god bedring. :) Feb 14 19:40:23 arghh....... anyone try sun's j2re 1.4.2 on moko? Feb 14 19:40:36 unless i'm really stupid, i think it's broken Feb 14 19:40:48 they have an ARM build of that version? Feb 14 19:40:50 yeah Feb 14 19:41:12 built for ARM v5 with soft-float Feb 14 19:41:12 what's broken? Feb 14 19:41:18 doesn't run at all... Feb 14 19:41:44 segfault? Feb 14 19:41:44 soft float is old abi probably Feb 14 19:42:17 f (Constr i (x,y)) = (i,(x,y)) -- maybe Constr is quite unnecessary Feb 14 19:42:25 hrmm... Feb 14 19:42:51 i donno if it's the binary, becuase i get an -sh: java: 1: syntax error: word unexpected (expecting ")") Feb 14 19:43:50 now, that's a much more useful error message ;) Feb 14 19:44:03 useful, but i don't know what it means Feb 14 19:44:05 probably has bashisms in the script Feb 14 19:44:25 hrm, it seems like a straight up arm binary to me Feb 14 19:44:40 it has the correct secret words in the beginning Feb 14 19:44:58 'file' correctly identifies it as such? Feb 14 19:45:41 heh never checked. Feb 14 19:45:44 It didn't get DOS encoding somehow, did it? Feb 14 19:46:05 maybe let me redownload it ...... Feb 14 19:46:56 but i guess noone here, played with sun's arm version eh? Feb 14 19:51:42 inwoo: that sounds like a no Feb 14 19:53:39 i guess so Feb 14 19:53:43 no, it was not a DOS encoding Feb 14 19:53:47 i guess it's just broken... Feb 14 19:53:54 damn you sun! Feb 14 19:54:13 inwoo: is java chmod to executable? Feb 14 19:54:17 yes Feb 14 19:55:11 well, this kinda sucks, i was trying to do a port directed sms daemon to PhoneME, Feb 14 19:55:24 but because the WMAtool only runs under j2se, and it doesn't work i'm SOL Feb 14 19:55:32 Is the exe built for the neo? Feb 14 19:55:36 no Feb 14 19:55:41 generic... figures Feb 14 19:55:48 generic arm linux Feb 14 19:55:51 I would expect there to be library dependencies so more would matter than just it being built for arm Feb 14 19:56:35 i think it depends only on glibc version 2.3.3 Feb 14 19:56:51 inwoo: It's the shells way to tell you you're trying to execute a binary as a shell script. Feb 14 19:57:38 brgs: hrm.... and how do i get the shell to not think it's a shell script Feb 14 19:59:37 What does the file command have to say about the executable? Feb 14 20:00:15 mwester, sec, i'll install file Feb 14 20:00:20 inwoo: inwoo: Hard to guess. How is it called? Feb 14 20:00:39 it's in my PATH, and i'm just running it as > java Feb 14 20:01:03 java: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.4.3, dynamically linked (uses shared libs), stripped Feb 14 20:01:52 Check the shared libs and how they resolve, they might be part of the issue. Feb 14 20:02:39 mwester, will do... Feb 14 20:05:34 inwoo: I'd sugest strace -e trace=process `which java`. Java probably calls another binary. Feb 14 20:10:38 brgs, funny and you're right Feb 14 20:10:48 but it says strace: exec: no such file... Feb 14 20:12:09 inwoo: So have you tried going to that directory and running ./java? Feb 14 20:12:15 wurp2, yep. Feb 14 20:12:19 Or just fully qualifying the path from somewhere else? Feb 14 20:12:32 And it calls another binary, still? Feb 14 20:13:00 Based on on what brgs said, I was thinking 'java' wasn't executing what you thought it was Feb 14 20:13:25 even though it's in my path, 'java' doesn't run ag all, my shell says java: not found Feb 14 20:13:29 however, Feb 14 20:13:35 if i'm in the directory , i can . java Feb 14 20:13:36 If it did execute that arm binary, then does that mean the binary is invoking a shell with some bad arguments? 'cause that's just weird. Feb 14 20:13:37 but not ./java Feb 14 20:13:59 You can ". java"? Feb 14 20:14:01 which is funny in openmoko, because i've never had a situation where i could not ./binary Feb 14 20:14:07 That def won't work for an ELF Feb 14 20:14:19 hrm Feb 14 20:14:26 okay, thats a problem then Feb 14 20:14:40 What does running it w/ fully qualified path do? Feb 14 20:14:41 dose someone test that new qtopia image? Feb 14 20:15:09 well my $PATH points to that bin directory, Feb 14 20:15:15 but sh, won't execute > java Feb 14 20:16:02 it's a larger path issue i have yet to deal with i suppose Feb 14 20:16:12 But what if you run w/ fully qualified path? Feb 14 20:16:19 /bin/java or whatever? Feb 14 20:16:45 The > you put in the "java" command confuses me a bit, too... Feb 14 20:16:45 my shell won't take a fully qualified path... Feb 14 20:17:02 How does it respond? Feb 14 20:17:11 shell says, java not found Feb 14 20:17:25 When you give it a fully qualified path, it says java not found? Feb 14 20:17:31 yep\ Feb 14 20:17:43 something has always been wrong with my bash shell .... in moko. Feb 14 20:17:49 What are the perms on the file, and on the directory it's in? Feb 14 20:18:07 perms? Feb 14 20:18:08 inwoo: are you sure it's bash youre running and not something else like ash or sh? Feb 14 20:18:30 what's the default shell for moko? Feb 14 20:18:34 permissions Feb 14 20:18:35 Sorry Feb 14 20:18:36 yoyo: I did Feb 14 20:18:50 all users can +x , Feb 14 20:18:59 and it's on /media/card/opt/j2re1.4.2/bin Feb 14 20:19:17 ljp: end? Feb 14 20:19:45 Have you run an elf from the card before? Feb 14 20:19:50 never Feb 14 20:20:01 although it is formatted ext2 Feb 14 20:20:07 'cause I would think that your problem with running using a fully qualified path and the elf might be related Feb 14 20:20:17 as in, maybe your card mounts incorrectly somehow Feb 14 20:20:33 even if i copy over the /bin/java file to my /usr/bin, it will behave the same way, so i almost doubt it Feb 14 20:20:47 so is the default shell for moko bash? Feb 14 20:20:53 nope Feb 14 20:20:54 sh Feb 14 20:20:58 heh... Feb 14 20:21:02 you can run /bin/bash if you have it installed Feb 14 20:21:05 iinwooWell the response looks like ash. Feb 14 20:21:07 works for me :) Feb 14 20:21:23 Yeah, it says /bin/sh, but I think it actually is ash Feb 14 20:21:34 i see... Feb 14 20:21:45 I think ash has a sh emulation mode or somesuch... I think /bin/sh is a link to /bin/ash, and it detects the file name Feb 14 20:21:49 but why would sh / ash not allow me to run something in my PATH... Feb 14 20:22:14 I have had problems before with files not executing on a particular medium because it mounted improperly Feb 14 20:22:32 aye, you can force mountpoints to not have exec for instance Feb 14 20:22:36 trying to remember what the exact problem was... it was missing exec in fstab or something Feb 14 20:22:50 Yeah, what he said ;-) Feb 14 20:23:14 hrmmm Feb 14 20:23:21 i see Feb 14 20:23:27 and i think you're right Feb 14 20:23:39 i have defaults,async,noauto Feb 14 20:23:41 so i'm missing exec Feb 14 20:27:38 even in /usr/bin/java, on my rootfs, bash will say no such file or directory ...even if permissions are a+x Feb 14 20:27:44 argh! Feb 14 20:28:35 Did you try strace with fully qualified name? Feb 14 20:28:40 yep Feb 14 20:28:54 I'm wondering if bash (or sh) is telling you no such file, or java is when executing Feb 14 20:29:00 it almost feels like a dangling symlink Feb 14 20:29:15 I *think* only noexec will prevent execution on a mount Feb 14 20:29:28 I think it is exec by default Feb 14 20:29:39 yeah, exec option changed nothing for me Feb 14 20:29:51 but a strace will say, Feb 14 20:29:53 execve("/media/card/opt/j2re1.4.2/bin/java", ["/media/card/opt/j2re1.4.2/bin/ja"...], [/* 14 vars */]) = -1 ENOENT (No such file or directory) Feb 14 20:29:53 strace: exec: No such file or directory Feb 14 20:29:53 Process 1242 detached Feb 14 20:30:28 Does it say the same thing if you give strace a garbage file name? Feb 14 20:30:37 i.e. one that really doesn't exist Feb 14 20:30:42 strace will say command not found Feb 14 20:30:51 for something that doesn't exist Feb 14 20:31:07 So it is not that java is failing to exec Feb 14 20:31:14 yeah Feb 14 20:31:20 it's there.... Feb 14 20:31:25 the problem is that it executes some external process for which the file isn't found Feb 14 20:31:41 what size is the java binary? Feb 14 20:31:54 although... that may just be back to the program executing as if it were a script Feb 14 20:32:22 Otherwise I would expect you to see strace output telling you the execv or whatever the java exe was trying to call before it fails Feb 14 20:32:58 java usually dlopens libjvm.so as part of Create_JavaVM() Feb 14 20:33:09 that may be what it can't find Feb 14 20:33:18 ENOENT means /media/card/opt/j2re1.4.2/bin/java is missing. What does ls say? Feb 14 20:33:20 java is 58752 bytes Feb 14 20:34:27 This is reaching, but you might redirect ls output to a file, then edit the file, to see if there are some weird characters in the name or something Feb 14 20:34:27 inwoo: when you extracted the tarball onto your card, sis you extracte verything? Feb 14 20:34:31 *did Feb 14 20:35:06 Stephmw, yep Feb 14 20:35:33 inwoo: try setting JAVA_HOME to /media/card/opt/j2re1.4.2/ Feb 14 20:35:46 The file owner shows as root on java, yes? Feb 14 20:36:00 wurp2, yes Feb 14 20:36:06 Stephmw, yep, to no avail Feb 14 20:36:57 it's like java doesn't exist, but i'ts there Feb 14 20:37:04 root:root with rwx on owner Feb 14 20:39:02 The file command found the file Feb 14 20:39:12 but executing it says file not found Feb 14 20:39:24 and strace shows that the file doesn't do anything before it fails Feb 14 20:40:37 maybe 'set -x' before invoking java? Feb 14 20:41:05 hrmm.. nope .. Feb 14 20:41:17 my shell keeps compaining that it cant find the file or directory Feb 14 20:42:04 I don't think it's your shell complaining Feb 14 20:42:18 at least, not the instance of the shell that your prompt is in Feb 14 20:42:28 otherwise ls would fail to find the file Feb 14 20:42:57 I can't ssh to my neo right now, but on my linux box strace always gives me some execv output Feb 14 20:43:27 Even if it's just for the filename. The only exception is when the file doesn't exist. Feb 14 20:44:03 e.g. if I run strace a.out, I get output like: execve("/home/wurp/bin/a.out", ["a.out"], [/* 24 vars */]) = 0 Feb 14 20:44:43 hrmm.. Feb 14 20:44:45 yeah Feb 14 20:44:50 inwoo: Did you try installing bash? Feb 14 20:44:58 wurp2, yep, same problem i had with sh Feb 14 20:45:14 But you can run bash and get a new prompt? Feb 14 20:45:17 something is *wrong* with this java distribution on arm. Feb 14 20:45:23 wurp2, yep i'm in bash Feb 14 20:45:53 Well, but something is also wrong with your neo, if running fully qualified files always fails Feb 14 20:46:34 wurp2, no, that actually works ... Feb 14 20:46:48 Oh, I thought you said earlier that it always failed for you Feb 14 20:46:58 strace /some/rubbish gives you something meaningful? Feb 14 20:46:58 it works in bash now :) Feb 14 20:47:24 root@fic-gta01:/opt/j2re1.4.2/bin# strace -e trace=process /poopers Feb 14 20:47:25 + strace -e trace=process /poopers Feb 14 20:47:25 strace: /poopers: command not found Feb 14 20:48:16 vs, java's case Feb 14 20:48:19 + strace -e trace=process /media/card/opt/j2re1.4.2/bin/java Feb 14 20:48:19 execve("/media/card/opt/j2re1.4.2/bin/java", ["/media/card/opt/j2re1.4.2/bin/ja"...], [/* 15 vars */]) = -1 ENOENT (No such file or directory) Feb 14 20:48:19 strace: exec: No such file or directory Feb 14 20:48:19 Process 1318 detached Feb 14 20:48:19 root@fic-gta01:/opt/j2 Feb 14 20:48:57 Ah, so you do at least see the execve for the strace Feb 14 20:49:14 inwoo: looks like it's an OABI binary. Do you have the gllin GPS driver installed? Feb 14 20:49:39 mmontour, i doubt i have that installed, is there an ipkg? Feb 14 20:50:10 pretty much off the shelf openmoko dist, with some phoneme stuff installed Feb 14 20:50:36 There's a package but you have to accept a click-through EULA to download it. It contains some OABI libraries that might help you, but you can also get those without gllin Feb 14 20:51:10 I have to bail - V day stuff to do Feb 14 20:51:26 thanks for the help wurp2|away Feb 14 20:51:45 mmontour, it states on the readme that i need a 100% linux compatible os, 2.6.8 or later with glibc version 2.3.3 Feb 14 20:51:50 for ARM. Feb 14 20:51:56 atleast ARM v5 - soft-float Feb 14 20:52:25 definately oabi Feb 14 20:52:55 Try downloading http://members.shaw.ca/mmontour/neo/gl_dir.tgz - it's an OABI chroot environment Feb 14 20:53:18 also, if you're curious, the ENOENT is probably from the missing linker, not from the binary itself (i.e. the dynamic linker referenced inside the binary doesn't exist) Feb 14 20:53:42 ah..~ Feb 14 20:54:02 is the moko kernel eabi+oabi? .. i'm not even sure what that is exactly Feb 14 20:54:21 it is unclear to most :-) but everything is becoming eabi, at least the open source stuff Feb 14 20:54:48 gllin is special, and hopefully-and-eventually disappearing Feb 14 20:55:20 The current OM distribution uses EABI, but you can also run OABI binaries if you have OABI system libraries Feb 14 20:55:30 Think of eabi/oabi as the calling convention between functions, libraries, etc -- i.e. what registers are used to pass in variables and receive results. Feb 14 20:55:32 heh .. great.. i wonder if it's even worth mucking with this .... maybe sun's embedded team will be nice enough to build one for an eabi environment Feb 14 20:56:02 depends on how much they care :/ i've no idea what android uses, if it uses eabi your chances are high Feb 14 20:56:03 but the goal is, chroot into this OABI env, with these libs, and hopefully the built j2re will work..~ Feb 14 20:56:09 Once you've unpacked that tarball I mentioned, you can try something like the following to run your app... Feb 14 20:56:19 mmontour, i got it unpacked. Feb 14 20:56:28 /home/root/gl_dir/lib/ld-linux.so.2 --library-path /home/root/gl_dir/lib:/home/root/gl_dir/usr/lib /path/to/whatever Feb 14 20:56:35 inwoo: historically... no, Sun's team rarely does custom builds unless there's a contract Feb 14 20:57:18 Stephmw, figures, i have very little use for the j2re on arm anyway, except to get this one piece working, but i might just resort to making a c implementation and forgetting about this JVM . Feb 14 20:57:51 inwoo: what about the others, no use? Feb 14 20:58:02 mmontour, /path/to/whatever being...? Feb 14 20:58:17 /path/to/your/java/binary Feb 14 20:58:23 being the OABI binary you want to run Feb 14 20:58:29 Stephmw, well, maybe that was selfish to say, however, i don't think the moko team will care unless they release the src to build j2re Feb 14 20:58:45 on arm. Feb 14 20:59:03 iirc IcedTea is where that work is being done Feb 14 20:59:06 sleep time sija all Feb 14 21:03:49 mmontour, it works more so than before Feb 14 21:03:53 now it cannot find libjava.so Feb 14 21:05:32 The --library-path tells it where to look for libraries, so try adding the directory containing libjava.so to the end of that path Feb 14 21:05:51 odd, libjava.so is not packaged into this j2re-arm pacakge... Feb 14 21:06:51 The "libjava.so" itself may be a generated symlink to "libjava.so.1.2.3" or similar. Feb 14 21:07:33 nothing even remotely close to libjava. Feb 14 21:07:38 anywhere...odd Feb 14 21:08:20 Unfortunately I can't help you with that. Feb 14 21:08:39 on my desktop it's in /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libjava.so Feb 14 21:09:04 yeah, similarly, it's in the JAVA_HOME/lib/arm directory.. or actually it SHOULD be Feb 14 21:09:05 but it's missing Feb 14 21:09:12 eek! Feb 14 21:09:20 mmontour, thanks for the oabi help! Feb 14 21:09:26 np Feb 14 21:09:30 i'm going to beat this into submission somehow Feb 14 21:24:35 ...lol Feb 14 21:24:42 maybe i got a corrupt image, but Feb 14 21:24:45 root@ppp::44:65534:Linux User,,,:/dev/null:/usr/sbin/ppp-dialin:~$ hostname Feb 14 21:24:45 ppp::44:65534:Linux User,,,:/dev/null:/usr/sbin/ppp-dialin Feb 14 21:24:50 ~_~ Feb 14 21:24:51 :/ Feb 14 21:24:59 that's quite the hostname Feb 14 21:25:25 a strange hybrid of IPv6 and names! Feb 14 21:33:20 not ipv6 - it's out of password Feb 14 21:33:24 passwd Feb 14 21:33:38 /etc/passwd Feb 14 22:11:56 inwoo: if it's built for ARMv5, it might not work well on the neo... since the neo is ARMv4T Feb 14 22:12:34 cesarb, ack you're kidding Feb 14 22:16:59 inwoo: from my own cpufreq code: if cpu_architecture() >= CPU_ARCH_ARMv5, it's not a neo Feb 14 22:17:44 cesarb, heh, no need to bother sun, since i don't think we can front the cash to make a moko built version of s2re Feb 14 22:17:47 j2re* Feb 14 22:17:50 inwoo: older ARM architectures are cheaper, I don't know if it's because they use less transistors or because ARM artificially inflates the prices Feb 14 22:18:20 inwoo: actually, j2re source code is mostly available (google openjdk and icedtea) Feb 14 22:18:37 inwoo: so it's possible to compile your own (and it wouldn't be 1.4.2, but 1.6.0+) Feb 14 22:18:51 cesarb, are there some j2re's that work under moko presently? Feb 14 22:19:00 inwoo: there's also gcj/gij... and for j2me, phoneme Feb 14 22:19:15 inwoo: I'd expect gcj/gij to work already Feb 14 22:19:17 yeah i have phoneme working ,but need a real CDC Feb 14 22:19:42 inwoo: also check kaffe and that mono one (forgot its name) Feb 14 22:24:08 cesarb, thanks, i'll check it out Feb 14 22:24:29 i'll be happy if i can run a jar file inside moko, just commandline... from ANY runtime environment Feb 14 22:24:41 inwoo: lol Feb 14 22:25:01 inwoo: try gij, if it compiles there's a good chance it will run at least hello world from the command line :D Feb 14 22:28:13 there should be .bb recipes for cacaovm and jamvm iirc Feb 14 22:28:30 Stephmw, Can you direct me? Feb 14 22:29:38 inwoo: well, if you've been depending on ipkgs, .bb are perhaps a jump too far - they're the recipes that openembedded uses to build the software Feb 14 22:29:52 Stephmw, nope, been building PhoneME via bb all along Feb 14 22:30:11 i'll be happy to drop it into my build, and reflash Feb 14 22:30:18 inwoo: then hunt around the repo for those two others - I haven't built them myself Feb 14 22:30:36 Stephmw, alright i'll look, it seemed like you already went down that path. Feb 14 22:31:08 inwoo: I've just got triggers to keep track of that stuff in here :) Feb 14 22:52:46 sort of random non-moko question Feb 14 22:53:10 can nc (netcat) send a packet ... a raw datagram? Feb 14 23:35:21 hrm... seems like nc is crippled in the included version in moko Feb 14 23:38:04 It's probably the busybox version. Feb 14 23:38:09 it is... Feb 14 23:38:20 couldn't find a non-crippled version ..~ Feb 14 23:38:25 i guess need to make a bb Feb 14 23:38:31 Probably. Feb 14 23:38:53 But you might like to make sure that nc will do what you need it to do first. Feb 14 23:39:01 it will Feb 14 23:39:04 figured it out Feb 14 23:39:11 just the busybox implementation won't do UDP Feb 14 23:39:11 (usually you can do what it does with a perl or python script pretty easily) Feb 14 23:39:25 hrm Feb 14 23:39:39 perhaps there should be an easy perl version to send some datagrams Feb 14 23:40:37 or python that is Feb 14 23:52:57 mwester, well damn python doesn't include socket module in moko Feb 15 00:01:06 hrm, seems like the least path of resistance is to get a more recent version of busybox onto moko... Feb 15 00:08:52 inwoo: or perhaps stop using busybox and use the GNU tools like everyone else ;-) Feb 15 00:10:24 It's only got 64M of base ROM Feb 15 00:10:26 ... Feb 15 00:12:17 inwoo, there is something in one of the buglog reports (MickeyL?) about busybox coming soon,..... Feb 15 00:12:45 It's too bloated as is; we should be using busybox whereever possible, and limit the full GNU apps to the set required for the (few) key apps for the phone. Feb 15 00:12:56 SpeedEvil: it was a joke, in case you didn't notice ;-) Feb 15 00:13:20 Things like gpsd can go on the SD card, along with the full nc utility (who ever uses NC??) Feb 15 00:13:46 * mwester looks at the crapola that got rammed into the current image, and wonders why o why did that happen? Feb 15 00:15:22 So now we get twice the work to *remove* crap, 'cause we all know that it's far far harder to take stuff out than it would have been to have turned it into an ipkg install in the first place... Feb 15 00:15:50 mwester: one tends to ask "why o why" a lot when working with OE ;-) Feb 15 00:16:09 But I'm just ranting, because right now the SD card is unusable with the new kernel, so it's a moot point! ;) Feb 15 00:16:43 that's handy! Feb 15 00:21:35 cesarb, is there a bb package for the the full gnu tools? or a ipkg? Feb 15 00:22:53 yes Feb 15 00:22:58 ipkg install err Feb 15 00:23:08 ipkg install binutils? Feb 15 00:23:23 SpeedEvil: more like coreutils... Feb 15 00:23:28 yeah Feb 15 00:24:34 got ya. Feb 15 00:26:47 Well, it depends on the tool you're looking for. coreutils is good, procps has a lot of others that folks find valuable. Feb 15 00:27:34 inetutils actually builds, but I don't know that it's in the feeds for the neo... Feb 15 00:27:39 wait , seems like ipkg is having some "already registered" errors, do i need to remove busybox? Feb 15 00:27:58 for insatlling coreutils? Feb 15 00:29:49 Oh, don't try to uninstall busybox; bad things will happen. You might be able to tell ipkg to force the install overtop the busybox symlinks. Feb 15 00:30:03 ah Feb 15 00:30:14 i can't seem to find updated nc in coreutils.... :-/ Feb 15 00:30:18 But if the behavior is different in a manner that would cause the startup scripts to fail, doing that may render your neo unbootable. :( Feb 15 00:30:33 No, I don't think nc is in coreutils. I can't find it in inetutils either. Feb 15 00:31:05 nc is also called netcat Feb 15 00:31:25 i know that atleast 1.7 busybox has an updated version of nc i'm looking for.... but seems like it installed 1.2.0.... anyway to get that to build? since all the bitbake files seem to be in place for a newer version? Feb 15 00:32:20 You would have to set the preferred version to select the newer busybox version. then you would need to debug the boot and anything else that would fail because of changes or bugs in the new busybox. Feb 15 00:32:52 mwester, where is that set? Feb 15 00:33:02 Busybox has a bad repuation for introducing a new set of major bugs with each new version, and since busybox utilities are central to the boot process itself, these bugs often manifest as images that won't boot. Feb 15 00:33:22 inwoo: somewhere in your build tree. grep for "busybox" Feb 15 00:34:41 i'll probably just end up building the latest nc, and scp-ing it over, and call it a day.. for now Feb 15 00:34:42 inwoo: it would be safer if you just tried to build netcat. Feb 15 00:35:07 as a new bitbake? Feb 15 00:35:15 Busybox is up to 1.9.1 in bleeding-edge OE Feb 15 00:35:44 hi inwoo you can try http://celtune.morb-design.com/ipk/armv4t/netcat_0.7.1-r1_armv4t.ipk Feb 15 00:35:58 Marcel_M, woot.. i'll try that Feb 15 00:37:37 works great!... Feb 15 00:37:46 inwoo: cool :) Feb 15 00:37:47 donno why i couldn't find that before~ Feb 15 01:10:24 Marcel_M, Seems like this netcat can't send any datagrams :-/ Feb 15 01:20:26 inwoo: sorry did't know that :( Feb 15 01:22:59 Marcel_M, that's all good... heh i'm going to just build busybox 1.7.2 ;-) Feb 15 01:24:52 :) Feb 15 01:32:19 openmoko: 03werner * r4063 10/trunk/src/host/norwp/ (. Makefile README norwp.c): Feb 15 01:32:19 openmoko: norwp is a small utility to set and query the GTA02's NOR_WP line through the Feb 15 01:32:19 openmoko: debug v3 board. **** ENDING LOGGING AT Fri Feb 15 02:59:56 2008