2011-03-28T00:04:54 *** core-ix has quit IRC 2011-03-28T00:58:11 *** xiangfu has joined #rtems 2011-03-28T00:58:48 *** inpressi has joined #rtems 2011-03-28T01:03:16 *** xiangfu has quit IRC 2011-03-28T01:11:19 *** projectgus has quit IRC 2011-03-28T01:11:51 *** inpressi is now known as easwar 2011-03-28T01:15:59 *** xiangfu has joined #rtems 2011-03-28T01:30:51 *** sebhub has joined #rtems 2011-03-28T01:31:17 Gazprom 2011-03-28T01:31:28 good morning 2011-03-28T01:31:40 sorry, wrong channel 2011-03-28T01:46:05 *** core-ix has joined #rtems 2011-03-28T03:29:58 Hi 2011-03-28T04:16:00 *** sqm has joined #rtems 2011-03-28T04:37:00 *** sqm has quit IRC 2011-03-28T04:43:56 *** sqm has joined #rtems 2011-03-28T05:11:07 *** mmu_man has joined #rtems 2011-03-28T05:20:39 *** titankiller has joined #rtems 2011-03-28T06:52:44 *** mmu_man has quit IRC 2011-03-28T07:00:11 *** lj8175 has joined #rtems 2011-03-28T07:38:30 *** mmu_man has joined #rtems 2011-03-28T07:40:33 *** zwj has joined #rtems 2011-03-28T07:59:49 *** simula67 has joined #rtems 2011-03-28T08:07:01 *** DrJoel has joined #rtems 2011-03-28T08:07:01 *** ChanServ sets mode: +o DrJoel 2011-03-28T08:09:31 hello:) 2011-03-28T08:11:05 im considering to order fpga board to try for example rtems&leon3, budget is 500-1000e, should i prefer xilinx or altera? 2011-03-28T08:11:26 btw. i have no previous experience with fpga :D 2011-03-28T08:16:17 DrJoel:hi 2011-03-28T08:17:17 DrJoel: about the Gsoc2011 i want some advice from you. 2011-03-28T08:17:31 zwj: OK ask 2011-03-28T08:17:51 rokka: have you looked at the Pender board? That's what Jiri Gaisler used to recommend. 2011-03-28T08:17:58 *** simula67 has quit IRC 2011-03-28T08:18:22 http://www.pender.ch/ 2011-03-28T08:18:53 *** simula67 has joined #rtems 2011-03-28T08:18:55 i have get contact with AIR people that AIR source code will released soon. is it suitable for me to do some work based on AIR as a gsoc project? 2011-03-28T08:19:36 I think so. But that needs to be explained in the proposal. Is there someone from the project who can co-mentor? 2011-03-28T08:19:45 Is there a target date? 2011-03-28T08:19:45 and i tend to make an RTOS and RTEMS run under AIR at the same time 2011-03-28T08:20:36 yeah, it seems that AIR target is sparc 2011-03-28T08:20:43 How about Linux and RTEMS? 2011-03-28T08:20:56 Will AIR work on another architecture? Is it planned? 2011-03-28T08:21:07 Does it run on a sparc simulator you have access to? 2011-03-28T08:21:17 from AIR they have realize the linux and RTEMS under AIR 2011-03-28T08:21:24 DrJoel: did you mean GR-XC3S-1500? 2011-03-28T08:21:50 zwj: then what would your project do beyond what they have already working? 2011-03-28T08:21:55 rokka: yes.. that sounds familiar 2011-03-28T08:22:03 seems interesting board 2011-03-28T08:22:09 from document they can easily port to architecture. because of its good architectrue design 2011-03-28T08:23:56 zwj: OK.. can you explain in a few sentences what your project will be? 2011-03-28T08:24:07 in AIR project, they have implement an hypervisor kernel and an adopted layer for guest OS to run AIR. my work is to port an OS(RTOS or general OS) to run with RTEMS at the same time 2011-03-28T08:24:32 OK, in my proposal i plan to explain the backgroud 2011-03-28T08:25:31 and i will also need help from AIR, and who can be mentor for this project? 2011-03-28T08:26:35 Probably any senior RTEMS person can mentor. We can address that later. 2011-03-28T08:27:35 *** cdcs has joined #rtems 2011-03-28T08:28:07 zwj: a blunt question.. if AIR has RTEMS and Linux running at the same time, what is the benefit to RTEMS of you getting another RTOS to run under AIR? 2011-03-28T08:29:24 OK, there must be some useful area for RTEMS and other OS to run the same time, not just linux 2011-03-28T08:29:38 like uclinux, ucos 2011-03-28T08:30:44 I don't dispute that but why would RTEMS want to use one of our GSoC slots for something which is nearly 100% a benefit for a competitor 2011-03-28T08:32:52 yeah, you are also right. but now AIR is an indepentent hypervisor. and i think this work will benefit intergrate the hypervisor into RTEMS 2011-03-28T08:33:49 and then RTEMS is also support Virtualization 2011-03-28T08:35:22 cdcs:hi, does AIR support linux run under it? 2011-03-28T08:36:09 zwj: that's the kind of benefit we want. But you can do that much with Linux virtualized under RTEMS. 2011-03-28T08:37:32 Hello 2011-03-28T08:37:51 zwj, i don't understand your question... 2011-03-28T08:38:43 drjoel:as what you said the RTEMS is an hypervisor and this way is just like ADEOS, and the result is the same as AIR 2011-03-28T08:39:28 cdcs: i mean whether linux is as a guest OS for AIR? 2011-03-28T08:39:38 at this point no. 2011-03-28T08:39:59 only RTEMS running on top of a RTEMS hypervisor 2011-03-28T08:40:33 cdcs: and Is there any related work been done? 2011-03-28T08:41:43 for porting linux to air? i think not... 2011-03-28T08:42:19 but i am only here for one month. So i don't know if there was a previous effort on that 2011-03-28T08:42:20 yes, no plan to do this porting work? 2011-03-28T08:42:41 on the long run i think so. 2011-03-28T08:44:02 ok, and could help me remaind the Tobias to replay me? 2011-03-28T08:44:29 i send two email to him, i think he must be busy 2011-03-28T08:45:44 ok, i will try to do what i can 2011-03-28T08:46:05 cdcs: ok , thank you very much 2011-03-28T08:49:58 *** simula67 has quit IRC 2011-03-28T08:50:08 zwj: just keep in mind that your project shouldn't duplicate what AIR has already done or benefit another OS more than RTEMS. I am a bit confused at this point about what exists, what you would propose, etc 2011-03-28T08:51:10 DrJoel: AIR hypervisor is an independent component, RTEMS is as a guest OS run under it. if we port linux to run with RTEMS at the same time, linux is also a guest OS. only we intergrate AIR hypervisor into RTEMS, it can say RTEMS support Virtualization 2011-03-28T08:55:40 DrJoel: yeah, i just want to RTEMS support virtualization, but from AIR project they just see RTEMS as a one of its guest OS 2011-03-28T08:56:49 no. the hypervisor is also RTEMS based 2011-03-28T08:59:39 cdcs: that mean it does not run without RTEMS? 2011-03-28T09:00:24 The hypervisor uses RTEMS as a HAL layer 2011-03-28T09:00:56 on top of the hypervisor you can run any os, if you change it to be compatible with air 2011-03-28T09:03:10 but RTEMS has many component like task manager, schedule manager. all this component is also as HAL layer? 2011-03-28T09:05:00 don't know what components are present 2011-03-28T09:06:13 but it should be a striped version of RTEMS 2011-03-28T09:09:29 *** sqm has quit IRC 2011-03-28T09:09:54 *** sqm has joined #rtems 2011-03-28T09:14:40 zwj, http://air.di.fc.ul.pt/air/downloads/07-35.pdf 2011-03-28T09:15:00 pag 41 answers your question 2011-03-28T09:32:22 *** mmu_man has quit IRC 2011-03-28T09:33:48 *** peerst has left #rtems 2011-03-28T09:37:20 *** easwar has left #rtems 2011-03-28T09:42:26 *** mmu_man has joined #rtems 2011-03-28T09:43:08 cdcs: yeah, only some component is reused by AIR. 2011-03-28T09:44:43 *** sebhub has quit IRC 2011-03-28T10:36:13 *** xiangfu has quit IRC 2011-03-28T10:41:54 *** gedare has joined #rtems 2011-03-28T10:46:27 hi drjoel 2011-03-28T10:47:15 drjoel: I noticed that on the gsoc organization list, RTEMS lacks the operating_system tag, which most other OS projects have 2011-03-28T10:47:23 just a point of interest. 2011-03-28T10:48:56 *** sqm has left #rtems 2011-03-28T10:49:29 gedare: don't see how to change it in the new UI. :( 2011-03-28T10:53:26 It is a bug and I am now tracking the Melange bug id... 2011-03-28T10:53:42 fun 2011-03-28T10:53:55 seems like the participation is slow for rtems this year 2011-03-28T10:54:20 i suggested that one of my colleagues send an application, he is checking with our boss 2011-03-28T10:54:25 yes it does feel that way. I have spoken with 5-6 students.. two have already done the helle world 2011-03-28T10:54:32 well that's good at least 2011-03-28T10:55:20 Yes.. If anyone is interested in mentoring or at least reviewing proposals and getting them into shape, please sign up as a mentor 2011-03-28T10:55:53 i can probably help with reviewing. 2011-03-28T10:56:03 busy writing my own (thesis) proposal though. :) 2011-03-28T10:56:08 the oven is baking. 2011-03-28T10:56:19 i'm on the clock! 2011-03-28T10:56:29 and i need more coffee. 2011-03-28T10:59:01 LOL.. goog luck 2011-03-28T10:59:05 good luck I mean 2011-03-28T10:59:10 heh ,thanks 2011-03-28T10:59:23 i'll sign up, at any rate. 2011-03-28T11:00:24 *** lj8175 has quit IRC 2011-03-28T11:01:53 DrJoel:hi, i have comfirmed that AIR did not implement linux and rtems run at the same time 2011-03-28T11:02:44 oh..they changed the UI over the weekend? 2011-03-28T11:02:46 zwj: OK.. then you want RTEMS (in the main tree) to be able to be configured and built as a hypervisor. With the non-hypervisor RTEMS running inside that alongside Linux 2011-03-28T11:02:57 gedare: yes... looks nice but.... 2011-03-28T11:03:03 cludgggge 2011-03-28T11:03:21 that si an ambitious project 2011-03-28T11:03:40 at this point, it is just a change and new.. seems to be nicer.. just being deployed in phases and we lost some features.. temporarily I hope 2011-03-28T11:03:51 I wanted to look at the Code In task list and couldn't :( 2011-03-28T11:04:42 ok i requested to be a mentor 2011-03-28T11:06:42 DrJoel: yeah, add a hypervisor which use part components of RTEMS to RTEMS, and then non-hypervisor and other OS like linux run togather 2011-03-28T11:07:32 zwj: OK. can you run this on a free simulator? sis? qemu? 2011-03-28T11:08:09 which free simulator support sparc/len3 ? 2011-03-28T11:09:27 because AIR target is sparc erc32 , so i think we can use this target for startup 2011-03-28T11:09:43 AIR add MMU support for this target 2011-03-28T11:09:52 i think that was real h/w 2011-03-28T11:13:30 yeah, i think about MMU support simulator is also ok 2011-03-28T11:13:46 OK. Is their code licensed properly for inclusion in RTEMS? 2011-03-28T11:13:55 it is LGPL 2011-03-28T11:14:15 there was an e-mail discussion about this 2011-03-28T11:15:59 yes, is it proper? 2011-03-28T11:19:32 We usually don't merge LGPL code because users need to staticalyl link with it 2011-03-28T11:20:07 But a hypervisor is a bit different in that you dynamically load code inside it. So it might be OK. Looks like a steering committee issue. 2011-03-28T11:20:28 it seems that parts of AIR is LGPL , some parts are RTEMS friendly 2011-03-28T11:21:22 I suppose I need to email Tobias to get a firm handle on what their goals are, what code needs to go where, etc 2011-03-28T11:22:09 i think their intent was to pick an RTEMS-friendly license 2011-03-28T11:22:26 It sounded like it but the devil is in the details 2011-03-28T11:22:32 Yep 2011-03-28T11:22:53 yes, waiting for news 2011-03-28T11:23:00 i have to go to bed 2011-03-28T11:23:16 see you 2011-03-28T11:23:24 bye! 2011-03-28T11:28:45 *** zwj has quit IRC 2011-03-28T11:35:11 Does RTEMS have an RSS feed? I see aanjhan asking 2011-03-28T11:36:24 http://www.rtems.org/rss.xml ? 2011-03-28T11:37:00 Hmm... that works but nothing new. I wonder what adds to it 2011-03-28T11:37:03 *** core-ix has quit IRC 2011-03-28T11:37:39 *** titankiller has quit IRC 2011-03-28T11:40:03 *** mmu_man has quit IRC 2011-03-28T11:40:36 it is a copy of div#mission 2011-03-28T11:40:59 cdcs: yeah.. looks like I need to add some drupal modules or turn something on. :( 2011-03-28T11:41:49 Hmmm.. appears to only get things published to front page and we use a News Filter to do most of the page 2011-03-28T11:44:20 *** titankiller has joined #rtems 2011-03-28T11:55:44 *** titankiller2 has joined #rtems 2011-03-28T11:59:15 *** titankiller has quit IRC 2011-03-28T12:03:21 better now :-D http://rtems.org/rss.xml 2011-03-28T12:03:53 but strangely old 2011-03-28T12:04:23 it would be nice to have like monthly updates on what has changed in CVS... 2011-03-28T12:04:41 not sure who or how that should be done though :) 2011-03-28T12:05:20 Thu, 11 Feb 2010 ? 2011-03-28T12:05:25 something is wrong... 2011-03-28T12:06:29 yeah.. trying to get rss feed from news view .. drupal is confusing sometimes 2011-03-28T12:06:48 DrJoel: jennifer committed something to percpu.c that is objectionable..about 3 weeks ago 2011-03-28T12:07:43 sebastian and I commented on the VC list, and I cc'ed both of you on my reply 2011-03-28T12:07:54 change log for rtems (2011-03-18) 2011-03-28T12:08:11 she was out last week.. score can reference configuration parameters though 2011-03-28T12:08:30 the problem is of namespace, and of using printk 2011-03-28T12:08:41 lines 43 and 45 of percpu.c 2011-03-28T12:08:50 rtems_xxx shouldn't be in the score 2011-03-28T12:09:08 and printk's should be ifdef'd with debug 2011-03-28T12:09:49 also, when will i get to try out the SMP! :):) 2011-03-28T12:10:02 agreed on printk .. grep for rtems_ ..it is there already for configuration parameters 2011-03-28T12:10:35 need scheduler and locks.. hopefully funding will come soon and finish it.. 2011-03-28T12:10:59 Jennifer has sparc and x86 coming out of reset.. 2011-03-28T12:11:11 DrJoel: Ok, then the name should be changed to rtems_configuration_smp_maximum_processors 2011-03-28T12:12:25 yes.. that's what it should be.. it is instantiated in confdefs.h 2011-03-28T12:12:54 right now it is rtems_smp_... so should be fixed 2011-03-28T12:13:03 I will file a PR 2011-03-28T12:14:17 that's a good idea.. she will get it 2011-03-28T12:18:17 filed.. I cc'd sebhub but not jennifer, not sure on her email. back to work 2011-03-28T12:57:06 *** cdcs has quit IRC 2011-03-28T13:16:19 *** core-ix has joined #rtems 2011-03-28T13:31:09 *** madrazr1 has joined #rtems 2011-03-28T13:42:36 *** titankiller2 has quit IRC 2011-03-28T13:43:56 *** titankiller has joined #rtems 2011-03-28T13:56:24 gedare: added Jennifer 2011-03-28T13:57:02 *** DrJoel changes topic to " RTEMS is in the Google Summer of Code 2011!! Visit http://www.google-melange.com/gsoc/org/google/gsoc2011/rtems to apply to RTEMS" 2011-03-28T13:57:24 Melange opens for student applications in a few minutes 2011-03-28T14:01:05 *** core-ix has quit IRC 2011-03-28T14:19:59 *** core-ix has joined #rtems 2011-03-28T15:20:10 *** titankiller has quit IRC 2011-03-28T15:26:27 *** cdcs has joined #rtems 2011-03-28T15:28:10 *** mmu_man has joined #rtems 2011-03-28T15:34:23 *** antgreen has quit IRC 2011-03-28T15:49:54 *** gedare has quit IRC 2011-03-28T15:50:54 *** madrazr1 is now known as madrazr 2011-03-28T15:51:00 *** madrazr has joined #rtems 2011-03-28T16:15:57 *** DrJoel changes topic to " RTEMS is in the Google Summer of Code 2011!! Visit http://www.google-melange.com/gsoc/org/google/gsoc2011/rtems to apply to RTEMS. http://www.booki.cc/gsocstudentguide/ for tips and advice" 2011-03-28T16:33:33 *** projectgus has joined #rtems 2011-03-28T16:57:46 *** cdcs has quit IRC 2011-03-28T17:00:34 *** DrJoel has quit IRC 2011-03-28T17:32:35 *** mmu_man has quit IRC 2011-03-28T17:35:59 *** methril has joined #rtems 2011-03-28T18:50:02 *** titankiller has joined #rtems 2011-03-28T19:33:07 *** madrazr has quit IRC 2011-03-28T19:52:06 *** madrazr has joined #rtems 2011-03-28T19:52:43 *** madrazr has quit IRC 2011-03-28T20:57:25 *** Cfen has joined #rtems 2011-03-28T20:58:28 *** Cfen has joined #rtems 2011-03-28T20:58:30 hi 2011-03-28T21:01:04 *** xiangfu has joined #rtems 2011-03-28T21:54:34 *** titankiller has quit IRC 2011-03-28T22:06:44 *** core-ix has quit IRC 2011-03-28T22:06:45 *** verm__ has quit IRC 2011-03-28T22:06:48 *** dr__house has quit IRC 2011-03-28T22:06:48 *** tuxmaniac has quit IRC 2011-03-28T22:06:49 *** Cfen has quit IRC 2011-03-28T22:06:50 *** mwalle has quit IRC 2011-03-28T22:06:51 *** kristianpaul has quit IRC 2011-03-28T22:06:56 *** xiangfu has quit IRC 2011-03-28T22:06:58 *** ChanServ has quit IRC 2011-03-28T22:06:58 *** projectgus has quit IRC 2011-03-28T22:06:59 *** rokka has quit IRC 2011-03-28T22:06:59 *** methril has quit IRC 2011-03-28T22:07:00 *** Fallenou has quit IRC 2011-03-28T22:19:12 *** rokka has joined #rtems 2011-03-28T22:19:13 *** projectgus has joined #rtems 2011-03-28T22:19:13 *** mwalle has joined #rtems 2011-03-28T22:19:13 *** Cfen has joined #rtems 2011-03-28T22:19:13 *** kristianpaul has joined #rtems 2011-03-28T22:19:13 *** Fallenou has joined #rtems 2011-03-28T22:19:13 *** methril has joined #rtems 2011-03-28T22:19:13 *** ChanServ has joined #rtems 2011-03-28T22:19:13 *** xiangfu has joined #rtems 2011-03-28T22:19:13 *** dr__house has joined #rtems 2011-03-28T22:19:13 *** tuxmaniac has joined #rtems 2011-03-28T22:19:13 *** gibson.freenode.net sets mode: +o ChanServ 2011-03-28T22:19:26 *** kristianpaul has quit IRC 2011-03-28T22:19:34 *** kristianpaul has joined #rtems 2011-03-28T22:20:04 *** core-ix has joined #rtems 2011-03-28T22:20:04 *** verm__ has joined #rtems 2011-03-28T22:53:15 *** Cfen has quit IRC 2011-03-29T00:08:41 *** mmu_man has joined #rtems 2011-03-29T00:42:09 *** lj8175 has joined #rtems 2011-03-29T00:50:03 *** mmu_man has quit IRC 2011-03-29T00:55:15 *** projectgus has quit IRC 2011-03-29T01:18:13 *** xiangfu has quit IRC 2011-03-29T01:52:16 *** Cfen has joined #rtems 2011-03-29T01:54:25 *** core-ix has quit IRC 2011-03-29T02:37:52 *** core-ix has joined #rtems 2011-03-29T03:15:17 *** mmu_man has joined #rtems 2011-03-29T03:23:14 *** Cfen has quit IRC 2011-03-29T03:32:24 *** xiangfu has joined #rtems 2011-03-29T04:11:20 *** mmu_man has quit IRC 2011-03-29T04:46:03 *** mmu_man has joined #rtems 2011-03-29T04:56:34 *** mmu_man has quit IRC 2011-03-29T04:57:50 *** mmu_man has joined #rtems 2011-03-29T04:57:50 *** mmu_man_ has joined #rtems 2011-03-29T04:58:03 *** mmu_man_ has quit IRC 2011-03-29T04:58:28 *** mmu_man has joined #rtems 2011-03-29T05:07:19 *** mmu_man has quit IRC 2011-03-29T05:08:11 *** mmu_man has joined #rtems 2011-03-29T05:42:03 *** titankiller has joined #rtems 2011-03-29T06:33:56 *** sqm has joined #rtems 2011-03-29T06:59:37 *** titankiller2 has joined #rtems 2011-03-29T07:01:25 *** titankiller has quit IRC 2011-03-29T07:04:41 *** cdcs has joined #rtems 2011-03-29T07:06:27 *** titankiller2 has quit IRC 2011-03-29T07:17:16 *** zwj has joined #rtems 2011-03-29T07:20:43 *** core-ix has quit IRC 2011-03-29T07:42:49 *** titankiller has joined #rtems 2011-03-29T08:13:29 *** antgreen has joined #rtems 2011-03-29T08:37:20 *** DrJoel has joined #rtems 2011-03-29T08:37:20 *** ChanServ sets mode: +o DrJoel 2011-03-29T08:40:09 DrJoel, this link in the rtems home page is broken: 2011-03-29T08:40:22 "OAR offers legacy support with bug fixes for closed branches" 2011-03-29T08:41:09 The requested URL /oarsupport/legacy_47_support.html was not found on this server. 2011-03-29T08:44:23 cdcs: thanks.. new support site is close to going live.. so I will likely break more .. hold on while I fix it 2011-03-29T08:46:30 I changed the link to this.. even though not finished.. it is a hell of a lot better 2011-03-29T08:46:42 http://support.rtems.com/legacy_support 2011-03-29T08:47:15 yup, a lot cleaner 2011-03-29T08:59:38 *** arvind_khadri has joined #rtems 2011-03-29T09:05:17 *** xiangfu has quit IRC 2011-03-29T09:24:31 *** Cfen has joined #rtems 2011-03-29T09:24:51 hi 2011-03-29T09:25:44 hello, how to install the compile tools in Ubuntu 2011-03-29T09:27:03 If you are lucky, the combination you want it at http://epics.nsls2.bnl.gov/debian/ 2011-03-29T09:27:13 You may also be able to use Alien to convert RPMs to debs 2011-03-29T09:27:28 Or you can build the tools from source. 2011-03-29T09:27:47 Alien seems not work 2011-03-29T09:28:40 I build the tools from source, but I got some trouble when I build gcc 2011-03-29T09:29:18 *** antgreen has quit IRC 2011-03-29T09:29:35 Building the tools isn't that hard. Check out rtems-testing from CVS. There is a directory with "simple-build-script" in it. It should capture the steps 2011-03-29T09:29:36 what error? 2011-03-29T09:30:33 It says "configure:error: cannot compute suffix of object files 2011-03-29T09:32:03 Did you install binutils first? And put it at the head of your PATH? 2011-03-29T09:32:07 What target are you using? 2011-03-29T09:32:42 i386-rtems 2011-03-29T09:33:12 First all targets should have a 4.xx like 4.10 or 4.11 on them. 2011-03-29T09:33:16 type i386-rtems-as 2011-03-29T09:33:20 Is it available? 2011-03-29T09:34:17 thank you, I will have a try 2011-03-29T09:41:58 thank you ,but it doesn't respond, I spent a lot of time on it today, I think I should change my OS into fedora. 2011-03-29T09:43:24 with fedora you will get prebuilt tools 2011-03-29T09:43:33 so you don't have i386-rtems-as in your PATH? 2011-03-29T09:43:45 did you build (make) and install (make install) binutils? 2011-03-29T09:43:56 yes 2011-03-29T09:44:15 i386-rtems-as does what? 2011-03-29T09:44:40 nothing till now 2011-03-29T09:44:48 Sorry.. that tries to read standard in.. try this: 2011-03-29T09:44:51 $ i386-rtems4.11-as --version 2011-03-29T09:44:52 GNU assembler (GNU Binutils) 2.21 2011-03-29T09:44:52 Copyright 2010 Free Software Foundation, Inc. 2011-03-29T09:44:52 This program is free software; you may redistribute it under the terms of 2011-03-29T09:44:52 the GNU General Public License version 3 or later. 2011-03-29T09:44:52 This program has absolutely no warranty. 2011-03-29T09:44:54 This assembler was configured for a target of `i386-rtems4.11'. 2011-03-29T09:44:59 i386-rtems4.11-as --version 2011-03-29T09:45:55 gotta run an errand .. brb 2011-03-29T09:47:04 DrJoel: is there any simulator supporting SPARC/Leon3 which is AIR target? 2011-03-29T10:05:00 *** Cfen has quit IRC 2011-03-29T10:16:23 zwj: not a free one. THe only simulator I know of for leon3 is tsim from gaisler. 2011-03-29T10:30:01 gaisler provides a trial version 2011-03-29T10:32:19 it seems there is a demo version of TSIM, have you using it? 2011-03-29T10:32:44 cdcs: where can find this version, download free? 2011-03-29T10:34:05 ftp://ftp.gaisler.com/gaisler.com/tsim/tsim-eval-2.0.19.tar.gz 2011-03-29T10:34:20 http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=157&Itemid=105 2011-03-29T10:35:56 the limitation is that an application can only run during one or two minutes 2011-03-29T10:36:18 but you can always run it again 2011-03-29T10:36:57 ok, thank you! it is better than none use 2011-03-29T10:37:37 in this case we must run an application and start again for run another app 2011-03-29T10:38:19 but really it is useful for student who have no enough menoy 2011-03-29T10:38:59 it's barely noticeable 2011-03-29T10:39:40 we can only use TSIM2 LEON3 Evaluation? 2011-03-29T10:40:11 i think the other versions are commercial 2011-03-29T10:40:33 have you used evaluation? 2011-03-29T10:41:21 yes i have. i will not notice that it is an evaluation version 2011-03-29T10:41:28 you will* 2011-03-29T10:42:09 heh, i will try 2011-03-29T10:42:34 zwj: FWIW the script leon3 in rtems-testing assumes tsim 2011-03-29T10:42:39 how to install it. ./configure -> make -> make install ? 2011-03-29T10:42:52 it counts the runtime of the application, so you can debug it without noticeable limit 2011-03-29T10:44:52 ok 2011-03-29T10:45:33 use the manual for reference: http://www.gaisler.com/doc/tsim-2.0.19.pdf 2011-03-29T10:47:41 yeah, i am reading it. thank your 2011-03-29T10:52:23 *** sqm has quit IRC 2011-03-29T11:04:24 *** lj8175 has quit IRC 2011-03-29T11:34:37 *** zwj has quit IRC 2011-03-29T12:45:25 *** cdcs has quit IRC 2011-03-29T13:00:58 *** inpressi has joined #rtems 2011-03-29T13:01:16 *** inpressi is now known as easwar 2011-03-29T13:26:08 *** easwar has quit IRC 2011-03-29T13:26:08 *** easwar has joined #rtems 2011-03-29T13:27:43 *** titankiller has quit IRC 2011-03-29T13:41:29 *** madrazr has joined #rtems 2011-03-29T14:11:43 *** mmu_man has joined #rtems 2011-03-29T14:33:08 *** gedare has joined #rtems 2011-03-29T14:37:58 hi drjoel 2011-03-29T14:39:07 gedare: hey.. just got back from costco.. tires needing rotating 2011-03-29T14:39:14 thanks for the comments 2011-03-29T14:39:17 heh. sure 2011-03-29T14:39:22 got 2 min? 2011-03-29T14:39:27 sure. 2011-03-29T14:40:03 I was wondering if there might be interest in a gsoc project to integrate lua with rtems, and to support translating python scripts into lua+C codes 2011-03-29T14:40:20 btw, lua is under the MIT license, so it can be included directly if we got that far. 2011-03-29T14:40:26 lua :-) 2011-03-29T14:41:01 will be nice to extend rtems functionallity by use of lua scripts so that avoid re-compile for soem cases 2011-03-29T14:41:27 yeah, and the idea would be also to support python-like scripting for limited use case, without having to support the full python interpreter 2011-03-29T14:41:30 I wouldn't be opposed to it. Add it to the Open Projects lists and write it up. I can't say if any student is interested. We would have to make sure someone who knew some Lua was oen of the mentors 2011-03-29T14:41:31 since lua interpreter is pretty light 2011-03-29T14:41:39 i have a student that would propose it directly 2011-03-29T14:41:43 from our group 2011-03-29T14:42:02 i.e. the project is ready to roll, just want to see if rtems might be interested :) 2011-03-29T14:42:04 i think it is a good idea. So you could provide advice directly to them in a semi-formal capacity? 2011-03-29T14:42:09 yap 2011-03-29T14:42:37 * kristianpaul will look at lua + rtems later when having more time 2011-03-29T14:42:42 I think it is a good idea. Have them do the hello world project and make some contact. Need to strt writing the proposal :-D 2011-03-29T14:42:49 but run lua for shell will be cool at least 2011-03-29T14:42:52 Okay 2011-03-29T14:42:54 luac* 2011-03-29T14:43:00 fwiw he has already gotten the lua shell to run 2011-03-29T14:43:02 * DrJoel needs to learn more .. always more to learn 2011-03-29T14:43:26 What type of scripting are you proposing? Using current shell commands? Other capabilities? 2011-03-29T14:43:39 lua has a basic shell, not sure what the end-case is yet 2011-03-29T14:44:19 *** core-ix has joined #rtems 2011-03-29T14:44:52 Would be nice to be able to access current shell commands somehow. I have used tcl as shell in olden days with RTEMS and its conditionals wrapped around RTEMS commands would be awesome. I assume Lua would be similar. Provide conditional, loops, etc and we provide commands 2011-03-29T14:45:24 gedare: get it run is prety easy, now make it usefull for rtems.. 2011-03-29T14:45:34 and the bunch of BSPs.. 2011-03-29T14:45:41 i think :-) 2011-03-29T14:46:29 kristianpaul: unless you need to access something that is very BSP specific, it should be OK. Did you see my blog on using the shell to help debug a multi IO driver? Wrote custom commands 2011-03-29T14:47:10 hi DrJoel 2011-03-29T14:47:14 no i dint saw your blog 2011-03-29T14:47:48 http://rtemsramblings.blogspot.com/2011/02/rtems-shell-as-debug-aid.html 2011-03-29T14:47:50 but i'm a bit aware of custom commands, is really easy tought 2011-03-29T14:48:06 Working on a general multi IO API so these commands can be used with any device driver 2011-03-29T14:48:07 i'll ad you to my rss reader :-) 2011-03-29T14:48:26 You won't get overloaded. I haven't written more than a couple a month since I started :-D 2011-03-29T14:48:42 ;-) 2011-03-29T14:49:52 http://www.smithsonianmag.com/science-nature/Something-New-Under-the-Sun.html 2011-03-29T14:50:07 Nice article on RTEMS based Solar Dynamic Observatory.. no mention of RTEMS though. :( 2011-03-29T14:50:41 DrJoel: sounds good, I'll have him work on his proposal. do you have a suggestion for an official mentor? 2011-03-29T14:51:30 *** mmu_man has quit IRC 2011-03-29T14:51:38 *** mmu_man has joined #rtems 2011-03-29T14:52:08 (tcl as shell )i like that idea for, lua, will be usefull, adding the capabillity to load scripts from fie system 2011-03-29T14:53:02 I ran lua on the milkymist bsp, and feels very smoth, also memory foot print is very low (128K i think) 2011-03-29T14:53:23 128K as minimun, i remenber not for the mm1 bsp ;-) 2011-03-29T14:53:29 wich i dint measured acutally.. 2011-03-29T14:54:00 * kristianpaul will follow gedare for coming lua news :-) 2011-03-29T14:57:03 on phone brb 2011-03-29T15:01:04 gedare: why python scripts and not load directly, i see reduntand work on that 2011-03-29T15:01:06 ? 2011-03-29T15:01:11 s/load/lua 2011-03-29T15:01:35 kristianpaul: python has a better object model than lua 2011-03-29T15:02:10 it would be nice to have a scripting language with size comparable to lua and expressiveness comparable to python 2011-03-29T15:03:23 ok.. 2011-03-29T15:03:59 I think will be worthy take lua as base and expand it for what you think is lacking, but i guess you already tought about that :-) 2011-03-29T15:04:48 also i think for rtems you dint have to do so much intensive use of python scripting capabillities 2011-03-29T15:05:03 Chris is making good progress on proper dynamic loading via dl_open, etc 2011-03-29T15:05:17 I don't know who would be primary mentor. Depends on set of projects and who is most appropriate 2011-03-29T15:06:10 dl_open will be cool, indeed 2011-03-29T15:13:02 okie sounds good. will see what happens, then. 2011-03-29T15:14:04 gedare: I don't know much about lua but would be interesting if it could be used as alternate shell, using commands available now, plugging into telnet, using command line editor.. 2011-03-29T15:14:28 remember last years potential project for simple line editor? The idea is to plug pieces together.. alternative command line entry, shell, etc 2011-03-29T15:14:42 i'll mention that to the student 2011-03-29T15:38:37 btw. 2011-03-29T15:39:04 i have recently learned io-language 2011-03-29T15:39:18 http://www.iolanguage.com/ 2011-03-29T15:39:31 i could port it to rtems just for fun 2011-03-29T15:40:26 Hello 2011-03-29T15:41:08 I'm interested in enabling gprof to profile RTEMS 2011-03-29T15:41:11 its fully object oriented language :) 2011-03-29T15:41:42 I've some experience working with MicroC/OS-II 2011-03-29T15:42:23 and io-language virtual machine has small footprint like lua.. :) 2011-03-29T15:42:41 Can I get an idea of the requirements to work on the project? 2011-03-29T15:45:51 one could make very powerful shell with this io-language.. :) 2011-03-29T15:46:12 "We added commands, command line history, command line editing, " 2011-03-29T15:46:20 wich one is line editing? 2011-03-29T15:47:02 and i have idea that rtems could have shell user interface like in 'irssi' irc client, with separate line for applying commands and with many windows with their own message buffer 2011-03-29T15:47:19 what do you think? 2011-03-29T15:48:50 easwar: Would you be willing to propose gprof and gcov? 2011-03-29T15:49:24 each task could print to their own window and of course to same depending on configuration 2011-03-29T15:49:25 With gprof, you have to capture the info and write it to a file. Before shutting the app down, you have to get the data off the target in a target specific manner. 2011-03-29T15:50:08 easwar: I would like to see a converter from a trace format (like qemu's debug log) or skyeye's bitmaps into a gcov file. 2011-03-29T15:50:15 DrJoel, that would involve working with the BSPs correct? 2011-03-29T15:50:59 easwar: Not particularly. Most of the requirements (I think) could be done in a BSP independent manner --if we stick to doing conversions of simulator logs to the righ tformat 2011-03-29T15:51:43 DrJoel, ok 2011-03-29T15:51:51 easwar: someone on the mailing list has said they have gprof support for their target board. dig throught he archives and ask for the source. You could get that work mergable, and to the simulator conversion code. 2011-03-29T15:52:38 DrJoel, what do you mean by "and to the simulator conversion code"? 2011-03-29T15:52:39 easwar: FWIW I think the conversion of simulator log/trace/coverage files would go into covoar directory/utility. It is used for our coverage analysis and is in rtems-testing/covoar 2011-03-29T15:53:29 the work announced to the list worked on real (SPARC) hardware.. but we often run on simulators that can generate log files of various formats. You could read those and generate gcov and gprof files 2011-03-29T15:53:41 DrJoel, ohk 2011-03-29T15:53:53 That's how we get this info http://www.rtems.org/ftp/pub/rtems/people/joel/coverage/ 2011-03-29T15:54:33 DrJoel, cool 2011-03-29T15:57:36 DrJoel, still need some idea of competencies required before I feel confident to propose 2011-03-29T15:57:41 easwar: I think so. There have been two GSoC Project improving the coverage. dr__house was the first and another student who isn't on irc now was last summer's 2011-03-29T15:58:26 C/C++ programming is the main thing. Ability to read someone else's code. Especially since the gcov and gprof file formats may best be described by code 2011-03-29T15:59:17 DrJoel, C is cool. I can read code 2011-03-29T15:59:41 We added a priority queue API to uC/OS-II as one of our class assignments 2011-03-29T16:00:02 worked with the existing data structures 2011-03-29T16:01:45 easwar: then you should be able to handle this. I will warn you that for the gcov part, the program to modify is rtems-testing/covoar and it is in C++ with some nasty data manipulation going on. But at the end, you have a set of C++ structures which describe the areas of code that are executed and not executed. We focus now on the not executed in the final report generation. I think you could add another report that was the gcov files by copying th 2011-03-29T16:01:45 e loops and just changing the output 2011-03-29T16:02:56 DrJoel, hmm 2011-03-29T16:03:11 I'll look through covoar 2011-03-29T16:03:26 and get back to you guys 2011-03-29T16:06:54 easwar: don't be scared of it. :D 2011-03-29T16:07:03 DrJoel, :) 2011-03-29T16:07:07 I'll try not to 2011-03-29T16:07:21 or I'll bother Google and the list :) 2011-03-29T16:07:49 I think it is a great way to get data from a set of executable runs since it already merges data. 2011-03-29T16:08:03 Feel free to pop up on the mailing list. I need to put that gprof code out on ftp but I don't have it. 2011-03-29T16:11:56 DrJoel, ok 2011-03-29T16:12:05 DrJoel, so it is not merged yet? 2011-03-29T16:12:25 the code is merged .. it is in the cvs module rtems-testing ... 2011-03-29T16:12:51 ok 2011-03-29T16:13:21 I mean .. for each test executable that you run, you get a trace/coverage file from a simulator.. covoar takes all of those files and "merges" them to give a global view of what we execute or don't execute. 2011-03-29T16:14:00 I don't recall if it keeps per instruction execution counts or true/false. If counts, then it can also generate profile data across the set of methods 2011-03-29T16:15:00 DrJoel, I got that 2011-03-29T16:15:01 :) 2011-03-29T16:16:43 ok.. just making sure... It is a really important area for RTEMS and I get excited about it. 2011-03-29T16:16:50 Have you done the hello world project yet? 2011-03-29T16:18:09 DrJoel, no, not yet 2011-03-29T16:18:37 then that's a good next step for us to get you through.. to make sure you can actually build and run RTEMS 2011-03-29T16:18:59 DrJoel, will do that tomorrow 2011-03-29T16:19:28 so where do you go to school? 2011-03-29T16:20:19 DrJoel, University of North Carolina at Charlotte 2011-03-29T16:20:20 NC 2011-03-29T16:21:03 Cool! That would make us relatively close geographically.. I am in Huntsville AL... many students we have had are overseas 2011-03-29T16:22:18 DrJoel, true, just one state away 2011-03-29T16:23:44 I used to do work in Chapel Hill .. one of the earliest RTEMS commercial projects was there 2011-03-29T16:24:26 DrJoel, ah 2011-03-29T16:24:32 you're at a University too? 2011-03-29T16:26:24 no.. do mostly commercial R&D and RTEMS support services 2011-03-29T16:26:52 DrJoel, ok 2011-03-29T16:28:21 Love the research-ish side of things. presenting, teaching seminars, week long classes, etc.. but not cut out for teaching full time 2011-03-29T16:28:39 DrJoel, :) You're a PhD? 2011-03-29T16:30:25 Yes. 2011-03-29T16:31:39 DrJoel, what is your concentration area? 2011-03-29T16:32:41 Major CS.. topic was "Priority Inversion in Real-Time Filesystems". I like scheduling algorithms. 2011-03-29T16:33:22 DrJoel, interesting topic...published somewhere?If yes, I could probably find it through our library 2011-03-29T16:34:30 I think all dissertations are available through the library system. I submitted a copy to a clearing house. Wonder if I even have an electronic copy anymore .. hmmm 2011-03-29T16:35:08 Hmm.. exactly where it was supposed to be.. email me and I will send you a copy 2011-03-29T16:35:58 to me too.. :) 2011-03-29T16:36:05 DrJoel, sure :) 2011-03-29T16:36:10 hi rokka 2011-03-29T16:36:20 hi 2011-03-29T16:36:47 welcome to rtems world 2011-03-29T16:36:56 rokka, thanks :) 2011-03-29T16:37:56 DrJoel: i meant.. i would like copy to my email too :) 2011-03-29T16:39:53 The file name is a bit of a joke... 2011-03-29T16:41:06 haha.. i like the file size too :) 2011-03-29T16:42:57 * easwar waits to see what's the funny filename 2011-03-29T16:42:59 My wife still gives me flack for this from the dedication: 2011-03-29T16:43:01 My wife, Michele, deserves my gratitude for 2011-03-29T16:43:01 encouraging me and supporting me during this effort. Without her taking care of many of my 2011-03-29T16:43:01 familial duties, I would not have had the time or energy to work on this project. 2011-03-29T16:43:20 :) 2011-03-29T16:43:21 lol 2011-03-29T16:43:22 She says "familial duties" .. is that all I am to you? is that all I did? 2011-03-29T16:44:16 :D 2011-03-29T16:45:22 :D 2011-03-29T16:49:57 DrJoel: what do you think of my ideas.. some where in the buffer ^^ 2011-03-29T16:52:47 gotta run to ping up son... read them tomorrow.. 2011-03-29T16:52:49 *** DrJoel has quit IRC 2011-03-29T16:53:06 priorities of course :D 2011-03-29T16:58:17 :) 2011-03-29T17:05:04 *** gedare has quit IRC 2011-03-29T17:10:19 *** easwar has left #rtems 2011-03-29T18:22:35 *** projectgus has joined #rtems 2011-03-29T18:34:05 *** madrazr has quit IRC 2011-03-29T18:53:07 *** antgreen has joined #rtems 2011-03-29T19:34:11 *** Cfen has joined #rtems 2011-03-29T19:39:19 *** mmu_man has quit IRC 2011-03-29T19:47:11 *** Cfen has quit IRC 2011-03-29T19:47:17 *** Cfen has joined #rtems 2011-03-29T19:53:53 *** xiangfu has joined #rtems 2011-03-29T20:16:51 *** titankiller has joined #rtems 2011-03-29T20:23:34 *** titankiller has quit IRC 2011-03-29T20:25:27 *** titankiller has joined #rtems 2011-03-29T20:31:51 *** titankiller has quit IRC 2011-03-29T20:33:33 *** titankiller has joined #rtems 2011-03-29T21:57:00 *** titankiller has quit IRC 2011-03-29T22:28:02 *** antgreen has quit IRC 2011-03-29T23:53:46 *** arvind_khadri has quit IRC 2011-03-30T00:54:52 *** easwar has joined #rtems 2011-03-30T00:54:52 *** easwar has joined #rtems 2011-03-30T01:02:13 *** titankiller has joined #rtems 2011-03-30T01:34:30 *** titankiller has quit IRC 2011-03-30T02:18:28 *** projectgus has quit IRC 2011-03-30T03:36:49 *** core-ix has quit IRC 2011-03-30T03:37:04 *** arvind_khadri has joined #rtems 2011-03-30T03:39:01 *** xiangfu has quit IRC 2011-03-30T03:47:35 *** cdcs has joined #rtems 2011-03-30T04:14:20 *** mmu_man has joined #rtems 2011-03-30T04:19:45 *** core-ix has joined #rtems 2011-03-30T05:32:07 *** arvind_khadri has quit IRC 2011-03-30T05:32:10 *** sqm has joined #rtems 2011-03-30T05:48:54 *** sqm has quit IRC 2011-03-30T05:56:45 *** sqm has joined #rtems 2011-03-30T06:01:02 *** sqm has quit IRC 2011-03-30T06:04:40 *** sqm has joined #rtems 2011-03-30T06:25:40 *** sqm has quit IRC 2011-03-30T06:26:07 *** sqm has joined #rtems 2011-03-30T06:30:27 *** sqm has quit IRC 2011-03-30T06:44:34 *** titankiller has joined #rtems 2011-03-30T06:54:34 *** lj8175 has joined #rtems 2011-03-30T07:26:05 *** lj8175 has quit IRC 2011-03-30T07:37:08 *** xiangfu has joined #rtems 2011-03-30T07:50:01 *** titankiller has quit IRC 2011-03-30T07:50:47 *** titankiller has joined #rtems 2011-03-30T07:59:53 *** methril has quit IRC 2011-03-30T08:08:39 *** mmu_man has quit IRC 2011-03-30T08:09:28 *** zwj has joined #rtems 2011-03-30T08:10:10 *** antgreen has joined #rtems 2011-03-30T08:12:41 *** methril has joined #rtems 2011-03-30T08:21:49 *** sqm has joined #rtems 2011-03-30T08:28:06 *** DrJoel has joined #rtems 2011-03-30T08:28:06 *** ChanServ sets mode: +o DrJoel 2011-03-30T08:40:04 *** mmu_man has joined #rtems 2011-03-30T09:11:06 *** easwar has left #rtems 2011-03-30T09:16:52 *** lj8175 has joined #rtems 2011-03-30T09:19:31 DrJoel: hello 2011-03-30T09:20:18 hey rokka ... do you think that strchr issue is a compiler problem? If so, it probably needs to be confirmed by sebastian and field as a gcc PR 2011-03-30T09:20:38 strstr 2011-03-30T09:20:53 i don't know, i wrote my own comparison function that worked :D 2011-03-30T09:21:19 all i know it didn't work with my arm board 2011-03-30T09:25:03 The size optimized versoin could be broken or it could be a compiler bug 2011-03-30T09:25:41 yes 2011-03-30T09:27:56 Just curious which it is. :) 2011-03-30T09:28:45 of course :) 2011-03-30T09:29:18 *** mmu_man has left #rtems 2011-03-30T09:47:14 *** Cfen has quit IRC 2011-03-30T10:49:37 *** lj8175 has quit IRC 2011-03-30T11:05:34 *** sqm has quit IRC 2011-03-30T11:11:22 *** gedare has joined #rtems 2011-03-30T11:22:34 *** xiangfu has quit IRC 2011-03-30T11:39:23 *** zwj has quit IRC 2011-03-30T11:54:57 *** gedare has quit IRC 2011-03-30T12:06:53 *** core-ix has quit IRC 2011-03-30T12:18:00 *** simula67 has joined #rtems 2011-03-30T12:43:46 *** simula67 has quit IRC 2011-03-30T12:52:29 *** cdcs has quit IRC 2011-03-30T13:16:44 *** arvind_khadri has joined #rtems 2011-03-30T13:33:34 *** madrazr1 has joined #rtems 2011-03-30T13:33:37 *** titankiller has quit IRC 2011-03-30T13:36:20 *** titankiller has joined #rtems 2011-03-30T13:37:20 *** madrazr1 is now known as madrazr 2011-03-30T13:37:28 *** madrazr has joined #rtems 2011-03-30T15:11:52 DrJoel: how about my new ideas.. :), i started porting io-language yesterday but i have one last problem before it can be run. It have to configure coroutine system. Something to do with setjmp and longjmp im not sure how the cpu register are mapped with rtems/i386, there are 9 addresses but where are eip and ebp? 2011-03-30T15:13:22 i have to tell io-vm coroutine handler how it can run next coroutine, so it has to change program counter to point to next coroutine running position and enable its stack 2011-03-30T15:13:44 for many platform it uses ucontext 2011-03-30T15:13:51 but rtems doesn't have it? 2011-03-30T15:18:05 i found this old message from mailing list ask for ucontext 2011-03-30T15:18:07 http://www.rtems.com/ml/rtems-users/2000/may/msg00052.html 2011-03-30T15:19:23 You mean in the setjmp/longjmp structure? 2011-03-30T15:19:30 ucontext would be cool.. :-D 2011-03-30T15:19:39 but no.. not yet 2011-03-30T15:20:17 im not familiar at all how i can mess with the program counter 2011-03-30T15:20:17 *** kristianpaul has quit IRC 2011-03-30T15:20:35 doesn't it ruin other task or rtems internal scheduler 2011-03-30T15:20:37 ? 2011-03-30T15:21:16 coroutines Shouldn't matter since they are all in one thread from RTEMS perspective 2011-03-30T15:21:30 http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/i386/setjmp.S?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=src is setjmp/longjmp source 2011-03-30T15:22:10 ah.. there it is.. jmpbuf 2011-03-30T15:22:13 Looks like offset 32 is eip and 28 is esp 2011-03-30T15:22:21 But it is just an array right? 2011-03-30T15:22:37 but i didn't know what it has inside 2011-03-30T15:22:38 :D 2011-03-30T15:24:05 I believe ucontext support could be written in terms of the context support in RTEMS with some wrapping 2011-03-30T15:24:45 http://pastebin.com/XZPesXpm 2011-03-30T15:25:06 you see many implementation of Coro_setup.. i have to do one that works well with RTEMS/i386 2011-03-30T15:25:14 do you understand what it does.. 2011-03-30T15:26:33 i have tried.. setjmp(self->env); self->env[8] = (long)Coro_start; self->env[7] = (long) Coro_Stack + Coro_stackSize; 2011-03-30T15:27:00 but numbers are wrong or i understood something wrong 2011-03-30T15:29:07 setjmp is more of a "save context".. you will have to mix setjmp and longjmp 2011-03-30T15:29:40 hold on.. 2011-03-30T15:30:26 http://www.rtems.org/viewvc/rtems/cpukit/score/cpu/unix/cpu.c?hideattic=0&revision=1.60&view=markup 2011-03-30T15:30:58 We had a "fake" port of RTEMS which ran on UNIX using setjmp/longjmp.. should help.. but x86 code is dependent on glibc's setjmp format which I think is different but concept is same 2011-03-30T15:32:56 *** kristianpaul has joined #rtems 2011-03-30T15:34:43 *** kristianpaul has quit IRC 2011-03-30T15:35:02 why does some of the Coro_setup add some magic number like Coro_stack + Coro_stackSize + X??? 2011-03-30T15:51:20 *** madrazr has quit IRC 2011-03-30T16:03:43 *** core-ix has joined #rtems 2011-03-30T16:44:55 *** antgreen has quit IRC 2011-03-30T17:13:18 night! 2011-03-30T17:13:25 *** projectgus has joined #rtems 2011-03-30T17:17:56 *** kiwichris has joined #rtems 2011-03-30T17:18:08 * kiwichris waves to Joel 2011-03-30T18:13:48 *** titankiller has quit IRC 2011-03-30T18:31:38 *** easwar has joined #rtems 2011-03-30T19:31:59 *** xiangfu has joined #rtems 2011-03-30T20:36:01 *** Cfen has joined #rtems 2011-03-30T20:36:28 *** xiangfu has quit IRC 2011-03-30T20:39:47 *** xiangfu has joined #rtems 2011-03-30T20:52:59 *** kristianpaul has joined #rtems 2011-03-30T20:52:59 *** kristianpaul has joined #rtems 2011-03-30T20:53:30 *** easwar has left #rtems 2011-03-30T22:14:57 *** antgreen has joined #rtems 2011-03-30T22:21:59 *** xiangfu has quit IRC 2011-03-30T22:28:08 *** xiangfu has joined #rtems 2011-03-30T22:49:00 *** titankiller has joined #rtems 2011-03-31T00:30:48 *** arvind_khadri has quit IRC 2011-03-31T00:37:52 *** kuzew has joined #rtems 2011-03-31T00:42:55 *** arvind_khadri has joined #rtems 2011-03-31T00:42:55 *** arvind_khadri has joined #rtems 2011-03-31T00:48:17 *** projectgus has quit IRC 2011-03-31T00:48:41 *** arvind_khadri has quit IRC 2011-03-31T01:02:38 *** arvind_khadri has joined #rtems 2011-03-31T01:18:09 *** arvind_khadri has quit IRC 2011-03-31T01:36:10 *** pnoble has joined #rtems 2011-03-31T01:36:39 hello! 2011-03-31T02:11:39 *** Cfen has quit IRC 2011-03-31T02:26:26 *** Cfen has joined #rtems 2011-03-31T03:22:17 *** titankiller has quit IRC 2011-03-31T03:24:00 *** dimonov has joined #rtems 2011-03-31T03:54:39 *** pnoble has quit IRC 2011-03-31T03:58:41 *** core-ix has quit IRC 2011-03-31T04:31:01 *** sqm has joined #rtems 2011-03-31T04:34:31 *** core-ix has joined #rtems 2011-03-31T04:34:55 *** sqm has quit IRC 2011-03-31T04:36:03 *** sqm has joined #rtems 2011-03-31T04:47:16 *** xiangfu has quit IRC 2011-03-31T05:08:55 *** titankiller has joined #rtems 2011-03-31T05:17:11 *** cdcs has joined #rtems 2011-03-31T05:24:14 *** antgreen` has joined #rtems 2011-03-31T05:25:35 *** antgreen has quit IRC 2011-03-31T05:30:21 *** sqm has quit IRC 2011-03-31T05:49:53 *** sqm has joined #rtems 2011-03-31T05:56:41 *** sqm has quit IRC 2011-03-31T06:02:19 *** sqm has joined #rtems 2011-03-31T06:08:02 *** sqm has quit IRC 2011-03-31T06:08:25 *** sqm has joined #rtems 2011-03-31T06:23:58 *** lj8175 has joined #rtems 2011-03-31T06:25:03 Hi , is ftp.rtems.com still available ? 2011-03-31T07:09:48 http://www.rtems.org/ftp/pub/rtems/ ? 2011-03-31T07:11:01 i cannot access using ftp:// 2011-03-31T07:19:26 cdcs's URL is available .. checking on other names.. tjhey are all the same machine... rtems.org and .com are the same. rtems.info is a different machine in a different location. 2011-03-31T07:20:06 ftp.rtems.com is workign from outside OAR 2011-03-31T07:20:28 ftp.rtems.org is resolving to the wrong address. We need to report it 2011-03-31T07:20:42 it is resolving to the IP we had 2 years ago before we moved locations 2011-03-31T07:20:48 *** arvind_khadri has joined #rtems 2011-03-31T07:21:26 *** xiangfu has joined #rtems 2011-03-31T07:24:24 *** titankiller has quit IRC 2011-03-31T07:26:25 thank you cdcs and joel. but once there were binutils and gcc source code on ftp.rtems.com , now on http://www.rtems.org/ftp/pub/rtems there is no source code for the toolchain. Is this meaning i have to download the source code from their own site ? will the source code be added to rtems.org again ? 2011-03-31T07:28:33 i think the sources are here: http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/ 2011-03-31T07:30:37 cdcs: thank you, it's my carelessness 2011-03-31T07:31:04 no problem 2011-03-31T07:39:07 *** zwj has joined #rtems 2011-03-31T07:42:33 lj8175: patches are in the RTEMS source tree... rtems/contrib/crossrpms/patches .. 2011-03-31T07:42:40 *** titankiller has joined #rtems 2011-03-31T07:48:39 Joel: Thank you ! 2011-03-31T07:55:12 lj8175: no problem.. commenting in the thread about your project now. 2011-03-31T07:58:38 lj8175: I wrote some makefile for compile toolchain rtems, and our system 2011-03-31T07:58:40 lj8175: http://projects.qi-hardware.com/index.php/p/m1s/source/tree/master/ 2011-03-31T07:58:55 maybe you can take some code form there for you. easy compile toolchain and rtems stuff. 2011-03-31T07:59:26 it's support patch :) 2011-03-31T07:59:46 lj8175: this one: http://projects.qi-hardware.com/index.php/p/m1s/source/tree/master/compile-lm32-rtems/Makefile 2011-03-31T08:00:17 is for compile toolchain. most just follow the wiki steps. 2011-03-31T08:00:59 lj8175: rtems-testing/simple-build-script is another pretty easy thing to follow.. Chris Johns has a script to take Ralf's RPM specs and generate matching tools on any host :-D 2011-03-31T08:02:39 DrJoel: where is the simple-build-script. maybe I can take some code from there :) 2011-03-31T08:06:56 Thank you Joel and xiangfu. The compiling seems to be easier now :) 2011-03-31T08:07:23 it takes lots of examples to understand id. 2011-03-31T08:07:27 id ==> it 2011-03-31T08:07:33 if you have fixes or comments, please make them 2011-03-31T08:08:09 lj8175: the scripts in rtems-testing/gcc are the ones we use to test gcc for C, C++, Ada, Go and (soon I hope) Objective-C and Java 2011-03-31T08:10:00 Joel: Well, I will read it soon :) 2011-03-31T08:18:02 lj8175: which project you work on? is there a URL? 2011-03-31T08:18:15 (just want know more about your project :) 2011-03-31T08:19:50 xiangfu: I am preparing the project RTEMS GCJ, URL:http://www.rtems.org/wiki/index.php/GNUJavaCompiler 2011-03-31T08:24:12 lj8175: cool 2011-03-31T08:27:36 xiangfu: ... I find simple-build-script in "Fedora 14 Virtual Machine" which is made by Joel, if you want to refer , I can send you a copy 2011-03-31T08:30:32 It is in the cvs module rtems-testing ... 2011-03-31T08:30:34 lj8175: thanks. xiangfu at sharism.cc 2011-03-31T08:33:45 :) http://www.rtems.org/viewvc/rtems-testing/simple-build-script/build_tools?revision=1.2&view=markup 2011-03-31T08:36:13 another one: http://home.gwu.edu/~cssmith/LuaRtems/RTEMS_Tools.html 2011-03-31T08:40:21 lj8175: which device or platform you working on? 2011-03-31T08:42:35 lj8175: my semi-random comments are in your doc now. 2011-03-31T08:42:44 xiangfu: I want to choose x86 first and then to other platform 2011-03-31T08:43:12 lj8175: you probably should go ahead and fill in as much as you can on the gsoc app site. You have to do that anyway. The site will get busy later. 2011-03-31T08:49:07 Joel: Thank you very much, and i will fill in it asap. 2011-03-31T09:05:43 *** xiangfu has quit IRC 2011-03-31T09:26:34 *** arvind_khadri has quit IRC 2011-03-31T09:44:57 lj8175: you shouldn't use gcc 4.4.5.. you will need to merge patches in the gcc community and that needs to be the head. I think it should be fine to use gcc SVN with 4.10. The newlib and others shouldn't matter. RTEMS 4.10 is more stable which might help but whatever RTEMS and newlib patches you decide you need find, you will have to ensure I can test them on newlib head and RTEMS head. :-D 2011-03-31T10:01:08 *** Cfen has quit IRC 2011-03-31T10:14:04 Joel: I know the meaning now. Thank you. :) 2011-03-31T10:15:17 ok.. then no need for me to comment back in the document. Thank you. :-D I just want you to succeed and get your code in the trees 2011-03-31T10:18:42 How many students are applying this year for RTEMS summer of code? There are only three in the wiki... 2011-03-31T10:25:08 I thought I had talked to more but those three are the only ones that come to mind. We had 15-20 apply the past few years. Actually ahd 8 students last year 2011-03-31T10:25:48 time to put the word out. tell friends and family LOL 2011-03-31T10:32:42 Joel: no need to comment back, and I will try my best to do this project :) 2011-03-31T10:35:56 :) 2011-03-31T10:39:23 whats up :) 2011-03-31T10:42:32 yeah that is strange.... i remember last year 2011-03-31T10:43:34 17 applied last year 2011-03-31T10:44:37 I think the melange change is hurting some.. but can't prove it.. harder to get past the first few orgs 2011-03-31T10:45:23 yes, i hate the new look of melange 2011-03-31T10:45:32 when is deadline? 2011-03-31T10:45:48 8th of april i think 2011-03-31T10:45:55 ok 2011-03-31T10:46:18 yep.. next friday.. gedare has a friend who plans to apply not on that list 2011-03-31T10:47:35 i also have friends applying, but for other orgs :( 2011-03-31T10:48:25 RTEMS isn't everyone's cup of tea.. but we have a pretty broad landscape to do projects within 2011-03-31T10:51:06 yes, RTEMS is only RTOS related project 2011-03-31T10:51:22 *** arvind_khadri has joined #rtems 2011-03-31T10:51:22 *** arvind_khadri has joined #rtems 2011-03-31T10:51:28 and RTEMS is also famous project in RTOS 2011-03-31T10:52:09 my proposal will be finished soon, and then welcom every one to comment 2011-03-31T10:52:17 without BeagleBoard in this year, I wonder what other embedded projects there are 2011-03-31T10:52:45 zwj.. in Google Docs? It works well for review.. then cut and paste into google's app 2011-03-31T10:52:59 zwj: also go ahead and apply as a student through the app 2011-03-31T10:53:00 yeah, meego has also disappeared 2011-03-31T10:53:44 you have the bootloaders: ether and coreboot 2011-03-31T10:53:49 now it is just google docs and after i finished i will apply through app 2011-03-31T10:55:42 but there are a lot of non embedded OS's applying 2011-03-31T10:56:14 and my proposal now include project detail and introduce but donnot have more detailed schedule 2011-03-31T10:56:41 yeah, i also see a microkernel os applying 2011-03-31T10:57:15 Minix and HelenOS... 2011-03-31T10:57:50 yeah, helenos is a young orgnazition 2011-03-31T11:01:37 *** cdcs has quit IRC 2011-03-31T11:04:13 *** lj8175 has quit IRC 2011-03-31T11:06:30 *** sqm has quit IRC 2011-03-31T11:38:07 *** antgreen` has quit IRC 2011-03-31T11:43:27 *** zwj has quit IRC 2011-03-31T12:16:54 *** gedare has joined #rtems 2011-03-31T12:45:55 *** titankiller has quit IRC 2011-03-31T12:53:11 * DrJoel thinks it is quiet in here 2011-03-31T13:33:42 *** madrazr1 has joined #rtems 2011-03-31T13:34:04 *** madrazr1 is now known as madrazr 2011-03-31T13:34:14 *** madrazr has joined #rtems 2011-03-31T13:38:59 *** core-ix has quit IRC 2011-03-31T13:40:08 *** titankiller has joined #rtems 2011-03-31T13:59:17 * rokka is reading vhdl book 2011-03-31T14:00:00 DrJoel: maybe soon checking your tips for setjmp longjmp 2011-03-31T14:04:02 *** titankiller has quit IRC 2011-03-31T14:04:59 *** titankiller has joined #rtems 2011-03-31T14:08:28 *** titankiller2 has joined #rtems 2011-03-31T14:09:05 *** titankiller has quit IRC 2011-03-31T14:10:44 *** titankiller2 has quit IRC 2011-03-31T14:11:28 *** User7436 has joined #rtems 2011-03-31T14:14:51 *** User7437 has joined #rtems 2011-03-31T14:16:18 *** User7436 has quit IRC 2011-03-31T14:18:20 *** User7438 has joined #rtems 2011-03-31T14:19:04 *** User7437 has quit IRC 2011-03-31T14:20:40 *** User7438 has quit IRC 2011-03-31T14:21:23 *** User7438 has joined #rtems 2011-03-31T14:24:45 *** User7439 has joined #rtems 2011-03-31T14:26:03 *** User7438 has quit IRC 2011-03-31T14:27:45 *** User7439 has quit IRC 2011-03-31T14:28:29 *** User7439 has joined #rtems 2011-03-31T14:31:46 * gedare makes some noise 2011-03-31T14:35:30 :o 2011-03-31T14:38:03 *** core-ix has joined #rtems 2011-03-31T14:38:12 chirp 2011-03-31T14:39:46 *** User7439 has quit IRC 2011-03-31T14:40:28 *** User7439 has joined #rtems 2011-03-31T14:42:39 *** User74310 has joined #rtems 2011-03-31T14:44:28 *** User7439 has quit IRC 2011-03-31T14:44:43 *** User74311 has joined #rtems 2011-03-31T14:45:01 *** antgreen has joined #rtems 2011-03-31T14:46:52 *** User74310 has quit IRC 2011-03-31T14:53:03 *** Shisui has joined #rtems 2011-03-31T14:53:29 hi 2011-03-31T14:54:32 hi Shisui current user, potential user or interested in gsoc 2011-03-31T14:56:06 hi DrJoel, nice analysis! 2011-03-31T14:56:43 I'm actually interested in gsoc, as well as real time 2011-03-31T14:57:13 :-D any particular area or project? 2011-03-31T14:59:25 I already took a look into the "open projects" wiki page, and the iso9660 filesystem looks pretty appealing for me :-) 2011-03-31T14:59:57 i'm currently putting my hands on with a functional rtems build 2011-03-31T15:00:12 which host OS? 2011-03-31T15:00:30 linux (ubuntu) 2011-03-31T15:00:51 building tools from source? 2011-03-31T15:01:11 yes 2011-03-31T15:02:21 make sure to use the patches in rtems/contrib/crossrpms/patches .. which instructions are you following? 2011-03-31T15:05:14 oh, I have no problem building the tools and rtems, i'm just here to talk 2011-03-31T15:05:37 i'm following the "Building the RTEMS toolset on Ubuntu" howto from the wiki 2011-03-31T15:06:37 *** arvind_khadri has quit IRC 2011-03-31T15:07:19 for iso9660, you will probably be best to debug on qemu using pc386 BSP. It can mount files as disks so that gives you media and easy way to debug. 2011-03-31T15:07:33 kiwichris is probably asleep but he would be a good one to talk to. He is in Sidney 2011-03-31T15:08:41 nice, this is the bsp I built the tools for 2011-03-31T15:10:19 I prefer sparc/sis, mips/jmr3904, or powerpc/psim when they are sufficiently powerful to debug what you need. The simulators are built into gdb so are very easy to use. Qemu is easy enough to use but you have coordinate multiple windows and sync the gdb server with gdb. 2011-03-31T15:10:42 But you get graphics, IDE, a NIC, and SMP so the trade is worth it when you need it. 2011-03-31T15:15:16 well, it should not be a problem, I used Qemu in the past for other low-level x86 debugging, I'll need a bit of adaptation however 2011-03-31T15:16:05 I saw on the project page that there is some possible mentors for such a gsoc project, is kiwichris one of them ? 2011-03-31T15:17:27 yes. He would be the most likely person. He wrote the RTEMS File System (RFS) last year. There is another semi-related file system project about refactoring common routines. You should mention that in terms of "I won't duplicate code from other file systems .. but will refactor helpers" 2011-03-31T15:19:19 ok so there is a possibility of merging both of these projects 2011-03-31T15:22:27 I think so.. the refactoring one is rather ill-defined.. so it is more of a goal.. if you find things, refactor a routine and rework as needed. If you asked us to list the things to refactor and clean up now, we couldn't and it isn't enough to be a gsoc project 2011-03-31T15:25:51 I see. what would we the aim of this refactoring ? (i didn't took a deep look in the rtems filesystem related code at the moment, excuse me if my question seems a bit straightforward ..) 2011-03-31T15:30:03 the original filesystem was the In Memory File System (IMFS).. designed to have something to debug the layers with. Since then FAT, NFS, RFS, YAFFS, JFFS etc have been ported and there are cuts and pastes, a couple of areas where in hindsight, we might have done them differently. Chris has fresh insight into some of these. He fought them with the RFS 2011-03-31T15:31:15 *** antgreen has quit IRC 2011-03-31T15:34:43 alright :) 2011-03-31T15:35:50 I saw that the cd/dvd driver support of the current ATA/IDE driver was quite unsure 2011-03-31T15:35:57 chris should be on here before too long 2011-03-31T15:36:14 the interface to the device itself may work but with what file system? 2011-03-31T15:39:48 well, correct me if i'm wrong, but if the ATA driver is able to read/write blocks it should be ok. The "filesystem layer" should be located on top of these low-levels details, or are they somehow mixed in the code ? 2011-03-31T15:40:14 no.. that part is properly layered. I just don't know how that was ever tested.. could question for the mailing list 2011-03-31T15:41:40 it was my next step :) thanks for your answers. 2011-03-31T15:42:06 hi 2011-03-31T15:42:26 hi kiwichris 2011-03-31T15:42:59 Hello. Just reading back up the log 2011-03-31T15:43:54 ahh.. then ignore the google chat.. 2011-03-31T15:44:22 Too late :) 2011-03-31T15:45:37 ok.. I am off to work on flyers .. will check back in in a while 2011-03-31T15:46:37 Shisui, there are parts of the file system code which are difficult and should be moved to a generic layer. For example the IMFS the eval and eval_make routines 2011-03-31T15:47:19 In the refactoring we also have things like locks. For example a single file descriptor to an open file is not thread safe. 2011-03-31T15:48:35 If you take a look at the read call in libcsupport/read.c it performs the read using the file system the file resides on then update the iop offset. If 2 calls nest in the file system read at the same time on the same file we have a problem. 2011-03-31T15:50:12 And you would want to make FS related calls reentrant ? 2011-03-31T15:53:00 Yes. In this case it would pay to let the file system handle the iop offset because they all have locking now. This may not apply in all cases and a per file lock may be needed. 2011-03-31T15:53:20 Which I think iop already has. 2011-03-31T15:54:00 The iop is the I/O pointer and is the internal data a file descriptor (fd) references 2011-03-31T15:57:40 I just read that in libio.h 2011-03-31T15:58:02 what is the purpose of the "sem" field ? is this the lock you talk about ? 2011-03-31T15:59:03 Yes. I am not sure if it is referenced in the code any where. 2011-03-31T15:59:29 *** User74311 has quit IRC 2011-03-31T16:00:15 *** User74311 has joined #rtems 2011-03-31T16:00:57 DrJoel, I ran the daily builder by hand and it worked yet cron's log states it has been running it. 2011-03-31T16:02:31 ok so a part of the refactoring would be to get rid of all these things related to filesystems the user shouldn't take care of (like thread-safety I guess).. 2011-03-31T16:03:19 I think we need both. If the file system can handle it in a fast path like read we should let that happen and not lock twice. 2011-03-31T16:03:45 In the open of seek we may need to lock twice. 2011-03-31T16:03:53 of -> or 2011-03-31T16:06:50 kiwichris: weird.. not showing up though 2011-03-31T16:07:19 Alright. Since my main project would be iso9660 filesystem implementation (refactoring could be a side effect), do you have any word on it ? 2011-03-31T16:07:19 Yeah. I wonder if it is longer than a day. I did not think it was. 2011-03-31T16:08:49 The issue with this format is the driver support. 2011-03-31T16:09:31 Last year we had a project to get SATA drivers into RTEMS. It went well but the code is not merged. This code had ATAPI support 2011-03-31T16:10:22 The code is from a BSD kernel and needs a low level bus space interface in RTEMS. 2011-03-31T16:10:44 This is an interesting project and not simple or easy. 2011-03-31T16:14:55 * kiwichris has to head off for a while 2011-03-31T16:16:51 I'm looking for such an interesting project.. I did GSoC last year (I was implementing upper layers of a network stack for Haiku OS), and this year I would like to work on a project closer to my studies (electronic engineering and computing), that's why i'm getting in touch here. :) 2011-03-31T16:18:13 I'll propose a draft proposal this week-end but I would like to get deeper into the codebase and be a bit familiar with it before. 2011-03-31T16:31:56 nice.. my Io Coro_switchTo_ blows stack :) 2011-03-31T16:32:04 (1MB) 2011-03-31T16:32:25 Shisui: that's cool... 2011-03-31T16:32:37 rokka: probably a good sign.. means you are close. LOL 2011-03-31T16:35:53 :D 2011-03-31T16:38:52 it's time for me to go, have a good day/night (depending on your location.. it's 11:40pm here :-P) and thanks for your answers! 2011-03-31T16:39:26 4:40 here.. where are you Shisui 2011-03-31T16:39:36 night.. I look forward to reading your proposal 2011-03-31T16:39:52 I live in France DrJoel 2011-03-31T16:40:25 Cool.. I haven't been to france in over a decade.. would like to return some day 2011-03-31T16:40:48 Nice.. where are you from ? 2011-03-31T16:41:01 Huntsville AL US.. 2011-03-31T16:41:45 AL stands for Alabama ? 2011-03-31T16:42:15 yes.. where in france are you 2011-03-31T16:44:03 erm.. in the Bretagne province ? (west of France) 2011-03-31T16:44:16 Brest? ENST? 2011-03-31T16:44:23 Qemper? 2011-03-31T16:45:24 I'm studying at ENSSAT in Lannion 2011-03-31T16:45:41 *** Shisui has left #rtems 2011-03-31T16:45:45 *** Shisui has joined #rtems 2011-03-31T16:45:56 oops, bad key. 2011-03-31T16:46:08 I will have to check my map of Bretagne for that. Have been to Brest and must say I loved all the apple cider 2011-03-31T16:47:09 io_calloc return stack pointer which is outside task stack :l hmm 2011-03-31T16:47:37 self->stack = io_calloc(1, stacksize); self->stack is outside task stack area.. problem? 2011-03-31T16:47:57 I would think so 2011-03-31T16:48:40 It's between Rennes and Brest.. And you're right, the apple cider is quite the best beverage in Bretagne.. :-) 2011-03-31T16:49:22 :) I have only found it one time around here.. but was sure to buy it. 2011-03-31T16:49:33 I will let you get to bed. I need to pick up my son at school 2011-03-31T16:49:34 night 2011-03-31T16:49:37 *** DrJoel has quit IRC 2011-03-31T16:50:24 ha ha. Good night #rtems :) 2011-03-31T16:50:28 night:) 2011-03-31T16:50:29 cya 2011-03-31T16:50:32 *** Shisui has quit IRC 2011-03-31T16:50:52 hmm.. if i use calloc at begin of main.. it gives pointer which is inside task stack.. 2011-03-31T16:51:17 but somewhere inside io routines it gives outside task stack are.. :l 2011-03-31T17:02:16 *** projectgus has joined #rtems 2011-03-31T17:24:49 uh, shouldn't the pointer be somewhere in the heap, not the stack 2011-03-31T17:25:05 Unless the configuration is not correct. 2011-03-31T17:37:44 sure.. 2011-03-31T17:38:03 my bad :) i 2011-03-31T17:38:16 Was that the problem ? 2011-03-31T17:38:18 i really don't know how to fix this io coroutine 2011-03-31T17:38:23 initialization 2011-03-31T17:38:33 nope.. 2011-03-31T17:38:54 just wrong interpretation of the problem 2011-03-31T17:39:03 So calloc returns a pointer into stack memory ? 2011-03-31T17:39:10 no.. :) 2011-03-31T17:39:17 Ok 2011-03-31T17:39:31 Which routine is having the problem 2011-03-31T17:39:59 *** DrJoel has joined #rtems 2011-03-31T17:39:59 *** ChanServ sets mode: +o DrJoel 2011-03-31T17:40:01 im porting io-language 2011-03-31T17:40:04 to rtems 2011-03-31T17:40:35 and when it starts its coroutines initialization it blows the stack because it has to mess with setjmp and longjmp to implement coroutines 2011-03-31T17:41:28 i do something wrong when setting stack pointer and pc to jmpbuf 2011-03-31T17:42:42 http://pastebin.com/0b5cgTvL 2011-03-31T17:42:54 * kiwichris is on the phone 2011-03-31T17:45:25 http://pastebin.com/Cd699Y39 with longjmp 2011-03-31T17:47:48 good night.. i continue tomorrow.:) 2011-03-31T17:48:45 *** gedare has quit IRC 2011-03-31T18:28:22 *** antgreen has joined #rtems 2011-03-31T18:33:07 *** Cssmith has joined #rtems 2011-03-31T18:34:40 *** Cssmith has quit IRC 2011-03-31T19:23:47 *** madrazr has quit IRC 2011-03-31T20:08:02 *** xiangfu has joined #rtems 2011-03-31T20:35:51 *** sqm has joined #rtems 2011-03-31T20:38:03 *** User74311 has quit IRC 2011-03-31T21:24:29 *** sqm has quit IRC 2011-03-31T21:24:57 *** sqm has joined #rtems 2011-03-31T21:43:21 *** sqm has quit IRC 2011-03-31T21:44:48 *** sqm has joined #rtems 2011-03-31T21:57:09 *** sqm has quit IRC 2011-03-31T22:04:05 *** sqm has joined #rtems 2011-03-31T22:36:34 *** kiwichris has quit IRC 2011-03-31T23:07:55 *** User74311 has joined #rtems 2011-03-31T23:27:15 *** sqm has quit IRC 2011-03-31T23:32:08 *** sqm has joined #rtems 2011-03-31T23:48:27 *** lj8175 has joined #rtems 2011-03-31T23:57:26 *** sqm has quit IRC 2011-03-31T23:59:55 *** sqm has joined #rtems 2011-04-01T00:02:38 *** lj8175 has quit IRC 2011-04-01T00:03:33 *** lj8175 has joined #rtems 2011-04-01T00:14:18 *** sqm has quit IRC 2011-04-01T00:15:47 *** sqm has joined #rtems 2011-04-01T00:28:43 *** core-ix has quit IRC 2011-04-01T00:31:41 *** sqm has quit IRC 2011-04-01T00:32:16 *** sqm has joined #rtems 2011-04-01T00:58:41 *** sqm has quit IRC 2011-04-01T00:59:04 *** sqm has joined #rtems 2011-04-01T01:00:41 *** lj8175 has quit IRC 2011-04-01T01:01:27 *** lj8175 has joined #rtems 2011-04-01T01:04:21 *** sqm has quit IRC 2011-04-01T01:08:52 *** sqm has joined #rtems 2011-04-01T01:11:53 *** lj8175 has quit IRC 2011-04-01T01:19:04 *** sqm has quit IRC 2011-04-01T01:20:10 *** lj8175 has joined #rtems 2011-04-01T01:23:04 *** sqm has joined #rtems 2011-04-01T01:23:32 *** projectgus has left #rtems 2011-04-01T01:23:36 *** core-ix has joined #rtems 2011-04-01T01:26:40 *** lj8175 has quit IRC 2011-04-01T01:53:25 *** sqm has quit IRC 2011-04-01T01:57:39 *** sqm has joined #rtems 2011-04-01T02:02:06 *** sqm has quit IRC 2011-04-01T02:03:18 *** sqm has joined #rtems 2011-04-01T02:05:10 *** xiangfu has quit IRC 2011-04-01T02:17:26 *** xiangfu has joined #rtems 2011-04-01T03:47:50 *** User74311 has quit IRC 2011-04-01T04:01:44 *** cdcs has joined #rtems 2011-04-01T04:33:34 *** xiangfu has quit IRC 2011-04-01T05:38:01 *** sqm has joined #rtems 2011-04-01T05:44:37 *** sqm has quit IRC 2011-04-01T05:50:35 *** sqm has joined #rtems 2011-04-01T05:58:17 *** sqm has quit IRC 2011-04-01T05:59:12 *** sqm has joined #rtems 2011-04-01T06:03:51 *** sqm has quit IRC 2011-04-01T06:12:37 *** sqm has joined #rtems 2011-04-01T06:21:50 *** xiangfu has joined #rtems 2011-04-01T06:26:11 *** sqm has quit IRC 2011-04-01T06:34:33 *** sqm has joined #rtems 2011-04-01T06:38:05 *** User74311 has joined #rtems 2011-04-01T06:39:26 *** sqm has quit IRC 2011-04-01T06:46:58 *** sqm has joined #rtems 2011-04-01T06:56:36 *** sqm has quit IRC 2011-04-01T07:08:30 *** sqm has joined #rtems 2011-04-01T07:15:53 *** sqm has quit IRC 2011-04-01T07:16:18 *** sqm has joined #rtems 2011-04-01T07:21:21 *** sqm has quit IRC 2011-04-01T07:21:44 *** sqm has joined #rtems 2011-04-01T07:35:07 *** sqm has quit IRC 2011-04-01T07:39:01 *** sqm has joined #rtems 2011-04-01T07:43:23 *** sqm has quit IRC 2011-04-01T07:47:17 *** joel__ has joined #rtems 2011-04-01T07:57:38 *** sqm has joined #rtems 2011-04-01T08:00:17 *** methril has quit IRC 2011-04-01T08:02:53 *** sqm has quit IRC 2011-04-01T08:03:54 *** sqm has joined #rtems 2011-04-01T08:13:00 *** methril has joined #rtems 2011-04-01T08:16:17 *** sqm has quit IRC 2011-04-01T08:16:26 *** zwj has joined #rtems 2011-04-01T08:21:49 *** sqm has joined #rtems 2011-04-01T08:28:41 *** sqm has quit IRC 2011-04-01T08:29:01 *** sqm has joined #rtems 2011-04-01T08:33:35 *** sqm has quit IRC 2011-04-01T08:38:01 *** User74311 has quit IRC 2011-04-01T08:38:46 *** User74311 has joined #rtems 2011-04-01T08:39:08 *** sqm has joined #rtems 2011-04-01T08:43:54 *** sqm has quit IRC 2011-04-01T08:48:34 *** sqm has joined #rtems 2011-04-01T08:55:56 *** lj8175 has joined #rtems 2011-04-01T08:58:51 *** sqm has quit IRC 2011-04-01T09:02:44 *** sqm has joined #rtems 2011-04-01T09:07:12 *** sqm has quit IRC 2011-04-01T09:11:47 *** sqm has joined #rtems 2011-04-01T09:54:01 *** zwj has quit IRC 2011-04-01T10:10:55 *** antgreen has quit IRC 2011-04-01T10:15:39 *** zwj has joined #rtems 2011-04-01T10:33:43 *** xiangfu has quit IRC 2011-04-01T10:46:44 *** cdcs has quit IRC 2011-04-01T10:53:42 *** gedare has joined #rtems 2011-04-01T10:55:23 maybe i should do a simple test with setjmp/longjmp to see if they work as they should 2011-04-01T10:55:40 can i make my own goto with them:D 2011-04-01T10:56:54 http://en.wikipedia.org/wiki/Setjmp.h 2011-04-01T10:56:55 cool 2011-04-01T10:58:58 *** lj8175 has quit IRC 2011-04-01T11:05:05 *** core-ix has quit IRC 2011-04-01T11:05:14 *** sqm has quit IRC 2011-04-01T11:05:29 rokka: yep.. make sure you know how to use them and can set your own up :-D 2011-04-01T11:25:07 *** zwj has quit IRC 2011-04-01T11:32:59 :) 2011-04-01T11:37:49 *** peerst has joined #rtems 2011-04-01T11:41:11 *** User74311 has quit IRC 2011-04-01T11:42:05 hey peerst you need to recruit some people for the Munich class 2011-04-01T11:42:41 hi joel 2011-04-01T11:43:37 *** User74311 has joined #rtems 2011-04-01T11:44:07 Hmm nobody comes to my mind ... 2011-04-01T11:44:18 when should the munich class be? 2011-04-01T11:45:24 Last week of May if all goes well.. not looking likely 2011-04-01T11:45:41 Hmm... I wonder where else I am logged in 2011-04-01T11:46:04 I see you 3 times 2011-04-01T11:46:20 *** DrJoel has quit IRC 2011-04-01T11:46:24 *** joel__ has quit IRC 2011-04-01T11:46:24 *** joel__ has joined #rtems 2011-04-01T11:46:24 *** ChanServ sets mode: +o joel__ 2011-04-01T11:46:34 DrJoel, dr__house (also you?) and joel__ 2011-04-01T11:46:35 *** joel__ was kicked by joel__ (joel__) 2011-04-01T11:46:55 *** DrJoel has joined #rtems 2011-04-01T11:46:55 *** ChanServ sets mode: +o DrJoel 2011-04-01T11:46:56 *** joel__ has joined #rtems 2011-04-01T11:47:16 *** joel__ was kicked by DrJoel (joel__) 2011-04-01T11:47:28 dr__house is santosh .. :-D 2011-04-01T11:48:31 santosh? always thought it was you at a different machine (like at the house) 2011-04-01T11:48:53 santosh likes the show House so it is his nick 2011-04-01T11:49:02 i see 2011-04-01T12:56:43 peerst: lol :P 2011-04-01T13:12:01 *** gedare has quit IRC 2011-04-01T13:22:51 heading to a meeting and then probably leaving for weekend.. see you all 2011-04-01T13:22:54 *** DrJoel has quit IRC 2011-04-01T13:30:38 *** madrazr1 has joined #rtems 2011-04-01T13:31:23 *** madrazr1 is now known as madrazr 2011-04-01T13:31:47 *** madrazr has joined #rtems 2011-04-01T14:08:48 *** cdcs has joined #rtems 2011-04-01T14:37:29 *** cdcs has quit IRC 2011-04-01T15:03:54 *** core-ix has joined #rtems 2011-04-01T15:57:38 *** lekernel has joined #rtems 2011-04-01T16:05:57 *** User74311 has quit IRC 2011-04-01T16:22:42 *** kiwichris has joined #rtems 2011-04-01T17:01:26 *** antgreen has joined #rtems 2011-04-01T17:06:59 *** antgreen has quit IRC 2011-04-01T18:14:01 *** kiwichris has quit IRC 2011-04-01T19:33:55 *** madrazr has quit IRC 2011-04-01T19:35:20 *** madrazr has joined #rtems 2011-04-01T19:40:47 *** xiangfu has joined #rtems 2011-04-01T19:40:52 *** madrazr has quit IRC 2011-04-01T19:58:58 *** lekernel has quit IRC 2011-04-01T20:10:53 *** lekernel has joined #rtems 2011-04-01T21:39:54 *** sqm has joined #rtems 2011-04-01T21:48:47 *** sqm has quit IRC 2011-04-01T21:49:07 *** sqm has joined #rtems 2011-04-01T22:07:18 *** sqm has quit IRC 2011-04-01T22:10:42 *** sqm has joined #rtems 2011-04-01T22:31:18 *** sqm has quit IRC 2011-04-01T22:31:29 *** methril has quit IRC 2011-04-01T22:32:28 *** methril has joined #rtems 2011-04-01T22:37:04 *** sqm has joined #rtems 2011-04-01T22:46:16 *** methril has quit IRC 2011-04-01T22:46:57 *** sqm has quit IRC 2011-04-01T22:47:56 *** sqm has joined #rtems 2011-04-01T22:47:58 *** methril has joined #rtems 2011-04-01T22:52:14 *** sqm has quit IRC 2011-04-01T22:54:57 *** sqm has joined #rtems 2011-04-01T22:59:48 *** User74311 has joined #rtems 2011-04-01T23:06:21 *** sqm has quit IRC 2011-04-01T23:15:27 *** sqm has joined #rtems 2011-04-01T23:28:30 *** sqm has quit IRC 2011-04-01T23:29:39 *** sqm has joined #rtems 2011-04-01T23:33:59 *** sqm has quit IRC 2011-04-01T23:41:04 *** sqm has joined #rtems 2011-04-01T23:45:59 *** sqm has quit IRC 2011-04-01T23:46:23 *** sqm has joined #rtems 2011-04-02T00:28:00 *** antgreen has joined #rtems 2011-04-02T00:39:48 *** sqm has quit IRC 2011-04-02T00:42:36 *** sqm has joined #rtems 2011-04-02T01:11:17 *** sqm has quit IRC 2011-04-02T01:12:13 *** sqm has joined #rtems 2011-04-02T01:18:51 *** sqm has quit IRC 2011-04-02T01:21:47 *** sqm has joined #rtems 2011-04-02T01:26:22 *** sqm has quit IRC 2011-04-02T01:36:25 *** sqm has joined #rtems 2011-04-02T01:40:49 *** sqm has quit IRC 2011-04-02T01:49:49 *** sqm has joined #rtems 2011-04-02T02:03:35 *** sqm has quit IRC 2011-04-02T02:09:21 *** sqm has joined #rtems 2011-04-02T03:06:44 *** Cfen has joined #rtems 2011-04-02T03:16:51 *** zwj has joined #rtems 2011-04-02T03:59:09 *** User74311 has quit IRC 2011-04-02T04:26:46 *** lj8175 has joined #rtems 2011-04-02T04:39:25 *** xiangfu has quit IRC 2011-04-02T04:48:17 *** Cfen has quit IRC 2011-04-02T04:56:06 *** lj8175 has quit IRC 2011-04-02T05:00:24 *** lj8175 has joined #rtems 2011-04-02T05:13:53 *** lj8175 has quit IRC 2011-04-02T05:14:44 *** lj8175 has joined #rtems 2011-04-02T05:18:52 *** Cfen has joined #rtems 2011-04-02T05:23:05 *** lj8175 has quit IRC 2011-04-02T05:23:50 *** lj8175 has joined #rtems 2011-04-02T05:45:36 *** User74311 has joined #rtems 2011-04-02T06:12:48 *** Cfen has quit IRC 2011-04-02T06:23:57 *** lj8175 has quit IRC 2011-04-02T06:50:37 *** lj8175 has joined #rtems 2011-04-02T07:02:18 *** sqm has quit IRC 2011-04-02T07:02:48 *** lj8175 has quit IRC 2011-04-02T07:08:00 *** sqm has joined #rtems 2011-04-02T07:21:16 *** sqm has quit IRC 2011-04-02T07:26:03 *** sqm has joined #rtems 2011-04-02T07:43:32 *** lj8175 has joined #rtems 2011-04-02T08:15:11 *** Cfen has joined #rtems 2011-04-02T08:17:41 hi, where to find crt0.o ? I can not compile the rtems ,it says "can not find crt0.o" 2011-04-02T08:24:33 *** madrazr has joined #rtems 2011-04-02T08:35:32 Cfen: which tutorial are you following? 2011-04-02T08:36:32 I googled 2011-04-02T08:38:10 and? 2011-04-02T08:38:26 *** xiangfu has joined #rtems 2011-04-02T08:38:37 need to know what you have done to be able to help.. 2011-04-02T08:39:39 first, I compile the gcc ,gdb in my Ubuntu 2011-04-02T08:40:46 then I downloaded the rtems-4.10.0.tar.bz2 and extarcted it 2011-04-02T08:42:36 ./configure --target=i386-rtems --disable-posix --disable-networking --disable-cxx --enable-rtemsbsp=pc386 -- prefix=/home/ray/rtems/rtems-build 2011-04-02T08:42:37 $ gmake 2011-04-02T08:42:37 please start again with this: 2011-04-02T08:42:40 http://wiki.rtems.org/wiki/index.php/Building_the_RTEMS_toolset_on_Ubuntu 2011-04-02T08:43:50 I'll try it ,thank you 2011-04-02T08:44:35 ok 2011-04-02T09:10:11 *** sqm has quit IRC 2011-04-02T09:18:41 *** sqm has joined #rtems 2011-04-02T09:23:50 *** sqm has quit IRC 2011-04-02T09:29:37 *** sqm has joined #rtems 2011-04-02T09:30:55 *** zwj has quit IRC 2011-04-02T09:34:00 *** sqm has quit IRC 2011-04-02T09:38:13 *** sqm has joined #rtems 2011-04-02T09:43:41 *** zwj has joined #rtems 2011-04-02T09:54:01 i got io-language vm running on i386-rtems4.11 :)) 2011-04-02T10:30:27 :o 2011-04-02T10:39:47 next i will do wrapper to make possible to call rtems shell commands from io cli 2011-04-02T10:40:11 then i have io-language console for rtems :D 2011-04-02T10:40:32 *** sqm has quit IRC 2011-04-02T11:08:02 *** sqm has joined #rtems 2011-04-02T11:14:43 *** sqm has quit IRC 2011-04-02T11:15:10 *** sqm has joined #rtems 2011-04-02T11:15:52 *** lj8175 has quit IRC 2011-04-02T11:15:58 *** xiangfu has quit IRC 2011-04-02T11:26:07 *** lekernel has quit IRC 2011-04-02T11:33:40 *** madrazr has quit IRC 2011-04-02T11:41:59 *** lekernel has joined #rtems 2011-04-02T11:53:24 *** madrazr has joined #rtems 2011-04-02T12:04:53 *** sqm has quit IRC 2011-04-02T12:29:30 *** User74311 has quit IRC 2011-04-02T13:15:51 *** User74311 has joined #rtems 2011-04-02T13:16:23 *** User74311 is now known as titankiller 2011-04-02T13:16:38 *** titankiller has quit IRC 2011-04-02T13:17:00 *** titankiller has joined #rtems 2011-04-02T13:17:11 *** cdcs has joined #rtems 2011-04-02T13:30:12 *** methril has quit IRC 2011-04-02T14:33:34 *** methril has joined #rtems 2011-04-02T14:34:43 *** titankiller has quit IRC 2011-04-02T14:35:08 *** titankiller has joined #rtems 2011-04-02T15:06:04 *** zwj has quit IRC 2011-04-02T15:07:44 *** titankiller has quit IRC 2011-04-02T15:37:53 *** cdcs has quit IRC 2011-04-02T15:42:55 *** titankiller has joined #rtems 2011-04-02T15:59:35 *** lekernel has quit IRC 2011-04-02T16:01:39 *** titankiller has quit IRC 2011-04-02T16:03:01 *** easwar has joined #rtems 2011-04-02T16:03:01 *** easwar has joined #rtems 2011-04-02T16:15:30 *** lekernel has joined #rtems 2011-04-02T16:54:56 *** madrazr has quit IRC 2011-04-02T16:58:44 *** madrazr has joined #rtems 2011-04-02T18:04:06 *** Cfen has quit IRC 2011-04-02T18:05:18 *** Xinyu has joined #rtems 2011-04-02T18:56:41 *** madrazr has quit IRC 2011-04-02T19:58:59 *** lekernel has quit IRC 2011-04-02T20:02:11 *** zwj has joined #rtems 2011-04-02T20:12:34 *** lekernel has joined #rtems 2011-04-02T21:24:06 *** lj8175 has joined #rtems 2011-04-02T21:34:04 *** easwar has quit IRC 2011-04-02T22:01:59 *** easwar has joined #rtems 2011-04-02T22:02:47 *** easwar has left #rtems 2011-04-02T22:11:11 *** sqm has joined #rtems 2011-04-02T22:15:37 *** sqm has quit IRC 2011-04-02T22:23:48 *** sqm has joined #rtems 2011-04-02T22:32:03 *** titankiller has joined #rtems 2011-04-02T22:50:52 *** titankiller has quit IRC 2011-04-02T23:23:02 *** easwar has joined #rtems 2011-04-03T00:11:22 *** zwj has quit IRC 2011-04-03T01:10:27 *** Xinyu has quit IRC 2011-04-03T01:33:50 *** sqm has quit IRC 2011-04-03T05:26:04 *** sqm has joined #rtems 2011-04-03T06:36:11 *** titankiller has joined #rtems 2011-04-03T07:29:18 *** medivhc has joined #rtems 2011-04-03T07:33:47 *** medivhc has quit IRC 2011-04-03T07:49:21 *** core-ix has quit IRC 2011-04-03T07:51:25 *** titankiller has quit IRC 2011-04-03T07:52:10 *** titankiller has joined #rtems 2011-04-03T07:56:35 *** methril has quit IRC 2011-04-03T08:12:24 *** methril has joined #rtems 2011-04-03T08:22:30 *** titankiller has quit IRC 2011-04-03T08:42:09 hi, who is chinese except me ? 2011-04-03T09:22:39 *** titankiller has joined #rtems 2011-04-03T09:26:54 *** titankiller has quit IRC 2011-04-03T09:59:20 1/5 of world? 2011-04-03T09:59:56 rofl 2011-04-03T10:03:49 :-) 2011-04-03T10:04:09 lj8175: seriously i don't know, who here is .. :) 2011-04-03T10:06:34 rokka, a bit of guidance 2011-04-03T10:07:56 what is the rtems hello world? 2011-04-03T10:49:35 rtems/testsuites/samples/hello 2011-04-03T11:04:12 *** core-ix has joined #rtems 2011-04-03T11:06:46 rokka, thanks :) 2011-04-03T11:08:09 cd myrtemsdir; grep -R "hello" *; 2011-04-03T11:10:23 rokka, k, will do a hello world today and get back to the channel 2011-04-03T11:11:10 been a bit busy with grad school lately, couldn't do it Wednesday like I thought 2011-04-03T11:19:01 *** easwar has left #rtems 2011-04-03T11:48:53 rokka: :) 2011-04-03T12:04:43 *** sqm has quit IRC 2011-04-03T12:04:44 *** lj8175 has quit IRC 2011-04-03T12:27:53 *** DrJoel has joined #rtems 2011-04-03T12:27:53 *** ChanServ sets mode: +o DrJoel 2011-04-03T13:06:58 *** DrJoel has quit IRC 2011-04-03T13:32:46 *** madrazr1 has joined #rtems 2011-04-03T13:33:31 *** gedare has joined #rtems 2011-04-03T13:34:05 *** madrazr1 is now known as madrazr 2011-04-03T13:34:14 *** madrazr has quit IRC 2011-04-03T13:34:14 *** madrazr has joined #rtems 2011-04-03T13:40:53 *** titankiller has joined #rtems 2011-04-03T13:54:06 *** titankiller has quit IRC 2011-04-03T13:57:25 *** titankiller has joined #rtems 2011-04-03T14:11:44 hi 2011-04-03T14:12:06 does anyone have a patch already that makes rename() work with cross-mountpoint file moves? 2011-04-03T14:12:25 right now it fails with "Cross-device link" and it's extremely frustrating to have to reinvent that wheel 2011-04-03T14:13:27 *** easwar has joined #rtems 2011-04-03T14:13:27 *** easwar has joined #rtems 2011-04-03T14:15:25 lekernel: the rename behaviour is the same on unices 2011-04-03T14:15:37 stupid 2011-04-03T14:16:08 e.g.: http://www.freebsd.org/cgi/man.cgi?query=rename&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html 2011-04-03T14:16:47 Both from and to must be of the same type (that is, both directories or both non-directories), and must reside on the same file system. 2011-04-03T14:16:51 so each and every application has to check for cross mountpoint moves, and when it's the case, recursively walk the filesystem, and copy/delete files? 2011-04-03T14:17:02 yes 2011-04-03T14:17:09 that's imbecilic 2011-04-03T14:17:33 well its how "mv" is implemented in every unix 2011-04-03T14:17:48 that's not a good excuse 2011-04-03T14:18:25 *** titankiller has quit IRC 2011-04-03T14:18:27 there is no need for excuse: RTEMS conforms to POSIX here, 2011-04-03T14:19:35 if it would do a implicit copy it would'n be conformant 2011-04-03T14:19:40 whatever posix says, having rename() behave when you move files across filesystems means a lot less developer time wasted 2011-04-03T14:20:34 but you can grab the "mv" implementaion of freebsd or linux and use it for this 2011-04-03T14:20:57 *** titankiller has joined #rtems 2011-04-03T14:22:17 rename is a system call in unix and not a user level library call. Therefore it implements the minimal primitive case ... having the copy/delete built into the kernel wouldn't be very smart 2011-04-03T14:22:42 but it could be in the C library 2011-04-03T14:23:19 there's even qsort() there :) 2011-04-03T14:24:20 but qsort is not as OS dependent as rename 2011-04-03T14:25:02 ok, ftw() then ..... 2011-04-03T14:30:01 ah, there's rtems_shell_main_mv :) 2011-04-03T14:30:04 ftw is POSIX and not std C 2011-04-03T14:30:11 so let's use ugly hacks to work around ugly APIs 2011-04-03T14:30:12 :) 2011-04-03T14:31:07 speaking of ugly hacks: checked the mv.c source of freebsd, it actually vforks "cp" 2011-04-03T14:31:49 when rename() fails 2011-04-03T14:32:04 yeah I'm actually reading that atm 2011-04-03T14:32:47 which, btw, supports my opinion that having rename() fail with EXDEV is cretinous 2011-04-03T14:34:26 what els to do then? implement cp -PRp in the kernel? 2011-04-03T14:34:49 no, in the C library 2011-04-03T14:35:36 so you just want a extra function in the C library that does what "mv" does? 2011-04-03T14:36:06 because at some point you need a system call that does the atomic link/unlink 2011-04-03T14:36:28 and thats rename(2) 2011-04-03T14:36:30 sure. then all mv does is call that function, and applications can also use it easily, i.e. without reinventing the wheel or running mv 2011-04-03T14:37:20 on unix what you do here is just vfork "mv" 2011-04-03T14:38:12 not all OSes support vfork(). RTEMS is a good example :) 2011-04-03T14:38:13 vfork/exec 2011-04-03T14:38:59 but you have rtems_shell_main_mv 2011-04-03T14:39:52 which in turn isn't portable to Linux/BSD :) 2011-04-03T14:41:24 well, then you have to write your own portable library version of "mv" and submit it to rtems. 2011-04-03T15:53:59 *** madrazr has quit IRC 2011-04-03T16:01:15 *** titankiller has quit IRC 2011-04-03T16:02:00 *** titankiller has joined #rtems 2011-04-03T16:09:21 hmm... the rm implementation requires the last argv to be NULL, because it passes that directly to fts_open 2011-04-03T16:10:00 if I don't NULL the last argv in my application, fts_open (and rm) would fail randomly because of trying to open filenames that are uninitialized memory 2011-04-03T16:10:17 however, rm is called by mv without that NULL argument... and it seems to work there 2011-04-03T16:11:09 e.g. char* rm_argv[4] = { "mv", "-rf", "--", from }; rtems_shell_main_rm(4, rm_argv); (from main_mv.c) 2011-04-03T16:11:21 should be char* rm_argv[5] = { "mv", "-rf", "--", from, NULL }; 2011-04-03T16:40:33 *** tuxmaniac has quit IRC 2011-04-03T17:13:27 *** gedare has quit IRC 2011-04-03T18:03:29 *** projectgus has joined #rtems 2011-04-03T18:33:19 *** kristian1aul has joined #rtems 2011-04-03T18:35:37 *** kristianpaul has quit IRC 2011-04-03T18:35:38 *** verm__ has quit IRC 2011-04-03T18:39:44 *** verm__ has joined #rtems 2011-04-03T18:51:45 *** dimonov has quit IRC 2011-04-03T18:54:37 *** dimonov has joined #rtems 2011-04-03T19:03:52 *** titankiller has quit IRC 2011-04-03T19:03:53 *** titankiller has joined #rtems 2011-04-03T19:03:55 *** kuzew has quit IRC 2011-04-03T19:04:08 *** kuzew has joined #rtems 2011-04-03T19:04:45 *** antgreen has quit IRC 2011-04-03T19:05:07 *** antgreen has joined #rtems 2011-04-03T19:26:19 I'm having trouble building RTEMS on my machine, I'm getting the "C compiler cannot create executables" error, despite having libc6-dev installed 2011-04-03T19:27:04 Ubuntu 10.10, kernel version 2.6.35, got the tools from the Fedora 14 directory, which has a similar kernel version 2011-04-03T19:34:08 now trying with the cvs branch 2011-04-03T19:38:35 *** Fallenou has quit IRC 2011-04-03T19:43:44 *** Fallenou has joined #rtems 2011-04-03T19:45:08 still no joy 2011-04-03T19:45:12 RTEMS 4.10 2011-04-03T19:45:22 can anyone help? 2011-04-03T19:46:14 what platform are you building for? 2011-04-03T19:46:39 I'm building for powerpc (mvme-3100) from Ubuntu 10.10, and I did originally try alien-ing the RPMs 2011-04-03T19:47:02 IIRC it worked after a while, but in the end I had to build the tools to change some config options and this turned out to be pretty straightforward 2011-04-03T19:47:06 projectgus, I'm trying sparc 2011-04-03T19:47:10 from memory 2011-04-03T19:47:16 ah ok, I have no knowledge of sparc sorry 2011-04-03T19:47:36 projectgus, did you install the tools from source then? 2011-04-03T19:48:02 yeah, I just followed the instructions to compile & patch 2011-04-03T19:48:27 like I said though, I think the RPM tools did work for me early on though 2011-04-03T19:48:45 that "C compiler cannot create executables" rings a bell as having common causes, I just can't remember what they are sorry :) 2011-04-03T19:48:56 which step is failing with that error? 2011-04-03T19:49:06 projectgus, make 2011-04-03T19:49:39 of RTEMS? 2011-04-03T19:49:44 projectgus, yes 2011-04-03T19:49:56 what does your configure line look like? 2011-04-03T19:50:07 projectgus, my configure command? 2011-04-03T19:50:12 yes 2011-04-03T19:50:15 I'm following the QuickStart 2011-04-03T19:50:18 so it is 2011-04-03T19:50:34 easwarh@MS-laptop:~/GSoC/b-sis$ ../rtems/configure --target=sparc-rtems4.10 --enable-rtemsbsp=sis --enable-tests=samples --disable-posix --disable-itron 2011-04-03T19:51:51 the QuickStart says if the C compiler error occurs, we ought to try fixing the compiler by installing libc-dev 2011-04-03T19:52:04 which I've done, though the package was libc6-dev 2011-04-03T19:52:05 so if you run sparc-rtems4.10-gcc --help do you get what you'd expect? 2011-04-03T19:53:15 projectgus, something very similar to gcc --help 2011-04-03T19:53:21 where gcc is my native gcc 2011-04-03T19:53:23 i686 2011-04-03T19:54:04 can pastebin if you want 2011-04-03T19:54:33 no, I was just wondering if it worked at all 2011-04-03T19:54:37 if you do 2011-04-03T19:54:44 touch test.c 2011-04-03T19:55:11 sparc-rtems4.10-gcc test.c 2011-04-03T19:55:16 do you get a warning and an a.out file, or something else? 2011-04-03T19:56:40 projectgus, I get a warning that a shared library libcloog.so.0 is missing 2011-04-03T19:56:42 no a.out file 2011-04-03T19:58:07 s/warning/error 2011-04-03T19:58:12 you're not on x64, right? definitely i686? 2011-04-03T19:58:47 try 'apt-get install libcloog-ppl0 libcloog-ppl-dev' ? 2011-04-03T19:58:59 *** lekernel has quit IRC 2011-04-03T19:59:01 projectgus, nope, i686 it is 2011-04-03T20:00:37 projectgus, installed those two packages 2011-04-03T20:00:41 same error 2011-04-03T20:02:41 Do I need to reinstall the tools so they can find the newly installed libcloog? 2011-04-03T20:02:42 on my system at some point it looks like I symlinked libcloog.so.0 to libcloog.so 2011-04-03T20:02:43 doubt it 2011-04-03T20:02:55 that might have been when I was using the Fedora packages, naming different 2011-04-03T20:02:58 difference 2011-04-03T20:03:06 so it's probably worth trying that, even though it's a hack 2011-04-03T20:03:23 ie 2011-04-03T20:03:27 cd /usr/lib 2011-04-03T20:03:40 sudo ln -s libcloog.so libcloog.so.0 2011-04-03T20:03:47 if it doesn't work, delete the link because I'm giving you bad information :) 2011-04-03T20:04:45 projectgus, libcloog.so is already symlinked to libcloog-ppl.so 2011-04-03T20:05:34 yes, but I'm asking you to create a symlink called libcloog.so.0 2011-04-03T20:06:23 projectgus, point 2011-04-03T20:06:28 trying that 2011-04-03T20:08:05 projectgus, ok gave me a warning that it cannot find _start and assumed a default address 2011-04-03T20:08:12 got a a.out that won't execute 2011-04-03T20:08:59 that's fine 2011-04-03T20:09:12 of course it won't execute, (a) it's for SPARC and (b) there's no content to it 2011-04-03T20:09:16 will RTEMS build now? 2011-04-03T20:09:20 projectgus, trying 2011-04-03T20:11:45 projectgus, looks like it is building :) 2011-04-03T20:11:47 thanks! 2011-04-03T20:12:26 np 2011-04-03T20:12:47 *** lekernel has joined #rtems 2011-04-03T20:14:13 projectgus, you said you eventually needed to build the tools from source? 2011-04-03T20:14:39 I wanted to enable support that wasn't compiled in by default 2011-04-03T20:14:45 I can't actually remember what, something in newlib I think 2011-04-03T20:14:50 hmm 2011-04-03T20:15:04 I'll make a note of that, might need it later 2011-04-03T20:16:00 ah, what I needed was POSIX signal support and the rtems-addon-package 2011-04-03T20:16:25 both for EPICS on PowerPC MVME boards in my case, so you may never need such things 2011-04-03T20:22:06 projectgus, ok 2011-04-03T20:23:08 :) 2011-04-03T20:23:57 :) 2011-04-03T20:24:08 the samples run! 2011-04-03T20:31:07 the sparc gdb needed a few other libs 2011-04-03T20:31:55 turns out symlinking libtinfo.so.5 to libncurses.so.5 does a good job 2011-04-03T20:32:11 Also on Ubuntu 10.10, we need to install libpython2.7 2011-04-03T20:34:07 Hello World! complete! 2011-04-03T21:07:55 *** easwar has left #rtems 2011-04-03T21:27:17 *** Fallenou has quit IRC 2011-04-03T21:30:31 *** lj8175 has joined #rtems 2011-04-03T21:31:18 *** Fallenou has joined #rtems 2011-04-03T21:55:14 *** kristian1aul has quit IRC 2011-04-03T22:01:15 *** mwalle has quit IRC 2011-04-03T22:04:51 *** kristianpaul has joined #rtems 2011-04-03T22:04:53 *** mwalle has joined #rtems 2011-04-03T22:04:57 *** lj8175 has quit IRC 2011-04-03T22:08:20 *** titankiller has quit IRC 2011-04-03T22:22:57 *** Cfen has joined #rtems 2011-04-03T22:30:08 *** lekernel_ has joined #rtems 2011-04-03T22:32:40 *** lekernel has quit IRC 2011-04-03T22:41:19 *** Cfen has quit IRC 2011-04-03T23:07:09 *** mw1 has joined #rtems 2011-04-03T23:08:58 *** mwalle has quit IRC