2012-04-16T00:34:01 *** arvind_khadri has joined #rtems 2012-04-16T00:44:08 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2012-04-16T00:46:52 *** arvind_khadri has joined #rtems 2012-04-16T00:57:31 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2012-04-16T01:15:19 *** arvind_khadri has joined #rtems 2012-04-16T01:53:50 *** sebhub has joined #rtems 2012-04-16T01:54:17 good morning 2012-04-16T03:10:56 *** zw__yao has joined #rtems 2012-04-16T03:11:09 *** zw__yao has quit IRC (Client Quit) 2012-04-16T04:04:48 *** QingPei has left #rtems 2012-04-16T04:05:36 *** cdcs has joined #rtems 2012-04-16T04:20:48 *** xiangfu has quit IRC (Ping timeout: 252 seconds) 2012-04-16T04:27:48 *** xiangfu has joined #rtems 2012-04-16T05:18:44 *** panzon has quit IRC (Ping timeout: 260 seconds) 2012-04-16T06:39:59 *** antgreen has joined #rtems 2012-04-16T06:46:25 *** QingPei has joined #rtems 2012-04-16T07:14:29 Hi, from where can I clone the git repo. No private repo in github 2012-04-16T07:35:01 http://git.rtems.org/ 2012-04-16T07:35:16 cdcs: thanks for the response 2012-04-16T07:35:21 12:18 < lcpfnvcy> mmorning 2012-04-16T07:35:22 12:19 < lcpfnvcy> does rtems have something similar to vmware esx 2012-04-16T07:35:22 12:36 < cdcs> Hello 2012-04-16T07:35:22 12:37 < cdcs> if i understand you question correctly: 2012-04-16T07:35:22 12:37 < cdcs> No it does not. But several hypervisors support RTEMS as a virtualized operating system. 2012-04-16T07:35:25 little late 2012-04-16T07:35:27 :( 2012-04-16T07:36:17 hm, this was for arvind_khadri 2012-04-16T07:36:42 sebhub, thanks 2012-04-16T07:37:06 and also http://wiki.rtems.org/wiki/index.php/Git 2012-04-16T08:13:35 the github repo will be up in a week or two 2012-04-16T08:13:38 i've been busy with other things 2012-04-16T08:14:15 lcpfnvcy, No problem ;) 2012-04-16T08:14:39 *** panzon has joined #rtems 2012-04-16T08:14:41 nice, how will it sync with the OAR repo? 2012-04-16T08:17:10 i wrote something a month back 2012-04-16T08:17:19 it'll be realtime once the commit is done o the master it'll push to github 2012-04-16T08:17:25 need time to set it up 2012-04-16T08:17:44 ok, so its automati 2012-04-16T08:17:45 c 2012-04-16T08:17:49 oh, of course 2012-04-16T08:18:13 i'll get it up by the end of the month hopefully 2012-04-16T08:18:23 this way gsoc students can use github over googlecode if they want 2012-04-16T08:18:37 its always good to have backups 2012-04-16T08:19:21 well, it provides a way for users to easily track the repo 2012-04-16T08:20:25 and they can publically store their repo so others can watch it similar to how we handle personal repos 2012-04-16T08:38:59 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-16T08:49:36 *** cdcs has quit IRC (Ping timeout: 245 seconds) 2012-04-16T08:52:29 *** cdcs has joined #rtems 2012-04-16T09:20:07 *** gedare has joined #rtems 2012-04-16T09:33:49 good morning 2012-04-16T09:34:45 A0Sheds: i view the two projects (stm32 and beagleboard) as rather similar. Both offering support for open hardware. Beagleboard also has a quite large user community especially among hobbyists / open-source enthusiasts 2012-04-16T09:35:12 gedare: the stm32 will have millions of users 2012-04-16T09:35:34 mostly large OEMs in China will develop with it 2012-04-16T09:36:24 DrJoel understood the significance of what is going on here with replacing 20 years of closed firmware in a laptop 2012-04-16T09:36:45 i thought that is why he asked us to fid a student 2012-04-16T09:36:49 fid/find 2012-04-16T09:36:53 it is 2012-04-16T09:37:24 but i don't want to waste anymore time 2012-04-16T09:37:41 *** weiY has joined #rtems 2012-04-16T09:43:08 hi, gedare. how about the process of gsoc review? 2012-04-16T09:44:57 hey weiY: it's coming along. i think the announcements come in a week 2012-04-16T09:45:39 Both the STM32 and OMAP4 projects expect an RTEMS port to an ARM cortex M3, although different BSPs 2012-04-16T09:45:43 ok. and the mentor of the rtems is enough for all students? 2012-04-16T09:46:38 it seems that there are so many students with good proposal than past years 2012-04-16T09:46:40 and there is a OMAP gsoc project already.. 2012-04-16T09:46:44 weiY: we're a little thin but not too bad 2012-04-16T09:47:32 good news. 2012-04-16T09:49:39 omap4 is less about the bsp and more about the AMP/IPC framework and SMP on ARM 2012-04-16T09:49:54 the stm32 project is more about peripherals and getting it to work with small targets 2012-04-16T09:50:20 yup, i know. What i don't know is how much of the BSP development will overlap with STM32 2012-04-16T09:50:45 i think quite little unless they happen to share similar SOC peripherals 2012-04-16T09:51:24 i think the omap4 project have much overlap work with beagleboard 2012-04-16T09:51:40 since it should add BSP support for OMAP at first 2012-04-16T09:52:28 the beagleboard project will target Cortex A8 while the OMAP project will target the CortexM3 2012-04-16T09:54:02 now that the stm32f patch is public much of the RTEMS work is done 2012-04-16T09:54:06 therefore i don't expect much overlap 2012-04-16T09:54:22 isn't beagleboard/beaglebone using a uniproc. design? 2012-04-16T09:54:37 Google just published a working library of EC routines for the cortex M3 2012-04-16T09:54:50 link? 2012-04-16T09:54:52 we have Uwe's open stm32 library 2012-04-16T09:55:15 and we also have openEC that may be ported to arm32 2012-04-16T09:55:44 http://git.chromium.org/gitweb/?p=chromiumos/platform/ec.git;a=tree;f=chip;h=fab28b9e1ec6b544ed20d386984de3249a06bcb2;hb=HEAD 2012-04-16T09:55:56 so a lot has changed in a week 2012-04-16T09:55:58 nice 2012-04-16T09:56:01 yeah. for rtems much of that is superfluous / application level 2012-04-16T09:56:07 rather much that remains 2012-04-16T09:56:14 just glueing things together 2012-04-16T09:56:18 i wish they would have been public weeks ago vs just sitting on it :) 2012-04-16T09:56:19 which is a good bit of work 2012-04-16T09:56:21 lol yes 2012-04-16T09:56:26 maybe that is why they didn't accept you guys :/ 2012-04-16T09:56:38 80% of the project is done now 2012-04-16T09:56:39 (i doubt they have that much coordination) 2012-04-16T09:57:04 now it's just supporting more flavors of the cortex m3/m4 with RTEMS 2012-04-16T09:57:20 drivers, peripherals 2012-04-16T09:57:21 the google code is bsd which is license compatible that is nice for rtems 2012-04-16T09:57:27 yeah 2012-04-16T09:57:31 optimization for tinyRTEMS 2012-04-16T09:57:32 and maybe some tinyRTEMS work 2012-04-16T09:57:34 right. 2012-04-16T09:59:02 we still may ask for the slot so that the student can do drivers/peripherals and tinyRTEMS work 2012-04-16T09:59:09 but i wouldn't hold my breath 2012-04-16T09:59:51 we need a working laptop asap 2012-04-16T10:00:01 so this might be done by june 1 2012-04-16T10:00:23 to show at computex 2012-04-16T10:06:41 hi gedare. whether the student slots assigned to rtems was announced? 2012-04-16T10:06:51 i don't believe the # is public data. 2012-04-16T10:07:59 oh, what is the meaning of # 2012-04-16T10:09:32 *** arvind_khadri has quit IRC (Ping timeout: 272 seconds) 2012-04-16T10:15:52 # means the slot number, i guess 2012-04-16T10:18:58 yeah, i think so. i think it should be ##, haha 2012-04-16T10:40:39 *** weiY has quit IRC (Ping timeout: 250 seconds) 2012-04-16T10:47:45 *** panzon has quit IRC (Ping timeout: 252 seconds) 2012-04-16T11:08:57 *** panzon has joined #rtems 2012-04-16T11:13:40 *** panzon has quit IRC (Ping timeout: 252 seconds) 2012-04-16T11:25:53 *** panzon has joined #rtems 2012-04-16T11:29:10 *** sebhub has quit IRC (Ping timeout: 252 seconds) 2012-04-16T13:00:01 *** cdcs has quit IRC (Ping timeout: 245 seconds) 2012-04-16T13:26:01 *** QingPei has left #rtems 2012-04-16T13:34:54 *** panzon has quit IRC (Quit: Leaving) 2012-04-16T13:35:09 *** panzon has joined #rtems 2012-04-16T14:34:19 *** DrJoel has joined #rtems 2012-04-16T14:34:20 *** DrJoel has joined #rtems 2012-04-16T14:34:20 *** ChanServ sets mode: +o DrJoel 2012-04-16T14:56:47 howdy drjoel. 2012-04-16T14:57:31 hey.. been busy offline .. and then had a power supply in a PC at home die overnight. :( 2012-04-16T14:58:11 that's not fun. better than a hard drive though 2012-04-16T14:58:22 things settling at all for you yet? 2012-04-16T15:01:29 this week should be a bit better. Michele is still in a lot of pain and needs help. 2012-04-16T15:03:26 as if a dead power supply isn't bad enough.. the one I bought was DOA. 2012-04-16T15:03:36 I knew because we had a spare one here at OAR I tested with 2012-04-16T15:03:37 ouch 2012-04-16T15:04:00 they looked surprised when I returned it .. but Jeff said it has happened to him there also 2012-04-16T15:04:15 funny to think that a 3Ghz dual core with 4GB RAM could be 4 years old 2012-04-16T15:05:57 DrJoel: Hi 2012-04-16T15:06:50 DrJoel: what do you think about kqueues in RTEMS? 2012-04-16T15:07:57 verm__ suggested that ummm what did we say... 2012-04-16T15:08:59 we ended up linking them from http://wiki.rtems.org/wiki/index.php/RTEMSSystemEvents 2012-04-16T15:09:13 thing is Erlang needs either a working select, poll or kqueues 2012-04-16T15:09:14 I remember not knowing enough to have a final opinion .. but an open to anything that makes porting easier 2012-04-16T15:09:32 At the moment we have neither 2012-04-16T15:09:44 select only works with sockets 2012-04-16T15:09:53 poll + kqueues doesn't exist 2012-04-16T15:10:17 and the select implementation looks like a hack to me 2012-04-16T15:10:50 is kqueue synchronous? 2012-04-16T15:11:05 (from the userland side) 2012-04-16T15:11:13 what exactly do you mean by synchronous? 2012-04-16T15:11:40 actually it doesn't matter / make sense. either the user will sleep on the event or poll it 2012-04-16T15:12:18 yeah I was confused ... since stuff like kqueue select and poll are mostly used to make stuff more asynchronous 2012-04-16T15:12:19 peerst.. then kqueues is important.. I personally want RTEMS to be a strong platform for as many languages as possible 2012-04-16T15:12:36 does the wiki page make it clear that kqueues are important for Erlang? 2012-04-16T15:13:01 DrJoel: thing is we very probably have customer funding for porting kqueues 2012-04-16T15:13:02 nope. we were unaware of what users might exist for the kqueues immediately. 2012-04-16T15:13:17 we will adopt kqueues if it is done rihgt ;) 2012-04-16T15:13:44 dumping a mess of bsd code into the kernel to implement kqueues is "not right"... 2012-04-16T15:13:45 Sounds good 2012-04-16T15:14:14 the bsd implemenation of kqueues is pretty neat IMHO 2012-04-16T15:14:16 http://people.freebsd.org/~jlemon/papers/kqueue.pdf 2012-04-16T15:14:37 it may be OK I lack the spare capacity to investigate thoroughly right now 2012-04-16T15:15:10 if it just sits between an application and rtems then it's fine... 2012-04-16T15:15:19 if we need to hook into rtems kernel services then we have to worry more 2012-04-16T15:15:24 yep it does 2012-04-16T15:15:37 no need to go quite deep 2012-04-16T15:15:54 needs smallish support in every event source though 2012-04-16T15:16:06 that will be fine 2012-04-16T15:16:13 so basically everything that is a file descriptor 2012-04-16T15:16:29 as I said.. done carefully and with feedback from the devel community it should be ok 2012-04-16T15:16:58 additional event sources can easily be added optionally as user extensions 2012-04-16T15:17:49 the hen and egg problem is that the customer paying for it will be disappointed if we have to maintain it separately forever 2012-04-16T15:18:24 well it should be approached like the other bsd port works... 2012-04-16T15:18:34 but if the generall concept of kqueues is accepted he'll take the risk 2012-04-16T15:18:46 probably the port will be done by sebastian 2012-04-16T15:18:48 the page i linked to kind of says it all 2012-04-16T15:18:53 (sebhub) 2012-04-16T15:19:05 we had an event notification system but it is "broken"... 2012-04-16T15:19:08 we're open to better solutions 2012-04-16T15:19:19 if kqueue solves everything then great 2012-04-16T15:19:22 cool 2012-04-16T15:19:23 I have nothing against any particular implementation of kqueues... and having a user who "cares" is enough to drive requirements in my mind. As long as we end up with something that is well documented and well tested 2012-04-16T15:19:34 yup...and maintainable 2012-04-16T15:19:37 dont' forget that one :0 2012-04-16T15:20:55 :) 2012-04-16T15:21:06 any othe 'ibles? 2012-04-16T15:21:58 kqueues are really low impact: you need a pointer of storage per event source, then you write 3 small so called filter functions and put pointers to them in a struct, the kqueues infrastructure takes care of the rest 2012-04-16T15:22:24 so its really easy to add kqueue support for new filedescriptorish things 2012-04-16T15:22:36 which is part of maintainability 2012-04-16T15:22:49 :) i think it sounds good. 2012-04-16T15:23:43 if you have time sometimes read the paper I linked to, its well written 2012-04-16T15:23:59 if you lost the link its linked from the wikipedia entry of kqueue 2012-04-16T15:24:07 i'll try 2012-04-16T15:24:16 and i'll keep an eye out for development :0 2012-04-16T15:25:01 well announce it if we work out the monetary things with the customer and can start with it 2012-04-16T15:25:18 ok great. 2012-04-16T15:44:38 rtems needs kqueue/kevent 2012-04-16T15:47:14 :-) 2012-04-16T16:29:13 *** gedare has quit IRC (Quit: Leaving) 2012-04-16T17:16:43 *** DrJoel has quit IRC (Quit: Leaving) 2012-04-16T17:56:33 *** gedare has joined #rtems 2012-04-16T18:07:42 *** dr__house has quit IRC (Ping timeout: 272 seconds) 2012-04-16T18:07:43 *** mwalle has quit IRC (Ping timeout: 272 seconds) 2012-04-16T18:07:46 *** dr__house has joined #rtems 2012-04-16T18:07:47 *** dr__house has joined #rtems 2012-04-16T18:08:18 *** mwalle has joined #rtems 2012-04-16T18:43:30 gedare, do all m68k bsps build with the 1/4 m68k patch ? 2012-04-16T18:43:58 kiwichris: drjoel was testing that.. he ran into an unrelated bug during one of them though 2012-04-16T18:44:23 i'm not sure what his status was.. i built one of the bsps.. lacking the infrastructure right now to try building all of them 2012-04-16T18:44:26 Yes I also found the iess else where a few weeks go and managed to work around 2012-04-16T18:44:36 less -> issue 2012-04-16T18:45:11 i'd have to ask him to see what he managed to build. 2012-04-16T18:45:16 Understood. I cannot get gdb for the PowerPC to build on MacOS. Everything else does 2012-04-16T18:45:28 You can build on the RTEMS servers. 2012-04-16T18:45:34 i'll have to figure that out 2012-04-16T18:45:59 That patch is ok with me if it builds all m68k bsps 2012-04-16T18:46:30 Also this just shows why we need a patch tool and have get all effect code to build before committing 2012-04-16T18:47:32 yup. 2012-04-16T18:47:46 and making this change has furhter convinced me that automake must die. 2012-04-16T18:48:00 hah 2012-04-16T18:48:06 half my effort in updating this set_vector code was modifying makefile.am 2012-04-16T18:48:10 at least i could do it with sed mostly. 2012-04-16T18:49:00 Feeble, real automake hackers use ed ;) 2012-04-16T18:49:24 ... and boot their machine with dip switches 2012-04-16T18:52:53 and press the turbo button to make it go fast. 2012-04-16T18:54:27 I am now calling the makefile.am's and related m4 cruft a toxic zone. You only head in when you really need to and with maximum protection 2012-04-16T18:55:20 If you slip and break through the surface you find yourself in black quick sand 2012-04-16T18:55:28 if you're lucky. 2012-04-16T18:55:49 someday i expect my bootstrap will go into infinite recursion and fill my hard drive 2012-04-16T18:55:58 just a funny feeling i get 2012-04-16T18:56:10 What is the area on Everest where the climbs must use ladders over gaps ? 2012-04-16T18:56:46 no clue 2012-04-16T18:56:49 sounds ominous though 2012-04-16T19:02:49 Here is an interesting stat ..... 2012-04-16T19:02:50 $ cat $(find . -name Makefile.am -o -name Makefile.in -o -name \*.m4 -o -name configure -o -name \*.ac ) | wc -l 2012-04-16T19:02:50 1510827 2012-04-16T19:03:08 ack 2012-04-16T19:03:12 I suspect more lines in the autoconf/automake cruft we carry around than code 2012-04-16T19:03:22 would be an interesting study 2012-04-16T19:03:25 i wonder... 2012-04-16T19:03:54 And that is not the cache stuff 2012-04-16T19:04:01 I think 2012-04-16T19:05:54 *** Deb has joined #rtems 2012-04-16T19:06:48 well there is a slight difference between generated files and not, but only minorly so 2012-04-16T19:26:37 Generate or not they exists. Generated files can have bugs just like any other piece of code. 2012-04-16T19:26:52 The more lines the high the chance 2012-04-16T19:36:12 *** Deb has quit IRC (Quit: Leaving) 2012-04-16T19:36:28 *** xiangfu has joined #rtems 2012-04-16T19:43:55 lol 2012-04-16T19:44:03 ansic: 745153 (35.83%) 2012-04-16T19:44:04 sh: 638451 (30.70%) 2012-04-16T19:44:04 makefile: 551563 (26.52%) 2012-04-16T19:44:04 m4: 73475 (3.53%) 2012-04-16T19:44:04 asm: 38574 (1.85%) 2012-04-16T19:44:04 ada: 26261 (1.26%) 2012-04-16T19:44:06 cpp: 5248 (0.25%) 2012-04-16T19:44:08 pascal: 814 (0.04%) 2012-04-16T19:44:10 perl: 279 (0.01%) 2012-04-16T19:44:29 thats with counting Makefile.in and Makefile.am as 'makefile' 2012-04-16T19:44:53 and without the autom4te.cache 2012-04-16T19:45:46 hah 2012-04-16T19:45:47 *** xiangfu has quit IRC (Ping timeout: 260 seconds) 2012-04-16T19:45:52 after running bootstrap obviously. 2012-04-16T19:45:58 ywah 2012-04-16T19:46:02 yeah 2012-04-16T19:46:38 That piece of perl code is impossible to understand 2012-04-16T19:46:44 *** panzon_ has joined #rtems 2012-04-16T19:48:43 *** panzon has quit IRC (Ping timeout: 246 seconds) 2012-04-16T19:54:19 Totals grouped by language (dominant language first): 2012-04-16T19:54:19 ansic: 745153 (87.00%) 2012-04-16T19:54:19 asm: 38574 (4.50%) 2012-04-16T19:54:19 makefile: 30083 (3.51%) 2012-04-16T19:54:19 ada: 26261 (3.07%) 2012-04-16T19:54:20 sh: 7086 (0.83%) 2012-04-16T19:54:24 cpp: 5248 (0.61%) 2012-04-16T19:54:26 m4: 2996 (0.35%) 2012-04-16T19:54:28 pascal: 814 (0.10%) 2012-04-16T19:54:30 perl: 279 (0.03%) 2012-04-16T19:54:32 that's without bootstrapping 2012-04-16T19:54:40 the moral is that we use almost twice as much generated code as we do what is written / stored in the repo 2012-04-16T19:54:47 just for rtems building 2012-04-16T19:55:17 I suspect this and while you can argue it is generated it is silly. 2012-04-16T19:55:47 Another stat to collect would be the number of forks to build the everything. 2012-04-16T19:56:00 I think we have about 5 per file compiled 2012-04-16T19:56:22 sh + test + gcc + cc1 + asm 2012-04-16T19:56:50 Actually that means 2 shell forks and not forks 2012-04-16T19:58:10 *** xiangfu has joined #rtems 2012-04-16T20:04:50 yeah 2012-04-16T20:12:39 http://gedare-csphd.blogspot.com/2012/04/crufty-stuff.html 2012-04-16T20:12:42 there you go :) 2012-04-16T20:12:45 and im out. later 2012-04-16T20:12:49 *** gedare has quit IRC (Quit: Leaving) 2012-04-16T20:52:40 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2012-04-16T20:53:02 *** xiangfu has joined #rtems 2012-04-16T21:00:23 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-16T21:00:40 *** xiangfu has joined #rtems 2012-04-16T21:36:14 *** QingPei has joined #rtems 2012-04-16T21:37:08 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2012-04-16T21:47:47 *** Deb has joined #rtems 2012-04-16T21:57:08 *** xian9fu has joined #rtems 2012-04-16T21:57:40 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2012-04-16T21:57:44 *** xian9fu has joined #rtems 2012-04-16T21:58:09 *** xian9fu is now known as xiangfu 2012-04-16T22:21:43 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2012-04-16T22:33:30 *** xiangfu has joined #rtems 2012-04-16T23:03:30 *** Deb has quit IRC (Quit: Leaving) 2012-04-16T23:16:33 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-16T23:17:12 *** xiangfu has joined #rtems 2012-04-17T01:32:18 *** sebhub has joined #rtems 2012-04-17T01:57:37 *** xiangfu has quit IRC (Ping timeout: 246 seconds) 2012-04-17T02:23:55 *** panzon__ has joined #rtems 2012-04-17T02:26:31 *** panzon_ has quit IRC (Ping timeout: 260 seconds) 2012-04-17T02:28:45 *** arvind_khadri has joined #rtems 2012-04-17T02:28:46 *** arvind_khadri has joined #rtems 2012-04-17T02:28:56 *** xiangfu has joined #rtems 2012-04-17T02:30:47 *** panzon_ has joined #rtems 2012-04-17T02:33:40 *** panzon__ has quit IRC (Ping timeout: 260 seconds) 2012-04-17T02:44:30 *** panzon__ has joined #rtems 2012-04-17T02:46:16 *** panzon_ has quit IRC (Ping timeout: 246 seconds) 2012-04-17T02:46:21 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-17T02:50:42 *** panzon_ has joined #rtems 2012-04-17T02:52:00 *** arvind_khadri has joined #rtems 2012-04-17T02:52:01 *** arvind_khadri has joined #rtems 2012-04-17T02:53:29 *** panzon__ has quit IRC (Ping timeout: 245 seconds) 2012-04-17T03:00:02 good morning 2012-04-17T03:45:24 *** cdcs has joined #rtems 2012-04-17T03:58:25 *** panzon__ has joined #rtems 2012-04-17T04:01:08 *** panzon_ has quit IRC (Ping timeout: 272 seconds) 2012-04-17T04:04:08 *** QingPei has quit IRC (Remote host closed the connection) 2012-04-17T04:51:27 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-17T05:50:06 *** panzon__ has quit IRC (Ping timeout: 260 seconds) 2012-04-17T05:51:14 *** Hesham has joined #rtems 2012-04-17T06:52:39 *** arvind_k has joined #rtems 2012-04-17T06:53:06 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-17T08:09:36 *** gedare has joined #rtems 2012-04-17T08:15:37 *** panzon__ has joined #rtems 2012-04-17T08:21:32 *** leyyin has joined #rtems 2012-04-17T08:25:57 *** xiangfu has joined #rtems 2012-04-17T08:33:40 *** weiY has joined #rtems 2012-04-17T08:38:41 *** QingPei has joined #rtems 2012-04-17T09:43:55 *** Hesham has quit IRC (Quit: Leaving.) 2012-04-17T09:49:09 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-17T10:24:31 *** QingPei has quit IRC (Ping timeout: 276 seconds) 2012-04-17T10:26:00 *** QingPei has joined #rtems 2012-04-17T10:29:19 *** sebhub has quit IRC (Ping timeout: 260 seconds) 2012-04-17T10:42:07 *** arvind_k has quit IRC (Ping timeout: 245 seconds) 2012-04-17T10:57:32 *** weiY has quit IRC (Ping timeout: 245 seconds) 2012-04-17T11:21:38 *** Hesham has joined #rtems 2012-04-17T11:36:28 hey gedare 2012-04-17T11:36:36 hello hesham 2012-04-17T11:37:22 is your schoolwork going well? 2012-04-17T11:37:25 about rbheap , should i consider its implementation to the high level API or just mark it as future work ? 2012-04-17T11:37:50 yeah i have finished mid-term exams :) 2012-04-17T11:37:54 nice 2012-04-17T11:38:24 thanks 2012-04-17T11:38:45 i've been thinking about that same thing 2012-04-17T11:39:02 and ? 2012-04-17T11:39:12 the problem we have to tackle is how to deal with memory management versus memory allocation 2012-04-17T11:39:30 the rbheap is nice because it shows a very clear separation between management and allocation 2012-04-17T11:39:40 i think i will stuck with memory management in general in RTEMS 2012-04-17T11:39:51 yeah 2012-04-17T11:40:24 right. the allocation shouldn't matter too much, except that if the management data structures reside together with the management structures then you cannot provide adequate protection mechanisms 2012-04-17T11:40:56 take a look at how Region Manager uses its attributes and write a brief summary 2012-04-17T11:41:36 and where it saves its management data structures ? 2012-04-17T11:41:54 it would be interesting to find out if the Region Manager can have a flexible way to specify its memory pool and whether there is space in the attribute set for specifying an allocator and whether protection migth be enabled at the Region level 2012-04-17T11:42:10 i think data structures the manage attributes of Region/Partition should be in separate area 2012-04-17T11:42:15 and whether the Region API as-is can be left alone but extended with new functions to handle these features. 2012-04-17T11:42:23 not necessarilly 2012-04-17T11:42:35 for achieving protection yes 2012-04-17T11:43:08 ok so.. 2012-04-17T11:43:13 there is a distinction to make 2012-04-17T11:43:54 protection , allocation , attributes 2012-04-17T11:43:57 between allocator management data structure and the Manager Object data structure 2012-04-17T11:44:15 exactly 2012-04-17T11:44:32 allocators can either embed their management data within the memory region or have external structures 2012-04-17T11:44:49 traditional heap (malloc) embeds management data before/after an allocated region 2012-04-17T11:45:18 and then set its attributes ? 2012-04-17T11:45:25 don't worry about attributes yet 2012-04-17T11:45:29 understand how allocation works 2012-04-17T11:45:40 if you view the memory region as a large chunk then an allocator can do one of two things 2012-04-17T11:46:04 it can set aside one chunk for management and the rest for handling allocation requests 2012-04-17T11:46:30 or it can set aside the entire chunk for handling allocation requests and keep the management data co-located with the allocated blocks 2012-04-17T11:46:39 malloc does the second approach 2012-04-17T11:46:48 rbheap implements the first approach 2012-04-17T11:47:08 partition manager implements the second approach because the partition objects reside on a linked list 2012-04-17T11:47:26 region manager uses the score Heap which implements malloc so it uses the second approach 2012-04-17T11:47:40 you cannot implement useful MMU-based protection / attributes using the second approach 2012-04-17T11:47:51 right 2012-04-17T11:48:11 so we should use first approach 2012-04-17T11:48:19 We should support both approaches 2012-04-17T11:48:37 and for the first approach we should offer the possibility of using hardware-based protection / attributes enforcement 2012-04-17T11:49:02 that's means Arenas and MMU 2012-04-17T11:49:32 probably. how to hook the allocator up to the arena is unclear 2012-04-17T11:50:39 should we think about how to implement it now ? or just take in mind that Arenas would be used along with rbheap at the design time ? 2012-04-17T11:51:35 we should consider it now 2012-04-17T11:51:54 i believe it will help us to decide where to put the Arena code 2012-04-17T11:52:06 most of which I think is written 2012-04-17T11:52:30 Then , it would be good if you provided me with any references/code that would help me 2012-04-17T11:52:38 (other than the tasking problems) 2012-04-17T11:53:12 i had read about Partition / Region Managers at online library 2012-04-17T11:53:19 I think a simple starting point is to read the code for partition and regions 2012-04-17T11:53:37 cpukit/rtems/include/rtems/rtems/region.h and part.h are the headers 2012-04-17T11:53:51 and cpukit/rtems/inline/rtems/rtems/region.inl and part.inl are their inline functions (if any) 2012-04-17T11:54:07 and various files in cpukit/rtems/src/region* or part* are their functions 2012-04-17T11:54:48 is it well documented/commented ? 2012-04-17T11:55:06 pretty well 2012-04-17T11:55:20 great 2012-04-17T11:55:33 think about whether it would be possible to combine the implementations of the region and partition manager together...how much of the functionality is shared 2012-04-17T11:56:08 and ? 2012-04-17T11:56:17 and write a small report with your findings 2012-04-17T11:56:22 do you have a blog? 2012-04-17T11:56:49 yeah along time ago but i have not use it 2012-04-17T11:57:00 *** panzon__ has quit IRC (Ping timeout: 260 seconds) 2012-04-17T11:57:06 i think i will use it now 2012-04-17T11:57:11 that would be awesome 2012-04-17T11:57:36 then just how to combine region / partition manager in just one manager ? 2012-04-17T11:57:43 not exactly like that 2012-04-17T11:57:59 they belong to the Classic API so we cannot really change their interface functions 2012-04-17T11:58:17 But what we might be able to do is to let them share a common implementation "under the covers" 2012-04-17T11:58:47 In RTEMS we do this usually by implementing the common code in a Supercore manager. 2012-04-17T11:59:18 i see 2012-04-17T11:59:41 and what about heap management ? 2012-04-17T12:00:07 That is going to be part of your analysis 2012-04-17T12:00:38 What the two managers look like, what common features they have, and where they differ; including how they deal with memory management 2012-04-17T12:00:48 Does that make sense? 2012-04-17T12:01:20 yeah , that would be head lines in my report 2012-04-17T12:01:37 ok. in order to get some idea about how they might share implementations... 2012-04-17T12:02:25 Look at the classic semaphores, posix semaphores, and score semaphores 2012-04-17T12:02:33 that is a great example of sharing implementations 2012-04-17T12:02:40 classic semaphores share code between semaphores or mutexes 2012-04-17T12:02:48 and the posix semaphore also shares the implementation 2012-04-17T12:02:52 and so the implementation is in the score. 2012-04-17T12:03:26 where i can find classic simaphores code ? 2012-04-17T12:05:28 find cpukit/rtems/ -name sem.h 2012-04-17T12:05:45 find cpukit/score -name coresem.h 2012-04-17T12:05:51 find cpukit/score -name coremutex.h 2012-04-17T12:06:02 find cpukit/posix -name semaphore.h 2012-04-17T12:06:17 mainly the header files for classic managers reside at cpukit/rtems/include/rtems/*.h 2012-04-17T12:06:27 inline routines are defined in cpukit/rtems/inline/rtems/*.inl 2012-04-17T12:06:36 and source files are in cpukit/rtems/src/*.c 2012-04-17T12:06:44 for score managers it is the same except in cpukit/score 2012-04-17T12:06:52 and for posix but cpukit/posix 2012-04-17T12:08:01 i will review code soon as possible and when i am done with the report i will tell you 2012-04-17T12:08:30 when you expect i should finish the report ? 2012-04-17T12:09:57 whenever. this is just something I was thinking about and think it is a great way to get your feet wet. obviously accepted students haven't been announced so if you want to wait to find out if you're in that is probably smart :) 2012-04-17T12:10:47 i would say to make sure to deal with your school responsibilities and then schedule this in your free time 2012-04-17T12:13:05 I will start with it soon whether accepted or not :) 2012-04-17T12:14:42 if you want to work on your report in a google doc you can share it with me and let me know when you make some good progress 2012-04-17T12:14:58 then when you finish and i review it you can post it for the world 2012-04-17T12:15:40 i will do that 2012-04-17T12:16:52 thanks gedare :) 2012-04-17T12:18:47 welcome thanks for asking. I've been pondering this for awhile and I think doing this exercise will be helpful for us both 2012-04-17T12:19:38 as you said , i'd like to get my feet wet 2012-04-17T12:20:06 getting into the code is the best way 2012-04-17T12:20:39 if you get stuck just ask questions here or on rtems-devel (make sure to include enough context so that everyone will understand your questions) 2012-04-17T12:21:16 ok 2012-04-17T12:22:03 off topic question , will you be a mentor this year ? 2012-04-17T12:24:44 *** arvind_k has joined #rtems 2012-04-17T12:25:22 *** arvind_k is now known as arvind_khadri 2012-04-17T12:25:45 *** arvind_khadri has joined #rtems 2012-04-17T12:27:45 *** panzon__ has joined #rtems 2012-04-17T12:28:02 hesham: yes I plan to be 2012-04-17T12:28:36 well , good luck then :) 2012-04-17T12:40:23 *** Hesham has left #rtems 2012-04-17T13:06:35 *** cdcs has quit IRC (Quit: Page closed) 2012-04-17T13:46:52 *** QingPei has quit IRC (Quit: Leaving.) 2012-04-17T13:47:08 *** gedare has quit IRC (Quit: Ex-Chat) 2012-04-17T13:57:53 *** antgreen has joined #rtems 2012-04-17T17:07:07 *** panzon__ has quit IRC (Quit: Leaving) 2012-04-17T17:50:07 *** leyyin has quit IRC (Quit: Leaving) 2012-04-17T18:48:20 *** gedare has joined #rtems 2012-04-17T19:06:12 *** antgreen has quit IRC (Ping timeout: 252 seconds) 2012-04-17T19:18:41 *** zw_yao has joined #rtems 2012-04-17T19:36:06 *** gedare has quit IRC (Quit: Leaving) 2012-04-17T19:40:48 *** zw_yao has quit IRC (Quit: Bye) 2012-04-17T21:07:05 *** gedare has joined #rtems 2012-04-17T21:18:42 *** QingPei has joined #rtems 2012-04-17T21:40:14 *** gedare has quit IRC (Quit: Leaving) 2012-04-18T00:10:12 *** A0Sheds has quit IRC (Quit: puff of smoke) 2012-04-18T00:10:30 *** L84Supper has joined #rtems 2012-04-18T00:12:24 *** kristianpaul has quit IRC (Ping timeout: 260 seconds) 2012-04-18T00:13:11 *** kristianpaul has joined #rtems 2012-04-18T00:24:25 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-18T02:52:29 *** Hesham has joined #rtems 2012-04-18T03:30:13 *** sebhub has joined #rtems 2012-04-18T03:30:20 good morning 2012-04-18T04:04:48 *** cdcs has joined #rtems 2012-04-18T04:45:03 *** Hesham has quit IRC (Quit: Leaving.) 2012-04-18T05:01:16 *** cdcs has quit IRC (Ping timeout: 245 seconds) 2012-04-18T05:02:07 *** cdcs has joined #rtems 2012-04-18T05:08:20 *** Hesham has joined #rtems 2012-04-18T05:09:37 *** Hesham has left #rtems 2012-04-18T05:11:50 *** arvind_khadri has joined #rtems 2012-04-18T05:39:37 *** QingPei has quit IRC (Quit: Leaving.) 2012-04-18T06:51:46 *** arvind_k has joined #rtems 2012-04-18T06:54:58 *** arvind_khadri has quit IRC (Ping timeout: 276 seconds) 2012-04-18T07:37:30 *** QingPei has joined #rtems 2012-04-18T07:53:40 *** xiangfu has joined #rtems 2012-04-18T08:00:12 *** weiY has joined #rtems 2012-04-18T08:36:22 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2012-04-18T08:57:30 *** xiangfu has joined #rtems 2012-04-18T09:07:06 *** cdcs has quit IRC (Ping timeout: 245 seconds) 2012-04-18T09:07:34 *** QingPei has quit IRC (Quit: Leaving.) 2012-04-18T09:13:12 *** weiY has quit IRC (Ping timeout: 252 seconds) 2012-04-18T09:15:03 *** gedare has joined #rtems 2012-04-18T09:24:30 *** QingPei has joined #rtems 2012-04-18T09:30:51 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-18T09:48:17 *** xiangfu has joined #rtems 2012-04-18T09:51:59 *** cdcs has joined #rtems 2012-04-18T10:06:19 *** gedare has quit IRC (Quit: Leaving) 2012-04-18T10:16:49 *** weiY has joined #rtems 2012-04-18T10:17:33 *** L84Supper has quit IRC (Quit: puff of smoke) 2012-04-18T10:19:13 *** A0Sheds has joined #rtems 2012-04-18T10:19:13 *** A0Sheds has joined #rtems 2012-04-18T10:30:38 *** xiangfu has quit IRC (Ping timeout: 240 seconds) 2012-04-18T10:49:10 *** sebhub has quit IRC (Ping timeout: 244 seconds) 2012-04-18T10:58:36 *** weiY has quit IRC (Ping timeout: 252 seconds) 2012-04-18T11:49:44 *** arvind_k has quit IRC (Ping timeout: 245 seconds) 2012-04-18T12:48:19 *** arvind_k has joined #rtems 2012-04-18T12:49:56 *** arvind_k is now known as arvind_khadri 2012-04-18T12:50:08 *** arvind_khadri has joined #rtems 2012-04-18T12:56:52 *** cdcs has quit IRC (Quit: Page closed) 2012-04-18T13:00:16 *** QingPei has left #rtems 2012-04-18T13:42:34 *** antgreen has joined #rtems 2012-04-18T14:23:43 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2012-04-18T15:42:51 *** DrJoel has joined #rtems 2012-04-18T15:43:00 *** DrJoel has joined #rtems 2012-04-18T15:43:00 *** ChanServ sets mode: +o DrJoel 2012-04-18T15:43:46 *** DrJoel changes topic to "Final countdown on student selection for GSOC 2012. Be loud and proud on the devel list. Make yourself stand out. :)" 2012-04-18T16:49:10 *** Hesham1 has joined #rtems 2012-04-18T17:00:24 *** kristianpaul has quit IRC (Ping timeout: 260 seconds) 2012-04-18T17:17:36 *** kristianpaul has joined #rtems 2012-04-18T17:37:28 *** gedare has joined #rtems 2012-04-18T17:47:45 *** A0Sheds has quit IRC (Quit: puff of smoke) 2012-04-18T17:48:15 *** L84Supper has joined #rtems 2012-04-18T17:58:43 *** DrJoel has quit IRC (Quit: Leaving) 2012-04-18T18:05:18 *** L84Supper has quit IRC (Quit: puff of smoke) 2012-04-18T18:05:44 *** A0Sheds has joined #rtems 2012-04-18T18:36:01 *** dr__hous1 has joined #rtems 2012-04-18T18:40:40 *** dr__house has quit IRC (Disconnected by services) 2012-04-18T18:40:47 *** dr__hous1 is now known as dr__house 2012-04-18T18:47:30 *** Hesham1 has left #rtems 2012-04-18T20:17:31 *** gedare has quit IRC (Quit: Leaving) 2012-04-18T21:04:08 *** xiangfu has joined #rtems 2012-04-18T21:08:59 *** xiangfu has quit IRC (Ping timeout: 265 seconds) 2012-04-18T21:13:59 *** xiangfu has joined #rtems 2012-04-18T21:18:28 *** xiangfu has quit IRC (Ping timeout: 252 seconds) 2012-04-18T21:50:28 *** xiangfu has joined #rtems 2012-04-18T22:00:08 *** A0Sheds has quit IRC (Ping timeout: 240 seconds) 2012-04-18T22:15:26 *** A0Sheds has joined #rtems 2012-04-18T22:41:29 *** dr__house` has joined #rtems 2012-04-18T22:44:23 *** QingPei has joined #rtems 2012-04-18T23:04:32 *** dr__house has quit IRC (Quit: leaving) 2012-04-18T23:05:04 *** dr__house` is now known as dr__house 2012-04-18T23:12:54 *** dr__house is now known as dr__house` 2012-04-18T23:13:17 *** dr__house` is now known as dr__house 2012-04-18T23:28:57 *** dr__house has quit IRC (Remote host closed the connection) 2012-04-18T23:29:46 *** dr__house has joined #rtems 2012-04-18T23:29:46 *** dr__house has joined #rtems 2012-04-18T23:42:24 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-18T23:44:11 *** xiangfu has joined #rtems 2012-04-18T23:44:55 *** gedare has joined #rtems 2012-04-19T00:03:43 kiwichris: you around? 2012-04-19T00:03:54 yeap 2012-04-19T00:04:40 i committed code from my student last year that provides a Linux library's API for scheduling 2012-04-19T00:05:01 we put it in cpukit/libqos for lack of a better idea of where such a thing ought to live 2012-04-19T00:05:15 What is qos ? 2012-04-19T00:05:16 ralf complained and suggested cpukit/rtems, but i don't think that is quite right 2012-04-19T00:05:32 I do not think rtems is correct. 2012-04-19T00:06:09 it offers an interface for applications to handle task scheduling and make decisions about what to do in case of budget overruns and some other issues 2012-04-19T00:06:23 when scheduled by the constant bandwidth server my student implemented 2012-04-19T00:07:00 It is a compatibility API for Linux programs to be ported to RTEMS ? 2012-04-19T00:07:11 http://aquosa.sourceforge.net/ 2012-04-19T00:07:20 it's a compat for that or similar 2012-04-19T00:08:13 a subset of that anyways 2012-04-19T00:08:16 http://aquosa.sourceforge.net/aquosa-docs/aquosa-qosres/html/ 2012-04-19T00:08:21 License ? 2012-04-19T00:08:48 our code is proper licensed we just dupe the api calls 2012-04-19T00:09:02 Ah ok. 2012-04-19T00:09:49 which i'm pretty sure is perfectly legit fair use 2012-04-19T00:09:49 Ok, so it is a schedular implementation that classic API and POSIX tasks could use ? 2012-04-19T00:09:57 Yeah I would say so. 2012-04-19T00:10:10 yeah check out sptests/spqreslib 2012-04-19T00:10:24 Then I suggest libsched 2012-04-19T00:10:30 okay 2012-04-19T00:10:48 i like it. gives room to grow 2012-04-19T00:10:50 If the score has an API to allow this we do not need to have this code in the score which is nice 2012-04-19T00:10:56 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-19T00:11:03 this is a wrapper over score services we implemnted 2012-04-19T00:11:16 its a really small amount of code just typedefs and structs and inline functs 2012-04-19T00:11:20 Yeah and sends a clear and definite message to users that this is encouraged 2012-04-19T00:11:33 right 2012-04-19T00:11:42 Does this mean the sched code is in the score ? 2012-04-19T00:11:48 yeah hummm 2012-04-19T00:11:54 Does it need to be ? 2012-04-19T00:11:58 i think schedcbs or something 2012-04-19T00:12:10 right now it does i may revisit this whole modular scheduling someday 2012-04-19T00:12:35 Because a wrapper to an existing API may also reside in libcompat 2012-04-19T00:13:44 i like that idea too 2012-04-19T00:14:00 that fits with what we have done 2012-04-19T00:14:03 I suggest libcompat is the one 2012-04-19T00:14:25 Then libsched is available to move schedulers into at a later date 2012-04-19T00:14:27 so that i'm clear, libcompat will be a new thing I'm introducing? 2012-04-19T00:14:34 Yeah 2012-04-19T00:14:36 okay great 2012-04-19T00:14:48 I would respond to Ralf's email with the suggestion. 2012-04-19T00:14:54 okay 2012-04-19T00:15:09 The dir in libcompat is the name of the API provided 2012-04-19T00:15:11 good idea before i spend any minutes on it :) 2012-04-19T00:15:50 btw i wrote a small python script today to help me pull patches from my gmail 2012-04-19T00:15:56 i'll post about it probably tomorrow. 2012-04-19T00:16:08 Nice. 2012-04-19T00:16:30 http://code.google.com/p/fetch-flagged-email/ 2012-04-19T00:24:48 kiwichris; would it make any sense to advocate not using rtems/ as part of the include path? 2012-04-19T00:25:10 ralf complained also about the include path for the API header. in some sense it makes sense to try minimizing application changes 2012-04-19T00:25:25 *** xiangfu has joined #rtems 2012-04-19T00:41:14 not sure 2012-04-19T00:45:40 *** arvind_khadri has joined #rtems 2012-04-19T01:00:27 ok. thanks for the input 2012-04-19T01:00:59 *** gedare has quit IRC (Quit: Leaving) 2012-04-19T01:35:10 *** sebhub has joined #rtems 2012-04-19T01:36:08 good morning 2012-04-19T01:47:55 *** xiangfu has quit IRC (Ping timeout: 276 seconds) 2012-04-19T02:19:52 moorning 2012-04-19T03:42:11 *** cdcs has joined #rtems 2012-04-19T03:49:37 *** lcpfnvcy has quit IRC (Ping timeout: 245 seconds) 2012-04-19T04:02:02 *** QingPei has left #rtems 2012-04-19T05:09:24 *** lcpfnvcy has joined #rtems 2012-04-19T06:55:24 *** weiY has joined #rtems 2012-04-19T07:12:32 *** arvind_k has joined #rtems 2012-04-19T07:15:43 *** arvind_khadri has quit IRC (Ping timeout: 264 seconds) 2012-04-19T07:15:52 *** arvind_k is now known as arvind_khadri 2012-04-19T07:16:24 *** weiY has quit IRC (Ping timeout: 245 seconds) 2012-04-19T07:16:56 *** arvind_khadri has quit IRC (Changing host) 2012-04-19T07:16:56 *** arvind_khadri has joined #rtems 2012-04-19T07:27:41 *** weiY has joined #rtems 2012-04-19T07:42:42 *** arvind_khadri has quit IRC (Read error: Connection reset by peer) 2012-04-19T07:46:35 *** xiangfu has joined #rtems 2012-04-19T07:55:17 *** arvind_khadri has joined #rtems 2012-04-19T08:20:03 *** lkcl has quit IRC (Ping timeout: 245 seconds) 2012-04-19T08:32:52 *** lkcl has joined #rtems 2012-04-19T09:02:52 *** QingPei has joined #rtems 2012-04-19T10:01:55 *** xiangfu has quit IRC (Ping timeout: 264 seconds) 2012-04-19T10:05:15 *** sebhub has quit IRC (Read error: Operation timed out) 2012-04-19T10:35:18 *** _Lucretia_ <_Lucretia_!~munkee@pdpc/supporter/active/lucretia> has joined #rtems 2012-04-19T10:43:17 *** gedare has joined #rtems 2012-04-19T10:53:12 *** cdcs has quit IRC (Quit: Page closed) 2012-04-19T10:53:42 hi rtems 2012-04-19T11:05:59 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-19T11:07:59 *** arvind_khadri has joined #rtems 2012-04-19T11:16:18 *** arvind_khadri has quit IRC (Ping timeout: 252 seconds) 2012-04-19T11:21:03 uh oh i think i'm starting a fight :x 2012-04-19T12:14:49 *** weiY has quit IRC (Ping timeout: 260 seconds) 2012-04-19T12:24:17 *** QingPei has left #rtems 2012-04-19T12:47:01 gedare: ??? 2012-04-19T12:47:23 heh. a little bit of an argument on the mailing list 2012-04-19T12:47:26 nothing too bad 2012-04-19T12:48:26 just went there ... fetching the popcorn 2012-04-19T12:52:48 the microblaze thread? 2012-04-19T12:56:11 or the quos stuff? 2012-04-19T13:21:18 *** DrJoel has joined #rtems 2012-04-19T13:21:18 *** ChanServ sets mode: +o DrJoel 2012-04-19T13:43:45 peerst: both lol 2012-04-19T13:44:50 ah so I found it ... not looking like a flamewar yet 2012-04-19T13:44:53 the microblaze thread was the bad one. but i expect to get ralfed on the libcompat thread as a result of my adverse reaction to the microblaze stuff 2012-04-19T13:44:59 nah i think it died out 2012-04-19T13:48:38 the microblaze was a very fast Ralf response to Eric N and another person asking about Microblaze support. Eric had started a toolchain build on his own and Ralf was being nice 2012-04-19T15:45:37 *** gedare has quit IRC (Quit: Leaving) 2012-04-19T15:48:22 *** A0Sheds has quit IRC (Ping timeout: 276 seconds) 2012-04-19T16:03:14 *** A0Sheds has joined #rtems 2012-04-19T16:25:09 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2012-04-19T16:48:54 *** DrJoel has quit IRC (Quit: Leaving) 2012-04-19T17:06:37 *** dr__house has quit IRC (Ping timeout: 260 seconds) 2012-04-19T17:06:42 *** dr__house has joined #rtems 2012-04-19T17:06:42 *** dr__house has joined #rtems 2012-04-19T19:15:23 *** xiangfu has joined #rtems 2012-04-19T19:22:37 *** mwalle has quit IRC (Ping timeout: 252 seconds) 2012-04-19T19:23:14 *** mwalle has joined #rtems 2012-04-19T19:23:21 *** dr__house has quit IRC (Ping timeout: 252 seconds) 2012-04-19T19:23:25 *** dr__house has joined #rtems 2012-04-19T19:23:26 *** dr__house has joined #rtems 2012-04-19T20:57:48 *** gedare has joined #rtems 2012-04-19T21:33:46 *** gedare has quit IRC (Quit: Leaving) 2012-04-19T21:35:54 *** lkcl has quit IRC (Read error: Connection timed out) 2012-04-19T21:36:40 *** lkcl has joined #rtems 2012-04-19T22:00:21 *** QingPei has joined #rtems 2012-04-19T22:21:28 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-19T22:22:24 *** xiangfu has joined #rtems 2012-04-20T00:02:57 *** dr__house has quit IRC (Quit: leaving) 2012-04-20T00:03:39 *** dr__house has joined #rtems 2012-04-20T00:03:39 *** dr__house has joined #rtems 2012-04-20T00:25:33 *** dr__house has quit IRC (Remote host closed the connection) 2012-04-20T00:26:20 *** dr__house has joined #rtems 2012-04-20T00:26:20 *** dr__house has joined #rtems 2012-04-20T00:28:42 *** arvind_khadri has joined #rtems 2012-04-20T01:08:13 *** QingPei has quit IRC (Remote host closed the connection) 2012-04-20T01:13:20 *** QingPei has joined #rtems 2012-04-20T01:25:37 *** dr__house has quit IRC (Remote host closed the connection) 2012-04-20T01:49:58 *** sebhub has joined #rtems 2012-04-20T01:51:01 good morning 2012-04-20T01:52:04 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-20T02:24:24 *** arvind_khadri has joined #rtems 2012-04-20T02:25:16 *** arvind_k has joined #rtems 2012-04-20T02:26:10 *** arvind_k is now known as arvind_khadri 2012-04-20T02:26:30 *** arvind_khadri has joined #rtems 2012-04-20T02:44:52 moorning 2012-04-20T03:28:29 *** sevikkk has quit IRC (Ping timeout: 245 seconds) 2012-04-20T03:37:04 sebhub, morning 2012-04-20T03:37:20 I agree the coldfire fpu support should be demand enabled. 2012-04-20T03:41:39 *** sevikkk has joined #rtems 2012-04-20T03:48:26 hi, im currently sit on a zoom evaluation board and track this issue 2012-04-20T03:51:40 I use a chair !! ;) 2012-04-20T03:52:58 What is a zoom board ? 2012-04-20T03:55:30 http://www.logicpd.com/products/system-on-modules/zoom-coldfire-litekit/ 2012-04-20T04:02:07 *** cdcs has joined #rtems 2012-04-20T04:19:34 ok, found the problem 2012-04-20T04:54:23 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-20T05:46:55 *** lkcl has quit IRC (Read error: Connection timed out) 2012-04-20T05:59:38 *** arvind_k has joined #rtems 2012-04-20T06:00:12 *** arvind_khadri has quit IRC (Disconnected by services) 2012-04-20T06:00:20 *** arvind_k is now known as arvind_khadri 2012-04-20T06:00:35 *** arvind_khadri has joined #rtems 2012-04-20T06:48:56 *** arvind_khadri has quit IRC (Ping timeout: 272 seconds) 2012-04-20T06:49:16 *** arvind_khadri has joined #rtems 2012-04-20T07:34:40 *** arvind_khadri has quit IRC (Read error: Connection reset by peer) 2012-04-20T07:35:23 *** arvind_khadri has joined #rtems 2012-04-20T07:59:42 *** weiY has joined #rtems 2012-04-20T08:04:14 *** lkcl has joined #rtems 2012-04-20T08:10:57 good night 2012-04-20T08:11:27 hi 2012-04-20T08:12:50 the result of gsoc is more closing. very looking forward to it 2012-04-20T08:14:52 Hi sebhub. recently in the devel-maillist there are lots of patches. does it indicate that the new version of rtems will be released? 2012-04-20T08:15:31 yes, but we have no release date yet 2012-04-20T08:17:33 good news. if i was selected by rtems as a gsoc student i will also join the fight 2012-04-20T08:18:44 nice 2012-04-20T08:21:40 sebhub, have you reviewed my proposal about the atomic support for rtems? what about your comments? 2012-04-20T08:22:15 sorry, it didn't look at it recently, but the overall impression is good 2012-04-20T08:25:57 ok thank you for your review. in my original proposal i did not thought about the C11 standard atomic implementation, thank to your advice of using the C11 standard implementation as long-term plan 2012-04-20T08:28:04 i looked briefly at the current GCC implementation and was not satisfied with it 2012-04-20T08:28:20 i think we should use the one from freebsd 2012-04-20T08:28:27 kernel 2012-04-20T08:29:40 yes, i think so. the atomic API from freebsd kernel we can refer. and the implementation from the netbsd kernel we can also consider 2012-04-20T08:30:42 becasue the implementation of freebsd kernel is not guaranteed all the architecture smp safe 2012-04-20T08:33:18 is your last statement true for the netbsd implementation? 2012-04-20T08:33:33 freebsd is a quite mature smp platform 2012-04-20T08:36:20 the netbsd kernel will guarante the architectures which support CAS instruction SMP safte. because all the atomic operations implementation on netbsd kernel is based on CAS 2012-04-20T08:37:22 netbsd also supports mostly architectures SMP 2012-04-20T08:39:04 CAS is vulnerable to the ABA problem 2012-04-20T08:39:48 what i wanted to say is that CAS is not the only hardware means to support atomic operationos 2012-04-20T08:40:04 modern architectures use LL/SC for it 2012-04-20T08:40:35 i suppose the smp support is far more mature in freebsd than in netbsd 2012-04-20T08:40:51 and what do you mean with "smp safe"? 2012-04-20T08:42:57 i mean the atomic operations is smp safe 2012-04-20T08:43:54 it don't see why there should be a difference between freebsd and netbsd 2012-04-20T08:44:09 this is only a property of the hardware 2012-04-20T08:45:25 you solve the consensus problem without hardware support 2012-04-20T08:45:49 you cannot solve 2012-04-20T08:46:51 yes, from this perspective there are no difference 2012-04-20T08:47:36 CAS is really has ABA problem. but not all the architecture has the LL/SC support 2012-04-20T08:48:17 *** QingPei has quit IRC (Read error: Connection reset by peer) 2012-04-20T08:48:28 yes, we have to live with them ;-) 2012-04-20T08:49:08 so we should implement atomic carefully for each architecture 2012-04-20T08:49:47 overall the smp support on freebsd is more mature 2012-04-20T08:50:00 i would simply copy and paste it from freebsd and write some unit tests 2012-04-20T08:53:01 yeah, it is a more reliable way 2012-04-20T08:54:01 hi sebhub, you say the CAS is not only hareware means for atomic implementation. what your mean? 2012-04-20T08:54:29 some architectures like PowerPC or ARMv7 use LL/SC 2012-04-20T08:55:56 yeah, you mean the LL/SC is also the CAS implementation? ok i understand 2012-04-20T08:56:21 LL/SC can solve the ABA problem 2012-04-20T08:56:25 you can do more with LL/SC 2012-04-20T08:57:02 for RTEMS it doesn't matter 2012-04-20T08:57:33 why doesn't matter 2012-04-20T08:58:44 we cannot change the hardware 2012-04-20T09:00:32 yeah 2012-04-20T09:05:03 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2012-04-20T09:19:28 *** QingPei has joined #rtems 2012-04-20T09:33:11 *** gedare has joined #rtems 2012-04-20T10:21:09 morning 2012-04-20T10:21:41 hi 2012-04-20T10:22:47 hi 2012-04-20T10:23:40 and good bye ;-) 2012-04-20T10:24:21 heh. take care sebhub. 2012-04-20T10:29:20 *** sebhub has quit IRC (Ping timeout: 272 seconds) 2012-04-20T10:35:46 bye 2012-04-20T10:36:14 *** weiY has quit IRC () 2012-04-20T10:45:56 *** _Lucretia_ <_Lucretia_!~munkee@pdpc/supporter/active/lucretia> has quit IRC (Ping timeout: 260 seconds) 2012-04-20T10:48:56 gedare: hi 2012-04-20T10:49:01 hello qingpei 2012-04-20T10:49:12 monring.. 2012-04-20T10:49:22 morning... i mean 2012-04-20T10:49:26 i saw your emails would you like to chat privately? 2012-04-20T10:49:39 yeah 2012-04-20T11:51:35 *** QingPei has left #rtems 2012-04-20T11:52:58 *** dr__house has joined #rtems 2012-04-20T11:53:06 *** dr__house has joined #rtems 2012-04-20T12:16:59 *** cdcs has quit IRC (Quit: Page closed) 2012-04-20T12:32:39 *** gedare is now known as gedare|RTEMS 2012-04-20T12:40:58 *** gedare|RTEMS is now known as RTEMS|gedare 2012-04-20T14:18:38 *** Hesham has joined #rtems 2012-04-20T14:22:56 *** Hesham has quit IRC (Ping timeout: 245 seconds) 2012-04-20T14:28:45 RTEMS|gedare: do you know the innards of the nfs client? 2012-04-20T14:29:00 or does any here? 2012-04-20T14:29:18 no best off on the list i think. 2012-04-20T14:29:54 yeah the bug in file read I found will have to go to the list 2012-04-20T14:30:12 currently I'm trying to understand the workings to fix it 2012-04-20T14:30:45 i have little experience with any of the filesystems. 2012-04-20T14:31:20 well sebhub would be the one 2012-04-20T14:31:29 but hes off for the weekend 2012-04-20T14:31:53 so I'm stuck until monday :-( 2012-04-20T14:32:23 yeah sounds like it 2012-04-20T14:40:39 *** RTEMS|gedare is now known as gedare 2012-04-20T14:41:18 peerst, what is the bug ? 2012-04-20T14:41:37 a filesystem expert! 2012-04-20T14:41:41 it reads maximum 8192 bytes 2012-04-20T14:42:26 I'm porting code that gets the size of a file allocates a buffer and wants to read it all 2012-04-20T14:42:33 but read returns 8192 2012-04-20T14:43:38 The read call ? 2012-04-20T14:43:38 tried to write a wrapper for nfs_file_read() to loop in this case but it doesn't seem to read the right data (I don't see the files contents appear in my buffer) 2012-04-20T14:43:52 as in POSIX type read ? 2012-04-20T14:43:52 yeah the read call 2012-04-20T14:43:58 yes 2012-04-20T14:44:04 Ok ... 2012-04-20T14:44:30 it is supposed to return as many bytes as requested for plain files 2012-04-20T14:44:32 I have transfered 100's of Gigs of files to large hard disks when testing the RFS on a PC platform. It works 2012-04-20T14:44:41 Do you have a shell running ? 2012-04-20T14:45:02 I can make one run 2012-04-20T14:45:13 PLease do and try 'cp', it will work. 2012-04-20T14:45:21 maybe cp loops? 2012-04-20T14:45:42 It is the POSIX API for read. It returns what it has and you need to piece the file together. 2012-04-20T14:45:57 I suggest the big buffer for the file then a smaller say 8k one for the read 2012-04-20T14:46:10 It does 2012-04-20T14:46:30 cpukit/libmisc/shell then the cp file(s) 2012-04-20T14:49:33 http://www.freebsd.org/cgi/man.cgi?query=read&apropos=0&sektion=2&manpath=FreeBSD+9.0-RELEASE&arch=default&format=html 2012-04-20T14:50:16 "The system guarantees to read the number of bytes requested if the descriptor references a normal file that has that many bytes left before the end-of-file, but in no other case." 2012-04-20T14:51:28 I'm not sure if POSIX guarantees it also but the code I'm porting runs on several Linuxes, FreeBSD, MacOSX, Solaris, VxWorks ... 2012-04-20T14:54:02 I think the POSIX is better than the man page. The return value part is better. What I think it is referring to is devices like a socket or a /dev entry where other things can go wrong, eg a tape drive with a broken tape 2012-04-20T14:54:39 NFS is over a network and the file will be broken up in to parts. 2012-04-20T14:56:35 Just browsed over the posix def of read 2012-04-20T14:57:01 can't find the plain files special case there 2012-04-20T14:59:47 what bothers me a bit but I'm not sure yet: I think see the whole file transfered on the net ... 2012-04-20T15:04:51 nevermind I take it back ... just went through the NFS trace again ... it only requests a block of 8192 2012-04-20T15:05:18 :) 2012-04-20T15:06:01 There is a setting in NFS to change that size. I am sorry but I cannot remember what that was 2012-04-20T15:10:41 well there would always be a limit ... 2012-04-20T15:12:54 *** arvind_khadri has joined #rtems 2012-04-20T15:27:03 *** arvind_khadri has quit IRC (Read error: Connection reset by peer) 2012-04-20T15:27:52 *** arvind_khadri has joined #rtems 2012-04-20T15:56:01 *** gedare has quit IRC (Quit: Ex-Chat) 2012-04-20T15:57:59 kiwichris: I fixed it in the ported code now ... 2012-04-20T15:58:20 works much better ... blowing its stack now 2012-04-20T15:58:25 but much later 2012-04-20T15:58:27 :-) 2012-04-20T16:16:01 *** arvind_khadri has quit IRC (Ping timeout: 265 seconds) 2012-04-20T18:05:54 *** mwalle has quit IRC (*.net *.split) 2012-04-20T18:11:15 *** mwalle has joined #rtems 2012-04-20T20:18:20 *** xiangfu has joined #rtems 2012-04-20T21:59:16 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-20T22:39:36 *** gedare has joined #rtems 2012-04-20T23:02:35 *** gedare has quit IRC (Quit: Leaving) 2012-04-21T04:01:39 *** QingPei has joined #rtems 2012-04-21T04:18:06 *** weiY has joined #rtems 2012-04-21T06:21:59 *** mwalle has quit IRC (*.net *.split) 2012-04-21T06:28:34 *** mwalle has joined #rtems 2012-04-21T06:53:49 *** panzon has joined #rtems 2012-04-21T07:27:14 *** panzon has quit IRC (Ping timeout: 256 seconds) 2012-04-21T07:54:13 *** panzon has joined #rtems 2012-04-21T07:54:14 *** weiY has quit IRC (Ping timeout: 260 seconds) 2012-04-21T07:55:08 *** weiY has joined #rtems 2012-04-21T08:09:46 *** QingPei has left #rtems 2012-04-21T08:11:45 *** arvind_khadri has joined #rtems 2012-04-21T08:33:45 *** QingPei has joined #rtems 2012-04-21T10:36:35 *** gedare has joined #rtems 2012-04-21T10:42:22 *** arvind_khadri has quit IRC (Ping timeout: 265 seconds) 2012-04-21T10:47:17 *** weiY has quit IRC (Ping timeout: 256 seconds) 2012-04-21T10:52:28 *** QingPei has left #rtems 2012-04-21T12:10:59 *** arvind_khadri has joined #rtems 2012-04-21T14:22:36 *** kristianpaul has quit IRC (Ping timeout: 272 seconds) 2012-04-21T14:27:09 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-04-21T15:11:01 *** kristianpaul has joined #rtems 2012-04-21T15:23:17 *** gedare has quit IRC (Ping timeout: 248 seconds) 2012-04-21T17:33:18 *** soh_cah_toa has joined #rtems 2012-04-21T18:21:26 *** A0Sheds has quit IRC (Read error: Connection reset by peer) 2012-04-21T18:22:14 *** A0Sheds has joined #rtems 2012-04-21T18:22:14 *** A0Sheds has joined #rtems 2012-04-21T21:05:16 http://pastebin.com/r4z11ZP4 2012-04-21T21:05:26 anybody understand what in the world that is about? :\ 2012-04-21T21:06:01 i can't seem to use a simulator on any architecture whatsoever besides sparc64 2012-04-21T21:14:25 oh wow. i just realized i was debugging the ini.o object file not the hello.exe executable 2012-04-21T21:14:31 *init.o 2012-04-21T21:15:10 how embarrassing 2012-04-21T21:16:27 yet, now i get a different error. wonderful 2012-04-21T21:23:19 *** gedare has joined #rtems 2012-04-21T21:43:37 *** soh_cah_toa has quit IRC (Quit: Leaving) 2012-04-21T21:44:33 *** gedare has quit IRC (Quit: Leaving) 2012-04-22T01:46:11 *** arvind_khadri has joined #rtems 2012-04-22T03:15:36 *** Hesham has joined #rtems 2012-04-22T04:08:32 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2012-04-22T04:22:21 *** arvind_khadri has joined #rtems 2012-04-22T04:55:16 *** Hesham has quit IRC (Quit: Leaving.) 2012-04-22T07:04:08 *** Hesham has joined #rtems 2012-04-22T07:12:54 *** arvind_khadri has quit IRC (Read error: Operation timed out) 2012-04-22T07:25:36 *** arvind_khadri has joined #rtems 2012-04-22T08:00:35 *** zw_yao has joined #rtems 2012-04-22T08:10:26 *** leyyin has joined #rtems 2012-04-22T08:28:22 hey 2012-04-22T08:29:08 i want to buy arm BSP and its core have MMU and is supported by RTEMS 2012-04-22T08:29:17 any suggestions ? 2012-04-22T08:48:29 *** Hesham has quit IRC (Quit: Leaving.) 2012-04-22T09:02:34 *** xiangfu has joined #rtems 2012-04-22T09:32:48 *** QingPei has joined #rtems 2012-04-22T09:53:13 *** gedare has joined #rtems 2012-04-22T10:11:11 *** xiangfu has quit IRC (Quit: Leaving) 2012-04-22T10:18:04 *** xiangfu has joined #rtems 2012-04-22T10:20:44 *** xiangfu has quit IRC (Client Quit) 2012-04-22T11:03:49 *** QingPei has left #rtems 2012-04-22T11:22:35 Hesham: stm32f patch was recently submitted 2012-04-22T11:53:33 *** leyyin has quit IRC (Ping timeout: 244 seconds) 2012-04-22T12:11:31 hesham: i think sebhub suggested http://www.phytec.com/products/rdk/ARM-XScale/phyCORE-ARM9-LPC3250.html 2012-04-22T13:04:26 *** leyyin has joined #rtems 2012-04-22T13:30:07 *** rtemsLogger has joined #rtems 2012-04-22T13:37:53 *** rtemsLogger` has quit IRC (*.net *.split) 2012-04-22T14:27:37 *** sevikkk1 has joined #rtems 2012-04-22T14:27:52 *** sevikkk has quit IRC (Ping timeout: 272 seconds) 2012-04-22T15:20:27 *** panzon has quit IRC (Quit: Leaving) 2012-04-22T15:50:16 *** leyyin has quit IRC (Quit: Leaving) 2012-04-22T15:54:41 *** sevikkk1 has quit IRC (*.net *.split) 2012-04-22T16:02:18 *** sevikkk has joined #rtems 2012-04-22T16:45:22 *** gedare has quit IRC (Quit: Leaving) 2012-04-22T18:26:58 *** soh_cah_toa has joined #rtems 2012-04-22T18:27:40 hi guys :) 2012-04-22T19:15:29 *** xiangfu has joined #rtems 2012-04-22T21:08:05 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2012-04-22T21:20:51 *** arvind_khadri has joined #rtems 2012-04-22T21:28:22 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2012-04-22T21:41:04 *** arvind_khadri has joined #rtems 2012-04-22T21:48:35 *** sevikkk1 has joined #rtems 2012-04-22T21:50:16 *** gedare has joined #rtems 2012-04-22T21:52:53 *** sevikkk has quit IRC (*.net *.split) 2012-04-22T21:55:22 *** xiangfu has quit IRC (Remote host closed the connection) 2012-04-22T21:56:22 *** xiangfu has joined #rtems 2012-04-22T21:58:06 *** gedare has quit IRC (Quit: Leaving) 2012-04-22T22:46:21 *** dr__house has quit IRC (Quit: leaving) 2012-04-22T22:46:55 *** dr__house has joined #rtems 2012-04-22T23:35:38 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2012-04-22T23:57:08 *** dr__house has quit IRC (*.net *.split) 2012-04-22T23:57:08 *** sevikkk1 has quit IRC (*.net *.split) 2012-04-22T23:57:08 *** xiangfu has quit IRC (*.net *.split) 2012-04-22T23:57:08 *** soh_cah_toa has quit IRC (*.net *.split) 2012-04-22T23:57:09 *** A0Sheds has quit IRC (*.net *.split) 2012-04-22T23:57:09 *** mwalle has quit IRC (*.net *.split) 2012-04-22T23:57:10 *** zw_yao has quit IRC (*.net *.split) 2012-04-22T23:57:10 *** lcpfnvcy has quit IRC (*.net *.split) 2012-04-22T23:57:10 *** kiwichris has quit IRC (*.net *.split) 2012-04-22T23:57:11 *** peerst has quit IRC (*.net *.split) 2012-04-22T23:57:11 *** ChanServ has quit IRC (*.net *.split) 2012-04-22T23:57:12 *** lkcl has quit IRC (*.net *.split) 2012-04-22T23:57:12 *** verm__ has quit IRC (*.net *.split) 2012-04-22T23:57:14 *** rokka has quit IRC (*.net *.split) 2012-04-22T23:57:14 *** kristianpaul has quit IRC (*.net *.split) 2012-04-22T23:57:15 *** kuzew has quit IRC (*.net *.split)