2010-11-29 01:53 wpwrak_: bus driver game: yeah :D.. and buenos aires would be definitely more exiting than that tokio version 2010-11-29 01:53 :) 2010-11-29 04:48 rafa_: "combat driver" ;-) 2010-11-29 07:01 [commit] Xiangfu Liu: cleanup output message, output the flash process http://qi-hw.com/p/xburst-tools/4960824 2010-11-29 07:02 xiangfu: I saw you packaged links for openwrt 2010-11-29 07:02 I'm trying to cross-build links too (not in openwrt), and I need to patch it otherwise it checks for openssl using the native compiler, not the cross compiler. Did you try to add openssl support into it, maybe? 2010-11-29 07:02 (I see openwrt does not build links with openssl support) 2010-11-29 07:29 viric: I just make it compile.  doesn't tried openssl. 2010-11-29 07:31 wpwrak_: ;-)) 2010-11-29 07:59 xiangfu: ok 2010-11-29 08:10 viric: links's configure script detects openssl automatically in openwrt environment 2010-11-29 08:10 therefore, build fine and with openssl 2010-11-29 08:11 hm 2010-11-29 08:11 weird 2010-11-29 08:11 I've read its 'configure', and it clearly says to use the native gcc 2010-11-29 08:11 instead of the host gcc 2010-11-29 08:11 what' line? 2010-11-29 08:12 1min 2010-11-29 08:14 it's my fault I think :) 2010-11-29 08:15 it calls CC-cc 2010-11-29 08:15 ${CC-cc} 2010-11-29 08:17 hmm 2010-11-29 08:17 that is 'gcc', isn't it? 2010-11-29 08:18 i'm not sure where you found that.. 2010-11-29 08:18 So... 2010-11-29 08:19 I think that 'links' configure script checks if your build-system gcc links properly with the build-system openssl 2010-11-29 08:19 but you made a good point anywy, the openssl dependency should be added explicitely 2010-11-29 08:19 instead of checking the cross-built 2010-11-29 08:19 just in case if links is built BEFORE openssl 2010-11-29 08:19 kyak: can you try to rename temporarily your build-system "/usr/include/openssl" ? 2010-11-29 08:20 and see if links builds with SSL? 2010-11-29 08:22 what do you mean? 2010-11-29 08:22 yes, you are right, it succeeds at line echo "configure:5183: checking for OpenSSL" >&5 2010-11-29 08:22 so it tries to link against openssl 2010-11-29 08:22 from build system 2010-11-29 08:22 it's their bug, right? 2010-11-29 08:23 no, why? 2010-11-29 08:23 hm 2010-11-29 08:23 you said 'you are right' :) 2010-11-29 08:23 i said it in regards to "I think that 'links' configure script checks if your build-system gcc links properly with the build-system openssl 2010-11-29 08:23 oh, ok :) 2010-11-29 08:24 do you understand the difference about the 'build system' and the 'host system'? :) 2010-11-29 08:24 by "build system" i understood the openwrt build envoronment 2010-11-29 08:24 ahh no 2010-11-29 08:24 yes, i understand the build-host-target thing 2010-11-29 08:25 ok 2010-11-29 08:27 5 minutes... I'll try to reproduce what I had yesterday 2010-11-29 08:27 (thank you for the effort :) 2010-11-29 12:43 kyak: I'll go building that links again... 2010-11-29 12:44 kyak: So, at configure:5183: checking for OpenSSL 2010-11-29 12:44 the next line (in config.log) says:configure:5194: gcc -o conftest -g -O2   .... 2010-11-29 12:45 ah it also says 2010-11-29 12:45 checking for gcc... gcc 2010-11-29 12:46 It's not getting the cross compiler at all. humm 2010-11-29 12:46 It looks like ignoring --build and --host 2010-11-29 12:56 viric: pretty strange! 2010-11-29 12:57 i guess your environment doesn't set necessary variables 2010-11-29 12:57 it needs CC set to the cross compiler 2010-11-29 12:57 (it's not usual at all in autoconf packages! I never did that before) 2010-11-29 12:57 dunno, like GCC 2010-11-29 12:58 usually the configure script understands "--host" 2010-11-29 12:58 in operwrt, it is started with a bunch of env. variables 2010-11-29 12:58 clear. Now I'm successing...  I just noticed it needs directfb though. :) 2010-11-29 12:58 so you might want to override some of them 2010-11-29 13:00 does links look good in the nanonote? 2010-11-29 13:00 kyak: in the qemu, did you manage to set the same resolution as the nanonote? 2010-11-29 13:06 argh. "links -g" says 'unsupported color depth' in the nanonote 2010-11-29 13:10 kyak: you have links with "-driver fb" or "-driver directfb"? 2010-11-29 13:29 viric: not using links on Ben ;) 2010-11-29 13:29 though might wannt try its graphic mode 2010-11-29 13:29 go on go on :) 2010-11-29 13:30 I found xiangfu probliems like mine: http://www.mail-archive.com/directfb-dev@directfb.org/msg08450.html 2010-11-29 13:30 viric: qemu has the same resolution.. i guess it is because app have such resolution by default (like gmenu etc) 2010-11-29 13:30 ah 2010-11-29 13:31 links is a good target, btw 2010-11-29 13:31 though w3m also has image support 2010-11-29 13:31 (i'm not sure it's working on fb) 2010-11-29 13:38 I'm trying newer directfb and links 2010-11-29 13:40 bah. same result. 2010-11-29 13:45 it's reproducible, good ;) 2010-11-29 14:29 kyak: It was already reproducible. It's a pity that upgraading all pieces it's still reproducible! :) 2010-11-29 14:35 kyak: did you just mention qemu? 2010-11-29 14:36 bartbes: i guess so :) 2010-11-29 14:36 do you emulate the full system, or are you just running the binaries? 2010-11-29 14:42 kyak: how did you enable the keyboard input in your malta? 2010-11-29 14:42 bartbes: the full system, but it's not Ben. it's malta board. you can search the mail lists, viric pretty much explained how he did that 2010-11-29 14:43 so how close to the ben is that? 2010-11-29 14:43 viric: i enabled pretty much every keyboard ;) 2010-11-29 14:43 I mean, if it works in qemu, will it work on the ben? 2010-11-29 14:43 bartbes: http://downloads.qi-hardware.com/people/kyak/tmp/QEMU.png 2010-11-29 14:43 that looks too epic to not do 2010-11-29 14:43 bartbes: it's just the kernel that it differenet, everything else us the same 2010-11-29 14:43 kyak: hehe. I pressed some keys, and it started to work, somehow. 2010-11-29 14:44 but that can still cause incompatibilities ;) 2010-11-29 14:44 but if libc etc is the same then I guess it's all binary compatible 2010-11-29 14:46 it's 100 % the same, it uses the same rootfs 2010-11-29 14:46 only the kernel is differenet.. but since it's still mips, who cares 2010-11-29 14:48 :) 2010-11-29 14:48 you enjoy the ubi boot, eh? :) 2010-11-29 14:49 it works fine here too. 2010-11-29 14:49 I'm trying links there now.. 2010-11-29 14:51 viric: no, i'm copying the rootfs to ext2 image :) 2010-11-29 14:51 ah stupid me 2010-11-29 14:51 the keyboard does not work. I simply had typed ctrl-alt-3, and went to the serial port. hehe 2010-11-29 14:51 kyak: ahhh bad. 2010-11-29 14:53 19:28 < viric> I found xiangfu probliems like mine: 2010-11-29 14:53                http://www.mail-archive.com/directfb-dev@directfb.org/msg08450.html 2010-11-29 14:53 19:28 < kyak> viric: qemu has the same resolution.. i guess it is because app have such 2010-11-29 14:53               resolution by default (like gmenu etc) 2010-11-29 14:53 19:28 < viric> ah 2010-11-29 14:53 19:29 < kyak> links is a good target, btw 2010-11-29 14:53 19:29 < kyak> though w3m also has image support 2010-11-29 14:53 19:29 < kyak> (i'm not sure it's working on fb) 2010-11-29 14:53 19:33 -!- kilae [~chatzilla@catv-161-018.tbwil.ch] has joined #qi-hardware 2010-11-29 14:53 19:36 < viric> I'm trying newer directfb and links 2010-11-29 14:54 19:38 < viric> bah. same result. 2010-11-29 14:54 19:43 < kyak> it's reproducible, good ;) 2010-11-29 14:54 19:44 -!- heberth [~heberth@190.97.69.91] has joined #qi-hardware 2010-11-29 14:54 19:59 -!- mirko [~mirko@p5DDBB020.dip.t-dialin.net] has quit [Quit: leaving] 2010-11-29 14:54 20:01 -!- bassel [~bassel@178.171.133.151] has quit [Ping timeout: 240 seconds] 2010-11-29 14:54 20:02 -!- bassel [~bassel@178.171.133.151] has joined #qi-hardware 2010-11-29 14:54 20:20 -!- bassel [~bassel@178.171.133.151] has quit [Ping timeout: 240 seconds] 2010-11-29 14:54 20:27 < viric> kyak: It was already reproducible. It's a pity that upgraading all pieces it's 2010-11-29 14:54                still reproducible! :) 2010-11-29 14:54 20:33 < bartbes> kyak: did you just mention qemu? 2010-11-29 14:54 20:34 < kyak> bartbes: i guess so :) 2010-11-29 14:54 20:34 < bartbes> do you emulate the full system, or are you just running the binaries? 2010-11-29 14:54 20:35 -!- SiENcE [~home@g225018047.adsl.alicedsl.de] has joined #qi-hardware 2010-11-29 14:54 20:40 < viric> kyak: how did you enable the keyboard input in your malta? 2010-11-29 14:54 20:40 < kyak> bartbes: the full system, but it's not Ben. it's malta board. you can search the 2010-11-29 14:54               mail lists, viric pretty much explained how he did that 2010-11-29 14:54 20:41 < bartbes> so how close to the ben is that? 2010-11-29 14:54 20:41 < kyak> viric: i enabled pretty much every keyboard ;) 2010-11-29 14:54 ?! 2010-11-29 14:54 20:41 < bartbes> I mean, if it works in qemu, will it work on the ben? 2010-11-29 14:54 20:41 < kyak> bartbes: http://downloads.qi-hardware.com/people/kyak/tmp/QEMU.png 2010-11-29 14:54 20:41 < bartbes> that looks too epic to not do 2010-11-29 14:54 20:41 < kyak> bartbes: it's just the kernel that it differenet, everything else us the same 2010-11-29 14:55 20:42 < viric> kyak: hehe. I pressed some keys, and it started to work, somehow. 2010-11-29 14:55 20:42 < bartbes> but 2010-11-29 14:55 OUCH! 2010-11-29 14:55 sorry 2010-11-29 14:55 my mouse got mad 2010-11-29 14:58 by the way, with qemu, it should be possible to run MIPS binaries directly on the x86 host. that way, one could set up a mixed environment, with the qemu system but the cross-toolchain compiled for a x86 host. that way, disto-builders could run natively. 2010-11-29 14:58 i've heard there's some distribution that uses this, but i don't remember which 2010-11-29 14:58 viric: you don't happen to have a ready-made (clean) qemu image for me? :P 2010-11-29 14:58 wpwrak_: yeah, that's why I asked, this solution is way cooler though 2010-11-29 14:58 bartbes: I run directly ubifs images 2010-11-29 14:59 but I only have the serial port working... 2010-11-29 14:59 I've to find what keyboard to enable 2010-11-29 14:59 wpwrak_: mips binaries work fine for me, with qemu-mipsel 2010-11-29 15:00 and nanonixos builds as well for i686, for arm or for mipsel ;) 2010-11-29 15:01 (spam) 2010-11-29 15:01 bartbes: which is cooler - what i described or some other "this" ? :) 2010-11-29 15:01 bartbes: I sent to the list, how to run ubifs images in qemu. 2010-11-29 15:02 (I had to restart the X server. The mouse got mad totally) 2010-11-29 15:02 viric: yeah, but it involved compiling a kernel and creating a ubifs image :P 2010-11-29 15:02 hm 2010-11-29 15:03 the image, you can take any of openwrt or jlime 2010-11-29 15:03 viric: the idea is to run the toolchain natively on x86, to avoid the performance penalty of emulation 2010-11-29 15:03 wpwrak_: all run the toolchain in x86, isn't it? 2010-11-29 15:03 wpwrak_: or what do you call 'the toolchain'? 2010-11-29 15:04 viric: gcc and friends 2010-11-29 15:04 Do you run that emulated!? 2010-11-29 15:04 viric: basically everything that burns cycles when building a distro :) 2010-11-29 15:04 I can't believe 2010-11-29 15:04 wpwrak_: but the cool thing about running it as a VM is.. well, it's a working system! :P 2010-11-29 15:05 viric: the idea is to have a cross-compiler but to run things as if on MIPS 2010-11-29 15:05 bartbes: but you gcc is then emulated, right ? i.e., it's slower than a cross-gcc compiled for your host 2010-11-29 15:05 What will there be of mips, in your "as if on mips"? 2010-11-29 15:06 wpwrak_: noone uses an emulator to build anything, I think 2010-11-29 15:06 (for the nanonote) 2010-11-29 15:06 wpwrak_: I don't want to run it for the compiler 2010-11-29 15:07 viric: the userland, minus the exceptions you make. you'd have a MIPS tree you could chroot to. if you try to run a  MIPS executable, qemu takes care of that, via binfmt_misc 2010-11-29 15:08 bartbes: then it makes sense. what i'm referring to is to run a build without explicitly having to configure all the packages for cross-development 2010-11-29 15:09 bartbes: or, for building unpackaged things from sources, without special arrangements for cross-development 2010-11-29 15:09 e.g., if the build process compiles something and also runs it, that would then be a MIPS binary and run under qemu 2010-11-29 15:09 I mostly want it for testing 2010-11-29 15:09 wpwrak_: ahh you want to do a native build 2010-11-29 15:10 wpwrak_: as if on a super-power mips 2010-11-29 15:10 viric: do you have network connection to your qmeu system?.. does it have interent connection too? 2010-11-29 15:10 yeah :) 2010-11-29 15:10 so is there nobody who actually has a ready-made VM for me? :P 2010-11-29 15:10 rafa_: yes 2010-11-29 15:10 rafa_: I use -net user now though. 2010-11-29 15:10 viric: cool.. so you do not just have serial.. you can ssh to your qemu system right? 2010-11-29 15:10 rafa_: yes 2010-11-29 15:11 nice ;) 2010-11-29 15:11 rafa_: and I have framebuffer going fine 2010-11-29 15:11 rafa_: but not the keyboard! :) 2010-11-29 15:11 hmm, I wonder though... 2010-11-29 15:11 viric: well.. almost complete :) 2010-11-29 15:11 the image was mpc, right? 2010-11-29 15:11 I'll try enabling CONFIG_KEYBOARD_XTKBD 2010-11-29 15:11 *has 2010-11-29 15:11 what is mpc? 2010-11-29 15:11 a client for mpd 2010-11-29 15:11 the Music Player Daemon 2010-11-29 15:11 ah 2010-11-29 15:12 I don't use it 2010-11-29 15:12 anyway, I wondered whether I could easily stream the audio as well 2010-11-29 15:12 I guess I could poke around.. if I weren't lazy :P 2010-11-29 15:12 btw, what kernel source do you use? do you use the xburst source tree, or get one from kernel.org, or even somewhere else? 2010-11-29 15:13 rafa_: I don't simply have a qemu system; 'nanonixos' can build an image for qemu, a rootfs for the nanonote (+ kernel + uboot), or it can write an "update" to a running nanonote system. 2010-11-29 15:14 viric: I do not know nanonixos.. sorry.. which is the idea to build uboot?.. you mean .. for nn? 2010-11-29 15:14 rafa_: yes. I don't like to depend on prebuilt binaries ;) 2010-11-29 15:16 viric: I am not a fan of building systems to build kernel, rootfs and uboot (bootloaders).. I like openwrt/OE/other building systems to build repositories for specific archs and kind of devices (for example.. the packages which openwrt/OE buildfor mobile devices) 2010-11-29 15:16 viric: but, for bootloaders, kernels, rootfs.. I like to have a proper standar way 2010-11-29 15:16 :) 2010-11-29 15:16 Well 2010-11-29 15:16 I have my proper standard way 2010-11-29 15:17 kyak: you don't happen to feel like sending me the stuff to run a 'ben' VM? 2010-11-29 15:17 rafa_: http://vicerveza.homeunix.net/~viric/cgi-bin/nanonixos 2010-11-29 15:18 viric: yeah :).. just that all the people are liking openwrt/OE/etc... for thinkgs like building kernels, bootloaders, rootfs.. which I find hard to port between those systems 2010-11-29 15:18 viric: "my standard" ;-) 2010-11-29 15:18 wpwrak_: exactly! :) 2010-11-29 15:18 Time for supper. 2010-11-29 15:18 viric: are you from poland? 2010-11-29 15:19 rafa_: haha let's say that the spaniards think so :) 2010-11-29 15:19 rafa_: I'm catalan 2010-11-29 15:19 :D 2010-11-29 15:20 haha.. some devs from jlime, from poland, have those "time for supper" as well :) 2010-11-29 15:21 "hora de sopar", in catalan 2010-11-29 15:21 viric: barcelona vs real madrid right now 2010-11-29 15:59 rafa_: ah yes. 2010-11-29 15:59 rafa_: I'm not a fan of football :) 2010-11-29 16:44 kyak: I think I may need SERIO_PCIPS2 to get the keyboard 2010-11-29 16:44 rebuilding. 2010-11-29 17:26 Argh 2010-11-29 17:26 I just noticed the down arrow does not do anything in my nanonote 2010-11-29 17:26 even 'showkey' does not show any number 2010-11-29 17:26 ahhh I have to press it strongly 2010-11-29 18:46 kyak: got it! CONFIG_SERIO_I8042 gave the keyboard. 2010-11-29 20:09 prinitng rafless a gift for hollidalys 2010-11-29 20:10 if it get good shape i can try wpan case again later :)