2013-11-25T00:46:57 just submitted my work again, not sure if it is slightly better than the previous one 2013-11-25T01:00:55 *** sebhub has joined #rtems 2013-11-25T01:01:24 good morning 2013-11-25T01:08:52 *** monstr__ has joined #rtems 2013-11-25T03:16:11 *** sebhub has quit IRC (Ping timeout: 272 seconds) 2013-11-25T03:39:36 *** MegaAlex|away is now known as MegaAlex 2013-11-25T03:57:09 *** YuGin_ has joined #rtems 2013-11-25T05:26:55 *** MegaAlex is now known as MegaAlex|away 2013-11-25T06:16:27 *** edwardk has joined #rtems 2013-11-25T07:44:38 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-25T07:57:37 *** edwardk has joined #rtems 2013-11-25T08:03:26 *** gedare has joined #rtems 2013-11-25T08:20:13 *** vipulnayyar has joined #rtems 2013-11-25T08:44:12 skykinetic: are you here? 2013-11-25T08:46:33 yes 2013-11-25T08:46:52 skykinetic: i left the comment on the melange, but in short i need an email address to commit your work 2013-11-25T08:47:07 i give you my email address here? 2013-11-25T08:47:16 put it in melange 2013-11-25T08:47:22 this is logged publicly to a website 2013-11-25T08:47:38 okay 2013-11-25T08:47:44 (also note that the email address you give will also be public in the rtems repo) 2013-11-25T08:48:41 submitted my email address 2013-11-25T08:48:46 ok thanks 2013-11-25T08:50:09 http://git.rtems.org/rtems/commit/?id=d1dbabd21582e385cf496793a5dc43d91150ef9a 2013-11-25T09:05:44 how does a mutex affect the priority of a thread? 2013-11-25T09:09:05 i have just submitted my work, not sure if my understanding is valid 2013-11-25T09:17:28 :) i'm explaining that right now 2013-11-25T09:33:16 *** edwardk has quit IRC (Quit: Leaving...) 2013-11-25T09:41:33 the priority is being set 5 times and repeated again right? 2013-11-25T09:43:01 *** YuGin_ has quit IRC (Ping timeout: 248 seconds) 2013-11-25T09:47:51 'yeah something likie that 2013-11-25T09:51:23 so after the mutex is being obtained, then the priority of the thread gets locked at the ceiling until it is released, then adjustment to the thread priority is possible. 2013-11-25T09:51:37 *** MegaAlex|away has quit IRC (Ping timeout: 246 seconds) 2013-11-25T10:06:25 gedare: i have submitted a revised work, and i have to go now, hopefully it is better than the first submission 2013-11-25T10:08:43 *** skykinetic has quit IRC (Quit: Leaving, offline now.) 2013-11-25T10:41:12 gedare: hey, thanks for the advice of posting to the -devel list, Joel's reply helped a lot :) 2013-11-25T10:54:13 ok cdesai i'm glad it helped 2013-11-25T10:54:56 gedare: just go clear my doubts, in RTEMS, what does a lower (as in lower numerically) priority mean compared to a higher priority? 2013-11-25T10:55:13 lower number means more important 2013-11-25T10:55:21 in posix, lower number means less important 2013-11-25T10:55:46 ah, that was what confused me 2013-11-25T10:55:48 thus rtems converts posix priority by inverting them to align with rtems internal representation of priority 2013-11-25T10:57:06 that clears it, thanks 2013-11-25T11:19:33 *** edwardk has joined #rtems 2013-11-25T11:50:29 *** MegaAlex has joined #rtems 2013-11-25T11:59:02 *** gigetoo has joined #rtems 2013-11-25T13:24:57 *** edwardk has quit IRC (Quit: Leaving...) 2013-11-25T13:39:57 *** monstr__ has quit IRC (Ping timeout: 246 seconds) 2013-11-25T14:42:35 *** dunsmoreb has joined #rtems 2013-11-25T15:04:19 kiwichris: around? 2013-11-25T15:04:26 yes 2013-11-25T15:04:38 i'm trying to figure out how to pick up the LDFLAGS for my waf conversions 2013-11-25T15:04:49 i tried 2013-11-25T15:04:51 ldflags = bld.get_env()['LDFLAGS'] 2013-11-25T15:04:54 but that is [] 2013-11-25T15:05:06 is something missing in the rtems.py support for link flags? 2013-11-25T15:05:19 you have to set those in config.cfg 2013-11-25T15:05:28 many of them aren't supported via ENV (yet) 2013-11-25T15:05:29 What does 'print bld.env 2013-11-25T15:05:33 verm__: i'm converting the examples-v2 applications 2013-11-25T15:05:33 show 2013-11-25T15:05:45 gedare: ah, i suppose i missed that 2013-11-25T15:05:47 which repo are you using? 2013-11-25T15:05:51 This is separate from the waf build 2013-11-25T15:06:02 oh 2013-11-25T15:06:05 We are using my rtems.py app building stuff 2013-11-25T15:06:10 ahhh 2013-11-25T15:06:14 right, got it 2013-11-25T15:06:24 which lines do you want to see chris? 2013-11-25T15:06:42 Post to guthub gist ? 2013-11-25T15:06:44 'LINKFLAGS' ['-qrtems', '-B/home/gedare/work/rtems/builds/build//sparc-rtems4.11/lib/', '-B/home/gedare/work/rtems/builds/build//sparc-rtems4.11/sis/lib/', '--specs', 'bsp_specs', '-mcpu=cypress', '-mcpu=cypress', '-ffunction-sections', '-ffunction-sections', '-fdata-sections', '-fdata-sections'] 2013-11-25T15:06:44 'LINKFLAGS_MACBUNDLE' ['-bundle', '-undefined', 'dynamic_lookup'] 2013-11-25T15:06:44 'LINKFLAGS_cshlib' ['-shared'] 2013-11-25T15:06:44 'LINKFLAGS_cstlib' ['-Wl,-Bstatic'] 2013-11-25T15:06:45 'LINKFLAGS_cxxshlib' ['-shared'] 2013-11-25T15:06:47 'LINKFLAGS_cxxstlib' ['-Wl,-Bstatic'] 2013-11-25T15:06:51 ok one sec 2013-11-25T15:06:55 i think those are the relevant ones though 2013-11-25T15:06:58 there is nothing for LDFLAGS 2013-11-25T15:07:03 Use LINKFLAGS 2013-11-25T15:07:33 https://gist.github.com/gedare/7648923 2013-11-25T15:07:34 ok 2013-11-25T15:07:42 i think it is missing some flags 2013-11-25T15:07:55 Such as ? 2013-11-25T15:09:06 when i compile with the RTEMS_MAKEFILE_PATH option i get... 2013-11-25T15:09:15 sparc-rtems4.11-gcc --pipe -B/home/gedare/work/rtems/builds/b-sis/../build/sparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -mcpu=cypress -Wl,--gc-sections -mcpu=cypress -o o-optimize/hello.exe o-optimize/test.o 2013-11-25T15:09:45 and with waf: 2013-11-25T15:09:47 runner ['/opt/rtems-4.11/bin/sparc-rtems4.11-gcc', '-qrtems', '-B/home/gedare/work/rtems/builds/build//sparc-rtems4.11/lib/', '-B/home/gedare/work/rtems/builds/build//sparc-rtems4.11/sis/lib/', '--specs', 'bsp_specs', '-mcpu=cypress', '-mcpu=cypress', '-ffunction-sections', '-ffunction-sections', '-fdata-sections', '-fdata-sections', 'hello/hello_world_c/test.c.1.o', '-o', '/home/gedare/work/github/examples-v2/build/sparc-rtems4.11-sis/hello 2013-11-25T15:09:47 /hello_world_c/hello', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 2013-11-25T15:09:56 there is missing -Wl,--gc-sections 2013-11-25T15:10:12 and it adds the Bstatic and Bdynamic 2013-11-25T15:10:24 so there is a mismatch somewhere 2013-11-25T15:10:27 Is this a recent addition to the build ? 2013-11-25T15:10:32 in RTEMS ? 2013-11-25T15:10:33 ah, yes probably 2013-11-25T15:10:45 it is to capitalize on the fdata-sections ffunction-sections CFLAGS 2013-11-25T15:10:49 you need the gc-sections LDFLAGS 2013-11-25T15:11:09 Then I suspect a bug in the way it was added. I use the broken .pc files from the build system and if users hack RTEMS the wrong way they get missed 2013-11-25T15:12:12 The build system in RTEMS lets users add anything in uncontrolled ways and why the pkconfig experiment failed 2013-11-25T15:12:37 It kind of works enough to just work but not really. 2013-11-25T15:12:53 this one shows up in the erc32.cfg 2013-11-25T15:12:58 i see 2013-11-25T15:13:29 There is 2 solutions, fix RTEMS or add the hack to the rtems.py to add a tweat. See tweaks in rtems.py. 2013-11-25T15:15:07 where are these .pc files you mentione? 2013-11-25T15:15:20 They are in the install tree and created when you build or install 2013-11-25T15:15:31 find /.... -name \*.pc 2013-11-25T15:15:32 *sigh* 2013-11-25T15:15:38 yeah 2013-11-25T15:15:59 /opt/rtems-4.11/lib/pkgconfig/expat.pc ? 2013-11-25T15:16:14 you dig a little you find all sorts of rot; wish we had a better build system ...... 2013-11-25T15:16:17 i must be missing some more. 2013-11-25T15:16:17 yeah 2013-11-25T15:16:19 hah 2013-11-25T15:16:46 oh right 2013-11-25T15:16:51 "installed" RTEMS 2013-11-25T15:16:57 i put those files somewhere else. *sigh* 2013-11-25T15:17:16 ok i found the right one. 2013-11-25T15:17:47 so the problem is that LDFLAGS do not go through this .pc file. 2013-11-25T15:17:57 Could be 2013-11-25T15:18:04 rather, one problem is that. 2013-11-25T15:18:31 (my hope is to build the same binaries with waf and with the RTEMS_MAKEFILE_PATH approach for verification of student tasks) 2013-11-25T15:18:50 ok this gives me something to investigate. thanks 2013-11-25T15:20:29 i think i can add a tweak that conditions the -Wl,gc-config whether or not -ffunction/data-sections is in cflags. 2013-11-25T15:20:30 I am working on a better tar process for root file systems. The current on you have and mine have issues. 2013-11-25T15:20:59 Did you check tweak in rtems.py ? 2013-11-25T15:21:02 It is simpler 2013-11-25T15:21:03 that tar stuff has always been hackish 2013-11-25T15:21:03 :) 2013-11-25T15:21:09 yeah that's what i'm thinking. 2013-11-25T15:21:11 and doing. 2013-11-25T15:21:41 I am making it a little better, I hope and not using bin2c, rather obj copy of the tar to .o 2013-11-25T15:21:42 but learning how to do it from waf was a good exercise. 2013-11-25T15:21:49 yes 2013-11-25T15:22:01 it would be nice to add to rtems.py i think? 2013-11-25T15:22:06 or somwhere that makes sense. 2013-11-25T15:22:24 Yes I am. Just say rootfs and the files and you get an object file 2013-11-25T15:22:29 great. 2013-11-25T15:22:56 Adding this sort of stuff to rtems.py and waf will make it much simpler to create apps 2013-11-25T15:23:24 yeah i'm seeing that. 2013-11-25T15:23:29 simpler and more robust 2013-11-25T15:23:53 thanks for the support on this 2013-11-25T15:24:08 i think we're close to a place I can generate student tasks too. 2013-11-25T15:24:10 Yes. Robust because we are forced to provide real interfaces at various points in the process and not hack Makefile.inc etc 2013-11-25T15:24:34 if you can jot me some notes about how i might write checks for cxx and posix i would appreciate it 2013-11-25T15:24:46 for now i'll just hold off on converting those examples 2013-11-25T15:25:01 hah 2013-11-25T15:25:03 Sure. I will try and find some time and take a look 2013-11-25T15:25:10 there already is a tweak for linkflags, for the i386. 2013-11-25T15:25:15 so this was your solution before too. 2013-11-25T15:25:16 yes 2013-11-25T15:25:26 ok thanks 2013-11-25T15:25:49 Like the re in the code to detect a bsp ? 2013-11-25T15:26:07 heh 2013-11-25T15:26:20 it makes me want to pull some teeth 2013-11-25T15:26:28 Lets see that in make logic !! 2013-11-25T15:26:50 careful where you say that... someone might just go off and do it 2013-11-25T15:26:56 and then a fairy will lose its wings 2013-11-25T15:26:59 or something along those lines. 2013-11-25T15:27:33 Sure. Been reading a few children books lately ? 2013-11-25T15:28:36 did you know mr. brown can moo? 2013-11-25T15:29:04 ;) 2013-11-25T15:31:07 Sheep go moo in upside down town 2013-11-25T15:53:24 kiwichris: if you would like to put the rtems_waf support in its own git repository, i can make adding it as a git submodule a gci task. ;) 2013-11-25T15:54:25 Yes I would 2013-11-25T15:54:40 ok just send me a note/link when you do 2013-11-25T15:54:50 gotta go. night 2013-11-25T16:00:08 *** gedare has quit IRC (Ping timeout: 245 seconds) 2013-11-25T16:24:03 *** kiwichris has quit IRC (Ping timeout: 272 seconds) 2013-11-25T17:02:48 *** kiwichris has joined #rtems 2013-11-25T17:06:06 *** edwardk has joined #rtems 2013-11-25T17:15:37 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-25T17:23:47 *** kiwichris has joined #rtems 2013-11-25T17:33:57 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-25T17:35:47 *** kiwichris has joined #rtems 2013-11-25T17:41:02 *** dunsmoreb has quit IRC (Quit: Leaving) 2013-11-25T18:46:58 *** MegaAlex is now known as MegaAlex|away 2013-11-25T18:54:50 *** mkhoory has joined #rtems 2013-11-25T18:56:52 *** mkhoory has quit IRC (Read error: Connection reset by peer) 2013-11-25T19:03:47 *** mkhoory has joined #rtems 2013-11-25T19:06:41 *** gedare has joined #rtems 2013-11-25T19:30:37 *** peerst has quit IRC (Ping timeout: 272 seconds) 2013-11-25T19:38:28 *** gedare has quit IRC (Ping timeout: 245 seconds) 2013-11-25T19:56:01 *** peerst has joined #rtems 2013-11-25T20:28:50 *** gedare has joined #rtems 2013-11-25T20:36:23 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-25T20:44:57 *** gedare has quit IRC (Ping timeout: 252 seconds) 2013-11-25T20:47:13 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-25T20:54:47 *** YuGin_ has joined #rtems 2013-11-25T20:55:31 Hi, are there any mentors online? 2013-11-25T20:57:50 *** ysionneau has quit IRC (Ping timeout: 264 seconds) 2013-11-25T20:57:58 *** ysionneau has joined #rtems 2013-11-25T21:37:12 *** kiwichris has joined #rtems 2013-11-25T21:40:22 *** kiwichri_ has joined #rtems 2013-11-25T21:41:52 *** kiwichris has quit IRC (Ping timeout: 264 seconds) 2013-11-26T00:42:36 *** sebhub has joined #rtems 2013-11-26T01:01:07 *** monstr__ has joined #rtems 2013-11-26T01:42:38 *** sebhub has quit IRC (Ping timeout: 245 seconds) 2013-11-26T03:22:44 *** monstr__ has quit IRC (Ping timeout: 272 seconds) 2013-11-26T03:30:51 *** MegaAlex|away is now known as MegaAlex 2013-11-26T04:30:12 *** monstr__ has joined #rtems 2013-11-26T04:34:41 Hi, are there any mentors online? 2013-11-26T05:31:04 *** MegaAlex is now known as MegaAlex|away 2013-11-26T05:45:05 *** arvind_khadri has joined #rtems 2013-11-26T06:16:09 *** edwardk has joined #rtems 2013-11-26T06:33:02 *** arvind_khadri has quit IRC (Ping timeout: 265 seconds) 2013-11-26T08:01:15 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-26T08:04:22 *** edwardk has joined #rtems 2013-11-26T08:28:09 *** YuGin_ has quit IRC (Quit: For Sale: Parachute. Only used once, never opened, small stain.) 2013-11-26T09:28:00 *** gedare has joined #rtems 2013-11-26T10:09:11 *** MegaAlex|away is now known as MegaAlex 2013-11-26T10:22:40 *** monstr__ has quit IRC (Ping timeout: 264 seconds) 2013-11-26T10:26:18 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-26T10:38:37 hi cdesai 2013-11-26T10:38:52 hi gedare 2013-11-26T10:39:09 i'm reading your diff. it looks OK at a glance, but i need to see if i can build/run it 2013-11-26T10:39:25 meanwhile, i'm going to send the task back to you to improve the .doc file. there are instructions i will llink to 2013-11-26T10:39:26 I've been testing with sparc/sis 2013-11-26T10:39:33 ok 2013-11-26T10:40:37 posted to melange 2013-11-26T10:41:07 i have sparc/sis on this cpu so i will test with that as well 2013-11-26T10:41:27 unfortunately i have to bootstrap ;) 2013-11-26T10:41:59 from $GIT_DIR that takes as much as 5x the build time for one BSP for me 2013-11-26T10:42:20 yep 2013-11-26T10:42:32 it is a problem, and we're working to fix it 2013-11-26T10:42:52 there is an alternate build system that is being worked on that will hopefully reduce a lot of the time 2013-11-26T10:43:34 it is put up somewhere public yet? 2013-11-26T10:43:41 * cdesai likes build systems 2013-11-26T10:45:52 gedare: btw, what about the copyright to the test? 2013-11-26T10:46:12 please add your own copyright line below the OAR one. 2013-11-26T10:46:14 like.. 2013-11-26T10:46:47 Copyright (c) 2013 Chirayu Desai 2013-11-26T10:47:01 okay 2013-11-26T10:47:07 because you used the template but made pretty substantive changes 2013-11-26T10:47:39 * COPYRIGHT (c) 2013. 2013-11-26T10:47:39 * Chirayu Desai (chirayudesai1@gmail.com). 2013-11-26T10:47:58 i don't quite understand the logic of the benchmark timing 2013-11-26T10:48:03 you can put it on one line. 2013-11-26T10:48:09 I don't like the 2-line one that OAR uses 2013-11-26T10:48:40 the end_time? 2013-11-26T10:49:04 the idea is to time the "pthread_setschedparam" routine, right? 2013-11-26T10:49:14 yep 2013-11-26T10:49:31 then the end_time should be read right after the call to pthread_setschedparam 2013-11-26T10:50:26 the thing is, from what I understood from Joel, that it's to test lowering the priority, and anything after that isn't run 2013-11-26T10:50:26 and probably the easiest way to do it is to let the test_thread call set_thread_priority() on PTHREAD_SELF 2013-11-26T10:50:41 oh. 2013-11-26T10:50:55 if the priority of the test_thread becomes less than init that is true 2013-11-26T10:51:16 the initial priority is not specified by the current call to pthread_create 2013-11-26T10:52:22 hmm 2013-11-26T10:53:28 gedare: "Concepts: Benchmark the call pthread_setschedparam while lowering the priority." 2013-11-26T10:53:31 sounds good? 2013-11-26T10:54:34 yeah, but put the description on a line with a leading + like the example 2013-11-26T10:54:48 done 2013-11-26T10:55:13 now lets get back to the logic here... 2013-11-26T10:56:11 hm 2013-11-26T10:56:39 https://github.com/RTEMS/rtems/blob/master/cpukit/posix/src/pthread.c#L57 2013-11-26T10:57:24 yeah 2013-11-26T10:57:33 so the test_thread starts with the lowest priority 2013-11-26T10:57:41 so it is impossible to lower its priority 2013-11-26T10:57:51 that's the first problem i have with this test 2013-11-26T10:59:34 in order to cause a preemption due to lowering priority, you need to first get a thread at a higher priority 2013-11-26T10:59:39 and then lower that thread's priority 2013-11-26T11:01:09 does that make sense? 2013-11-26T11:02:07 so I need to call pthread_create with a higher priority? 2013-11-26T11:02:07 const pthread_attr_t *attr, I guess that has it 2013-11-26T11:02:14 yeah 2013-11-26T11:02:24 or you can set the priority after creating it 2013-11-26T11:03:04 default is 2, so 1 should be what I want 2013-11-26T11:03:43 like with ... 2013-11-26T11:03:57 pthread_getschedparam(pthread_self(), &policy, ¶m); 2013-11-26T11:04:17 param.sched_priority++; 2013-11-26T11:04:31 pthread_setschedparam(thread_ID, &policy, ¶m); 2013-11-26T11:04:37 *** edwardk has joined #rtems 2013-11-26T11:04:43 after the pthread_create() 2013-11-26T11:04:57 this will set the created thread's priority to be 1 more than the init thread 2013-11-26T11:05:11 alternately you can just set it to the max, like 2013-11-26T11:05:29 param.sched_priority = sched_get_priority_max( SCHED_FIFO ); 2013-11-26T11:05:45 now the test_thread will start to run 2013-11-26T11:06:19 where all it does is call 2013-11-26T11:06:30 set_thread_priority(pthread_self(), 2); 2013-11-26T11:06:41 this will lower its priority and cause init thread to run 2013-11-26T11:06:51 which should then call end_time=benchmark_read() 2013-11-26T11:07:09 trying 2013-11-26T11:07:15 as the next line after the pthread_setschedparam(thread_ID, &policy, ¶m); 2013-11-26T11:07:19 does it make sense? 2013-11-26T11:07:23 sounds easier, yeah 2013-11-26T11:07:34 ok you understand the logic? 2013-11-26T11:07:39 I did 2013-11-26T11:08:25 just confused with thread_ID vs pthread_self() 2013-11-26T11:08:26 *** edwardk_ has joined #rtems 2013-11-26T11:08:33 ok 2013-11-26T11:08:46 within the init thread, thread_ID is the created thread, and pthread_self() is init 2013-11-26T11:09:00 within the created thread, pthread_self() is the created thread and there is no handle for the init thread. 2013-11-26T11:09:30 *** edwardk has quit IRC (Ping timeout: 272 seconds) 2013-11-26T11:14:34 pthread_setschedparam - lower own priority 54 2013-11-26T11:14:36 :) 2013-11-26T11:16:24 gedare: I gotta go, getting late here - I've uploaded the new patch to melange, with the updated documentation and code 2013-11-26T11:16:34 night all 2013-11-26T11:16:48 ok 2013-11-26T11:16:48 *** edwardk_ has quit IRC (Ping timeout: 245 seconds) 2013-11-26T11:17:30 cdesai, 2013-11-26T11:17:40 i'll leave the comment on melange nvm 2013-11-26T11:24:01 *** edwardk has joined #rtems 2013-11-26T11:45:51 *** gedare has quit IRC (Quit: Leaving) 2013-11-26T12:07:51 *** monstr__ has joined #rtems 2013-11-26T13:21:11 *** monstr__ has quit IRC (Ping timeout: 252 seconds) 2013-11-26T13:58:57 *** gedare has joined #rtems 2013-11-26T15:10:04 *** MegaAlex has quit IRC (Read error: Operation timed out) 2013-11-26T15:11:55 *** gedare has quit IRC (Ping timeout: 252 seconds) 2013-11-26T15:15:49 *** MegaAlex|away has joined #rtems 2013-11-26T15:32:09 *** DrJoel has joined #rtems 2013-11-26T15:32:10 *** DrJoel has joined #rtems 2013-11-26T15:32:10 *** ChanServ sets mode: +o DrJoel 2013-11-26T15:33:03 *** MegaAlex|away is now known as MegaAlex 2013-11-26T15:40:01 *** gedare has joined #rtems 2013-11-26T15:46:25 *** DrJoel has quit IRC (Quit: I cna ytpe 300 wrods pre mniuet!!!) 2013-11-26T16:06:13 kiwichri_: http://wiki.rtems.org/wiki/index.php/GoogleCodeInProjects#Convert_RTEMS_Example_Applications_to_Waf_builds 2013-11-26T16:06:39 i will instantiate some tasks soon to add some of the subdirectories that don't actually build applications but just control recursion. 2013-11-26T16:07:19 but not now, because it's time to go :) 2013-11-26T16:09:13 Ok 2013-11-26T16:11:57 *** gedare has quit IRC (Ping timeout: 272 seconds) 2013-11-26T16:25:50 *** MegaAlex has quit IRC (Ping timeout: 245 seconds) 2013-11-26T16:28:50 *** MegaAlex has joined #rtems 2013-11-26T16:34:08 *** MegaAlex is now known as MegaAlex|away 2013-11-26T16:53:45 *** kiwichri_ has quit IRC (Ping timeout: 245 seconds) 2013-11-26T17:15:41 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-26T17:26:54 *** kiwichris has joined #rtems 2013-11-26T17:37:41 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-26T17:38:55 *** kiwichris has joined #rtems 2013-11-26T17:40:57 *** kiwichris has quit IRC (Client Quit) 2013-11-26T17:42:46 *** kiwichris has joined #rtems 2013-11-26T17:55:39 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-26T18:09:39 *** MegaAlex|away has quit IRC (Ping timeout: 272 seconds) 2013-11-26T18:13:22 *** MegaAlex|away has joined #rtems 2013-11-26T18:16:57 *** kiwichris has joined #rtems 2013-11-26T18:21:04 *** kiwichris has quit IRC (Client Quit) 2013-11-26T18:21:19 *** kiwichris has joined #rtems 2013-11-26T18:25:17 *** kiwichris has quit IRC (Client Quit) 2013-11-26T18:29:11 *** kiwichris has joined #rtems 2013-11-26T18:32:15 *** kiwichris has quit IRC (Client Quit) 2013-11-26T18:44:27 *** kiwichris has joined #rtems 2013-11-26T18:50:27 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-26T19:09:45 *** kiwichris has joined #rtems 2013-11-26T19:14:19 *** kiwichris has quit IRC (Client Quit) 2013-11-26T19:22:13 *** MegaAlex|away has quit IRC (Ping timeout: 248 seconds) 2013-11-26T19:35:55 *** gedare has joined #rtems 2013-11-26T19:48:01 *** gedare has quit IRC (Ping timeout: 252 seconds) 2013-11-26T20:14:50 *** kiwichris has joined #rtems 2013-11-26T20:34:55 hi kiwichris , I was wondering if there's any page or doc detailing the RAP format 2013-11-26T20:34:56 Sorry no documentation on the format. 2013-11-26T20:37:06 hmm ok. I'm just getting an error while loading a RAP and I was trying to figure out why it's happening. "read size larger than cache size" 2013-11-26T20:37:22 does this mean the RAP is simply too big? 2013-11-26T20:40:12 while reading the code, it seems that the error is occuring because the block size of the RAP is larger than the decompressor cache size, at least from what I understood. what determines the block size of the RAP? 2013-11-26T21:02:37 That looks like a bug 2013-11-26T21:03:29 What happens if you increase the cache block size ? 2013-11-26T22:54:31 I can increase it? huh. I thought it was a fixed value or something. Let me try that 2013-11-26T22:57:15 I'm getting other strange issues as well, and I can't tell if it's a bug or if it's because of my configuration (stack might be too small for example). I'll keep trying before I come to a conclusion 2013-11-26T23:02:39 for example, after failing to load the rap/elf, I noticed that the contents of the file actually changed (based on MD5), which is strange 2013-11-26T23:19:44 *** monstr__ has joined #rtems 2013-11-27T00:28:22 *** MegaAlex|away has joined #rtems 2013-11-27T00:52:31 kiwichris, after increasing the block size from 2048 to 4096 I stopped getting the error. I'm getting a "decompression failed" error now lol (also the file content changes). I'm still working on it 2013-11-27T01:04:21 *** MegaAlex|away has quit IRC (Ping timeout: 252 seconds) 2013-11-27T01:08:22 *** MegaAlex|away has joined #rtems 2013-11-27T01:30:21 *** sebhub has joined #rtems 2013-11-27T01:34:06 good morning 2013-11-27T02:19:09 *** MegaAlex|away has quit IRC (Ping timeout: 252 seconds) 2013-11-27T02:20:31 *** MegaAlex|away has joined #rtems 2013-11-27T03:05:21 *** MegaAlex|away has quit IRC (Ping timeout: 252 seconds) 2013-11-27T03:16:32 *** MegaAlex|away has joined #rtems 2013-11-27T04:15:24 *** YuGin has joined #rtems 2013-11-27T04:21:05 Hi mentors, I'm currently working on an 'Updating Citations' task and I'd like to clarify some things regarding what should and should not be added as a citation. How significant a reference to RTEMS in the appropriate context should an article make before it should be added? 2013-11-27T06:03:37 *** edwardk has joined #rtems 2013-11-27T06:40:55 *** phipse has joined #rtems 2013-11-27T07:40:41 *** sebhub has quit IRC (Ping timeout: 272 seconds) 2013-11-27T07:54:59 *** edwardk has quit IRC (Ping timeout: 272 seconds) 2013-11-27T08:01:08 hi, is there a way to rebuild rtems/configure, without bootstrapping the whole system again? 2013-11-27T08:02:14 *** edwardk has joined #rtems 2013-11-27T08:08:47 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-27T08:23:43 *** rokka has joined #rtems 2013-11-27T08:30:31 *** gigetoo has quit IRC (Remote host closed the connection) 2013-11-27T08:32:10 *** gigetoo has joined #rtems 2013-11-27T08:36:10 *** gedare has joined #rtems 2013-11-27T08:46:53 morning 2013-11-27T09:04:09 *** edwardk has joined #rtems 2013-11-27T09:21:16 *** MegaAlex|away is now known as MegaAlex 2013-11-27T09:25:49 *** YuGin has quit IRC (Ping timeout: 272 seconds) 2013-11-27T09:28:15 morning 2013-11-27T09:35:07 gedare: ugh, how did I miss initiliazing the timer? :( 2013-11-27T09:35:08 anyways, glad that the working version for committed 2013-11-27T09:35:13 thanks for all the help sir :) 2013-11-27T09:44:00 yep 2013-11-27T09:44:30 btw, http://git.io/j6r2CA - the csv update that Joel asked me to do 2013-11-27T09:45:30 i think joel updated it himself. his note was more to include the update in future tasks of this type if you do any 2013-11-27T09:45:51 okay 2013-11-27T09:46:17 are there any more QA tasks left? (not seeing any open task on melange) 2013-11-27T09:47:52 *** cdesai has quit IRC () 2013-11-27T09:48:03 *** cdesai has joined #rtems 2013-11-27T10:10:46 gedare: ping 2013-11-27T10:10:47 http://www.google-melange.com/gci/task/view/google/gci2013/4934262977462272 2013-11-27T10:10:48 Finish a POSIX API Chapter: Memory Management Manager 12.1-12.3 2013-11-27T10:10:48 Status: Open 2013-11-27T10:10:48 Mentor(s): Joel Sherrill 2013-11-27T10:10:52 hi cdesai 2013-11-27T10:10:57 http://www.rtems.org/onlinedocs/doc-current/share/rtems/html/posix_users/posix_users.html gives a 404 2013-11-27T10:11:27 http://www.rtems.org/onlinedocs/doc-current/share/rtems/html/posix_users/ 2013-11-27T10:12:21 make a note on melange about this please 2013-11-27T10:12:32 okay 2013-11-27T10:33:46 gedare: for the psx05 test documentation, should I include a description of what each function is tested for or will a short summary do? 2013-11-27T10:34:49 summarize.. try to find examples 2013-11-27T10:34:57 there are a lot in the sptests suite. 2013-11-27T10:35:04 sorry, examples to mimic 2013-11-27T10:58:17 *** antgreen has quit IRC (Ping timeout: 272 seconds) 2013-11-27T11:00:59 gedare: do you remember the enable-paravirt issue? 2013-11-27T11:01:06 yes 2013-11-27T11:01:45 i think we agreed it is OK to add this option... was there a patch submitted? 2013-11-27T11:01:55 I implemented the configuration option and separated the virtual from the native code in score/cpu/i386/ 2013-11-27T11:02:13 but I don't know where to place the virtualizationlayercpu.h include file in the score/ tree 2013-11-27T11:02:54 is it okay to place it in cpukit/score/include/rtems/score? 2013-11-27T11:02:54 can i see the file contents somewhere? 2013-11-27T11:02:57 sec 2013-11-27T11:03:16 that is a long file name :) 2013-11-27T11:03:55 https://github.com/phipse/rtems/blob/virt-bsp/c/src/lib/libbsp/i386/virtualpok/include/virtualizationlayercpu.h 2013-11-27T11:04:45 it defines the cpu part of the virtualization layer 2013-11-27T11:05:29 where are the functions implemented? 2013-11-27T11:05:30 ... and because it's cpu specific it should go into score/cpu/i386/ ? 2013-11-27T11:05:35 in the host system 2013-11-27T11:06:15 "_CPU_Virtual_Irq_request" is implemented...? 2013-11-27T11:06:23 in cpukit/score/cpu/i386? 2013-11-27T11:06:54 No it is used there, but the implementation is done by the host system, rtems should run on, e.g. POK 2013-11-27T11:07:12 and provided at compile time via a library 2013-11-27T11:07:19 ah. 2013-11-27T11:07:31 so this is just to provide the symbol name. 2013-11-27T11:07:39 hmmm 2013-11-27T11:07:47 yes, therefore it cannot stay in libbsp/i386/virtualpok 2013-11-27T11:08:23 for now, as we don't have any other virtualized architecture, I would put it into score/cpu/i386 2013-11-27T11:08:54 or should it go into score/cpu/i386/rtems/score/? 2013-11-27T11:08:54 I think score/include... is ok 2013-11-27T11:09:06 even though it's i386 specific? 2013-11-27T11:09:11 hmm. 2013-11-27T11:09:22 the thing is that it just defines the symbols. nothing gets compiled 2013-11-27T11:09:34 it's a bit of an oddball. 2013-11-27T11:09:47 you could put it under i386 for now i suppose. 2013-11-27T11:10:25 yeah put it under the i386 for now. hm. 2013-11-27T11:10:38 ok, thanks. 2013-11-27T11:10:43 honestly i'm not sure if the header is a good idea... 2013-11-27T11:11:05 one sec, poking around 2013-11-27T11:11:45 where do these functions get used? 2013-11-27T11:16:25 they are used in the i386/ implementation 2013-11-27T11:17:59 ok. i would just add a local header where they are used then so that the symbols are defined... 2013-11-27T11:18:50 this header does not need to be installed or anything. you could also just declare those functions "extern" in the .c file and make a note about where they come from... although doing that is generally frowned on in RTEMS, this usage is different than our usual. 2013-11-27T11:19:48 but, this file defines the interface to the host system and I think this should be covered in one file. When you start to virtualize other architectures this is your starting point. 2013-11-27T11:19:48 this issue could probably be discussed on rtems-devel. hard to say how much feedback you'd get though 2013-11-27T11:20:07 by the way, i recently saw that freertos is apparently easy to paravirtualize. did you ever run across it? 2013-11-27T11:20:18 ok that sounds reasonable 2013-11-27T11:20:28 So I don't like to split this up. 2013-11-27T11:20:47 heard of it, but didn't work with it. 2013-11-27T11:21:13 i might like a different name for it. but go with what you have for now 2013-11-27T11:21:40 last time you didn't like the shorter virtlayercpu.h ;) 2013-11-27T11:25:08 guess i'm just not pleasable. 2013-11-27T11:25:17 if that is a word 2013-11-27T11:25:32 my dictionary says no. 2013-11-27T11:28:02 but it's understanable 2013-11-27T12:02:33 gedare: I just send the patches to rtems-devel 2013-11-27T12:11:12 bye 2013-11-27T12:11:14 *** phipse has quit IRC (Quit: leaving) 2013-11-27T13:56:39 *** monstr__ has quit IRC (Ping timeout: 252 seconds) 2013-11-27T14:08:27 *** cafi has joined #rtems 2013-11-27T14:08:41 hi all 2013-11-27T14:08:56 any one ? 2013-11-27T14:35:36 *** antgreen has joined #rtems 2013-11-27T14:37:21 *** cafi has quit IRC (Ping timeout: 250 seconds) 2013-11-27T15:04:19 hi.. or not 2013-11-27T15:41:23 *** gedare has quit IRC (Ping timeout: 272 seconds) 2013-11-27T15:47:05 *** edwardk has quit IRC (Read error: Operation timed out) 2013-11-27T17:08:09 *** gedare has joined #rtems 2013-11-27T17:18:22 *** MegaAlex is now known as MegaAlex|away 2013-11-27T17:20:03 *** gedare has quit IRC (Ping timeout: 252 seconds) 2013-11-27T18:05:30 *** edwardk has joined #rtems 2013-11-27T19:38:06 *** YuGin has joined #rtems 2013-11-27T19:42:53 *** gedare has joined #rtems 2013-11-27T20:01:03 *** gedare has quit IRC (Ping timeout: 272 seconds) 2013-11-27T20:47:21 Might be too early, but I recently got an idea for a proposal that students can try out next GSOC 2013-11-27T20:48:05 basically, port the RFS filesystem code to FUSE on Linux, so that you can mount dumps of RAMDisks on the host, which can be very useful 2013-11-27T20:48:21 it's not very necessary, but it'ssomething that would be really nice to have. 2013-11-27T20:56:36 *** dunsmoreb has joined #rtems 2013-11-27T21:16:15 What do I do for the citations check if there are no new things to add? 2013-11-27T21:23:31 Can I just submit a file that states no citations were found? 2013-11-27T22:25:23 *** dunsmoreb has quit IRC (Quit: Leaving) 2013-11-27T23:02:31 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-27T23:18:08 *** kiwichris has joined #rtems 2013-11-27T23:34:11 oh man.. I just realized. In my application, all this time, allocations on the heap also had a chance of allocating on top of the ramdisk, which may or may not corrupt the filesystem. O_O this was going on for several months now and I only realized this now 2013-11-27T23:52:09 *** kiwichris has quit IRC (Read error: Connection reset by peer) 2013-11-28T00:07:39 *** kiwichris has joined #rtems 2013-11-28T00:59:23 *** monstr__ has joined #rtems 2013-11-28T01:21:54 *** sebhub has joined #rtems 2013-11-28T02:13:01 *** monstr__ has quit IRC (Read error: Operation timed out) 2013-11-28T03:36:39 *** peerst_ has joined #rtems 2013-11-28T03:36:40 *** peerst has quit IRC (Read error: Connection reset by peer) 2013-11-28T03:36:40 *** peerst_ is now known as peerst 2013-11-28T03:37:50 *** MegaAlex|away is now known as MegaAlex 2013-11-28T04:43:12 *** sebhub has quit IRC (Ping timeout: 240 seconds) 2013-11-28T04:47:28 *** phipse has joined #rtems 2013-11-28T04:47:35 hi 2013-11-28T05:19:02 *** rokka_ has joined #rtems 2013-11-28T05:22:16 *** rokka_ has quit IRC (Client Quit) 2013-11-28T05:25:45 *** rokka has quit IRC (Quit: leaving) 2013-11-28T05:31:25 *** rokka has joined #rtems 2013-11-28T06:29:50 *** monstr__ has joined #rtems 2013-11-28T07:12:18 *** skykinetic has joined #rtems 2013-11-28T07:14:03 *** skykinetic has quit IRC (Client Quit) 2013-11-28T07:14:35 *** skykinetic has joined #rtems 2013-11-28T07:19:06 *** oocode has joined #rtems 2013-11-28T08:37:16 *** dunsmoreb has joined #rtems 2013-11-28T09:12:30 *** skykinetic has left #rtems 2013-11-28T09:46:42 Iron man? 2013-11-28T09:51:21 *** YuGin has quit IRC (Ping timeout: 272 seconds) 2013-11-28T09:56:05 *** phipse has quit IRC (Quit: leaving) 2013-11-28T10:09:47 *** dunsmoreb has quit IRC (Ping timeout: 260 seconds) 2013-11-28T10:45:33 *** oocode has quit IRC (Quit: Saindo) 2013-11-28T11:09:40 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-28T11:15:37 *** edwardk has joined #rtems 2013-11-28T12:01:30 *** antgreen has quit IRC (Ping timeout: 252 seconds) 2013-11-28T12:17:11 *** antgreen has joined #rtems 2013-11-28T12:42:37 *** marcinb has joined #rtems 2013-11-28T13:04:29 *** antgreen has quit IRC (Ping timeout: 252 seconds) 2013-11-28T13:23:16 *** antgreen has joined #rtems 2013-11-28T14:44:51 *** monstr__ has quit IRC (Ping timeout: 272 seconds) 2013-11-28T17:45:57 *** marcinb has quit IRC (Quit: Leaving) 2013-11-28T18:04:59 *** dunsmoreb has joined #rtems 2013-11-28T18:26:30 *** cdesai has quit IRC (Read error: Connection reset by peer) 2013-11-28T18:26:41 *** cdesai has joined #rtems 2013-11-28T18:39:35 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-28T18:44:01 *** edwardk has joined #rtems 2013-11-28T18:51:08 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-28T19:11:08 *** dunsmoreb has quit IRC (Ping timeout: 246 seconds) 2013-11-28T19:28:52 *** edwardk has joined #rtems 2013-11-28T20:07:35 *** kiwichris has quit IRC (Ping timeout: 272 seconds) 2013-11-28T20:08:35 *** kiwichris has joined #rtems 2013-11-28T20:20:44 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-28T22:18:44 *** edwardk has joined #rtems 2013-11-29T00:16:06 *** YuGin has joined #rtems 2013-11-29T01:26:22 *** sebhub has joined #rtems 2013-11-29T01:31:30 *** sebhub has quit IRC (Ping timeout: 240 seconds) 2013-11-29T01:31:47 *** sebhub has joined #rtems 2013-11-29T01:41:02 *** rokka has quit IRC (Ping timeout: 264 seconds) 2013-11-29T01:41:21 *** rokka has joined #rtems 2013-11-29T02:24:39 *** arvind_khadri has joined #rtems 2013-11-29T02:41:13 *** YuGin_ has joined #rtems 2013-11-29T02:42:47 *** YuGin has quit IRC (Ping timeout: 272 seconds) 2013-11-29T03:13:17 *** mkhoory has quit IRC (Read error: Connection reset by peer) 2013-11-29T03:26:56 *** sebhub has quit IRC (*.net *.split) 2013-11-29T03:26:56 *** antgreen has quit IRC (*.net *.split) 2013-11-29T03:27:49 *** monstr has joined #rtems 2013-11-29T03:34:35 *** antgreen has joined #rtems 2013-11-29T05:42:14 *** antgreen has quit IRC (Ping timeout: 265 seconds) 2013-11-29T05:57:48 *** antgreen has joined #rtems 2013-11-29T06:51:14 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-11-29T07:10:23 *** YuGin_ has quit IRC (Read error: Connection reset by peer) 2013-11-29T07:15:19 *** gedare has joined #rtems 2013-11-29T08:21:17 *** antgreen has joined #rtems 2013-11-29T08:26:55 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-11-29T08:39:20 *** yomanurock has joined #rtems 2013-11-29T08:40:52 I am taking part in Google Code-In and am planning to take up this task by RTEMS. It includes documenting some code using doxygen. Where do I obtain this code? 2013-11-29T08:41:59 yomanurock: it'll have a link in the task, and that page (the rtems wiki) has instructions on that 2013-11-29T08:43:09 the task page has a link to a list of files and a link to the wiki - none of which state where to obtain these files :( 2013-11-29T08:49:56 *** yomanurock has quit IRC (Quit: Page closed) 2013-11-29T09:28:28 ah 2013-11-29T09:28:48 he was confused about the rtems source code. if he shows up, someone can suggest he try the getting started guide task first 2013-11-29T09:30:47 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2013-11-29T09:33:11 *** gedare has quit IRC (Ping timeout: 252 seconds) 2013-11-29T10:22:02 I'm trying to build the examples with waf, but I'm having trouble getting it to run 2013-11-29T10:22:22 what should I set rtems path to? (i.e. the one passed to --rtems while running waf configure) 2013-11-29T10:23:25 I've looked through the code, and everything I have tried so far has failed 2013-11-29T10:23:50 ah got it I think, have to install RTEMS 2013-11-29T10:27:31 *** monstr has quit IRC (Remote host closed the connection) 2013-11-29T13:05:25 *** javamonnn has joined #rtems 2013-11-29T13:49:40 *** asx15 has joined #rtems 2013-11-29T14:14:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-29T14:18:06 *** javamonnn has joined #rtems 2013-11-29T15:03:41 *** asx15 has quit IRC (Quit: Leaving.) 2013-11-29T15:25:19 *** antgreen has joined #rtems 2013-11-29T16:20:11 *** dunsmoreb has joined #rtems 2013-11-29T17:33:10 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-29T17:49:46 *** dunsmoreb has quit IRC (Ping timeout: 245 seconds) 2013-11-29T18:19:45 *** edwardk has joined #rtems 2013-11-29T18:45:09 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-29T18:54:11 *** gedare has joined #rtems 2013-11-29T18:56:59 *** dunsmoreb has joined #rtems 2013-11-29T19:02:42 hi kiwichris 2013-11-29T19:06:42 gedare, sorry about that. I'll make sure to pull in the future. 2013-11-29T19:07:01 hey dunsmoreb sure. i would have had to fix it anyway 2013-11-29T19:07:13 when there are more than two students doing these tasks at once, the top-level wscript gets a conflict 2013-11-29T19:07:51 did you enjoy these waf tasks? 2013-11-29T19:08:24 I did. Code tasks are the most fun. =P 2013-11-29T19:09:46 i'm about to release another set. 2013-11-29T19:09:54 the instructions aren't complete still.. 2013-11-29T19:10:00 but you guys seemed to have figured it out well enough 2013-11-29T19:10:11 my instructions were basically giong to be to copy what is there and adapt it. ;) 2013-11-29T19:10:50 Oh! I was about to claim a task, but this sounds more interesting. ;) 2013-11-29T19:11:12 done. 2013-11-29T19:11:23 Oh wow. 2013-11-29T19:11:56 ;) 2013-11-29T19:12:56 Same thing I'm assuming? 2013-11-29T19:13:01 yeah.. 2013-11-29T19:13:05 look for guidance in other examples 2013-11-29T19:13:11 and if you get stuck ask for help / google 2013-11-29T19:13:39 Cool. 2013-11-29T19:14:09 I've been learning emacs at the same time, all this work has helped me memorize the chords. 2013-11-29T19:14:42 heh. nice 2013-11-29T19:15:57 Yeah. Evil + Emacs is the best of both worlds. 2013-11-29T19:18:02 hey gedare when you get a chance can you review my doxygen patch so I can claim some of this waf stuff ;) 2013-11-29T19:18:49 yes thanks for the reminder. i downloaded the patch but lost the task window... applied and generating now 2013-11-29T19:20:00 javamonnn: you defgroup bsp_interrupt that already exists? 2013-11-29T19:20:12 irq.h and irq-generic.h both defgroup bsp_interrupt 2013-11-29T19:21:44 okay yeah hm I should've checked that more. I reapplied an old patch I had generated on a new branch thinking that if the changes already existed then they wouldn't be commited 2013-11-29T19:22:23 gedare, first one done. =) 2013-11-29T19:22:33 javamonnn: sending back to you 2013-11-29T19:23:10 looks like that group is defined in another file too, irq-info.h 2013-11-29T19:23:12 if you want to fix that.. 2013-11-29T19:23:15 I feel like all these wscripts and Makefiles could be generated from a template. 2013-11-29T19:23:39 dunsmoreb: probably, for such simple programs 2013-11-29T19:24:14 But I guess it's better to have the infrastructure in place then to have to go back and a bunch of exceptions later. 2013-11-29T19:27:00 merged and tested. closed task. 2013-11-29T19:30:15 Thanks. 2013-11-29T19:31:29 gedare, for all the other wscripts, do you want seperate bld.recurses()? 2013-11-29T19:32:15 for now yes please 2013-11-29T19:32:21 for consistency sake 2013-11-29T19:32:50 i don't know if there is a functional difference. my understanding is that the recurse() will spawn a new thread, and probably it spawns a thread for each element of the list if a list is given? 2013-11-29T19:32:52 Okay. I'll go back and redo that other one for you too then. 2013-11-29T19:32:58 so i think it is just syntactical 2013-11-29T19:33:08 oh.. you don't need to change what was done 2013-11-29T19:33:18 Okay. Whatever you want. =P 2013-11-29T19:33:19 but for the new tasks please do 2013-11-29T19:33:26 since others might share those wscripts. 2013-11-29T19:33:40 leave the one you did as an example to remind me to look at this issue again ;) 2013-11-29T19:33:53 it could be nice to rewrite them to use a list to shorten the length of the code 2013-11-29T19:34:06 like bld.recurse([subdir1, subdir2, subdir3...]) 2013-11-29T19:34:19 but that would definitely be really bad for conflicts too 2013-11-29T19:34:34 I don't think that would be too bad for diffs. 2013-11-29T19:34:53 With each one on a single line removing one only affects one line compared to two. 2013-11-29T19:34:54 diff goes line-by-line 2013-11-29T19:34:57 yeah 2013-11-29T19:35:12 with one on each line it is about the same as separate lines for each 2013-11-29T19:35:28 anyway.. 2013-11-29T19:35:36 let's just be consistent for now 2013-11-29T19:35:52 unless you can point me to somewhere that says using a list is better :) 2013-11-29T19:36:01 I am not a waf expert. 2013-11-29T19:37:13 And neither am I. =P 2013-11-29T19:37:27 javamonnn: you almost done with the change? i gotta go real soon 2013-11-29T19:38:20 In that case, can I have one more task? =P 2013-11-29T19:38:35 lol 2013-11-29T19:38:40 Yeah one sec 2013-11-29T19:38:41 btw, is rtems a microkernel design? 2013-11-29T19:38:48 dunsmoreb: no 2013-11-29T19:39:35 Haven't you heard of the benefits? 2013-11-29T19:39:37 It's the future! 2013-11-29T19:39:39 hah 2013-11-29T19:39:48 it's a lot of code to re-write. 2013-11-29T19:40:14 I mean, come on man, even the Hurd is there now. 2013-11-29T19:40:16 hard to make a good real-time microkernel. 2013-11-29T19:40:23 closed task 2013-11-29T19:40:36 Hurd is not anywhere really 2013-11-29T19:40:44 i think he is being facetious. 2013-11-29T19:40:44 javamonnn, what are you talking about? 2013-11-29T19:40:50 I have a script to run hurd in qemu on my desktop! 2013-11-29T19:41:13 The only problem with the Hurd is understanding Mach. 2013-11-29T19:41:24 gedare: if you have to go, go ahead, there is this other defgroup tree I'm going to refactor so it's gonna take me a sec 2013-11-29T19:41:25 you guys could probably do a good abbott/costello routine. 2013-11-29T19:41:43 ok javamonnn i'll try to check again before i go to bed. 2013-11-29T19:42:10 later. 2013-11-29T19:42:14 Bye. 2013-11-29T19:42:23 later 2013-11-29T19:43:01 Wikipedia: "Who's on First?" is a comedy routine made famous by Abbott and Costello. 2013-11-29T19:43:11 Wikipedia: "Who's on First?" is considered one of the greatest comedy routines of all time and set the framework for many of their best-known comedy bits. 2013-11-29T19:43:16 Maybe I need to watch this... 2013-11-29T19:47:02 *** gedare has quit IRC (Ping timeout: 264 seconds) 2013-11-29T20:10:42 *** gigetoo has quit IRC (Remote host closed the connection) 2013-11-29T20:12:11 *** gigetoo has joined #rtems 2013-11-29T20:14:07 javamonnn, see, I use the Hurd. http://i.imgur.com/YEpMJok.png 2013-11-29T20:20:56 morning 2013-11-29T20:24:11 yo 2013-11-29T20:24:38 dunsmoreb: do you use it for all your development? 2013-11-29T20:24:57 I was under the impression it was barely workable 2013-11-29T20:25:12 Haha no. I just run it once in a while for fun. 2013-11-29T20:26:12 ^ you guys clau 2013-11-29T20:26:31 clau? 2013-11-29T20:26:59 *claim tasks fast, i almost thought i wouldn't have any waf tasks until gedare added more. 2013-11-29T20:27:43 I know. I was getting worried that I would have to work with Doxygen. 2013-11-29T20:27:45 The horror! 2013-11-29T20:27:51 dunsmoreb: excuse me, typing from a mobile 2013-11-29T20:28:09 It's fine. 2013-11-29T20:28:22 so far they've been super quick to do, you can do 3 in a sitting easy. I want to see more of the time tests, those fun 2013-11-29T20:28:27 i took a documentation task before i saw the waf tasks 2013-11-29T20:28:37 javamonnn: yea, but timezones 2013-11-29T20:28:49 where are you guys from? 2013-11-29T20:28:49 Timezones suck man. 2013-11-29T20:29:20 north texas, it is harder for you cdesai, you probably submit when everyone is asleep 2013-11-29T20:29:24 * cdesai Indian, GMT +5:30 2013-11-29T20:29:28 East Coast. The one and only Commonwealth. Virginia. 2013-11-29T20:30:08 yea,I see gedare just left, and I just woke up 2013-11-29T20:35:38 Translators in the Hurd are the coolest. 2013-11-29T20:36:08 doxygen is so tedious 2013-11-29T20:36:17 Amen. 2013-11-29T20:36:27 hahaha dunsmoreb do you think hurd will ever be completely finished? 2013-11-29T20:36:36 development for what like 15 years right 2013-11-29T20:36:36 Will Linux ever be finished? 2013-11-29T20:36:57 I can use linux exclusively, I don't think you could go day to day on Hurd 2013-11-29T20:37:33 linux is self contained and self sustaining 2013-11-29T20:38:02 Oh yeah. I could use Hurd day-to-day. 2013-11-29T20:38:16 I have all I need. Coretuils. Binutils. A text-based web browser. Emacs. 2013-11-29T20:38:18 That's it. 2013-11-29T20:38:20 All I need. 2013-11-29T20:40:48 Okay but then on top of that, why should I use Hurd over the existing Linux ecosystem, it has to do something pretty revolutionary for that to happen 2013-11-29T20:41:48 $ cat /http:/www.duckduckgo.com/ 2013-11-29T20:41:51 That's all the features I need. 2013-11-29T20:42:07 hahahaha 2013-11-29T20:42:27 cdesai: if you didn't take that last posix barrier time test I wonder who did 2013-11-29T20:42:40 Daniel. Always Daniel. 2013-11-29T20:42:57 javamonnn: someone else did, and it's back now 2013-11-29T20:43:25 dunsmoreb: I am Daniel, and I did not take that task 2013-11-29T20:43:27 I wish I did 2013-11-29T20:43:37 you can 2013-11-29T20:43:40 ITS BACK 2013-11-29T20:44:03 told ya 2013-11-29T20:44:16 javamonnn, how do you know you didn't take it? 2013-11-29T20:44:27 see, Daniel it is. Always Daniel. dunsmoreb is right 2013-11-29T20:44:38 Ohh. He took it. Who was right? Who was right?! 2013-11-29T20:44:41 =P 2013-11-29T20:45:31 I would claim it but I need gedare to approve my other task 2013-11-29T20:45:43 the claim bottleneck is annoying but I understand why they did it 2013-11-29T20:46:10 I am going to start work on it if you don't want it cdesai, fair game if you want to take it 2013-11-29T20:46:19 We'll beat up anyone who takes it. 2013-11-29T20:46:30 javamonnn: I've got a waf task to do, so you can get it 2013-11-29T20:46:45 is this your guys first year doing gci? 2013-11-29T20:46:50 seniors/juniors? 2013-11-29T20:46:53 for me, yes 2013-11-29T20:47:08 Third year. Junior. Never took it seriously before. =P 2013-11-29T20:48:17 It's my second year, I'm a senior. I did brlcad last year but it's nice having a project this year that is actually interesting 2013-11-29T20:48:41 I know right? All the other projects were boring the previous two years. 2013-11-29T20:50:03 Agh. They messed up Emacs. 2013-11-29T20:50:47 http://i.imgur.com/CVZmVpp.png 2013-11-29T20:54:54 I use vim but am undecided in the editor wars 2013-11-29T20:55:04 I used emacs a bit when I was reading sicp 2013-11-29T20:55:17 I used to use Vim. But then I switched to Emacs. 2013-11-29T20:55:32 I learned vim hotkeys first and am way faster with it so I don't want to switch 2013-11-29T20:55:41 You can use evil. 2013-11-29T20:56:34 but my plugins 2013-11-29T20:57:06 Give me a list of your plugins. Let me find you alternatives. =P 2013-11-29T21:00:03 hahah I know there are alternatives but it's more of that I'm so used to my workflow with vim, It would take a minute to switch over even if all the functionality was the same 2013-11-29T21:01:18 At least we can all agree that Vi/Emacs are better than the rest. =P 2013-11-29T21:15:32 ssh + screen + emacs 2013-11-29T21:17:39 You ssh into a machine? 2013-11-29T21:17:43 haha 2013-11-29T21:18:11 Yeah, my macbook is just a terminal. Better than the old X terminals I use to use. 2013-11-29T21:18:27 Do you get a VPS? 2013-11-29T21:18:49 * cdesai sshs into his pc from phone 2013-11-29T21:18:57 No. I just connect directly to the machines of interest 2013-11-29T21:19:26 So you have a second desktop? 2013-11-29T21:19:55 I am about to head for a couple of hours and will hotspot my laptop to my phone and connect back to me servers and just continue from where I am. Sometimes in the middle of debugging. 2013-11-29T21:20:13 2013-11-29T21:20:31 But do you have a VPS or a second computer? 2013-11-29T21:20:32 I'm confused. 2013-11-29T21:22:33 My servers are where I work and I ssh into them. Currently they are local but I can ssh into them from the net. 2013-11-29T21:22:47 must run; back soon. 2013-11-29T21:23:00 Ah. 2013-11-29T21:23:05 *** kiwichris has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2013-11-29T21:44:10 *** gedare has joined #rtems 2013-11-29T21:46:02 dunsmoreb: closed your taks 2013-11-29T21:46:05 *task 2013-11-29T21:46:35 Oh cool. Another one before bed. =P 2013-11-29T21:46:53 Why have I been getting so much spam lately? 2013-11-29T21:47:07 spam in your email? 2013-11-29T21:47:25 the address could be getting picked up from some public source now due to publishing code / commits, unfortunately 2013-11-29T21:47:36 i think it is trivial for bots to crawl RTEMS commit logs 2013-11-29T21:47:58 Nah. I've been getting it for weeks. 2013-11-29T21:48:12 oh. 2013-11-29T21:48:39 maybe it is a social thing. christmas shopping and commercialism? I dunno. 2013-11-29T21:48:42 I don't run the spam. 2013-11-29T21:48:45 ;) 2013-11-29T21:49:37 Maybe. Only requirement is to speak something other then English. =P 2013-11-29T21:50:22 gitk is getting the files confused 2013-11-29T21:50:37 \what files? 2013-11-29T21:51:21 I use gitk to check that my staged files are correct. 2013-11-29T21:51:27 But it keeps confusing the wscripts. 2013-11-29T21:52:00 javamonnn: are you here? 2013-11-29T21:52:19 oh. i see.. somehow you need to inform it that they are python source files 2013-11-29T21:52:25 gedare: yeah, is something still wrong with the patch? 2013-11-29T21:52:58 i just want to know why shared/include/irq.h and irq-info.h are no longer put in bsp_interrupt and rtems_interrupt_extension 2013-11-29T21:53:20 No, like it shows me the diffs, but the diffs are for the other file. 2013-11-29T21:53:40 oh that's weird 2013-11-29T21:53:53 sounds like a bug in how it matches file names for whatever reason. 2013-11-29T21:53:59 i've never used gitk. 2013-11-29T21:54:25 Idk why I use it. I have magit for emacs. It takes *more* work to switch to the terminal! 2013-11-29T21:55:17 interesting. i do it all in the terminal. probably it would save some time to learn a tool 2013-11-29T21:55:40 but i'd have to spend time learning .:) 2013-11-29T21:55:57 Haha. I spent last weekend switching to emacs. 2013-11-29T21:56:02 gedare: they are, but it's done with a simple @ingroup at the top of a file instead of a @addtogroup that was there because they were both @defgroup ing the bsp_interrupt 2013-11-29T21:56:06 hmm, i guess those files are still... ok right 2013-11-29T21:56:15 i see that in the generated doxy.. 2013-11-29T21:56:21 just from the patch it was not clear 2013-11-29T21:56:28 commiting and closing. you can start a new task 2013-11-29T21:56:40 Yeah I realized that when I was double checking it haha 2013-11-29T21:56:50 definitely taking that barrier time test 2013-11-29T21:56:55 javamonnn, hey props for doing those tasks. I've read the instructions a couple of times and it's confusing. =/ 2013-11-29T21:57:21 good. the tmtests are nice challenges 2013-11-29T21:57:29 the waf conversions are mostly straightforward... 2013-11-29T21:57:45 Yeah. 2013-11-29T21:57:50 there are one or two that i did not publish that seem tough. i haven't figured out how hard they are yet.. so i'm not sure if I should put them up :) 2013-11-29T21:57:55 I'm lazy. What can I say. =P 2013-11-29T21:58:13 heh. the tmtests are a good challenge, but you have to wrap your head around pthreads and posix interfaces 2013-11-29T21:58:15 At least give the desc then. =P 2013-11-29T21:58:23 What's the tmtest one again? 2013-11-29T21:58:23 lol. yeah i know 2013-11-29T21:58:27 it's hard to wrap your head around the doxygen tasks at first but you can make changes and see the generated documentation and it clears things up. 2013-11-29T21:58:32 search "psxtmtest" in the title I think 2013-11-29T21:58:52 Not in the task list. =/ 2013-11-29T21:58:57 javamonnn: did i ever link to the do_doxygen script on the wiki? 2013-11-29T21:59:07 try.. "Timing" 2013-11-29T21:59:21 there is only one open though 2013-11-29T21:59:33 joel will post more in awhile. 2013-11-29T22:00:33 None open right now, but I see it in the completed list. 2013-11-29T22:01:07 *** kiwichris has joined #rtems 2013-11-29T22:01:14 ah.. the barrier one doesn't show for some reason with that search 2013-11-29T22:01:16 gedare: it was always there. There are 2 methods listed and the do doxygen was the second method. I made edits to the first method before checking the second the first time through haha. 2013-11-29T22:01:24 I just claimed the barrier one 2013-11-29T22:01:33 Btw, you guys got an ssl warning for the bugzilla 2013-11-29T22:01:37 yeah... 2013-11-29T22:01:55 it's self-signed. 2013-11-29T22:02:05 i think that will go away in a couple months. 2013-11-29T22:02:07 gedare, hi 2013-11-29T22:02:12 hi kiwichris 2013-11-29T22:02:21 how faster is the waf building of the examples with waf ? 2013-11-29T22:02:40 can't tell until it's all done, but seems quick. 2013-11-29T22:02:57 more so i think it will make a good example of how to do it 2013-11-29T22:03:01 It must take seconds on fast hardware 2013-11-29T22:03:07 and can be maintained in parallel to the rtems makefiles for the time being. 2013-11-29T22:03:13 Yeah it is going really well. 2013-11-29T22:03:17 Yes 2013-11-29T22:03:22 yeah. good students like dunsmoreb and javamonnn :) 2013-11-29T22:03:28 :) 2013-11-29T22:03:38 i hadn't planned to have them do the recurse() on the subdirs... 2013-11-29T22:03:41 but it turned out well. 2013-11-29T22:03:52 i released the rest of the build paths that I thought are doable 2013-11-29T22:04:03 there will be a handful that looked really tricky remaining. 2013-11-29T22:04:21 Nice 2013-11-29T22:04:21 like..micromonitor/diagnostics 2013-11-29T22:04:27 that one looked particularly nasty 2013-11-29T22:04:34 I am still playing with the rootfs packaging 2013-11-29T22:04:37 a lot of cruft in the makefile 2013-11-29T22:04:38 ok 2013-11-29T22:04:52 i expect we'll have a lot of copy-paste to refactor if we add the support 2013-11-29T22:04:56 but it should be easy to find. 2013-11-29T22:05:00 Oh god. 2013-11-29T22:05:23 I will take a look. 2013-11-29T22:05:24 did you look at that diagnostics makefile? :) 2013-11-29T22:05:30 Yeah. 2013-11-29T22:05:42 i purposely left that out for now. 2013-11-29T22:05:50 cuz i'm not evil 2013-11-29T22:05:59 You should put it up. 2013-11-29T22:06:08 Would need to learn more about Waf, but it doesn't *seem* too bad. =P 2013-11-29T22:06:10 maybe later. 2013-11-29T22:06:17 i'll let the easy stuff go first. 2013-11-29T22:07:05 that is an odd looking makefile 2013-11-29T22:07:31 it just has a lot of arch-specific optimizations 2013-11-29T22:07:36 they may be superfluous 2013-11-29T22:08:15 That makefile seems wrong to me. Why does it need target configs ? 2013-11-29T22:08:15 in fact, most of it seems to be unrelated to RTEMS 2013-11-29T22:08:24 i think that makefile was hacked to build for the arm target 2013-11-29T22:08:28 and the rest of RTEMS is ignored 2013-11-29T22:08:38 The objects section could be simplified with wildcard matching. 2013-11-29T22:09:17 kiwichris: I don't know. Joel added the example in 2009. so I doubt he knows either. 2013-11-29T22:09:21 It has hard coded arch at the top but contains PPC etc 2013-11-29T22:09:33 yeah but builds "-elf" targets. 2013-11-29T22:09:51 I suggest you leave it. If no one steps up and maintains it we remove support. 2013-11-29T22:10:11 There are too many things wrong with it, like specific options *-elf etc 2013-11-29T22:10:13 leave it=don't convert it? 2013-11-29T22:10:15 ok 2013-11-29T22:10:17 Yes 2013-11-29T22:10:26 the only other issues i had... 2013-11-29T22:10:30 were to deal with posix and cxx checks 2013-11-29T22:10:31 It will drop off in time. We carry too much cruft in the project 2013-11-29T22:10:40 Ah I have not. 2013-11-29T22:10:45 if you or I can resolve how to supply those, we can convert the rest 2013-11-29T22:10:51 Hmm ok. 2013-11-29T22:11:13 Sitting in a school waiting for my son to do a music exam.... 2013-11-29T22:11:39 you get to watch him? 2013-11-29T22:11:55 or do you have to sit outside? 2013-11-29T22:12:18 oh.. the other one that looked like an issue was misc/applib 2013-11-29T22:12:27 because i did not investigate how to build a library 2013-11-29T22:12:31 but i could make that a task... 2013-11-29T22:12:38 i'm sure it just takes a little research 2013-11-29T22:13:11 No, inside. 2013-11-29T22:13:21 good. 2013-11-29T22:13:24 instrument? 2013-11-29T22:13:33 Sax. 2013-11-29T22:13:39 niiicceee 2013-11-29T22:13:43 Yeah 2013-11-29T22:14:23 Brass ftw 2013-11-29T22:15:02 what size? 2013-11-29T22:15:24 i never played, but my brother played, tenor i think. 2013-11-29T22:18:20 dunsmoreb: i'm starting to think i should have made all the led/ conversions a single task ;-) 2013-11-29T22:18:46 gedare, which makefile needs posix support ? 2013-11-29T22:18:58 The following require feature tests (e.g. cxx or posix) that 2013-11-29T22:18:58 do not yet exist in rtems.py: 2013-11-29T22:18:59 cxx/* 2013-11-29T22:18:59 led/posix* 2013-11-29T22:18:59 led/complex1 2013-11-29T22:18:59 hello/posix_hello_world 2013-11-29T22:19:01 hello/both_hello 2013-11-29T22:19:01 alto 2013-11-29T22:19:03 misc/adamain 2013-11-29T22:19:05 posix_api/* 2013-11-29T22:19:06 thanks 2013-11-29T22:19:18 Should have. This is so inefficient. =P 2013-11-29T22:19:29 it's good for you though. puff up your task count. 2013-11-29T22:19:45 Ah. That doesn't really matter. 2013-11-29T22:20:09 All that matters is that I turn in my homework by Monday. 2013-11-29T22:21:28 pfft. 2013-11-29T22:21:37 get good test grades 2013-11-29T22:21:42 hmm.. 2013-11-29T22:21:52 and good standardized test grades 2013-11-29T22:21:55 (thinks hard) 2013-11-29T22:22:02 yup. that's what matters to get in to college. 2013-11-29T22:23:23 Mhmmm... 2013-11-29T22:23:42 Maybe throw in a little volunteering. We're all good. 2013-11-29T22:25:31 gedare: the last "yes" in the csv for the barrier task, I'm assuming that's do to with whether it's a task or something? I guess I'm asking if I really need to know what the "yes" corresponds to 2013-11-29T22:25:34 Found it ... rtems/score/cpuopts.h 2013-11-29T22:29:38 javamonnn: i think you are correct.. 2013-11-29T22:30:14 it is the "implemented" field 2013-11-29T22:30:45 I was just wondering if it was important information in completing the task, I don't want to get off on the wrong foot 2013-11-29T22:30:54 it doesn't look like it is though 2013-11-29T22:33:13 no.. except i don't know why it would say yes 2013-11-29T22:33:39 yeah because it hasn't been implemented yet lol 2013-11-29T22:34:49 wait wait wait 2013-11-29T22:35:07 psxtmbarrier03 is releasing, no preempt 2013-11-29T22:36:03 did the wrong task get generated? 2013-11-29T22:36:32 No you know what happened 2013-11-29T22:36:42 the task on gci is psxtmbarrier04 2013-11-29T22:36:54 Joel copied the line from psxtmbarrier03 2013-11-29T22:37:06 04 is releasing, preempt 2013-11-29T22:37:21 the line below and has a "no" for implemented 2013-11-29T22:37:32 which makes a lot more sense haha 2013-11-29T22:38:15 yeah the description is mangled too.... 2013-11-29T22:38:26 it says "tesuites/psxtmests/ preempt for" 2013-11-29T22:39:36 haha 2013-11-29T22:41:05 I noticed there is a .scn in the psxtmbarrier03, do you want me to include one with the 04? I could also add them in for the thread tasks earlier 2013-11-29T22:41:06 *** kiwichris has quit IRC (Read error: Connection reset by peer) 2013-11-29T22:42:18 no 2013-11-29T22:42:23 .scn for tmtest make little sense 2013-11-29T22:42:26 because the times will differ 2013-11-29T22:42:34 (my opinion, not a fact) 2013-11-29T22:48:10 so I've been working on a script to generate basic libbsp doxygen and comments during task downtime 2013-11-29T22:49:02 its more of finding the time to finish it and less of wondering if it's feasible at this point 2013-11-29T22:50:10 heh, good.. 2013-11-29T22:50:24 one of our students last year made a similar comment, about doxygenating the cpukit.l 2013-11-29T22:50:38 except he wanted us to post a task to create a script ;) 2013-11-29T22:52:44 It's really not that complicated to do, I was thinking about how to do it for a couple days but started it when I saw that huge wall of doxygen tasks to do 2013-11-29T22:53:25 yeah it can really make for some easy fast tasks 2013-11-29T22:54:21 end goal is to have it do @defgroup and @ingroup and other structure for the most common .h and .c files (easy) and have it automatically move comments to .h and @brief it 2013-11-29T22:54:38 the more board specific stuff I guess you could prompt the user for group names 2013-11-29T22:56:25 we have a script that checks for "compliance" to standard rules. it might be nice to add checks for doxygen to that. i'll have to remember this. 2013-11-29T22:56:36 especially once we can come up with reasonable doxygen rules. 2013-11-29T22:57:35 Yeah like hard explicit rules 2013-11-29T22:58:15 yeah 2013-11-29T22:58:28 my inbox is full of "no-reply(4)" and "Bryan Dunsmore". 2013-11-29T22:59:15 that was kind of epic.. 2013-11-29T22:59:24 You know it is. =P 2013-11-29T22:59:30 dang I didn't realize he jumped ahead with the waf stuff, nice 2013-11-29T22:59:43 closed 7 tasks in an hour 2013-11-29T22:59:50 I wish I could finish up the misc module, but my brain is starting to shutdown. 2013-11-29T23:00:00 i won't be here to close the tasks anyway 2013-11-29T23:00:05 So I'll see you guys later today. 2013-11-29T23:00:07 i'm going to bed myself. 2013-11-29T23:00:14 (Because it's now Saturday, haha) 2013-11-29T23:00:14 night guys 2013-11-29T23:00:18 heh. 2013-11-29T23:00:20 Night. 2013-11-29T23:00:24 good luck with the barrier task javamonnn . 2013-11-29T23:00:27 *** dunsmoreb has quit IRC (Quit: Leaving) 2013-11-29T23:01:11 and i have a feeling you'll pass him again with the doxygen tasks soon enough. 2013-11-29T23:01:13 he's more of a sprinter. 2013-11-29T23:01:24 good night 2013-11-29T23:05:53 *** gedare has quit IRC (Ping timeout: 246 seconds) 2013-11-29T23:09:02 *** javamonnn has quit IRC (Remote host closed the connection) 2013-11-29T23:49:06 *** javamonnn has joined #rtems 2013-11-29T23:50:37 *** kiwichris has joined #rtems 2013-11-30T00:53:26 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T01:05:31 *** javamonnn has joined #rtems 2013-11-30T02:27:31 *** edwardk has joined #rtems 2013-11-30T02:40:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T02:51:44 *** javamonnn has joined #rtems 2013-11-30T03:10:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T03:35:06 *** arvind_khadri has joined #rtems 2013-11-30T03:51:37 *** edwardk has joined #rtems 2013-11-30T03:56:29 *** javamonnn has joined #rtems 2013-11-30T04:00:31 *** aakritty has joined #rtems 2013-11-30T04:07:50 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T04:08:31 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-30T04:58:27 *** javamonnn has joined #rtems 2013-11-30T05:32:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T06:18:25 *** asx15 has joined #rtems 2013-11-30T06:23:00 *** MegaAlex has quit IRC (Ping timeout: 246 seconds) 2013-11-30T06:23:30 *** MegaAlex has joined #rtems 2013-11-30T06:43:25 *** javamonnn has joined #rtems 2013-11-30T06:53:35 *** edwardk has joined #rtems 2013-11-30T07:01:50 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T07:03:10 *** javamonnn has joined #rtems 2013-11-30T07:12:14 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T07:22:46 *** aakritty has quit IRC (Read error: Connection reset by peer) 2013-11-30T07:43:02 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-30T07:50:29 *** antgreen has quit IRC (Read error: Operation timed out) 2013-11-30T07:54:48 *** dunsmoreb has joined #rtems 2013-11-30T08:00:38 *** javamonnn has joined #rtems 2013-11-30T08:22:14 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T08:25:59 *** edwardk has joined #rtems 2013-11-30T08:29:15 *** edwardk has joined #rtems 2013-11-30T08:30:53 *** edwardk has quit IRC (Client Quit) 2013-11-30T08:37:30 *** javamonnn has joined #rtems 2013-11-30T08:42:40 *** aakriti has joined #rtems 2013-11-30T08:51:26 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T09:02:53 *** gedare has joined #rtems 2013-11-30T09:14:17 Anybody participating in http://24pullrequests.com/? =P 2013-11-30T09:19:37 gedare, uh... Are you sure that misc/extract_example needs to be converted? 2013-11-30T09:19:57 *** gedare has quit IRC (Read error: Operation timed out) 2013-11-30T09:21:16 what's that dunsmoreb? 2013-11-30T09:21:38 cdesai, "This directory contains a Makefile demonstrating how to extract information from an installed RTEMS." 2013-11-30T09:21:40 "EARN CODERWALL BADGES" :D 2013-11-30T09:21:52 Oh. We're talking about something different now. lol 2013-11-30T09:21:53 dunsmoreb: I meant 24 pull requests ;) 2013-11-30T09:22:30 I sometimes find these interesting. Except I don't want to contribute to the twenty-trillionth javascript library. =P 2013-11-30T09:23:13 *** edwardk has joined #rtems 2013-11-30T09:23:23 and I don't use pull requests much. gerrit \m/ 2013-11-30T09:23:53 alright, time to have a look at waf 2013-11-30T09:24:59 Do you mean you contribute to projects that use gerrit, or you run your own gerrit instance, ...? 2013-11-30T09:25:19 the former, though I had the latter for a while 2013-11-30T09:25:42 Cool. What other projects do you contribute to? 2013-11-30T09:26:00 AOSP and CyanogenMod 2013-11-30T09:26:03 what about you? 2013-11-30T09:26:27 Sadly, nothing much lately. =( 2013-11-30T09:26:36 I do work on my little shell script for Wine sometimes. 2013-11-30T09:27:11 git log tells me you've done a lot of waf tasks 2013-11-30T09:27:20 y u guys leave me behind :( 2013-11-30T09:27:50 Yeah. I had a sprint last night. Managed to finish up led/ 2013-11-30T09:28:35 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-30T09:36:13 *** edwardk has joined #rtems 2013-11-30T09:37:42 ~/b-gcc$ time make # let's see how long it takes 2013-11-30T09:44:31 *** javamonnn has joined #rtems 2013-11-30T09:50:38 *** antgreen has joined #rtems 2013-11-30T09:55:28 anyone know how to pass linking flags to waf? 2013-11-30T09:55:46 I found linkflags in waf's examples, but that doesn't work. 2013-11-30T09:56:07 Like, in a wscript or in the shell? 2013-11-30T09:56:20 wscript 2013-11-30T09:57:05 Take a look at build() in the example-v2/wscript 2013-11-30T09:57:20 Oh wait, you said linking flags. 2013-11-30T09:58:34 yeah, LINK_LIBS in the Makefile 2013-11-30T10:05:59 hrm, it does add '-lfoo' to the command, just not in the right place 2013-11-30T10:06:09 When you call bld in the wscript, try adding lib=['dl'] to the end 2013-11-30T10:06:20 *lib=['m'] 2013-11-30T10:06:49 that worked, thanks 2013-11-30T10:07:13 No problem. 2013-11-30T10:07:59 *** gedare has joined #rtems 2013-11-30T10:08:23 gedare, uh... Are you sure that misc/extract_example needs to be converted? 2013-11-30T10:08:32 no.. 2013-11-30T10:08:36 gotta go tho can't look 2013-11-30T10:09:00 Okay. =/ 2013-11-30T10:11:20 back checking 2013-11-30T10:11:33 uh.. 2013-11-30T10:11:41 'no that is a no-op 2013-11-30T10:11:56 Haha. 2013-11-30T10:11:56 upload an empty file and submit for completion 2013-11-30T10:12:09 oh hmm 2013-11-30T10:12:12 well it does do something... 2013-11-30T10:12:25 but i don't know the point 2013-11-30T10:12:50 "Makefile to pull BSP specific information into a form the script can use" 2013-11-30T10:12:51 yeah just leave that be for now 2013-11-30T10:13:02 I don't know what the script could be. Maybe someone else knows? 2013-11-30T10:13:22 probably joel does but we won't worry about it for now 2013-11-30T10:14:08 Okay. I just uploaded a no-op file. 2013-11-30T10:15:28 * cdesai just finished his first waf task 2013-11-30T10:15:52 cdesai: closed, congrats 2013-11-30T10:15:57 cdesai, woo! =P 2013-11-30T10:15:59 they're not as hard as i thought they might be 2013-11-30T10:16:27 yea, only thing I had fun with was the POSIX test 2013-11-30T10:16:41 that was a good learning experience 2013-11-30T10:16:55 gotta go 2013-11-30T10:17:03 Bye. 2013-11-30T10:17:20 bye 2013-11-30T10:17:23 *** asx15 has quit IRC (Quit: Leaving.) 2013-11-30T10:18:32 $ time waf 2013-11-30T10:18:33 real 0m1.546s 2013-11-30T10:18:36 from clean 2013-11-30T10:18:50 Nothing much to see here yet 2013-11-30T10:21:43 *** gedare has quit IRC (Ping timeout: 260 seconds) 2013-11-30T10:26:14 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T10:26:55 *** dunsmoreb has quit IRC (Ping timeout: 260 seconds) 2013-11-30T10:28:08 *** vipul__ has joined #rtems 2013-11-30T10:28:25 *** vipul__ has left #rtems 2013-11-30T10:38:02 *** vipulnayyar has joined #rtems 2013-11-30T10:42:45 *** vipulnayyar has quit IRC (Client Quit) 2013-11-30T10:45:06 *** gedare has joined #rtems 2013-11-30T10:45:38 cdesai: can you send the github pull request for your task? 2013-11-30T10:47:41 *** javamonnn has joined #rtems 2013-11-30T10:50:24 morning yall 2013-11-30T10:51:02 cdesai: nevermind i applied the patch. 2013-11-30T10:51:05 good morning java 2013-11-30T10:51:08 javamonnn ^ 2013-11-30T10:53:14 gedare: I was going to but had to run 2013-11-30T10:53:22 it's ok 2013-11-30T10:58:35 gedare: qemu_vfat doesn't build for me with make 2013-11-30T10:58:43 using sparc/sis, 4.11 2013-11-30T10:58:56 misc/qemu_vfat/init.c:35:6: error: 'msdos_ops' undeclared here (not in a function) 2013-11-30T10:59:27 looks like this one isn't built too, it's not in misc/Makefile 2013-11-30T10:59:34 brb 2013-11-30T11:00:10 i think it may be platform dependent. 2013-11-30T11:07:19 gedare: psxtmthread02 already exists, but it's written wrong 2013-11-30T11:07:20 *** arvind_k has joined #rtems 2013-11-30T11:07:36 It might be there as a placeholder I guess 2013-11-30T11:08:33 except it prints out a value for a case of pthread_create(), no preempt and then says it's a benchmark of pthread_create(), preempt 2013-11-30T11:08:39 which is a little misleading 2013-11-30T11:10:19 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2013-11-30T11:15:23 gedare: all I get is 2013-11-30T11:15:24 rtems/cpukit/libfs/src/dosfs/msdos_init.c:38:const rtems_filesystem_operations_table msdos_ops = { 2013-11-30T11:25:17 *** aakriti has quit IRC (Read error: Connection reset by peer) 2013-11-30T11:44:03 gedare: what's even odder is that psxtmthread03 exists well, and it's testing pthread_exit instead of pthread_equal per the csv 2013-11-30T11:44:55 psxtmthread02 existed but was just flat wrong, this one I'm not sure if I should replace what's there or make a new psxtmtest. 2013-11-30T11:45:07 for this one I mean 2013-11-30T11:45:22 javamonnn: sounds like a mistake was made sometime.. 2013-11-30T11:45:45 So just replace the code currently there? 2013-11-30T11:46:32 yeah i think so.. 2013-11-30T11:46:48 sounds like joel got the files confused, but if he needs to recover the old code he can from the git. 2013-11-30T11:47:36 thanks cdesai that is good enough for now 2013-11-30T11:47:52 psxtmthread02 was just flat wrong, 01 tests create no preempt so I'm pretty sure that one should be replaced. psxtmthead03 though I'm not sure about it. I'll replace it for now. 2013-11-30T11:48:22 gedare: I'll look more and then post of the list (-devel) if that's ok, is it? 2013-11-30T11:48:46 cdesai: no you can just move on for now 2013-11-30T11:48:53 we can come back and clean it up later if time permits 2013-11-30T11:48:58 ok, thanks, sure 2013-11-30T11:49:06 or file a bug report on our RTEMS Bugzilla 2013-11-30T11:49:16 that sounds better 2013-11-30T11:49:16 javamonnn: can you file a bug report on Bugzilla for psxtmthread02? 2013-11-30T11:49:37 http://wiki.rtems.org/wiki/index.php/Bugzilla 2013-11-30T11:50:25 hmm, the ssl cert on https://www.rtems.org/bugzilla/ shows up as untrusted for me 2013-11-30T11:50:43 yes.. 2013-11-30T11:50:51 it is self-signed 2013-11-30T11:50:54 self-issued, that's why? 2013-11-30T11:50:55 ah okay 2013-11-30T11:51:00 a known issue 2013-11-30T11:51:11 gedare: sure thing 2013-11-30T11:51:16 thanks. 2013-11-30T11:51:32 gotta go again. i only get dribbles of time especially on the weekends. 2013-11-30T12:10:22 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-30T12:17:16 cdesai: thanks for fixing the extensions. 2013-11-30T12:17:29 no problem 2013-11-30T12:24:26 gedare: will rtems be fully switching to waf eventually? 2013-11-30T12:26:23 gedare: https://www.rtems.org/bugzilla/show_bug.cgi?id=2156 2013-11-30T12:26:45 cdesai: yes there is an effort to convert the main rtems build to waf instead of autotools. 2013-11-30T12:26:54 thanks javamonnn 2013-11-30T12:27:18 now we can create a task to fix the bug :) 2013-11-30T12:27:35 I actually alread did 2013-11-30T12:27:40 already* 2013-11-30T12:27:55 gedare: great 2013-11-30T12:28:15 oh i see 2013-11-30T12:28:34 my current task was to write a time test for psxtmthread02, and on the csv it says preempt. there was an existing test but it was a no preempt case 2013-11-30T12:28:39 ahhh 2013-11-30T12:29:14 cross-post the patch to melange if you haven't already 2013-11-30T12:29:26 just did 2013-11-30T12:29:30 thanks. 2013-11-30T12:30:12 also, all the other posix time test tasks that are on there right now have preexisting tests. 2013-11-30T12:30:33 psxtmthread03 tests something entirely different than what's in the csv 2013-11-30T12:30:41 and I'm about to check the other 2 2013-11-30T12:30:49 ok asking joel 2013-11-30T12:31:02 gedare: micromonitorumon doesn't build as well 2013-11-30T12:31:13 *micomonitor/umon 2013-11-30T12:31:26 complains about missing umon.h 2013-11-30T12:31:40 hmm 2013-11-30T12:32:23 maybe it only works for some targets too... 2013-11-30T12:32:49 the file is rtems/c/src/lib/libbsp/shared/umon/umon.h 2013-11-30T12:34:19 *** DrJoel has joined #rtems 2013-11-30T12:34:19 *** DrJoel has joined #rtems 2013-11-30T12:34:19 *** ChanServ sets mode: +o DrJoel 2013-11-30T12:34:27 okay, psxtmcond02 lines up with what the csv says it should be AND it does it correctly, so that's good 2013-11-30T12:34:41 i got DrJoel to drop by and try to sort this out 2013-11-30T12:34:45 Hey.. gedare pinged me 2013-11-30T12:34:55 cdesai: i'm investigating 2013-11-30T12:34:57 So how out of sync is the .csv file? 2013-11-30T12:35:25 I noticed that the mq part was out of date when I put together that last back of tasks. 2013-11-30T12:35:28 ~/.../rtems/rtems/c/src/lib/libbsp$ find . -name Makefile.am | xargs grep umon 2013-11-30T12:35:29 ./arm/csb337/Makefile.am:include_umondir = $(includedir)/umon 2013-11-30T12:35:29 ./arm/csb337/Makefile.am:include_umon_HEADERS = ../../shared/umon/cli.h 2013-11-30T12:35:29 ./arm/csb337/Makefile.am:include_umon_HEADERS += ../../shared/umon/monlib.h 2013-11-30T12:35:29 ./arm/csb337/Makefile.am:include_umon_HEADERS += ../../shared/umon/tfs.h 2013-11-30T12:35:29 ./arm/csb337/Makefile.am:include_rtems_HEADERS = ../../shared/umon/umon.h 2013-11-30T12:35:31 ./arm/csb337/Makefile.am:# umon 2013-11-30T12:35:33 ./arm/csb337/Makefile.am:libbsp_a_SOURCES += ../../shared/umon/umonrtemsglue.c \ 2013-11-30T12:35:35 ./arm/csb337/Makefile.am: ../../shared/umon/monlib.c ../../shared/umon/tfsDriver.c \ 2013-11-30T12:35:37 ./arm/csb337/Makefile.am: ../../shared/umon/umoncons.c startup/umonsupp.c 2013-11-30T12:35:39 ./arm/csb337/Makefile.am:libbsp_a_SOURCES += ../../shared/umon/umoncons.c 2013-11-30T12:35:41 * gedare bad manners 2013-11-30T12:35:52 cdesai: looks like umon is only going to work for the csb337 BSP 2013-11-30T12:36:08 just saw that, http://sprunge.us/iiGH 2013-11-30T12:36:11 I can add a check then 2013-11-30T12:36:19 much better manners. 2013-11-30T12:36:25 yeah sure that will work 2013-11-30T12:36:31 Hey DrJoel! The recent posix tasks make it seem out of sync. psxtmthrea02 already existed, but it was benchmarking the wrong thing so I fixed that. psxtmthread03 exists, but checks something entirely different than what the csv says it should. 2013-11-30T12:36:32 good catch. 2013-11-30T12:37:10 psxtmcond01 exists and checks what the csv says it should check, and does it correctly, so that shouldn't have been posted as a task 2013-11-30T12:38:17 bbl. 2013-11-30T12:38:22 *** vipulnayyar has joined #rtems 2013-11-30T12:38:28 and it looks like psxtmcond02 is good too. 2013-11-30T12:39:15 OK.. let me delete psxtmcond01 2013-11-30T12:40:00 So for the psxtmthread03 task, should I replace the current test there with what's outlined in the csv? 2013-11-30T12:40:02 that task is gone. 2013-11-30T12:40:39 No.. we should increment the numbers on the tests. I was trying to catch that type of thing. Do you have a patch for the .csv? 2013-11-30T12:41:11 That corrects the test descriptions and numbering? I will delete the psxtmthread** tasks and redo them 2013-11-30T12:41:16 once I have that 2013-11-30T12:42:08 ohh no let me do that right now. I submitted a patch fixing psxtmthread02 on melange so I'll resubmit with a patch for the csv 2013-11-30T12:42:24 we have tasks unpublished for 2-4. which now seems wrong.. should all those be deleted? 2013-11-30T12:42:36 psxtmthread02 .. 04.. should I delete them? 2013-11-30T12:42:54 vipulnayyar.. uploaded your refactoring tasks.. 2013-11-30T12:43:11 02 keep, I don't see 04 2013-11-30T12:43:26 psxtmthread02 is a matter of what's already there being wrong 2013-11-30T12:43:33 DrJoel: looks like http://www.google-melange.com/gci/task/view/google/gci2013/5841416039170048 and http://www.google-melange.com/gci/task/view/google/gci2013/5857822814240768 are duplicates 2013-11-30T12:43:35 BSP Refactoring Task #6: powerpc 2013-11-30T12:43:35 Status: Open 2013-11-30T12:43:35 Mentor(s): Chris Johns 2013-11-30T12:43:35 BSP Refactoring Task #6: powerpc 2013-11-30T12:43:35 Status: Open 2013-11-30T12:43:35 Mentor(s): Chris Johns 2013-11-30T12:44:30 DrJoel : #6 and 11-15 tasks have duplicates 2013-11-30T12:45:11 crap.. :( maybe I need to pay more attention to proofreading my wife's book and less to GCI today. Damn.. I am screwing up a lot 2013-11-30T12:45:15 OK.. will delete 11-15 2013-11-30T12:45:57 psxtmthread02 is my current task. The existing test benchmaked "pthread_create, no preempt" when it was documented as testing preempt and the csv says it should be preempt. 2013-11-30T12:46:32 I submitted a patch and bug report for that and am about to include the csv patch 2013-11-30T12:46:43 Then fix the description in the .csv to match the existing test. 2013-11-30T12:46:56 Is there a case for pthread_create, preempt? 2013-11-30T12:47:14 vipul .. ok now? 2013-11-30T12:47:29 No, psxtmthread01 is pthread_create, no preempt. I patched 02 to test pthread_create, preempt because of this. 2013-11-30T12:48:10 javamonnn: OK.. I think you know the pattern we are trying to get with the set of tests. The .csv just seems wrong 2013-11-30T12:48:31 psxtmcond02 task should be deleted, it exists and is correct 2013-11-30T12:48:32 The idea is start with CATEGORY and go from init/create through various operations from 01 to 0n. :) 2013-11-30T12:48:58 DrJoel: Yeah, if I run into anything like this from now on I'll use my best judgment 2013-11-30T12:49:14 Thanks Dr Joel, it's fine now :-) 2013-11-30T12:49:50 and psxtmthread03 should be deleted as well. I'll update the csv with a patch I'll submit for psxtmthread02 to reflect the fact that these have been implemented. 2013-11-30T12:50:04 The .csv is intended to be a plan and match the set. But obviously we didn't keep it up to date. When you update the patch on the PR, I will file it. 2013-11-30T12:51:31 I just did something I hope I don't regret.. I published all existing timing test tasks. If they are wrong, then we need to delete them. Then finish the correct tasks.. and see what has "No" in the spreadsheet when done. 2013-11-30T12:51:46 That way you can see what I did and we can fix it. :) 2013-11-30T12:51:56 hahahaha yes thank you I will have fun with this 2013-11-30T12:52:19 these timing taks are a lot of fun 2013-11-30T12:52:23 tasks* 2013-11-30T12:52:24 In case any other students are listening.. this is the type of activity that can't be counted in the "task count" but sure goes into the final decision. :) 2013-11-30T12:52:41 I like writing them .. but it is easy to measure the wrong thing. :) 2013-11-30T12:52:52 javamonnn: +1, I learnt a lot from the one I did 2013-11-30T12:53:08 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-11-30T12:53:27 I noticed the tmtests are missing some cases so if we get through all these, I will look into seeing what cases are missing there. I think the barrier in that API might be missing a few 2013-11-30T12:54:09 :) on learning.. and you also learned that many eyes are good on finding bugs. :) 2013-11-30T12:54:14 and there is no shame in reporting them. 2013-11-30T12:54:45 When I see the new patch, I will review and commit it. 2013-11-30T12:54:58 FYI I updated the test templates to have 2013 as the copyright year. 2013-11-30T12:55:21 And if we need a new template, speak up. Those are fairly new in the RTEMS world. 2013-11-30T12:55:22 Alright DrJoel, I'll try to bring the .csv up to sync all in one go here 2013-11-30T12:55:28 thanks. :) 2013-11-30T12:56:00 ok.. i am back to proofreading my wife's book.. she wants it put to bed this weekend 2013-11-30T12:56:44 what is the book about? 2013-11-30T13:26:02 *** javamonnn has quit IRC (Remote host closed the connection) 2013-11-30T13:49:35 *** javamonnn has joined #rtems 2013-11-30T13:56:20 DrJoel: were you fixing the duplicate tasks? 2013-11-30T13:56:23 i think we both deleted task 6 2013-11-30T13:56:56 oops. :) 2013-11-30T13:57:07 i can add #6 back. 2013-11-30T13:57:37 melange needs bulk delete. 2013-11-30T13:59:59 ok i added it back and published it. 2013-11-30T14:00:49 all waf conversions done for now! yay 2013-11-30T14:00:50 gotta go 2013-11-30T14:01:07 later gedare 2013-11-30T14:01:54 lol I lost my once well established lead due to that waf sprint 2013-11-30T14:05:59 *** gedare has quit IRC (Ping timeout: 272 seconds) 2013-11-30T14:44:37 DrJoel: I just posted the new patch to melange 2013-11-30T15:13:43 *** gedare has joined #rtems 2013-11-30T15:18:49 *** gedare has quit IRC (Ping timeout: 272 seconds) 2013-11-30T15:48:04 javamonnn you will get another burst of tasks :) 2013-11-30T15:52:34 fun fun fun :) The time tests are a lot of fun to write. They take a little bit longer, especially with the debug/compile time but I enjoy what I'm doing a lot more than if they were waf or doxygen stuff for instance. 2013-11-30T15:55:46 *** dunsmoreb has joined #rtems 2013-11-30T15:56:57 It's also greatly helping my knowledge of the pthread api which is cool, I've never worked with threads like this 2013-11-30T15:59:38 whats up dunsmoreb 2013-11-30T16:00:04 For me, the ceiling. =P 2013-11-30T16:00:23 I just got back from doing homework with friends, so... 2013-11-30T16:00:25 It's funny because people ask for examples of how to use them and most of the code we have are tests which push them into odd corner cases. :) 2013-11-30T16:00:43 And don't do anything like a real app.. at least the timing tests are supposed to reflect important use cases 2013-11-30T16:00:48 hello dunsmoreb... 2013-11-30T16:01:30 don't know where you two are geographically.. but I am split between GCI, the Auburn/Alabama game, and the Georgia/Georgia Tech game.. I went to none of those schools .. lol 2013-11-30T16:02:31 Better than doing homework. =P 2013-11-30T16:05:00 hahah as a senior a lot of my classes are entirely test grade, homework is optional 2013-11-30T16:05:00 javamonnn heard me say that I should be proofing my wife's book.. she waits to put it to bed this weekend. This is her second novel 2013-11-30T16:05:16 novel, nice 2013-11-30T16:05:22 I don't think I ever felt anythign was optional .. even through Ph.D. :( 2013-11-30T16:05:45 watch out for warnings and checking status codes. Just fixed a couple.. no big deal.. but try to catch them. 2013-11-30T16:06:18 Okay I wasn't sure if I should be going out of my way to check status codes. I will from now on. 2013-11-30T16:06:41 It just gets odd sometimes when a preempt occurs because you have to come back to check it 2013-11-30T16:07:52 Is there a way you can configure with --enable-tests=psxtmtests? 2013-11-30T16:08:18 It yells at me anytime I try to configure anything other than samples so I end up having to enable all tests and compile it that way 2013-11-30T16:08:25 --enable-tests 2013-11-30T16:08:29 you have to build them all. 2013-11-30T16:08:40 ahh that's what I thought, I was just making sure 2013-11-30T16:08:53 If you have multiple cores, I recommend adding -jN where N is 2x cores available to the make 2013-11-30T16:09:16 closing task javamonnn.. code pushed.. thanks 2013-11-30T16:09:23 I forgot about that 2013-11-30T16:09:27 cool, thanks. 2013-11-30T16:10:24 It spends the builds up considerably 2013-11-30T16:10:46 and if you add --enable-maintainer-mode, you often don't have to rebuild everything when adding a directory 2013-11-30T16:10:59 on a more serious note.. are there enough tasks outstanding in the types you two like 2013-11-30T16:12:28 I saw someone pass the maintainer-mode earlier, I wasn't sure what it did exactly, thanks for explaining that 2013-11-30T16:12:45 and yes, plenty of posix to keep me busy for awhile. 2013-11-30T16:13:31 It tracks the file dependencies from bootstrap 2013-11-30T16:13:53 Hopefully that won't be needed soon.. looking to move to new build system 2013-11-30T16:21:34 this is the first time I've seen waf used 2013-11-30T16:22:38 Same. 2013-11-30T16:23:41 the syntax seems simpler, but makefiles have the advantage that everyone has used them in one way or another 2013-11-30T16:23:47 but that will change with time 2013-11-30T16:25:37 Make syntax is well known but cryptic and hard to get right for parallel builds.. Waf has the advantage of being in Python.. lower overhead.. my recollection is that from end of git clone to all tests built is ~90 seconds. verm__ can comment on that 2013-11-30T16:26:02 shoot 2013-11-30T16:26:07 90 seconds 2013-11-30T16:26:27 that is definitely worth the conversion over hahah 2013-11-30T16:27:07 Yep! And I don't know that the 90 seconds was on that special of a computer. 2013-11-30T16:27:27 I should have given you and dunsmoreb the tasks you claimed.. 2013-11-30T16:27:31 * DrJoel goes back to proofreading 2013-11-30T17:01:37 *** dunsmoreb has quit IRC (Read error: Connection reset by peer) 2013-11-30T17:02:25 *** dunsmoreb has joined #rtems 2013-11-30T17:14:13 *** DrJoel has quit IRC (Quit: Not that there is anything wrong with that) 2013-11-30T17:21:14 my workstation right now is an old pentium D lol 2013-11-30T17:21:31 it takes ~15 minutes to compile 2013-11-30T17:22:08 but it was free so hey I can't complain 2013-11-30T18:20:16 *** edwardk has joined #rtems 2013-11-30T18:41:02 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T18:47:30 build speeds are based on a fast multicore machine with SSD disks and /tmp in a ram disk 2013-11-30T18:55:27 *** antgreen has quit IRC (Ping timeout: 252 seconds) 2013-11-30T19:06:32 *** javamonnn has joined #rtems 2013-11-30T19:11:12 *** antgreen has joined #rtems 2013-11-30T19:20:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T19:25:27 *** javamonnn has joined #rtems 2013-11-30T19:41:47 *** gedare has joined #rtems 2013-11-30T20:00:36 *** dunsmoreb has quit IRC (Read error: Connection reset by peer) 2013-11-30T20:04:27 *** antgreen has quit IRC (Ping timeout: 272 seconds) 2013-11-30T20:19:19 javamonnn: i get conflict with your psxtmcond patch, against the .csv file :( 2013-11-30T20:19:24 *** antgreen has joined #rtems 2013-11-30T20:19:47 ahh 2013-11-30T20:19:55 what do you mean? I updated the .csv file in the patch 2013-11-30T20:19:55 i think i was outdated. 2013-11-30T20:20:10 hmm. 2013-11-30T20:20:13 ahh yeah I sync'd the .csv for the last task 2013-11-30T20:20:15 error: patch failed: testsuites/psxtmtests/psxtmtests_plan.csv:17 2013-11-30T20:20:16 error: testsuites/psxtmtests/psxtmtests_plan.csv: patch does not apply 2013-11-30T20:20:16 Patch failed at 0001 psxtmtests: added new psxtmcond04 test, fixed psxtmcond03 2013-11-30T20:20:24 ah! 2013-11-30T20:20:26 still outdated 2013-11-30T20:20:30 don't mind me right now. 2013-11-30T20:20:38 just trying to verify your task before i go to bed 2013-11-30T20:20:47 haha, I appreciate it. 2013-11-30T20:22:48 the print message is + "pthread_cond_signal - thread waiting, no preempt", 2013-11-30T20:22:51 that looks wrong? 2013-11-30T20:23:06 first arg to put_time() in init.c 2013-11-30T20:24:40 also I don't think we want extra printfs like the one at + printf("yielding to second thread\n"); 2013-11-30T20:24:58 javamonnn: can you fix those issues quickly? 2013-11-30T20:25:07 ahh it looks like I forgot to pull out all the debug prints 2013-11-30T20:25:15 yeah give me like 5 minutes tops 2013-11-30T20:28:58 done 2013-11-30T20:29:11 ok refreshing. 2013-11-30T20:31:45 i got some trailing whitespace errors, fyi. 2013-11-30T20:31:53 no biggie but try not to have blank spaces at the end of lines. 2013-11-30T20:32:32 looks good. 2013-11-30T20:32:36 thanks for fixing 03 too. 2013-11-30T20:32:39 okay, I'll check that from now on 2013-11-30T20:33:20 yeah I just wish I caught it earlier, I spent way too much time trying to figure out what was wrong when it was so simple 2013-11-30T20:33:40 thanks for approving it before you go to bed haha 2013-11-30T20:35:03 yeah i also managed to post one more waf conversion task 2013-11-30T20:35:16 it's different from the others... an example of how to build a library 2013-11-30T20:36:14 night. 2013-11-30T20:36:30 goodnight. 2013-11-30T20:46:16 *** dunsmoreb has joined #rtems 2013-11-30T20:47:01 *** gedare has quit IRC (Ping timeout: 246 seconds) 2013-11-30T20:56:08 morning 2013-11-30T20:56:20 dunsmoreb: i had a sprint yesterday :-D 2013-11-30T20:56:27 haha morning cdesai 2013-11-30T20:56:29 I saw. =P 2013-11-30T20:56:53 you can really knock those waf tasks out in a couple minutes easy 2013-11-30T20:57:07 The bottleneck is getting them closed. 2013-11-30T20:57:32 that's always the bottleneck 2013-11-30T20:57:51 I dont want to start working on something else if someone else can claim it 2013-11-30T20:58:03 I mean no one ever does but still 2013-11-30T20:58:22 What are you waiting for? 2013-11-30T20:58:52 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-11-30T20:59:00 nothing actually, I'm working on a posix time test, I'm just saying in general 2013-11-30T20:59:09 getting it closed seems to be the bottleneck 2013-11-30T20:59:18 Woot. Task partners! 2013-11-30T21:00:36 You're doing a posix too? I really like these tasks 2013-11-30T21:02:09 First one. 2013-11-30T21:08:47 I've done a couple today, they're not too bad once you get the hang of them. Worst part is compile time 2013-11-30T21:09:48 Question, what is the purpose of the Middle() and Low() functions? 2013-11-30T21:10:16 compiling only the test should be fast 2013-11-30T21:10:40 Depending on what you're doing you're going to want threads with middle and low priorities, it's a way to label what is what 2013-11-30T21:11:02 You have to compile all tests, you can't specify a single test 2013-11-30T21:11:18 and my workstation has a pentium D 2013-11-30T21:11:22 you can 2013-11-30T21:11:23 lol 2013-11-30T21:11:38 javamonnn, thanks. 2013-11-30T21:12:01 javamonnn: cd to the test executable's path 2013-11-30T21:12:11 run make there :) 2013-11-30T21:12:16 really 2013-11-30T21:12:21 dang 2013-11-30T21:12:36 works with waf as well 2013-11-30T21:13:04 thanks cdesai 2013-11-30T21:27:17 rtems is interesting, the way it schedules threads 2013-11-30T21:27:23 since it's single process 2013-11-30T21:27:36 real time systems are cool 2013-11-30T21:35:39 *** dunsmoreb has quit IRC (Read error: Connection reset by peer) 2013-11-30T21:40:55 *** dunsmoreb has joined #rtems 2013-11-30T21:41:22 Ugh. My laptop's battery is dead, so if I pull out the plug my whole computer goes night-night. =( 2013-11-30T21:42:08 I used to have a laptop like that, it's so annoying. 2013-11-30T21:42:33 Yeah, and new batteries are so expensive. 2013-11-30T21:42:38 It's not even worth the effort. 2013-11-30T21:52:05 haha there are more tasks complete for rtems than there are for any other project 2013-11-30T21:52:09 good work guys 2013-11-30T21:52:27 Do the waf tasks really count? =P 2013-11-30T21:52:32 it's probably because between the three of us we have almost 60 tasks 2013-11-30T21:52:36 and that 2013-11-30T21:52:37 yeah 2013-11-30T21:52:44 pretty much that =P 2013-11-30T21:52:45 those take like 2 or 3 minutes 2013-11-30T21:52:49 hahahah 2013-11-30T21:53:06 it looks like they're doing some pretty serious stuff over at copyleft 2013-11-30T21:53:22 Like what? 2013-11-30T21:54:40 It looks like a lot of shaders, fixing bugs, that sort of stuff 2013-11-30T21:54:49 but really getting involved with the code base 2013-11-30T21:55:03 as opposed to documentation or translation or stuff like that 2013-11-30T21:55:19 Cool. 2013-11-30T22:01:52 Well I'm going to bed. Good night. 2013-11-30T22:01:55 *** dunsmoreb has quit IRC (Quit: Leaving) 2013-11-30T22:08:04 it's probably because between the three of us we have almost 60 tasks - that's nice 2013-11-30T22:09:25 *** mrpenguin has joined #rtems 2013-11-30T22:10:20 just cloned rtems from the link provided and when i try to find the chapters using grep -r ... i get nothing 2013-11-30T22:10:53 are you talking about finishing the posix chapters? 2013-11-30T22:11:08 yes 2013-11-30T22:11:47 I haven't looked at those tasks but I think that is documentation stuff, it wouldn't be in the actual code base 2013-11-30T22:11:59 hmmm 2013-11-30T22:12:14 the instructions say to just look directly under the rtems 2013-11-30T22:12:34 javamonnn: it's there 2013-11-30T22:12:43 rtems.git, doc/ 2013-11-30T22:12:56 ahh 2013-11-30T22:13:09 so 2013-11-30T22:13:12 ? 2013-11-30T22:13:22 its under doc 2013-11-30T22:13:49 kk thx 2013-11-30T22:13:58 I suggest you take a look at the files under doc/posix_users 2013-11-30T22:14:49 hmm 2013-11-30T22:14:59 those look like interesting tasks actually 2013-11-30T22:15:42 found under posix1003.1 2013-11-30T22:18:30 I had an irc nick javamonn and registered it but I can't remember the password now lol 2013-11-30T22:28:18 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-11-30T22:53:34 *** javamonnn has joined #rtems 2013-11-30T23:00:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-12-01T01:05:14 *** edwardk has joined #rtems 2013-12-01T01:11:26 *** edwardk has quit IRC (Ping timeout: 245 seconds) 2013-12-01T02:00:37 *** pancakewaffles has joined #rtems 2013-12-01T02:09:48 *** edwardk has joined #rtems 2013-12-01T02:14:32 *** edwardk has quit IRC (Ping timeout: 265 seconds) 2013-12-01T03:31:45 *** edwardk has joined #rtems 2013-12-01T03:37:13 *** edwardk_ has joined #rtems 2013-12-01T03:38:33 *** edwardk has quit IRC (Ping timeout: 272 seconds) 2013-12-01T03:43:23 *** edwardk_ has quit IRC (Ping timeout: 260 seconds) 2013-12-01T05:23:11 *** arvind_k has quit IRC (Ping timeout: 260 seconds) 2013-12-01T05:38:47 *** arvind_k has joined #rtems 2013-12-01T05:55:07 *** gigetoo has quit IRC (Remote host closed the connection) 2013-12-01T05:56:11 *** gigetoo has joined #rtems 2013-12-01T07:49:51 *** gcibot has quit IRC (Remote host closed the connection) 2013-12-01T07:50:05 *** gcibot has joined #rtems 2013-12-01T08:11:28 *** mmadia has joined #rtems 2013-12-01T09:21:47 *** arvind_k has quit IRC (Ping timeout: 246 seconds) 2013-12-01T10:46:03 *** javamonnn has joined #rtems 2013-12-01T10:47:16 *** mmadia has left #rtems 2013-12-01T10:57:30 *** dunsmoreb has joined #rtems 2013-12-01T10:57:43 night everyone 2013-12-01T10:57:50 Good night. 2013-12-01T11:03:24 *** dunsmoreb_ has joined #rtems 2013-12-01T11:03:24 *** dunsmoreb has quit IRC (Read error: Connection reset by peer) 2013-12-01T11:03:28 *** dunsmoreb_ is now known as dunsmoreb 2013-12-01T11:16:51 *** dunsmoreb has quit IRC (Ping timeout: 245 seconds) 2013-12-01T11:52:01 *** gedare has joined #rtems 2013-12-01T11:58:37 *** mrpenguin has quit IRC (Ping timeout: 250 seconds) 2013-12-01T12:07:30 *** gedare has quit IRC (Ping timeout: 245 seconds) 2013-12-01T12:25:02 *** peerst_ has joined #rtems 2013-12-01T12:25:25 *** peerst_ is now known as Guest835 2013-12-01T12:25:58 *** Guest835 is now known as peerst2 2013-12-01T12:26:58 kiwichris: you sent me a link to a 3 CPU high performance space dev platform a while ago 2013-12-01T12:27:37 could you share it again, i'm traveling and didn't take it with me I fear 2013-12-01T12:34:30 *** peerst2 has quit IRC (Quit: Colloquy for iPad - http://colloquy.mobi) 2013-12-01T12:45:35 *** peerst-ipad has joined #rtems 2013-12-01T12:46:36 hmm, should have set up a bouncer before traveling :-/ 2013-12-01T12:48:17 btw kiwichris ... found the site again, so nevermind 2013-12-01T13:19:35 *** antgreen has quit IRC (Read error: Connection reset by peer) 2013-12-01T13:22:07 *** peerst-ipad has quit IRC (Quit: Colloquy for iPad - http://colloquy.mobi) 2013-12-01T13:26:28 *** peerst-ipad has joined #rtems 2013-12-01T13:31:22 *** peerst-ipad has quit IRC (Quit: Colloquy for iPad - http://colloquy.mobi) 2013-12-01T14:07:14 *** dunsmoreb has joined #rtems 2013-12-01T14:20:42 Ugh. I cloned rtems.git clean and am trying to build it again, but I get an undefined reference to `pthread_setcancelstate' 2013-12-01T14:39:18 hmm that's odd 2013-12-01T14:39:26 make sure your includes are correct 2013-12-01T14:39:39 and that you're passing the correct number and type of args 2013-12-01T14:41:49 I'm going to try a couple more things and then I'm just going to blow everything up and start from scratch. 2013-12-01T14:42:20 I can't tell you how many times I've had to do that when I can't figure something out 2013-12-01T14:44:54 The only bad thing is rebuilding gcc. =/ 2013-12-01T14:48:24 Argh. Screw this. Time to do a $ rm -rf --no-preserve-root / 2013-12-01T14:49:19 dang man, you're going to rebuild everything? I thought you meant just scrapping what you had written for the test itself 2013-12-01T14:49:54 That's what I did at first. I cloned a clean rtems.git and yet it still doesn't work. =/ 2013-12-01T14:51:12 And your sure it's not a hidden error in your test? The way the macros work, you might be doing something wrong in some other function call and it doesn't get caught till the macro is expanded into pthread_setcancelstate 2013-12-01T14:51:40 I'm sure. This is a fresh clone without any changes. 2013-12-01T14:51:40 but it is odd you're getting an undefined reference as opposed to some other error 2013-12-01T16:45:27 *** edwardk has joined #rtems 2013-12-01T16:46:44 *** dunsmoreb has quit IRC (Read error: Connection reset by peer) 2013-12-01T17:17:15 *** edwardk_ has joined #rtems 2013-12-01T17:19:02 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-12-01T17:19:10 *** edwardk has quit IRC (Ping timeout: 245 seconds) 2013-12-01T17:32:35 *** edwardk has joined #rtems 2013-12-01T17:33:01 *** edwardk_ has quit IRC (Ping timeout: 246 seconds) 2013-12-01T17:45:44 *** javamonnn has joined #rtems 2013-12-01T17:48:42 *** dunsmoreb has joined #rtems 2013-12-01T17:48:57 javamonnn, done. Everything works now. =P 2013-12-01T17:52:14 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-12-01T18:04:00 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-12-01T18:15:52 *** edwardk has joined #rtems 2013-12-01T18:23:36 *** javamonnn has joined #rtems 2013-12-01T18:23:59 *** gedare has joined #rtems 2013-12-01T18:31:28 *** edwardk has quit IRC (Quit: Computer has gone to sleep.) 2013-12-01T18:32:38 *** javamonnn has quit IRC (Ping timeout: 240 seconds) 2013-12-01T18:42:03 *** mkhoory has joined #rtems 2013-12-01T18:43:22 *** gedare has quit IRC (Ping timeout: 246 seconds) 2013-12-01T18:51:19 *** javamonnn has joined #rtems 2013-12-01T19:51:40 Does anyone want to help save me from my suffering? rtems: undefined reference to `iconv_close' 2013-12-01T19:53:10 not sure if I could help, but this is when trying to build RTEMS? or after building RTEMS? 2013-12-01T19:53:21 When building RTEMS. 2013-12-01T19:53:30 hmm 2013-12-01T19:54:00 ~/b-sis$ ../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis --prefix=/usr/local/rtems-4.11 --enable-tests=yes --disable-posix 2013-12-01T19:54:35 what host OS are you using? 2013-12-01T19:55:17 Arch. 2013-12-01T19:59:07 hmmm. I thought maybe you didn't have "-dev" packages installed, but arch includes the development files with regular packages. So assuming you have those, I'm out of ideas 2013-12-01T20:00:03 iconv AFAIK is provided by glibc 2013-12-01T20:00:35 Well I have glibc installed, and I just updated my system. 2013-12-01T20:01:48 I see. Sorry I couldn't help. I haven't used arch much 2013-12-01T20:02:24 It's fine. I'm about ready to give up this task. 2013-12-01T20:02:42 I already had to recompile all my tools today. =/ 2013-12-01T20:06:04 Well, good night. 2013-12-01T20:06:09 *** dunsmoreb has quit IRC (Quit: Leaving) 2013-12-01T20:17:32 *** antgreen has joined #rtems 2013-12-01T21:20:10 *** edwardk has joined #rtems 2013-12-01T21:40:36 *** edwardk_ has joined #rtems 2013-12-01T21:42:00 *** edwardk has quit IRC (Ping timeout: 252 seconds) 2013-12-01T21:51:19 *** edwardk_ has quit IRC (Quit: Computer has gone to sleep.) 2013-12-01T22:48:44 *** edwardk has joined #rtems 2013-12-01T23:10:53 *** Thorn has joined #rtems 2013-12-01T23:54:09 *** edwardk has quit IRC (Quit: Computer has gone to sleep.)