2011-10-24T00:31:11 *** arvind_k has joined #rtems 2011-10-24T00:31:44 *** arvind_k is now known as arvind_khadri 2011-10-24T00:32:04 *** arvind_khadri has joined #rtems 2011-10-24T02:15:01 *** demute has quit IRC (Ping timeout: 240 seconds) 2011-10-24T02:17:17 *** demute has joined #rtems 2011-10-24T04:44:24 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-24T05:33:00 *** methril_work has joined #rtems 2011-10-24T09:09:36 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-24T09:22:13 *** arvind_khadri has joined #rtems 2011-10-24T09:41:48 *** xiangfu has joined #rtems 2011-10-24T10:04:00 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-24T10:34:08 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2011-10-24T11:18:12 *** antgreen has joined #rtems 2011-10-24T11:27:25 *** kristianpaul has quit IRC (Ping timeout: 240 seconds) 2011-10-24T11:55:04 *** kristianpaul has joined #rtems 2011-10-24T12:21:38 *** arvind_khadri has joined #rtems 2011-10-24T13:55:42 *** arvind_khadri has quit IRC (Read error: Operation timed out) 2011-10-24T14:07:37 *** arvind_khadri has joined #rtems 2011-10-24T14:07:38 *** arvind_khadri has joined #rtems 2011-10-24T14:18:47 *** antgreen has quit IRC (Remote host closed the connection) 2011-10-24T14:20:48 *** antgreen has joined #rtems 2011-10-24T15:56:47 *** arvind_khadri has quit IRC (Ping timeout: 248 seconds) 2011-10-24T15:56:50 *** arvind_k has joined #rtems 2011-10-24T16:11:50 *** arvind_k has quit IRC (Quit: Leaving) 2011-10-24T18:08:48 *** methril has quit IRC (Ping timeout: 240 seconds) 2011-10-24T18:19:08 *** neo1987___ has joined #rtems 2011-10-24T18:19:13 hello 2011-10-24T18:21:34 *** methril has joined #rtems 2011-10-24T18:23:48 hello 2011-10-24T18:24:25 *** neo1987___ has left #rtems 2011-10-24T20:09:21 *** xiangfu has joined #rtems 2011-10-24T20:23:38 *** xiangfu has quit IRC (Ping timeout: 256 seconds) 2011-10-24T20:26:10 *** xiangfu has joined #rtems 2011-10-24T20:30:37 hmm 2011-10-24T22:16:27 *** kiwichris has joined #rtems 2011-10-24T22:49:19 *** kiwichris_ has joined #rtems 2011-10-24T22:50:10 *** kiwichris has quit IRC (Ping timeout: 265 seconds) 2011-10-24T23:38:30 *** kiwichris_ has quit IRC (Ping timeout: 265 seconds) 2011-10-24T23:43:55 *** kiwichris_ has joined #rtems 2011-10-25T00:00:01 *** kiwichris_ has quit IRC (Quit: This computer has gone to sleep) 2011-10-25T00:05:36 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-25T00:06:07 *** arvind_khadri has joined #rtems 2011-10-25T00:06:07 *** arvind_khadri has joined #rtems 2011-10-25T00:18:05 *** xiangfu has joined #rtems 2011-10-25T00:28:08 *** antgreen has quit IRC (Ping timeout: 276 seconds) 2011-10-25T04:41:29 *** xiangfu has quit IRC (Ping timeout: 258 seconds) 2011-10-25T04:41:59 *** neo1987___ has joined #rtems 2011-10-25T04:42:02 hello 2011-10-25T04:45:08 is there 2011-10-25T04:45:10 anyone 2011-10-25T04:47:18 can you tell me the channel ov rtems-testing project? 2011-10-25T05:29:09 I would know the right version of qemu to use rtems-testing scripts 2011-10-25T05:29:22 please it is important 2011-10-25T05:30:56 you will have to wait until someone shows up 2011-10-25T05:31:02 everyone is sleeping it is 3:30am here. 2011-10-25T05:35:24 ah here are 12:34 now, where are you from? 2011-10-25T05:40:37 *** neo1987___ has quit IRC (Ping timeout: 240 seconds) 2011-10-25T05:42:12 *** neo1987___ has joined #rtems 2011-10-25T05:59:35 *** neo1987___ has quit IRC () 2011-10-25T06:02:34 *** neo1987___ has joined #rtems 2011-10-25T06:06:28 *** neo1987___ has quit IRC (Client Quit) 2011-10-25T06:18:28 *** neo1987___ has joined #rtems 2011-10-25T06:19:58 *** neo1987___ has quit IRC (Remote host closed the connection) 2011-10-25T06:20:23 *** neo1987___ has joined #rtems 2011-10-25T06:27:47 time neo1987___ 2011-10-25T06:53:25 *** neo1987___ has quit IRC (Ping timeout: 240 seconds) 2011-10-25T07:04:36 *** neo1987___ has joined #rtems 2011-10-25T07:39:01 *** neo1987___ has quit IRC (Ping timeout: 240 seconds) 2011-10-25T07:48:53 *** neo1987___ has joined #rtems 2011-10-25T08:08:14 neo1987__: don't know about rtems testing project ... do they really have their own irc channel? 2011-10-25T08:08:50 seems hardly needed a separate channel since this one has not much traffic 2011-10-25T08:19:11 ok i only would know what version of qemu has to be installed to use rtems-testing scripts 2011-10-25T08:19:44 do_coverage script doesn't run with the last version of qemu 2011-10-25T08:22:11 if someone has used that script with pc386 BSP almost once he/she could help me 2011-10-25T08:48:26 *** xiangfu has joined #rtems 2011-10-25T08:56:38 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2011-10-25T09:35:13 neo1987__: sorry don't knwo anything about qemu and the testting stuff 2011-10-25T09:35:57 try the mailinglist for your question ... much more listeners there than here 2011-10-25T09:48:00 already done, but I have not received any answer 2011-10-25T10:33:35 *** xiangfu has quit IRC (Ping timeout: 248 seconds) 2011-10-25T11:16:37 hello 2011-10-25T11:31:33 *** pzagor has joined #rtems 2011-10-25T11:39:22 *** pzagor has quit IRC (Quit: Page closed) 2011-10-25T13:46:26 *** gedare has joined #rtems 2011-10-25T14:45:26 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-25T16:50:49 *** neo1987___ has quit IRC () 2011-10-25T17:44:35 *** neo1987___ has joined #rtems 2011-10-25T17:47:56 *** neo1987___ has quit IRC (Remote host closed the connection) 2011-10-25T19:41:07 *** kiwichris has joined #rtems 2011-10-25T19:42:11 *** xiangfu has joined #rtems 2011-10-25T22:06:25 *** xiangfu has quit IRC (Ping timeout: 252 seconds) 2011-10-25T22:47:57 *** arvind_khadri has joined #rtems 2011-10-25T22:56:24 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-25T23:08:53 *** arvind_khadri has joined #rtems 2011-10-26T01:49:06 *** xiangfu has joined #rtems 2011-10-26T01:54:20 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2011-10-26T02:05:04 *** xiangfu has joined #rtems 2011-10-26T02:05:25 *** xiangfu has joined #rtems 2011-10-26T02:22:24 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2011-10-26T02:31:18 *** kiwichris has joined #rtems 2011-10-26T02:33:04 *** juli1- has quit IRC (Ping timeout: 248 seconds) 2011-10-26T02:56:22 *** juli1- has joined #rtems 2011-10-26T03:13:02 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2011-10-26T03:23:44 *** kiwichris has joined #rtems 2011-10-26T03:34:35 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2011-10-26T08:54:16 *** arvind_khadri has quit IRC (Ping timeout: 244 seconds) 2011-10-26T09:09:24 *** arvind_khadri has joined #rtems 2011-10-26T09:55:20 *** lcpfnvcy has quit IRC (Ping timeout: 276 seconds) 2011-10-26T09:56:24 *** lcpfnvcy has joined #rtems 2011-10-26T10:04:13 *** lcpfnvcy has quit IRC (Ping timeout: 240 seconds) 2011-10-26T10:06:25 *** lcpfnvcy has joined #rtems 2011-10-26T10:16:26 *** gedare has joined #rtems 2011-10-26T10:26:52 good morning #rtems. 2011-10-26T10:46:44 *** antgreen has joined #rtems 2011-10-26T10:53:44 *** xiangfu has quit IRC (Quit: Leaving) 2011-10-26T11:19:21 hi gedare good evening ;-) 2011-10-26T11:32:12 peerst: is your device doing well? 2011-10-26T11:32:41 yeah, its pretty much done 2011-10-26T11:32:49 needs to be sold now 2011-10-26T11:33:13 and prettyfied, gui on the screen, optimized and customized and whatnot 2011-10-26T11:34:00 btw: during my next project I'll port Erlang on top of RTEMS 2011-10-26T11:34:45 which should be a nice mix of hard-rt with dynamic soft-rt and RTEMS + Erlangs robustness 2011-10-26T11:49:14 peerst: sounds like a nice combination. and I'm glad to hear your basic work is done 2011-10-26T11:49:57 peerst: I'm working primarily on memory protection right now 2011-10-26T11:50:36 hmm also nice for robustness 2011-10-26T11:50:37 You implemented usb for your device, right? was it with a full usb stack from somewhere? 2011-10-26T11:50:42 or did you just roll-your-own 2011-10-26T11:50:49 roll my own 2011-10-26T11:50:54 ok I couldn't remember. 2011-10-26T11:51:10 next year I think we might see the usb stack get merged 2011-10-26T11:51:14 I only needed some bulk endpoints one in and one out 2011-10-26T11:51:33 right. don't need too much generic nonsense :) 2011-10-26T11:51:59 especially when you are just talking with libusb to the stuff at the other end 2011-10-26T13:47:41 *** gedare has quit IRC (Ping timeout: 252 seconds) 2011-10-26T13:50:23 *** kiwichris has joined #rtems 2011-10-26T15:53:01 *** aantn has joined #rtems 2011-10-26T16:16:46 *** aantn has quit IRC (Remote host closed the connection) 2011-10-26T16:17:51 *** aantn has joined #rtems 2011-10-26T16:26:24 *** aantn has quit IRC (Remote host closed the connection) 2011-10-26T18:09:12 *** methril has quit IRC (Ping timeout: 240 seconds) 2011-10-26T18:23:12 *** methril has joined #rtems 2011-10-26T19:27:50 *** kiwichris has quit IRC (Ping timeout: 265 seconds) 2011-10-26T19:32:23 *** kiwichris has joined #rtems 2011-10-26T19:45:11 *** xiangfu has joined #rtems 2011-10-26T22:33:06 *** methril_work has quit IRC (Read error: Operation timed out) 2011-10-26T22:33:24 *** methril_work has joined #rtems 2011-10-26T22:47:12 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-26T22:59:36 *** arvind_khadri has joined #rtems 2011-10-27T00:06:11 *** arvind_khadri has quit IRC (Ping timeout: 244 seconds) 2011-10-27T00:10:36 *** antgreen has quit IRC (Ping timeout: 255 seconds) 2011-10-27T00:34:48 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-27T06:28:19 *** arvind_khadri has joined #rtems 2011-10-27T07:00:25 *** xiangfu has joined #rtems 2011-10-27T07:22:48 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-27T07:30:00 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-27T07:49:26 *** arvind_khadri has joined #rtems 2011-10-27T07:49:26 *** arvind_khadri has joined #rtems 2011-10-27T08:50:58 *** peerst has quit IRC (Quit: peerst) 2011-10-27T08:51:13 *** peerst has joined #rtems 2011-10-27T09:10:15 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2011-10-27T09:22:49 *** arvind_khadri has joined #rtems 2011-10-27T10:36:48 *** arvind_khadri has quit IRC (Ping timeout: 248 seconds) 2011-10-27T11:31:44 *** antgreen has joined #rtems 2011-10-27T12:11:21 *** neo1987___ has joined #rtems 2011-10-27T12:11:35 hello 2011-10-27T12:19:31 Does someone know how can i contact DrJoel, please? 2011-10-27T12:21:59 *** peerst has quit IRC (Ping timeout: 276 seconds) 2011-10-27T13:04:12 *** arvind_khadri has joined #rtems 2011-10-27T13:04:12 *** arvind_khadri has joined #rtems 2011-10-27T13:14:18 hello 2011-10-27T14:14:13 *** neo1987___ has quit IRC (Ping timeout: 240 seconds) 2011-10-27T14:32:48 *** neo1987___ has joined #rtems 2011-10-27T14:43:10 neo1987___: either try to stay in sthis channel until DrJoel joins or write him an email ;) 2011-10-27T15:50:40 already done 2011-10-27T15:57:10 but he said he was busy... I don't want to bore him but this work is for my degree 2011-10-27T16:25:19 neo1987___: you'll just have to wait i'd assume that you'll get no contact with him until next week sometime 2011-10-27T16:57:44 ok thanks 2011-10-27T17:00:52 *** peerst has joined #rtems 2011-10-27T17:04:08 *** subodh has joined #rtems 2011-10-27T17:06:00 building from source powerpc rtems4.11 on Fedora 14 fails (using gcc binaries). any ideas?? 2011-10-27T17:09:30 are you using gcc from toolchain? 2011-10-27T17:09:40 ../rtems-4.11/configure generates "no acceptable C compiler found" 2011-10-27T17:10:48 thanks neo. My $PATH has /opt/rtems-4.11/bin/ which has powerpc-rtems4.11-gcc in there. Yes, it is a binary from toolchain 2011-10-27T17:10:49 neo1987___, can I help ? 2011-10-27T17:11:55 and did you add this path to the path variable? 2011-10-27T17:12:31 export PATH=/opt/rtems-4.11/bin:$PATH 2011-10-27T17:12:45 you bet. I did that. 2011-10-27T17:13:59 This output from ../rtems/configure may be a clue: checking for x86_64-unknown-linux-gnu-gcc... no 2011-10-27T17:14:57 subodh, what is the full configure command ? 2011-10-27T17:14:59 kiwichris.. any ideas? neo1987___ I hope its ok with you if he offers some clues here. 2011-10-27T17:15:05 thx 2011-10-27T17:15:36 I encourage anyone to offer help. 2011-10-27T17:15:43 ../rtems/configure --target=powerpc-rtems4.11 --disable-posix --disable-networking --disable-cxx --enable-rtemsbsp=qemuppc --prefix=/opt/rtems4.11 2011-10-27T17:15:56 yes of course 2011-10-27T17:16:09 What does 'type powerpc-rtems4.11-gcc' return ? 2011-10-27T17:16:15 shoot.. found my problem.. I think. last prefix is missing - between rtems-4.11 2011-10-27T17:16:47 banging my head !! 2011-10-27T17:17:05 Does the path have the same path ? 2011-10-27T17:17:05 ahahah 2011-10-27T17:17:24 The prefix only effects the 'make install' phase. 2011-10-27T17:18:22 nope. chris is right. that's not it. I will c&p output of type cmd 2011-10-27T17:18:40 powerpc-rtems4.11-gcc is hashed (/opt/rtems-4.11/bin/powerpc-rtems4.11-gcc) 2011-10-27T17:20:53 (--prefix for default is what you specified so it is unnecessary) for your problem you tried with different versions of rtems? 2011-10-27T17:21:40 If the problem still exists take a look in the config.log file. 2011-10-27T17:22:12 This is my first attempt to build rtems from CVS source. 2011-10-27T17:22:18 So the compiler is present but it may not work because of other issues such as the assembler. 2011-10-27T17:23:34 I think ./configure can't find the compiler (powerpc-rtems4.11-gcc) because it is looking for x86_64-unknown-linux-gcc (string based on local host name, type etc.) 2011-10-27T17:23:51 what part of ./config.log should I see? 2011-10-27T17:24:59 I tend to scroll down until I see the error message or something close to it. 2011-10-27T17:25:08 Did you boot strap ok ? 2011-10-27T17:25:34 no errors seen on ./bootstrap 2011-10-27T17:25:44 I will paste first error seen in config.log 2011-10-27T17:26:07 configure:4319: error: /bin/sh '../../../rtems/tools/build/configure' failed for tools/build 2011-10-27T17:26:15 Was the path correctly set to /opt/rtems-4.11 before you ran the bootstrap ? 2011-10-27T17:26:34 I mean /opt/rtems-4.11/bin. 2011-10-27T17:26:35 yeah.. pretty sure. is there a way I can confirm? 2011-10-27T17:26:42 type autoconf 2011-10-27T17:27:13 points to the /opt/rtems-4.11/bin/autoconf 2011-10-27T17:27:20 Great. 2011-10-27T17:31:10 looks like an issue in my ./configure where it can't figure out which compiler to use based on the target and rtemsbsp 2011-10-27T17:33:01 I suggest you run './bootstrap -c' then './bootstrap' again. 2011-10-27T17:34:10 thx. let me try. 2011-10-27T17:40:24 chris, by mistake I may have done ./bootstrap from crossrpms/ or rtemsrpms/ earlier. Not sure if that's causing this problem. 2011-10-27T17:41:07 I will wait till this ./bootstrap from archive/rtems finishes. then I will do "./bootstrap -c" from the top, then from rtemsrpms/ and crossrpms/ just to be sure. 2011-10-27T17:41:40 No need, just from the top is all you need. 2011-10-27T17:41:46 thx 2011-10-27T17:42:10 All the -c does is a find on specific files and removes them. 2011-10-27T17:42:22 got it. 2011-10-27T17:43:32 I am not a fan of autoconf/automake how-ever I need to know it because some many projects use it including RTEMS. My development work flow is ... 2011-10-27T17:43:45 Build RTEMS head and install it. 2011-10-27T17:44:09 understand :-) I am glad you are here :-) 2011-10-27T17:44:09 Create a stand alone application (based on the rtl app in my fpt area). 2011-10-27T17:44:39 Develop the specific pieces I need for RTEMS in the application plus the test code. 2011-10-27T17:44:52 ok.. I am bootsrapped now. no errors :-) 2011-10-27T17:44:53 Move the RTEMS code to RTEMS and rebuild RTEMS 2011-10-27T17:45:11 Remove the RTEMS from the application leaving the test code. 2011-10-27T17:45:36 My rtl application uses waf. 2011-10-27T17:45:52 what's that ? waf ? 2011-10-27T17:46:10 *** xiangfu has joined #rtems 2011-10-27T17:46:17 http://code.google.com/p/waf/ 2011-10-27T17:46:39 interesting. 2011-10-27T17:47:25 In the RTL app the files needed are wscript, rtems.py and pgkconfig.py 2011-10-27T17:53:17 chris, are you suggesting that I should switch to waf? or you think we can solve this with ./autoconf, ./configure etc.? 2011-10-27T17:54:12 I understand that it may be a peculiarity of my setup here. AFAIK, I only broought up Fedora 14, installed RTEMS gcc toolchain binaries. 2011-10-27T17:54:29 RTEMS uses autoconf and will not change unless someone steps up to make the change 2011-10-27T17:54:59 All I was doing was showing my work flow. 2011-10-27T17:55:07 understand. 2011-10-27T17:55:46 I think that's great. When I have time, I will certainly look into waf. 2011-10-27T17:55:57 And expressing a little frustration at how complex and fragile autoconf can be when you are a developer 2011-10-27T17:56:12 and may be one day step up to make the change :-) 2011-10-27T18:00:12 do you think if I specific CC_FOR_BUILD to ./configure command, it may work? 2011-10-27T18:00:42 It not working means something is wrong and we should attempt to find this. 2011-10-27T18:00:55 Is it still bootstrapping ? 2011-10-27T18:02:19 no. it's done bootstrapping. there were no errors. 2011-10-27T18:02:28 suboth i was thinking the same 2011-10-27T18:02:43 Do you have '.' in your path ? 2011-10-27T18:03:01 ah.. I don't have '.' in my path. 2011-10-27T18:03:21 Maybe configure searches wrong C compiler. Is it possible? 2011-10-27T18:03:32 I know Joel has a script around that you run and it checks your setup. I have never used and do not know where it is. 2011-10-27T18:03:37 x86 instead of powerpc 2011-10-27T18:04:05 chris, I am sure I met you last week :-) thanks for helping here. 2011-10-27T18:04:51 neo. you are right that configure is picking up x86_64-unknown-linux-gcc instead of powerpc-rtems4.11-gcc. Question is why? 2011-10-27T18:05:18 try to set CC_FOR_BUILD variable in configure 2011-10-27T18:05:34 I do not know. You command like to configure looks ok. 2011-10-27T18:05:51 since I am cross compiling for target=powerpc-rtems4.11 shouldn't it look for that? 2011-10-27T18:05:57 Yes 2011-10-27T18:06:11 It is the top level configure that fails ? 2011-10-27T18:06:12 ./configure CC_FOR_BUILD=powerpc-rtems4.11-gcc no? 2011-10-27T18:06:39 CC_FOR_BUILD=powerpc-rtems4.11-gcc ../rtems/configure .... 2011-10-27T18:07:00 chris, yes my top level configure fails. 2011-10-27T18:07:16 Can you email me your config.log file ? 2011-10-27T18:07:20 guys, does the sequence of CC_FOR.. ../rtems/configure matter? 2011-10-27T18:07:28 you bet I can email you the log 2011-10-27T18:07:39 unfortunately.. don't have your card with me. 2011-10-27T18:08:04 Send to the email address I just posted. 2011-10-27T18:09:00 i'm using freenode Web IRC. didn't see your email. Sorry, can you help me out here? 2011-10-27T18:09:24 chrisj at rtems.org 2011-10-27T18:09:31 ok. 2011-10-27T18:11:33 chris.. pls check. 2011-10-27T18:11:43 just sent my earlier config.log 2011-10-27T18:12:33 neo.. I think we should wait to see if chris/someone else can fix the issue. something is most likely wrong in my setup. if not, we need to fix RTEMS to get this right. 2011-10-27T18:12:50 I appreciate your help neo1987__. 2011-10-27T18:13:09 Do you have a native gcc package installed ? 2011-10-27T18:14:34 no. I don't think I did that. why do I need that? I was under the impression that the rtems code that I am building is for target compilation. 2011-10-27T18:14:42 did I miss something important :-(( 2011-10-27T18:15:46 RTEMS has a tool dir where there are some host based tools. These are native not cross programs. 2011-10-27T18:15:48 I can get it, but that shouldn't be needed here. Unless, configure is trying to use "native" gcc to figure out something more about localhost etc. 2011-10-27T18:15:54 got it. 2011-10-27T18:16:04 let me get the native compiler etc. 2011-10-27T18:16:19 For example in a little while I will add the rtems linker (rtems-ld) to this tree. 2011-10-27T18:16:33 This is a host tool 2011-10-27T18:17:33 May be this the step I "missed" from the "Getting Started.pdf" chapter 5 (before I did ../rtems/configure). 2011-10-27T18:18:40 Could you please review it and update if it is missing ? 2011-10-27T18:21:37 you are welcome subodh, if you don't resolve you can type" CC_FOR_TARGET=/opt/rtems-4.11/bin/powerpc-rtems4.11-gcc ../configure" 2011-10-27T18:21:58 you bet. I just reviewed. That step is missing in Chapter 5. I don't know where to update that though. After I build this successfully, I will be glad to update Chapter 5. 2011-10-27T18:22:12 i have tried this now on rtems4.9 i386 2011-10-27T18:22:46 neo.. thanks for trying that out. appreciate. 2011-10-27T18:23:04 meanwhile my gcc got installed. 2011-10-27T18:23:14 The doc is in the doc directory. 2011-10-27T18:23:15 so, I will try ../rtems/configure now. 2011-10-27T18:23:50 If you create a patch just send to the list. 2011-10-27T18:24:54 You can't help me for rtems-testing? 2011-10-27T18:25:31 Script pc386 in rtems-testing module is bugged 2011-10-27T18:25:34 YEAHHHH.. config went well. 2011-10-27T18:25:41 ? 2011-10-27T18:25:46 config went well? 2011-10-27T18:25:59 how have you solved? 2011-10-27T18:25:59 neo and chris.. thanks. 2011-10-27T18:26:50 chris suggested that I install host gcc tool chain because it is needed to build host tools BEFORE building powerpc binaries. 2011-10-27T18:27:28 neo1987__ I will be glad to help you do rtems testing 2011-10-27T18:28:07 I am going to add this missing step in chapter 5 of Getting Started. 2011-10-27T18:29:06 make all is chugging along 2011-10-27T18:31:19 subodh my problem is simple: who created rtems-testing module and their scripts used a patched version of qemu (qemu-couverture). 2011-10-27T18:31:52 Couverture meantime has released new versions of qemu and now rtems-testing scripts cannot run 2011-10-27T18:32:01 so I have to find the correct version 2011-10-27T18:32:59 in an irc log of #rtems i found that DrJoel used version 0.11 but this version gives Segmentation fault error 2011-10-27T18:33:12 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-27T18:34:26 sorry to hear that neo.. unfortunately, at this time, I have lot less knowledge of qemu than rtems (which is not much to begin with). 2011-10-27T18:36:04 Hey chris.. you there? 2011-10-27T18:36:08 yeap 2011-10-27T18:36:14 make install went well. 2011-10-27T18:36:42 so, other than my goof up of missing host "gcc" things look OK. 2011-10-27T18:36:44 excellent 2011-10-27T18:36:59 let me check the doc while you are here 2011-10-27T18:37:31 Excellent. 2011-10-27T18:39:53 I would like to add following para before line 159 of buildrt.t in doc/started. I need to understand how to do cvs submit (or whatever that is), but here's what I would like to add 2011-10-27T18:40:29 Just make the changes and use 'cvs diff ' from the top and post the diff to the list. 2011-10-27T18:40:41 which list? 2011-10-27T18:40:47 here? 2011-10-27T18:41:03 rtems-users at rtems.org 2011-10-27T18:41:12 OK. will do. 2011-10-27T19:06:51 chris.. you there? I must have hit something else. Do I need to configure the ./testsuites directory? 2011-10-27T19:07:11 There are configure options to manage this. 2011-10-27T19:07:25 Try 'configure --help' to see them. 2011-10-27T19:07:57 The rtems-testing module in cvs contains scripts to run most bsps 2011-10-27T19:08:08 ... or a number of ones with qemu support. 2011-10-27T19:12:52 chris. got rtems-testing. qemu-support seems like pc386 version. that won't help me as I am trying to build ppc version 2011-10-27T19:13:01 I mean qemuppc. 2011-10-27T19:13:11 Hey, if you want to go home :-) then go home :-) 2011-10-27T19:13:18 I am at home :) 2011-10-27T19:13:34 And it is the morning. 2011-10-27T19:14:16 :-) that's always nice. 2011-10-27T19:14:43 so, I am going to figure out how to configure and build hello world on top of RTEMS and run it in qemu-system-ppc 2011-10-27T19:17:34 If you --enable-tests=samples a hello world should be built. 2011-10-27T19:18:38 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2011-10-27T19:18:49 where? should I do that from the top level of ./rtems? 2011-10-27T19:19:10 On the configure command you run at the top level 2011-10-27T19:19:41 ok. 2011-10-27T19:22:16 I tried that. 2011-10-27T19:22:43 ./configure with enable-tests was successful. perhaps, I should try "make all" followed by "make install" then? 2011-10-27T19:23:17 The executables will be there. Try 'find . -name \*.exe' from the top of you build dir 2011-10-27T19:23:42 ... if you have run make 2011-10-27T19:24:14 interesting. 2011-10-27T19:24:32 looks like hello.exe was built without "enable-test" (the first time). 2011-10-27T19:24:45 I think samples is on by default 2011-10-27T19:24:48 so, I am going to use it in qemu-system-ppc and will report right back here. 2011-10-27T19:24:55 Cool 2011-10-27T19:30:56 *** arvind_khadri has joined #rtems 2011-10-27T19:32:57 chris.. another newbie question :-) this time on qemu. 2011-10-27T19:33:12 Sure 2011-10-27T19:35:07 sorry, was answering an email from gbloom :-) 2011-10-27T19:35:56 i did "qemu-system-ppc --help" and found that it needs fda or hda i.e. floppy/hard drive image. 2011-10-27T19:36:40 can it just run with hello.exe? I will try with "qemu-system-ppc -nographic -m 2048 hello.exe" and report back 2011-10-27T19:38:23 That failed :-) Boot failure! No secondary bootloader supported. 2011-10-27T19:38:40 It started OpenBIOS 1.0 2011-10-27T19:38:54 I am not familiar with the ppc qemu 2011-10-27T19:39:30 I would check rtems-testing/sim-scripts 2011-10-27T19:39:41 will do 2011-10-27T19:39:54 there is a qemupcc,in file 2011-10-27T19:43:34 Yes. I looked in there. 2011-10-27T19:44:26 It uses "prep" machine, nographic, boots off of network, exits instead of rebooting. 2011-10-27T19:44:31 will do that. 2011-10-27T19:45:50 crashed :-) 2011-10-27T19:45:58 my first virtual crash :-) 2011-10-27T19:45:58 qemu or rtems ? 2011-10-27T19:46:09 qemu :-) didn't boot properly. 2011-10-27T19:46:19 Version ? 2011-10-27T19:47:16 qemu 0.13.0 2011-10-27T19:47:37 the crash must be because of my wierd args that I used 2011-10-27T19:48:06 qemu-system-ppc -M prep -nographic -m 2047 -boot n -no-reboot ./hello.exe 2011-10-27T19:48:23 No idea. 2011-10-27T19:50:10 are you familiar with pc386 qemu? may be you can teach me that. 2011-10-27T19:50:28 I do use it. It has been a while. 2011-10-27T19:50:39 well don't worry then. 2011-10-27T19:51:02 Try the i386 version and see if that one works. 2011-10-27T19:51:34 You could try and build the latest qemu for the powerpc 2011-10-27T19:51:38 chris, this is what I know for sure. I don't know how it maps to RTEMS. 2011-10-27T19:51:56 qemu needs a floppy/harddrive image to boot from. 2011-10-27T19:52:15 maybe you can look here http://www.rtems.com/wiki/index.php/QEMU 2011-10-27T19:52:25 i go to bed 2011-10-27T19:52:33 now are 2:52 A.M 2011-10-27T19:52:38 great. neo.. have a good night. 2011-10-27T19:52:46 you should not be awake at this time. 2011-10-27T19:52:53 Sure. Just remember qemu emulates a complete board and that board does not contain RTEMS so you need to load it. 2011-10-27T19:53:08 It is midday where I am 2011-10-27T19:53:57 I am sorry chris. that was for neo1987 who popped in with QEMU link and said it's 2:57 am in where he is, so he's going to sleep :-) 2011-10-27T19:54:14 Yeah he should :) 2011-10-27T19:54:33 Italy is far ;) 2011-10-27T19:54:42 bye bye 2011-10-27T19:54:44 *** neo1987___ has left #rtems 2011-10-27T19:55:29 subodh, the disk interface in qemu is a way for the rtems image to be loaded into the ppc memory. 2011-10-27T19:55:34 So, doesn't the hello.exe contain RTEMS ? I thought it would, just like if I was using Gaisler's tool kit. 2011-10-27T19:55:39 Yes. 2011-10-27T19:55:52 I do not know this tool set 2011-10-27T19:56:08 Oh his simulator ? 2011-10-27T19:56:31 no. let me backup. 2011-10-27T19:56:58 I was using plain eclipse toolchain from gaisler's website on ut699 board. 2011-10-27T19:57:19 there I saw that RTEMS was compiled with the apps and loaded on ut699 via grmon. 2011-10-27T19:57:32 that's why I thought it will be similar here except on qemu. 2011-10-27T19:57:53 I need to figure out how to make a disk image for ppc board. 2011-10-27T19:58:25 Ah ok. You need to understand the difference qemu brings. 2011-10-27T19:59:17 On a bare board you may have a JTAG interface or something similar. You create the RTEMS and BSP will contain the required code to bootstrap the cpu 2011-10-27T19:59:43 You run gdb and it uses the JTAG tools to load the ELF image into memory, set the PC and start the code running. 2011-10-27T20:00:47 With qemu the qemu instance running is the board and you do not have a JTAG interface, you have a network interface, disk interfaces and a boot monitor to run them 2011-10-27T20:01:18 Please keep writing. I found this link that shows how to build an image. http://en.wikibooks.org/wiki/QEMU/Images 2011-10-27T20:01:45 This means you need to have qemu run a boot monitor and that uses the virtual disk hardware to access the host file system and load the image. 2011-10-27T20:02:27 On the i386 I use a qemu fat disk and grub. Grub then load the RTEMS image. 2011-10-27T20:07:01 I need some way of stuffing the RAM of my qemu with bits from hello.exe, then direct the Program Counter to correct startup address for qemu. 2011-10-27T20:07:37 I don't need any BIOS etc. because all that (apple/mac) fluff is un-necessary. 2011-10-27T20:08:05 You need something to read the disk and load the RTEMS image 2011-10-27T20:08:06 But if we can get that done, then running any other embedded board i.e. Leon3 based UT699 would be easy, too. 2011-10-27T20:08:22 does that make any sense, chris? 2011-10-27T20:08:59 Do you want to run on a sparc ? 2011-10-27T20:09:29 well, eventually, I would love to have qemu for PPC and SPARC. will get there. PPC is first step. 2011-10-27T20:10:08 I want to run both emulations PPC and SPARC on a x86 machine. Both running RTEMS. 2011-10-27T20:10:23 by SPARC I really mean Leon3. 2011-10-27T20:13:10 The sparc is the simplest. 2011-10-27T20:13:25 Build the sis bsp and then run using the gdb simulator 2011-10-27T20:13:54 Chris, sometime soon, I will loose my internet access :-) 2011-10-27T20:13:59 It's getting late here. 2011-10-27T20:14:02 Ok 2011-10-27T20:14:10 they force us to go home :-) 2011-10-27T20:14:23 Sure 2011-10-27T20:14:53 so, I may just drop off. I am downloading qemu source code and reading docs there. 2011-10-27T20:15:04 Ok 2011-10-27T20:15:23 http://wiki.qemu.org/Links 2011-10-27T20:15:53 this is where RTEMS qemu hello world binaries should be posted for various platforms. 2011-10-27T20:16:00 that would be neat. 2011-10-27T20:20:46 ok. chris, you were a great help today. I will create a Bugzilla and post the documentation update there. Have a nice day in the kiwi country :-) 2011-10-27T20:21:26 Pls give my regards to Dr Joel :-) 2011-10-27T20:35:40 *** xiangfu has joined #rtems 2011-10-27T22:15:24 *** kiwichris has quit IRC (Ping timeout: 265 seconds) 2011-10-27T22:29:36 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-27T22:52:10 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2011-10-27T22:56:06 *** subodh has quit IRC (Ping timeout: 265 seconds) 2011-10-27T23:40:53 *** arvind_khadri has quit IRC (Read error: Operation timed out) 2011-10-28T00:16:40 *** kiwichris has joined #rtems 2011-10-28T00:42:20 *** xiangfu has joined #rtems 2011-10-28T00:59:09 *** arvind_khadri has joined #rtems 2011-10-28T00:59:09 *** arvind_khadri has joined #rtems 2011-10-28T01:55:48 *** kiwichris has quit IRC (Ping timeout: 265 seconds) 2011-10-28T03:02:17 *** kiwichris has joined #rtems 2011-10-28T07:15:09 *** lcpfnvcy has quit IRC (Ping timeout: 252 seconds) 2011-10-28T07:16:48 *** lcpfnvcy has joined #rtems 2011-10-28T07:29:23 *** xiangfu has quit IRC (Ping timeout: 260 seconds) 2011-10-28T08:14:10 *** antgreen has joined #rtems 2011-10-28T08:55:20 *** DrJoel has joined #rtems 2011-10-28T08:55:33 *** ChanServ sets mode: +o DrJoel 2011-10-28T09:09:51 *** arvind_khadri has quit IRC (Read error: Operation timed out) 2011-10-28T09:22:25 *** arvind_khadri has joined #rtems 2011-10-28T09:22:25 *** arvind_khadri has joined #rtems 2011-10-28T09:50:13 *** subodh has joined #rtems 2011-10-28T11:42:34 *** antgreen has quit IRC (Read error: Connection reset by peer) 2011-10-28T12:01:49 *** gedare has joined #rtems 2011-10-28T12:02:40 hi subodh 2011-10-28T12:09:59 * DrJoel waves to gedare.. I am still digging out from being gone. 2011-10-28T12:10:11 hi drjoel. I think I caught up, hard to be sure 2011-10-28T12:10:59 I have a couple of more things to write up. Plus I want to get the qemu m68k patch in shape for their testing day.. plus the AMP has popped up again.. nothing killer but ... 2011-10-28T12:11:13 yeah, well amp is a lot of work 2011-10-28T12:11:38 hope someone breaks it up, I think at least we get the lock changes in first and it should make it easier 2011-10-28T12:11:51 afaict locks are broken right now from a portability viewpoint 2011-10-28T12:12:04 * gedare figured this is the case awhile ago 2011-10-28T12:12:13 I'm not looking at anything before the score/cpu lock part.. their solution is wrong in a different direction 2011-10-28T12:13:08 FWIW bits on Computer History Museum shirt spell chm in ASCII.. Michele looked it up and didn't give me chance to write bits down LOL 2011-10-28T12:13:47 i wondered but wasn't motivated enough to try 2011-10-28T12:19:34 DrJoel: sebastian sent me some of the api he is working with for memory protection so I hope to have something semi-generic 2011-10-28T12:20:20 i've made some "progress" but I haven't documented it yet. I need to do the low-level sparc64 tlb management code before I can test functionality 2011-10-28T12:20:21 Cool.. semi-generic is about all we can hope for on first cut. 2011-10-28T12:20:39 yeah. well I hope to merge the ppc code, whatever I have to write for sparc64, and consider the nios stuff. 2011-10-28T12:20:46 That's understandable. No point in documenting something that doesn't work yet 2011-10-28T12:20:55 3 archs is enough to be close to right on portability 2011-10-28T12:20:58 that should give some ideas. and dufault has ppc without page table entries so that will be another design point 2011-10-28T12:21:42 i won't be able to work on making it mergeable until after mid-december though. i'm trying to get a hacked solution to work in the next week or two 2011-10-28T12:21:57 cross that bridge when I get ther.e 2011-10-28T12:22:46 I am still working on understanding ARINC 653. I know it needs space partitioning and a simple time driven mechanism to switch partitions.. but the magic inside a partition and between partitions is still foggy 2011-10-28T12:23:17 i don't have time to learn it now. i just hope the mechanisms I implement will help 2011-10-28T12:24:01 We know basic protection in current process/thread model is useful. Beyond that is serious thought. 2011-10-28T12:37:34 *** antgreen has joined #rtems 2011-10-28T13:17:08 *** gedare has quit IRC (Remote host closed the connection) 2011-10-28T13:24:29 DrJoel: Hi! long time no see here 2011-10-28T13:29:14 it has been a while. I had my tonsils out in late Aug, took time off and have traveled a lot for work 2011-10-28T13:29:42 Yeah I remember you looking in here on painkillers 2011-10-28T13:30:05 are your (missing) tonsils ok? 2011-10-28T13:31:20 well I don't know how they are.. but I am fine 2011-10-28T13:36:36 *** gedare has joined #rtems 2011-10-28T13:37:09 DrJoel: i'm back, I had to run to pie someone in the face... I bid for the rights :) 2011-10-28T13:37:19 proceeds go to a local First Robotics club 2011-10-28T13:38:45 Awesome! Michele is out trying to find me costume pieces. We are going as Dr. Fronkensteen and his lovely assistant (Teri Garr in film) from Young Frankenstein. Costume contest as part of Young Frankenstein musical Saturday night. She has dirndl 2011-10-28T13:42:39 should be fun! 2011-10-28T13:43:19 We do enjoy our costumes. :) 2011-10-28T13:43:50 You Chris and I need to exchange archive of pics 2011-10-28T13:44:11 Did you make your GSOC facebook folder public? If you did, it needs to be added to the GSOC mentor wiki 2011-10-28T13:46:57 I don't think my pictures are public right now, no. And those are really the only pics I have 2011-10-28T13:47:05 except a bunch of random things from the chm 2011-10-28T13:47:42 I don't see much value to adding them to the mentor summit wiki. 2011-10-28T13:48:31 I didn't add my folder from chm to mentor wiki. put mentor summit in its own folder 2011-10-28T13:56:28 *** mwalle has quit IRC (Read error: Operation timed out) 2011-10-28T13:56:37 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-28T13:57:02 *** mwalle has joined #rtems 2011-10-28T13:59:00 http://www.youtube.com/watch?v=Nl5xDKvjlJs 2011-10-28T13:59:08 that's me giving someone a pie. 2011-10-28T14:10:23 great use of $20! 2011-10-28T14:10:28 thanks I thought so :) 2011-10-28T14:12:13 I've spend the same and had a lot less fun 2011-10-28T14:12:38 yeah. and the video should provide continued entertainment 2011-10-28T15:01:10 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-28T15:34:38 *** DrJoel has quit IRC (Quit: Leaving) 2011-10-28T15:36:38 *** arvind_khadri has joined #rtems 2011-10-28T15:40:47 *** methril_work has quit IRC (Quit: Saindo) 2011-10-28T16:26:54 *** antgreen has quit IRC (Remote host closed the connection) 2011-10-28T16:49:47 chris.. you there? 2011-10-28T17:15:21 *** neo1987___ has joined #rtems 2011-10-28T17:15:33 *** neo1987___ has left #rtems 2011-10-28T17:17:44 *** neo1987___ has joined #rtems 2011-10-28T17:20:25 *** neo1987___ has quit IRC (Remote host closed the connection) 2011-10-28T18:05:27 *** subodh has quit IRC (Quit: Page closed) 2011-10-28T18:09:12 *** methril has quit IRC (Ping timeout: 240 seconds) 2011-10-28T18:22:42 *** methril has joined #rtems 2011-10-28T18:46:27 *** lcpfnvcy has quit IRC (Ping timeout: 260 seconds) 2011-10-28T18:46:39 *** lcpfnvcy has joined #rtems 2011-10-28T19:32:22 *** gedare has joined #rtems 2011-10-28T21:16:40 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-29T00:37:35 *** arvind_khadri has quit IRC (Ping timeout: 252 seconds) 2011-10-29T02:15:33 *** arvind_khadri has joined #rtems 2011-10-29T02:15:33 *** arvind_khadri has joined #rtems 2011-10-29T08:08:33 *** subodh has joined #rtems 2011-10-29T09:08:56 *** arvind_k has joined #rtems 2011-10-29T09:10:21 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2011-10-29T09:10:32 *** arvind_k is now known as arvind_khadri 2011-10-29T09:10:54 *** arvind_khadri has joined #rtems 2011-10-29T09:18:29 *** subodh has quit IRC (Ping timeout: 265 seconds) 2011-10-29T11:47:32 *** gedare has joined #rtems 2011-10-29T12:26:26 *** arvind_khadri has quit IRC (Ping timeout: 258 seconds) 2011-10-29T13:38:13 *** arvind_khadri has joined #rtems 2011-10-29T13:38:13 *** arvind_khadri has joined #rtems 2011-10-29T14:20:26 *** arvind_khadri has quit IRC (Ping timeout: 276 seconds) 2011-10-29T14:31:44 *** arvind_khadri has joined #rtems 2011-10-29T15:11:12 *** methril has quit IRC (Ping timeout: 240 seconds) 2011-10-29T15:24:41 *** methril has joined #rtems 2011-10-29T19:07:22 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-29T21:30:42 *** gedare has joined #rtems 2011-10-29T21:39:12 *** arvind_khadri has quit IRC (Ping timeout: 258 seconds) 2011-10-29T21:40:45 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-29T21:52:10 *** arvind_khadri has joined #rtems 2011-10-29T21:52:10 *** arvind_khadri has joined #rtems 2011-10-30T00:15:29 *** xiangfu has joined #rtems 2011-10-30T00:31:28 *** gedare has joined #rtems 2011-10-30T01:26:48 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2011-10-30T01:32:56 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2011-10-30T02:44:41 *** xiangfu has joined #rtems 2011-10-30T04:18:04 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-30T04:29:29 *** gedare has joined #rtems 2011-10-30T05:18:24 *** xiangfu has quit IRC (Ping timeout: 255 seconds) 2011-10-30T05:23:26 tlb code is fun 2011-10-30T05:30:50 *** xiangfu has joined #rtems 2011-10-30T07:56:10 *** arvind_khadri has joined #rtems 2011-10-30T08:18:36 *** arvind_khadri has quit IRC (Ping timeout: 258 seconds) 2011-10-30T09:00:25 *** arvind_khadri has joined #rtems 2011-10-30T09:00:35 *** arvind_khadri has joined #rtems 2011-10-30T09:33:36 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2011-10-30T10:37:43 *** xiangfu has quit IRC (Ping timeout: 252 seconds) 2011-10-30T12:41:58 *** arvind_khadri has joined #rtems 2011-10-30T13:44:08 *** arvind_khadri has quit IRC (Quit: Leaving) 2011-10-30T14:24:13 *** arvind_khadri has joined #rtems 2011-10-30T14:55:51 *** arvind_khadri has quit IRC (Quit: Leaving) 2011-10-30T17:27:03 *** gedare has quit IRC (Quit: Ex-Chat) 2011-10-30T20:25:08 *** xiangfu has joined #rtems