2010-07-12T00:00:50 *** Fallenou has quit IRC 2010-07-12T00:26:05 *** Fallenou has joined #rtems 2010-07-12T00:46:52 *** tiemen has quit IRC 2010-07-12T00:59:08 *** madrazr has joined #rtems 2010-07-12T01:09:47 *** arvind_khadri has joined #rtems 2010-07-12T01:28:15 *** arvind_khadri has quit IRC 2010-07-12T01:41:27 *** arvind_khadri has joined #rtems 2010-07-12T01:45:23 *** dr__house has joined #rtems 2010-07-12T01:48:46 *** arvind_khadri has quit IRC 2010-07-12T01:50:29 *** sebhub has joined #rtems 2010-07-12T01:52:37 good morning 2010-07-12T02:00:38 *** arvind_khadri has joined #rtems 2010-07-12T02:05:21 *** arvind_khadri has quit IRC 2010-07-12T02:37:47 *** madrazr has quit IRC 2010-07-12T02:49:07 *** tiemen has joined #rtems 2010-07-12T02:49:30 *** projectgus has quit IRC 2010-07-12T02:49:34 *** dr__house has quit IRC 2010-07-12T03:41:15 *** exception13 has joined #rtems 2010-07-12T03:59:58 *** bazinski has joined #rtems 2010-07-12T04:18:17 *** Raj_ has quit IRC 2010-07-12T04:25:01 *** madrazr has joined #rtems 2010-07-12T06:33:43 *** methril_work has joined #rtems 2010-07-12T07:20:04 *** alinrus has quit IRC 2010-07-12T08:04:55 *** peerst has joined #rtems 2010-07-12T08:05:05 hi 2010-07-12T08:12:51 *** zwj has joined #rtems 2010-07-12T08:20:21 sebhub:hi, mentor 2010-07-12T08:32:00 *** peerst is now known as peerst_ 2010-07-12T08:35:28 *** peerst_ is now known as peerst 2010-07-12T08:36:55 *** madrazr has quit IRC 2010-07-12T08:51:47 *** exception13 has left #rtems 2010-07-12T08:54:07 *** michael1 has joined #rtems 2010-07-12T09:01:07 *** bubaflub has joined #rtems 2010-07-12T09:01:36 Who runs the wiki? It's broken :( 2010-07-12T09:01:50 broken here too 2010-07-12T09:01:55 don't know 2010-07-12T09:01:59 but it's annoying =( 2010-07-12T09:02:38 google has caches of some pages.. 2010-07-12T09:03:17 yes i am using that these days 2010-07-12T09:17:21 *** alinrus has joined #rtems 2010-07-12T09:18:33 *** arvind_khadri has joined #rtems 2010-07-12T09:40:02 *** exception13 has joined #rtems 2010-07-12T10:38:33 *** alinrus has quit IRC 2010-07-12T10:41:14 *** Raj_ has joined #rtems 2010-07-12T10:47:06 *** sebhub has quit IRC 2010-07-12T10:48:06 *** dr__house has joined #rtems 2010-07-12T11:09:40 *** zwj has quit IRC 2010-07-12T11:17:55 *** dr__house has quit IRC 2010-07-12T11:30:35 *** bazinski has quit IRC 2010-07-12T11:37:10 *** dr__house has joined #rtems 2010-07-12T11:37:41 *** dr__house has quit IRC 2010-07-12T11:59:22 *** arvind_khadri has quit IRC 2010-07-12T12:18:26 *** madrazr has joined #rtems 2010-07-12T12:35:51 *** gedare has joined #rtems 2010-07-12T12:36:53 *** bubaflub_ has joined #rtems 2010-07-12T12:39:34 *** bubaflub has quit IRC 2010-07-12T12:45:34 *** tuxmaniac has joined #rtems 2010-07-12T12:51:35 *** bubaflub has joined #rtems 2010-07-12T12:56:24 *** alinrus has joined #rtems 2010-07-12T13:06:58 *** madrazr has quit IRC 2010-07-12T13:10:32 *** gedare has quit IRC 2010-07-12T13:31:48 *** michael1 has quit IRC 2010-07-12T13:32:06 *** michael1 has joined #rtems 2010-07-12T14:02:36 *** madrazr has joined #rtems 2010-07-12T14:24:25 tuxmaniac, any suggestions regarding the naming of those structures would be highly appreciated :P 2010-07-12T14:27:36 *** bubaflub has quit IRC 2010-07-12T14:27:42 *** bubaflub has joined #rtems 2010-07-12T14:28:50 *** gedare has joined #rtems 2010-07-12T14:46:12 *** michael1 has quit IRC 2010-07-12T14:51:15 *** madrazr1 has joined #rtems 2010-07-12T14:53:44 *** madrazr has quit IRC 2010-07-12T14:58:26 *** madrazr1 is now known as madrazr 2010-07-12T15:21:15 *** madrazr has quit IRC 2010-07-12T16:04:29 *** bubaflub has quit IRC 2010-07-12T16:16:39 *** alinrus has quit IRC 2010-07-12T16:16:41 *** alinrus has joined #rtems 2010-07-12T16:18:54 *** exception13 has left #rtems 2010-07-12T17:01:03 *** tuxmaniac has quit IRC 2010-07-12T18:14:55 *** projectgus has joined #rtems 2010-07-12T18:30:08 *** gedare has quit IRC 2010-07-12T19:36:29 Raj_: any chance you're around? 2010-07-12T19:36:44 yes 2010-07-12T19:37:14 hi :) 2010-07-12T19:37:19 hello :) 2010-07-12T19:37:31 I just had a compiler error with RTEMS and found you had the same on a couple months ago, from the IRC logs 2010-07-12T19:37:47 What is the error ? 2010-07-12T19:37:52 'struct sched_param' has no member named 'sched_ss_init_budget' 2010-07-12T19:37:57 http://www.rtems.org/irclogs/html/2010/rtems-18.html 2010-07-12T19:38:11 looks like RTEMS is expecting a newer set of POSIX headers to what is in newlib? 2010-07-12T19:38:25 I'm using RTEMS-4.10 (CVS tag checkout) and newlib-1-18 which looks like the newest newlib release 2010-07-12T19:38:37 do you recall what you needed to get around it? newlib CVS version? 2010-07-12T19:39:13 I think that was fixed later 2010-07-12T19:39:27 I did a checkout of head (or whatever CVS calls head) and I seemed to get the same error 2010-07-12T19:39:34 You have the latest newlib patches right ? 2010-07-12T19:39:37 development hasn't moved to git, has it? I saw some mention of setting up git in the IRC logs 2010-07-12T19:39:49 Nop, still CVS 2010-07-12T19:40:30 which patch did you apply on newlib ? 2010-07-12T19:40:46 ah, I was using the patch from the SOURCES/4.10 which was 2009xxx 2010-07-12T19:40:51 now I see the new patches in SOURCES/4.11 2010-07-12T19:40:55 which include that struct member 2010-07-12T19:41:02 thank you Raj_, sorry to buy you. :) 2010-07-12T19:41:06 bug you, even 2010-07-12T19:41:38 No problem. happy to be bugged :) 2010-07-12T19:42:20 I guess I should apply these other 4.11 patches and rebuild my toolchain from 4.11 2010-07-12T19:42:25 good times :) 2010-07-12T19:42:57 Yes, that would be better. 2010-07-12T19:46:50 projectgus: IF you require a stable release, better use 4.10 2010-07-12T19:47:07 4.10 also has the newlib patches with the changes you need 2010-07-12T19:49:14 I did choose 4.10 for a stable release 2010-07-12T19:49:29 but I can't see that patch under ftp://www.rtems.com/pub/rtems/SOURCES/4.10/ in either newlib 1-17 or 1-18 2010-07-12T19:49:41 are you saying I should patch 1-18 with the patches from 4.11, but use everything else from 4.10? 2010-07-12T19:49:49 and build a toolchain that way for RTEMS 4.10? 2010-07-12T19:49:57 No. 2010-07-12T19:50:20 I am saying that if you get the CVS repo it should have the newlib patches for 4.10 2010-07-12T19:50:34 which contain the changes you need 2010-07-12T19:50:54 I don't think the link you sent me has the latest for 4.10 2010-07-12T19:51:13 Are you more comfortable with git ? 2010-07-12T19:51:16 oh, I see 2010-07-12T19:51:19 I 2010-07-12T19:51:33 I'm more uncomfortable with CVS, but yes :) 2010-07-12T19:53:07 you can git clone http://www.rtems.org/ftp/private/git/rtems.git 2010-07-12T19:54:25 it's OK, I just found the toolchain patches in my checkout of the CVS 4.10 tahg 2010-07-12T19:54:28 tag, even 2010-07-12T19:54:37 I just didn't realise that they were there :) 2010-07-12T19:54:41 thank you 2010-07-12T19:54:59 I might start using git anyhow - is it still a work in progress? 2010-07-12T19:55:30 Will its an export from CVS. 2010-07-12T19:56:02 oic 2010-07-12T20:28:59 *** projectgus has quit IRC 2010-07-12T20:31:41 *** projectgus has joined #rtems 2010-07-12T20:35:28 *** Raj_ has quit IRC 2010-07-12T21:10:44 *** alinrus has quit IRC 2010-07-12T22:40:18 *** alinrus has joined #rtems 2010-07-13T01:23:52 *** madrazr has joined #rtems 2010-07-13T01:38:37 *** methril_ has joined #rtems 2010-07-13T01:40:25 *** methril has quit IRC 2010-07-13T01:51:05 *** sebhub has joined #rtems 2010-07-13T01:51:13 good morning 2010-07-13T01:57:31 *** madrazr has quit IRC 2010-07-13T02:13:01 *** madrazr has joined #rtems 2010-07-13T02:22:24 *** madrazr has quit IRC 2010-07-13T02:34:12 *** methril__ has joined #rtems 2010-07-13T02:35:02 *** methril_ has quit IRC 2010-07-13T02:46:24 *** bazinski has joined #rtems 2010-07-13T03:50:40 *** exception13 has joined #rtems 2010-07-13T03:57:52 *** madrazr has joined #rtems 2010-07-13T04:32:00 *** dr__house has joined #rtems 2010-07-13T05:01:28 *** madrazr1 has joined #rtems 2010-07-13T05:01:40 *** madrazr has quit IRC 2010-07-13T06:28:23 *** madrazr1 is now known as madrazr 2010-07-13T06:28:30 *** madrazr has joined #rtems 2010-07-13T06:43:25 *** dr__house has quit IRC 2010-07-13T07:15:26 *** michael1 has joined #rtems 2010-07-13T07:33:27 _Lucretia_: looking back at IRC logs from nearly a year ago, I've found that you had the same issue I'm having in compiling a stage 2 GNAT cross compiler following the do_one instructions. (sys/socket.h not found..). Did you ever solve this? 2010-07-13T07:36:50 *** madrazr1 has joined #rtems 2010-07-13T07:37:10 *** madrazr has quit IRC 2010-07-13T07:38:58 *** madrazr1 is now known as madrazt 2010-07-13T07:39:01 *** madrazt is now known as madrazr 2010-07-13T07:39:10 *** madrazr has joined #rtems 2010-07-13T07:40:49 That discussion ended with (what looks like) you emailing DrJoel with your configuration, so I guess I could wait for him to return to see if he can find it, but last time i asked he said he didn't remember it :( 2010-07-13T08:05:05 *** exception13 has left #rtems 2010-07-13T08:13:00 you can also ask the mailing list for help, it has more subscribers 2010-07-13T08:14:08 I've tried subscribing to rtems-users twice, haven't gotten any confirmation emails =( michael.gurlitz@gmail.com was my address 2010-07-13T08:14:34 it looks like oar has some server problems currently 2010-07-13T08:14:39 the wiki is also not available 2010-07-13T08:16:30 Joel reccommendedTill Straumann or Eric Norum would help for mvme6100 with rtems issues, so if this isn't resolved by the end of the week i may try emailing them directly 2010-07-13T09:01:34 Ok well I'm still having sys/socket.h errors after following do_one to the letter. I've hacked gcc/configure to force -isystem beatnik/lib/include and am trying again 2010-07-13T09:01:55 *** bubaflub has joined #rtems 2010-07-13T09:02:41 yes the mailing list is almost down 2010-07-13T09:02:48 it has been several days i posted an email it never arrived 2010-07-13T09:02:53 and the wiki has some problems too 2010-07-13T09:04:40 *** exception13 has joined #rtems 2010-07-13T09:05:09 Well I'll wait for Joel to get back to talk to him first before I start directly emailing some of these other people =P 2010-07-13T09:13:57 *** bubaflub has quit IRC 2010-07-13T09:16:53 *** madrazr1 has joined #rtems 2010-07-13T09:16:53 *** alinrus has quit IRC 2010-07-13T09:21:10 *** madrazr has quit IRC 2010-07-13T09:23:57 *** jacob123 has joined #rtems 2010-07-13T09:26:12 *** bubaflub has joined #rtems 2010-07-13T09:27:08 i want to do some basic file i/o programs in rtems can someone guide me how to go about with it 2010-07-13T09:28:07 Have you taken a look at the sample testsuites? fileio looks promising :) 2010-07-13T09:29:49 yeah i chekd the testsuite program but i couldnt mount it or aceess the filesystem 2010-07-13T09:37:22 when i am mounting it says invalid argument 2010-07-13T09:43:26 i am getting the following result when i am attempting the mount option http://pastebin.com/mHfha7Jx 2010-07-13T09:46:31 I really have no experience using fileio, but you actually have to have these devices available to mount them; I'm guessing /dev/hda* doesn't exist for your configuration, especially since you're running in the simulator 2010-07-13T09:51:11 <_Lucretia_> michael1: nope, I was trying to help someone out who was trying to compile rtems, I didn't get very far. 2010-07-13T09:51:36 *** madrazr1 has quit IRC 2010-07-13T09:52:18 Haha ok. Did joel have anything interesting to say in an email reply? I'm not getting very far by hacking around in GCC configure options 2010-07-13T09:53:02 (If this doesn't work out.. there's always eCOS =D) 2010-07-13T09:53:31 yes i am using a simulator doesnt rtems support sda devices 2010-07-13T09:54:48 The question is does the simulator properly hook up devices to the program, and if it does how do they compare to what fileio expects? 2010-07-13T09:55:03 *** Raj_ has joined #rtems 2010-07-13T09:56:51 Raj_: i wanted to thank you for linking to rtems.git yesterday. i had been painfully using cvs snapshots and cvsgrab to get past a corporate firewall :) 2010-07-13T09:57:38 :) 2010-07-13T09:57:55 You could have asked someone here about a git repo instead of enduring all the "pain" 2010-07-13T09:59:07 Well, the wiki had a whole section on using cvsgrab, so i figured others had been in my place before 2010-07-13T10:00:00 Yes, I was also doing the same thing, before DrJoel told me about the git exports, I have also been through the same pain :) 2010-07-13T10:02:58 is there anyway i can run the rtems file i/o program using the simulator 2010-07-13T10:21:14 jacob123: try entering shell "s" and figuring out the filesystem setup. when i run fileio.ralf on my board /dev only has console and tty 2010-07-13T10:24:25 jacob123: I ran it using qemu with the -hda :fat option 2010-07-13T10:24:55 michael1: i have entered the shell what should i do next 2010-07-13T10:25:55 use the ls command to reveal the filesystem.. 2010-07-13T10:26:57 ls gives dev etc scripts 2010-07-13T10:27:22 as i said before, chances are /dev/hda* (what fileio is trying to do) doesn't exist 2010-07-13T10:27:55 dev has console and console_b 2010-07-13T10:28:06 so what can be done next 2010-07-13T10:28:59 i am new with working on rtmes progrming i want to learn the file i/o in rtems 2010-07-13T10:34:54 *** bazinski has quit IRC 2010-07-13T10:39:34 jacob123: are you using qemu ? 2010-07-13T10:42:00 *** sebhub has quit IRC 2010-07-13T10:49:55 *** gedare has joined #rtems 2010-07-13T10:56:09 *** dr__house has joined #rtems 2010-07-13T11:01:31 *** Raj_ has quit IRC 2010-07-13T11:06:35 no i am r using gdb 2010-07-13T11:07:08 *** jacob123 has quit IRC 2010-07-13T11:09:00 *** jacob123 has joined #rtems 2010-07-13T11:09:18 *** alinrus has joined #rtems 2010-07-13T11:13:08 *** rtemsLogger` has joined #rtems 2010-07-13T11:13:08 *** rtemsLogger has quit IRC 2010-07-13T11:17:15 when i try to mount operation is failed in the file i/o program given in testsuite 2010-07-13T11:20:29 did you update to cvs head? 2010-07-13T11:22:07 i reported this bug but i see it's still open 2010-07-13T11:22:08 https://www.rtems.org/bugzilla/show_bug.cgi?id=1551 2010-07-13T11:25:45 no 2010-07-13T11:26:54 just add #define CONFIGURE_FILESYSTEM_DOSFS to the application 2010-07-13T11:27:18 i didnt update with the cvs head 2010-07-13T11:33:47 *** jacob123 has quit IRC 2010-07-13T11:37:09 *** madrazr has joined #rtems 2010-07-13T11:38:01 *** madrazr1 has joined #rtems 2010-07-13T11:38:17 *** madrazr1 has left #rtems 2010-07-13T11:38:59 Anyone have good links for introductions to embedded systems + operating systems? I more or less understand that's its one process, always running, and the OS just provides some abstractions, but it's not very concrete :/ 2010-07-13T11:47:41 the wiki is working again :O 2010-07-13T11:49:58 *** Raj_ has joined #rtems 2010-07-13T11:50:14 *** jacob123 has joined #rtems 2010-07-13T11:56:41 alinrus: what could possibly be wrong i added the #define 2010-07-13T11:58:54 i have some problem with rtems networking capabilities 2010-07-13T11:59:33 it seems that when doing rtems_bsdnet_initialize_network(); rtems tries to send a packet 2010-07-13T11:59:37 of size 42 2010-07-13T11:59:46 which is incompatible with my ethernet hardware 2010-07-13T11:59:53 which cannot send packets of size < 64 2010-07-13T12:00:10 mwalle: i got the message from qemu "Ethernet frame too small (42 < 64) 2010-07-13T12:00:37 so i put a if (nm->m_len < 64) return; in the sendpacket() function of the network driver 2010-07-13T12:00:41 so it does not hang the system 2010-07-13T12:00:45 but it's still very strange 2010-07-13T12:01:09 what is this 42 bytes packet ? ARP packet ? 2010-07-13T12:07:55 *** jacob123 has left #rtems 2010-07-13T12:14:25 michael1: do you have specific questions, or just trying to figure out more of the idea of what is going on? 2010-07-13T12:14:34 I can't think of good online starting points hm 2010-07-13T12:17:55 michael1: you might try the C User's guide in the RTEMS documentation set 2010-07-13T12:18:20 http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/index.html 2010-07-13T12:18:31 it has a pretty good introduction in the Overview section.. 2010-07-13T13:11:46 *** tuxmaniac has joined #rtems 2010-07-13T13:31:11 ok, thanks gedare 2010-07-13T13:31:53 welcome, good luck 2010-07-13T13:32:32 there are some really good text books out there too, I like Jane Liu's book "Real-Time Systems", though it is a bit pricey 2010-07-13T13:33:05 but you can probably get the gist of what is going on by going through the introductory material of RTEMS docs 2010-07-13T13:33:48 Yeah, I think these docs will do for now. I don't need to know precisely what's going on, but it'd help in trying to get the chip running with RTEMS+Ada 2010-07-13T13:34:08 *** dr__house has quit IRC 2010-07-13T13:34:53 i think joel might be teaching another course this summer too, which is a good opportunity if you can afford it 2010-07-13T13:35:34 hehe yes he suggested SigAda was coming to washington in a few weeks 2010-07-13T13:36:37 oh right i forgot you are from dc area ... hm 2010-07-13T13:38:19 anyway if you have specific questions im glad to try and help 2010-07-13T13:39:53 I'm just trying to get GNAT compiled for a mvme6100 powerpc chip, so it's really just a matter of compiling things with the right options, so i'm following the scripts joel suggested in rtems-testing/gcc. 2010-07-13T13:40:44 ok.. i don't have experience with gnat, but those scripts are pretty useful... getting things to compile can be a trick ;) 2010-07-13T13:49:39 *** tuxmaniac has quit IRC 2010-07-13T14:02:34 Fallenou, you have to pad the packet to at least 64byte 2010-07-13T14:03:16 *** madrazr has quit IRC 2010-07-13T14:03:20 *** gedare has quit IRC 2010-07-13T14:05:04 mwalle: yes lekernel told me that :) 2010-07-13T14:05:05 thanks 2010-07-13T14:05:14 padd, add preamble (0x55) and calculate CRC 2010-07-13T14:08:09 you could have a look at my umon repository too, there is a minimac driver 2010-07-13T14:09:27 perhaps i should make qemu check for preamble and fcs 2010-07-13T14:10:18 the preamble isn't all 0x55 2010-07-13T14:12:44 non that's the point of a preamble :p 2010-07-13T14:12:51 1010101010 and then the pattern breaks 2010-07-13T14:26:38 *** madrazr has joined #rtems 2010-07-13T14:28:35 *** lekernel_ has joined #rtems 2010-07-13T14:32:15 *** lekernel has quit IRC 2010-07-13T14:32:31 *** lekernel__ has joined #rtems 2010-07-13T14:32:43 *** lekernel__ is now known as lekernel 2010-07-13T14:35:26 *** lekernel_ has quit IRC 2010-07-13T14:41:02 *** bubaflub has quit IRC 2010-07-13T14:41:10 *** bubaflub has joined #rtems 2010-07-13T15:16:09 interesting, it looks like gcc/do_one builds and installs rtems first with --enable-multilib, then again with --enable-rtemsbsp 2010-07-13T15:48:47 *** michael1 has quit IRC 2010-07-13T16:14:39 *** DrJoel has joined #rtems 2010-07-13T16:14:39 *** ChanServ sets mode: +o DrJoel 2010-07-13T16:25:55 *** DrJoel has quit IRC 2010-07-13T16:37:48 *** bubaflub has quit IRC 2010-07-13T16:44:02 *** bubaflub has joined #rtems 2010-07-13T16:47:57 *** gedare has joined #rtems 2010-07-13T16:59:44 *** exception13 has left #rtems 2010-07-13T17:13:19 *** bubaflub has quit IRC 2010-07-13T18:36:24 *** gedare has quit IRC 2010-07-13T18:41:11 *** kuzew has quit IRC 2010-07-13T20:42:12 *** mikeg has quit IRC 2010-07-13T20:44:12 *** mikeg has joined #rtems 2010-07-13T21:31:58 *** Raj_ has quit IRC 2010-07-13T22:18:53 *** bubaflub has joined #rtems 2010-07-13T22:19:36 *** bubaflub has left #rtems 2010-07-13T23:02:03 anyone have any tips for building xgcc w/ newlib 2010-07-13T23:02:15 the newlib configure pass, during the gcc build, is failing 2010-07-13T23:02:18 configure:4352: /opt/rtems/source/tools/build/./gcc/xgcc -B/opt/rtems/source/tools/build/./gcc/ -nostdinc -B/opt/rtems/source/tools/build/powerpc-rtems4.10/newlib/ - 2010-07-13T23:02:20 isystem /opt/rtems/source/tools/build/powerpc-rtems4.10/newlib/targ-include -isystem /opt/rtems/source/tools/gcc-4.4.4/newlib/libc/include -B/opt/rtems/rtems-4.10/po 2010-07-13T23:02:22 werpc-rtems4.10/bin/ -B/opt/rtems/rtems-4.10/powerpc-rtems4.10/lib/ -isystem /opt/rtems/rtems-4.10/powerpc-rtems4.10/include -isystem /opt/rtems/rtems-4.10/powerpc-r 2010-07-13T23:02:24 tems4.10/sys-include -g -O2 conftest.c >&5 2010-07-13T23:02:26 /opt/rtems/rtems-4.10/powerpc-rtems4.10/bin/ld: crt0.o: No such file: No such file or directory 2010-07-13T23:02:35 ... which is correct as far as I can tell, there is no crt0.o built for the target architecture yet 2010-07-13T23:03:00 I've applied RTEMS patches for gcc & newlib, symlinked newlib source dir to the gcc source dir, used configure args from the getting started guide 2010-07-13T23:36:33 *** alinrus has quit IRC 2010-07-14T00:31:20 *** alinrus has joined #rtems 2010-07-14T01:18:53 *** exception13 has joined #rtems 2010-07-14T01:27:22 *** madrazr has joined #rtems 2010-07-14T01:35:08 *** sebhub has joined #rtems 2010-07-14T01:35:13 good morning 2010-07-14T01:43:40 *** Raj_ has joined #rtems 2010-07-14T01:59:44 *** exception13 has left #rtems 2010-07-14T02:20:15 *** madrazr has quit IRC 2010-07-14T02:32:27 *** projectgus has quit IRC 2010-07-14T03:18:16 *** exception13 has joined #rtems 2010-07-14T03:35:53 *** aniceberg has joined #rtems 2010-07-14T05:17:37 *** aniceberg has quit IRC 2010-07-14T05:20:18 *** dr__house has joined #rtems 2010-07-14T05:23:12 *** aniceberg has joined #rtems 2010-07-14T05:49:15 *** alinrus has quit IRC 2010-07-14T06:11:16 *** dr__house has quit IRC 2010-07-14T06:20:39 *** methril_work has quit IRC 2010-07-14T06:22:03 *** methril_work has joined #rtems 2010-07-14T07:19:27 *** madrazr has joined #rtems 2010-07-14T08:18:26 *** exception13 has left #rtems 2010-07-14T08:26:20 *** aniceberg has quit IRC 2010-07-14T08:41:07 *** zwj has joined #rtems 2010-07-14T08:53:18 *** michael1 has joined #rtems 2010-07-14T09:05:06 *** madrazr has quit IRC 2010-07-14T09:05:11 *** Raj_ has quit IRC 2010-07-14T09:06:35 *** bubaflub has joined #rtems 2010-07-14T09:09:38 *** exception13 has joined #rtems 2010-07-14T09:21:10 *** madrazr has joined #rtems 2010-07-14T09:23:49 *** madrazr has quit IRC 2010-07-14T09:39:13 *** gedare has joined #rtems 2010-07-14T10:39:08 *** madrazr has joined #rtems 2010-07-14T10:52:03 *** alinrus has joined #rtems 2010-07-14T10:57:30 is there a portable way to spin for a very short time in rtems? very short meaning 1 microsecond e.g. 2010-07-14T10:58:26 yes one sec i'll find the macro ... 2010-07-14T10:58:42 rtems_bsp_delay( x ) 2010-07-14T10:58:45 where x is microseconds 2010-07-14T10:58:55 a cool thanks a lot 2010-07-14T10:59:03 it is defined per-bsp in libbsp/CPU/BSP/include/bsp.h usually 2010-07-14T10:59:40 there might be better ways, but that should be a simple solution at least.. 2010-07-14T10:59:42 this rtems_bsp_delay() is a bit wrong named it should be bsp_delay() 2010-07-14T11:00:10 file a PR, and i agree, since it is not in the public api 2010-07-14T11:00:18 bit if its "official" api schouldn it start with rtems_? 2010-07-14T11:00:30 ah 2010-07-14T11:00:31 it is buried in the bsp includes, which is not official iirc 2010-07-14T11:00:43 only some bsp support this 2010-07-14T11:00:53 ah the the PR should be to make it public api 2010-07-14T11:01:22 peerst: there is also usleep support if you have posix 2010-07-14T11:01:48 although i'm not convinced that it will work right eitehr :) 2010-07-14T11:01:54 yeah I have posix but usleep might yield the task? 2010-07-14T11:02:03 oh. probably 2010-07-14T11:02:08 need to spin without yielding 2010-07-14T11:02:08 yes, it is not a busy wait 2010-07-14T11:02:28 ok then i think you need the bsp macro or to write your own 2010-07-14T11:02:33 the function to do a crc32 is crc32() ? :p 2010-07-14T11:02:44 its just for a peripheral that asserts its i/o lines a bit late 2010-07-14T11:03:01 we have no general purpose crc32 in rtems 2010-07-14T11:03:11 maybe you can use the one from the zlib 2010-07-14T11:03:28 yes i tried to read the zlib stuff 2010-07-14T11:03:30 that's hard to read 2010-07-14T11:03:46 i am having a hard time trying to find out which function to call exactly in all that mess 2010-07-14T11:03:49 I have the ultimative crc code 2010-07-14T11:04:05 hard to find just one mmt 2010-07-14T11:07:01 too many crc related files on my computer 2010-07-14T11:07:19 do you need just any crc32 no matter what polynome? 2010-07-14T11:07:32 cu 2010-07-14T11:07:38 the crc32 for ethernet packets :) 2010-07-14T11:07:38 ciao 2010-07-14T11:07:40 *** sebhub has quit IRC 2010-07-14T11:08:41 no hardwar 2010-07-14T11:08:49 no hardware support for it? 2010-07-14T11:09:58 cpukit/libnetworking/net/if_ethersubr.c has a implementation 2010-07-14T11:10:34 oh great :) 2010-07-14T11:10:36 but as it looks only a fast one for little endian machines 2010-07-14T11:10:41 the hardware does not do the calculus 2010-07-14T11:14:05 if you ever need a crc for any polynomnal look at http://www.ross.net/crc/crcpaper.html 2010-07-14T11:14:59 It explains everything without resorting to handwaving and has C code + table generator code 2010-07-14T11:17:03 and it has a canonical way of describing a crc (because there is much more to it than just a polynominal 2010-07-14T11:18:08 you'd find the params for the crc32 used by ethernet also in the paper 2010-07-14T11:20:27 cool thank you :) 2010-07-14T11:21:05 now i have a question you may be able to answer, when padding an ethernet frame (because the data is too small) , do you take the padding into account to calculate teh CRC ? 2010-07-14T11:21:08 the* 2010-07-14T11:24:23 i'm not 100% sure but I'd think so 2010-07-14T11:24:54 if the hardware would do the crc it wouldn't know what is padding and what not? 2010-07-14T11:26:54 I found a use of the ether_crc32_le routine in rtems/c/src/lib/libbsp/powerpc/psim/network/if_sim.c 2010-07-14T11:27:10 ok thanks :) 2010-07-14T11:27:18 i think you are right 2010-07-14T11:27:19 there you can see how its used 2010-07-14T11:28:53 *** gedare has quit IRC 2010-07-14T11:29:25 that's for packet receiving 2010-07-14T11:29:27 to check the crc32 2010-07-14T11:29:35 i wanna send packet actually =) 2010-07-14T11:29:53 for now, i will need to receive too so i keep this link thx :) 2010-07-14T11:32:03 but when receiving you can see what bytes are checked 2010-07-14T11:32:13 with padding or without 2010-07-14T11:33:03 it should be the same bytes crced ... or it wont interoperate ;-) 2010-07-14T11:34:12 *** gedare has joined #rtems 2010-07-14T11:38:58 *** zwj has quit IRC 2010-07-14T11:42:34 *** exception13 has left #rtems 2010-07-14T11:42:36 *** exception13 has joined #rtems 2010-07-14T12:40:05 gcc-4.5.0 cross for ada failed again in socket.c. http://pastie.org/1044344 I swear I followed rtems-testing/gcc/do_one to the letter =((( 2010-07-14T12:51:34 *** exception13 has left #rtems 2010-07-14T12:52:56 *** exception13 has joined #rtems 2010-07-14T12:53:25 *** aniceberg has joined #rtems 2010-07-14T13:17:48 hi! someone that could change the main webpage? 2010-07-14T13:18:06 it has a link error in the "anonymous CVS" link 2010-07-14T13:18:13 it links to http://www.rtems.orgwiki/index.php/RTEMS_CVS_Repository 2010-07-14T13:18:23 and has to link to http://www.rtems.org/wiki/index.php/RTEMS_CVS_Repository 2010-07-14T13:18:42 can you report it to the mailing list? 2010-07-14T13:24:22 yes 2010-07-14T13:24:27 dev ml? 2010-07-14T13:24:42 i think just rtems-users 2010-07-14T13:32:59 *** aniceberg has quit IRC 2010-07-14T13:36:54 *** michael1_ has joined #rtems 2010-07-14T13:37:37 *** michael1 has quit IRC 2010-07-14T13:48:01 *** gedare has quit IRC 2010-07-14T14:20:53 *** michael1_ has quit IRC 2010-07-14T14:58:12 *** DrJoel has joined #rtems 2010-07-14T14:58:12 *** ChanServ sets mode: +o DrJoel 2010-07-14T15:04:07 *** gedare has joined #rtems 2010-07-14T15:05:02 * DrJoel can't seem to make heads or tails of melange to know who needs to do the eval. :( 2010-07-14T15:05:21 i did mine! 2010-07-14T15:05:37 ps welcome back 2010-07-14T15:09:53 it was a wonderful short trip... a Marriott Resort/Spa about 60 miles from here. Looked like we were at the beach.. tiki bar, palm trees, and all 2010-07-14T15:10:00 I even has a tan!!! 2010-07-14T15:10:02 have 2010-07-14T15:10:03 haha. nice 2010-07-14T15:10:15 but without the oil in the water, eh 2010-07-14T15:10:24 right! and much cheaper! 2010-07-14T15:11:29 http://www.expedia.com/pub/agent.dll?qscr=dspv check out the pictures! 2010-07-14T15:12:14 link doesn't work. 2010-07-14T15:12:28 expedia searches aren't shareable i think 2010-07-14T15:12:51 try this from marriott http://www.marriott.com/hotels/hotel-photos.mi?marshaCode=mslmc&pageID=HWHOM 2010-07-14T15:13:02 ah, pretty 2010-07-14T15:13:23 the aerial shot is nice 2010-07-14T15:16:17 *** michael1 has joined #rtems 2010-07-14T15:16:45 welcome back DrJoel 2010-07-14T15:18:01 thanks.. refreshed and behind LOL 2010-07-14T15:18:29 hi DrJoel, wb :) 2010-07-14T15:18:52 :) 2010-07-14T15:23:44 my powerpc-rtems4.11-gnatmake status is: rtems-testing downloaded, gcc/do_one running "Building Stage 1 compiler (C/C++)..." fingers crossed :P 2010-07-14T15:24:06 michael1: I hope it works... 2010-07-14T15:26:09 well i have been haphazardly trying various combinations of gcc and configure flags, but today i finally broke down and decided to let do_one have a try. 2010-07-14T15:26:49 *** bubaflub has quit IRC 2010-07-14T15:27:41 DrJoel: do you think your original solution of a per-BSP autoconf defining SIZEOF_VOIDP will satisfy ralf? 2010-07-14T15:28:40 I doubt it. It was pretty broad.. it touches at least every sparc, x86, and powerpc BSP. Maybe more 2010-07-14T15:28:55 hi back DrJoel 2010-07-14T15:29:25 DrJoel: the only solution we've hit on otherwise involve modifying every target's ISR handling code. 2010-07-14T15:32:19 I thought of reimplementing part in C but you have to switch the stack in asm and that still requires the offsets 2010-07-14T15:32:50 ralf suggests to write the whole thing in C and using inline assembly to generate the function headers 2010-07-14T15:33:01 so the C function is never directly called. 2010-07-14T15:33:29 good god.. what type of spare time does he have? 2010-07-14T15:34:03 he alternately suggested to set up a variable that the compiler can write sizeof(void*) into, and the assembly can read 2010-07-14T15:34:18 which of course adds some small storage and processing overhead 2010-07-14T15:34:38 and that solution is more workable but the overhead in the most critical part of the OS is unacceptable. 2010-07-14T15:34:46 I added no real execution overhead 2010-07-14T15:35:17 It would be better to generate the structure offsets from autoconf but he seems to want to avoid that... I dont' know why 2010-07-14T15:35:49 well, he wants to avoid installing the offsets anywhere that should support multilib 2010-07-14T15:36:41 Then we move all the ISR code to libcpu and be done with it 2010-07-14T15:39:03 OK. one other thought i had was to hard-code a _CPU_SIZEOF_VOIDP macro in score/cpu/CPU_MODEL/rtems/score/cpu.h ... but I don't think that is any better. 2010-07-14T15:41:44 I don't either.. I think moving the ISR code to libcpu may be the best way.. then the autoconf macro is in fewer places 2010-07-14T15:42:36 so then it will live in libcpu/CPU_MODEL/configure.ac ? 2010-07-14T15:43:01 CPU_ARCH but yes 2010-07-14T15:43:06 er, yeah 2010-07-14T15:43:39 I don't know think we generate and install a "config.h" there though.. that would be new.. but it would be better there. 2010-07-14T15:44:04 strangely the cpukit is multilib'able code but this one strike ralf wrong.. I guess it is because you can't multilib the autoconf check 2010-07-14T15:44:57 yeah.. if you configure and void* is 64-bits, but then you compile for 32- and 64-bit targets after configuring I guess is the problem 2010-07-14T15:45:22 he never actually shows an example why it is wrong so i'm in the dark :) 2010-07-14T15:47:24 unfortunately I teach a class next week.. so development time is short 2010-07-14T15:48:26 I will log moving ISR code to libbsp/XXX/shared or libcpu/XXX/shared and then generating the constant out of the libbsp or libcpu directories.. doesn't bother me where but he has to pick one.. 2010-07-14T15:49:29 i can probably move the code if you like. i think it belongs in libcpu. 2010-07-14T15:50:09 i've done something similar before with sparc64, i split the isr code out to libcpu/sparc64/shared/score/interrupt.S 2010-07-14T15:51:35 it's mostly cut-paste and change makefiles 2010-07-14T15:51:52 let me propose it and see where it goes.. we have to know where to put the autoconf check and where to generate it. I do not like generating it in every libbsp 2010-07-14T15:51:55 k 2010-07-14T15:52:22 just as well, i do have better things to do :) 2010-07-14T15:57:19 sometimes ralf is a bit harsh.. I have found that often he criticizes with no positive solution.. which is not a desirable trait 2010-07-14T15:58:02 yeah i can see that 2010-07-14T15:58:32 mmm,looks like i proposed to do coverage, i should try to run it again 2010-07-14T15:59:00 run what again? 2010-07-14T15:59:09 how to run coverage 2010-07-14T15:59:28 i spent an afternoon trying and failed, maybe i'll try again 2010-07-14T15:59:39 It should be fairly straightforward 2010-07-14T15:59:59 we need to get past the per cpu issue and on to getting your code merged 2010-07-14T16:00:29 yeah. i'm preparing a patchset, part of my mid-term milestone 2010-07-14T16:00:59 would be nice to get it reviewed so that early issues can be resolved. 2010-07-14T16:05:08 *** madrazr has quit IRC 2010-07-14T16:11:35 betcha a beer he says he doesn't care 2010-07-14T16:12:21 :D 2010-07-14T16:40:08 *** exception13 has left #rtems 2010-07-14T16:41:34 what is the minimal amount of RAM needed to run RTEMS? 2010-07-14T16:48:47 methril_work: it depends a bit on the cpu, bsp, and what your application needs to configure 2010-07-14T16:49:05 there is some interesting discussion about minimzing it on the tiny rtems (http://www.rtems.com/wiki/index.php/TinyRTEMS) page 2010-07-14T16:50:04 drjoel might be able to give some ballpark idea perhaps, or you might ask on the list for your particular BSP 2010-07-14T16:51:59 methril_work: does depend and varies a lot .. small apps on Thumb start < 20K. Large apps can grow much much larger. 2010-07-14T16:52:32 Coldfire app LWIP and SNMP came in ~100K. Full BSD TCP/IP stack apps tend to start around 300K code 2010-07-14T16:52:57 but ram varies a lot based upon number of tasks since each has a stack 2010-07-14T17:02:10 DrJoel: is because i'm working with a Coldfire not supported in RTMES (Coldfire v1) at work 2010-07-14T17:02:19 but i'm interested in doing some RTMES work 2010-07-14T17:02:29 drjoel: i posted a tar on the downloads page of my project if you have some downtime to look at it... i'll probably post it to bugzilla when the smoke clears from this percpu business. 2010-07-14T17:02:32 and maybe i could spent some work time 2010-07-14T17:02:49 it has 128K of RAM 2010-07-14T17:03:03 methril_work: which cpu model and what's your goal? Is there flash? 2010-07-14T17:03:08 gedare: I will try to look at it tomorrow 2010-07-14T17:03:12 MCF51JM128 2010-07-14T17:03:23 yes 2010-07-14T17:03:36 How much flash? 2010-07-14T17:04:01 btw drjoel, methril is the one i directed to the mailing list about the broken web page link. i'll leave you two to it and catch some waning sun :) 2010-07-14T17:04:26 128K of flash adn 32K of RAM 2010-07-14T17:04:34 sorry 16K 2010-07-14T17:04:56 ok, thankyou gedare 2010-07-14T17:05:18 i know it works on 2GB DDR RAM of that's helpful :D 2010-07-14T17:06:07 128K of flash is plenty for whatever you can do. But the 16k will have to be watched carefully.. not too many tasks (stacks) and you will have to configure things tight. But should be possible 2010-07-14T17:06:17 limitations obviously.. 2010-07-14T17:06:38 it could be fun and very instructive :) 2010-07-14T17:07:30 if you look in cpukit/rtems/score/cpu/rtems/score/m68k.h, you will see some ifdefs based on other small coldfires to lower the number of supported priorities and stack size 2010-07-14T17:07:48 those can be adjusted by the application 2010-07-14T17:08:28 *** gedare has quit IRC 2010-07-14T17:08:33 you may want to compile the mcf52235 BSP and look at the "minimum" size for it. Or from examples-v2, the "low ticker" examples 2010-07-14T17:08:39 that should let us look at size 2010-07-14T17:11:37 ok, i'll try this BSP 2010-07-14T17:13:16 thank you very much DrJoel :) 2010-07-14T17:13:21 no problem 2010-07-14T17:13:46 at least this BSP gives you a starting point for size comparisons that are valid .. that BSP was used for the LWIP port .. 2010-07-14T17:13:53 * DrJoel needs to file a PR with the LWIP port from the user 2010-07-14T17:14:22 also mcf5225x might be useful 2010-07-14T17:14:51 I think it was the actual BSP that LWIP was ported to 2010-07-14T17:25:14 *** methril__ has quit IRC 2010-07-14T17:25:31 *** methril_work has quit IRC 2010-07-14T17:26:03 *** methril__ has joined #rtems 2010-07-14T17:30:56 *** methril_work has joined #rtems 2010-07-14T17:44:56 *** mikeg has quit IRC 2010-07-14T17:45:02 *** mikeg has joined #rtems 2010-07-14T18:02:42 *** DrJoel has quit IRC 2010-07-14T18:23:14 *** Raj_ has joined #rtems 2010-07-14T18:23:46 *** projectgus has joined #rtems 2010-07-14T21:07:39 *** projectgus has left #rtems 2010-07-14T22:37:58 *** alinrus has quit IRC 2010-07-14T22:44:24 *** dr__house has joined #rtems 2010-07-15T00:05:20 *** dr__house has quit IRC 2010-07-15T00:42:35 *** projectgus has joined #rtems 2010-07-15T01:19:51 *** madrazr has joined #rtems 2010-07-15T01:49:01 *** sebhub has joined #rtems 2010-07-15T01:49:11 good morning 2010-07-15T02:09:10 *** madrazr has quit IRC 2010-07-15T02:09:32 *** madrazr has joined #rtems 2010-07-15T02:12:36 *** projectgus has quit IRC 2010-07-15T02:24:13 *** dr__house has joined #rtems 2010-07-15T02:24:28 *** methril_ has joined #rtems 2010-07-15T02:25:17 *** methril__ has quit IRC 2010-07-15T02:39:58 *** madrazr has quit IRC 2010-07-15T03:25:52 *** exception13 has joined #rtems 2010-07-15T03:45:16 *** dr__house has quit IRC 2010-07-15T03:53:17 *** madrazr has joined #rtems 2010-07-15T04:12:19 *** madrazr has quit IRC 2010-07-15T04:12:19 *** lekernel has quit IRC 2010-07-15T04:12:19 *** n3oo3n has quit IRC 2010-07-15T04:18:38 *** madrazr has joined #rtems 2010-07-15T04:18:38 *** lekernel has joined #rtems 2010-07-15T04:18:38 *** n3oo3n has joined #rtems 2010-07-15T05:12:49 *** alinrus has joined #rtems 2010-07-15T05:13:06 *** tuxmaniac has joined #rtems 2010-07-15T06:22:48 *** tuxmaniac has quit IRC 2010-07-15T06:39:27 *** methril_ has quit IRC 2010-07-15T06:39:58 *** methril_ has joined #rtems 2010-07-15T06:59:20 *** madrazr has quit IRC 2010-07-15T07:17:48 rtems-testing/gcc/do_one failed in the same way my previous attempts did: http://pastie.org/1044344 2010-07-15T07:23:06 you can also compile this file with '-save-temps' or '-Wp,-dD' to resolve the compiler warnings and errors 2010-07-15T07:23:58 ok i'll try that. thanks :) 2010-07-15T07:27:08 would i get better results using gcc-svn? neither of those options is working :( 2010-07-15T07:27:32 these options must work 2010-07-15T07:28:07 i don't know how many patches for ada are included in the svn gcc 2010-07-15T07:28:31 i know there's one that more or less rewrites socket.c 2010-07-15T07:33:43 anyways, i get the same errors with any combination of -save-temps or -Wp,-dD: http://pastie.org/1045537 2010-07-15T07:34:29 yes, but you have now all intermediate files 2010-07-15T07:34:37 in particular the preprocessed file 2010-07-15T07:34:46 here you can look for the error source 2010-07-15T07:36:42 did you write to the mailing list already? it works now 2010-07-15T07:36:55 *** madrazr has joined #rtems 2010-07-15T07:37:19 no i haven't. i received my subscription yesterday, but i guess now that i'm more or less at a dead-end i should ask 2010-07-15T08:14:11 sebhub: i've written a draft, and i'll send it once my current build finishes. suprisingly i was able to hack away the errors so far, it's building the multilib part of Ada :D 2010-07-15T08:16:02 thats good 2010-07-15T08:16:56 i wouldn't be surprised if i end up with a broken compiler though.. 2010-07-15T08:17:05 as far as i remember we had some runtime errors due to inconsistent header files 2010-07-15T08:17:22 i don't know if this is fixed in the recent patches 2010-07-15T08:18:51 the patch i found relating to socket.c was a complete rewrite of everything socket-related in gcc/ada, and i figured it'd be a bad idea to try to apply it on top of gcc-4.5.0 2010-07-15T08:30:52 *** exception13 has left #rtems 2010-07-15T09:04:28 *** bubaflub has joined #rtems 2010-07-15T09:07:52 *** madrazr has quit IRC 2010-07-15T09:23:34 *** exception13 has joined #rtems 2010-07-15T09:35:16 Ada stage 2 cross-compiler successfully built =D I'll include what I changed in the email (not "patches" per-se, i had to delete a few lines...) 2010-07-15T09:44:45 nice, on which architecture PowerPC? 2010-07-15T09:48:51 yes, powerpc-rtems4.11. compiling things and the acats testsuite aren't exactly working at the moment though :/ 2010-07-15T09:49:39 the run_all_rtems.sh script looks like its broken though.. target_gcc is commented out 2010-07-15T09:57:37 *** madrazr has joined #rtems 2010-07-15T10:08:24 *** Raj_ has joined #rtems 2010-07-15T10:13:53 *** peerst has quit IRC 2010-07-15T10:40:31 *** tuxmaniac has joined #rtems 2010-07-15T10:44:36 *** sebhub has quit IRC 2010-07-15T10:54:54 *** dr__house has joined #rtems 2010-07-15T10:57:59 *** madrazr has quit IRC 2010-07-15T11:22:29 *** gedare has joined #rtems 2010-07-15T12:18:01 *** michael1 has quit IRC 2010-07-15T12:27:42 *** bernauer has joined #rtems 2010-07-15T12:36:46 *** tuxmaniac has quit IRC 2010-07-15T12:41:44 Hi. I'm trying to get epics running with rtems on and mvme167 board. Anyone got some experience with that? 2010-07-15T12:43:16 My problem right now: How should the environ pointer get initialized? It is set to zero, and setenv fails. 2010-07-15T12:43:28 you might want to try the mailing list 2010-07-15T12:44:01 i think the epics people are more responsive there:) 2010-07-15T12:44:48 right now the problem is still with rtems. A test program with the rtems shell dies the same way when I try to do a setenv command. 2010-07-15T13:00:53 *** madrazr has joined #rtems 2010-07-15T13:11:23 *** gedare has quit IRC 2010-07-15T13:27:36 *** tuxmaniac has joined #rtems 2010-07-15T14:28:06 *** bernauer has quit IRC 2010-07-15T14:35:23 *** dr__house has quit IRC 2010-07-15T14:50:46 *** tuxmaniac has quit IRC 2010-07-15T15:23:00 *** alinrus has quit IRC 2010-07-15T15:56:33 *** madrazr has quit IRC 2010-07-15T16:18:27 *** bubaflub has quit IRC 2010-07-15T16:32:33 mwalle: & lekernel < i have just done my google soc paper work for mid term 2010-07-15T16:33:04 can you see if my paper work status is "OK" from your side of the web site ? 2010-07-15T16:33:08 Joel can 2010-07-15T16:33:52 i am away from Paris for 2 days i will focus better without internet on this *****ing ethernet driver 2010-07-15T16:34:06 i still have 3g for googling 2010-07-15T16:34:48 *** bernauer has joined #rtems 2010-07-15T16:38:34 *** kiwichris has joined #rtems 2010-07-15T16:46:45 *** kiwichris has quit IRC 2010-07-15T16:47:02 *** madrazr has joined #rtems 2010-07-15T17:17:06 *** exception13 has left #rtems 2010-07-15T17:26:25 *** projectgus has joined #rtems 2010-07-15T17:29:46 *** madrazr has quit IRC 2010-07-15T18:16:15 *** bernauer is now known as davros 2010-07-15T20:45:23 *** methril__ has joined #rtems 2010-07-15T20:46:32 *** methril_ has quit IRC 2010-07-15T21:14:46 *** Raj_ has quit IRC 2010-07-15T22:44:02 *** methril__ has quit IRC 2010-07-15T22:44:28 *** methril__ has joined #rtems 2010-07-15T23:22:18 *** methril_ has joined #rtems 2010-07-15T23:23:37 *** methril__ has quit IRC 2010-07-16T01:32:48 *** projectgus has quit IRC 2010-07-16T01:50:02 *** sebhub has joined #rtems 2010-07-16T01:50:24 good morning 2010-07-16T03:04:18 *** _Lucretia__ has joined #rtems 2010-07-16T03:04:19 *** _Lucretia_ has quit IRC 2010-07-16T03:17:16 *** exception13 has joined #rtems 2010-07-16T05:06:35 *** madrazr has joined #rtems 2010-07-16T06:37:58 morning 2010-07-16T07:08:29 *** methril_work has quit IRC 2010-07-16T07:17:10 *** zwj has joined #rtems 2010-07-16T07:28:44 *** tuxmaniac has joined #rtems 2010-07-16T07:30:45 *** exception13 has left #rtems 2010-07-16T07:37:18 *** DrJoel has joined #rtems 2010-07-16T07:37:18 *** ChanServ sets mode: +o DrJoel 2010-07-16T07:43:26 sebhub: what was broken on arm? 2010-07-16T07:43:56 DrJoel: did you get some stime to cross check my comments for alinrus? 2010-07-16T07:44:10 DrJoel: today I will review the remaining .c file as well 2010-07-16T07:44:24 tuxmaniac: code comments? no.. worried about gsoc reviews and class next week LOL 2010-07-16T07:44:59 DrJoel: all reviews should have been in by now? NO? 2010-07-16T07:45:28 should be.. yes... 2010-07-16T07:45:39 are .. likely missing one.. 2010-07-16T07:59:00 *** DrJoel has quit IRC 2010-07-16T07:59:52 *** madrazr has quit IRC 2010-07-16T08:11:32 *** aniceberg has joined #rtems 2010-07-16T08:24:13 *** exception13 has joined #rtems 2010-07-16T08:40:44 *** bubaflub has joined #rtems 2010-07-16T08:41:47 *** sebhub has quit IRC 2010-07-16T09:03:37 *** methril_ has quit IRC 2010-07-16T09:04:04 *** methril_ has joined #rtems 2010-07-16T09:08:46 *** Raj_ has joined #rtems 2010-07-16T09:23:09 *** dr__house has joined #rtems 2010-07-16T09:58:42 *** bernauer has joined #rtems 2010-07-16T10:07:22 *** methril has joined #rtems 2010-07-16T10:07:45 *** methril is now known as methri_sork 2010-07-16T10:07:51 *** methri_sork is now known as methri_work 2010-07-16T10:08:16 If I don't need C++ in my applications, do I need a target C++ compiler? gcc/do_one isn't very clear on which languages are needed.. native has c,ada. gcc1 has c,c++. gcc2 has c,ada 2010-07-16T10:09:00 *** lekernel has quit IRC 2010-07-16T10:09:10 *** gedare has joined #rtems 2010-07-16T10:09:17 *** bernauer is now known as jcb 2010-07-16T10:09:35 *** jcb is now known as jan_ 2010-07-16T10:10:10 mikeg: No I don't think so 2010-07-16T10:10:35 Ok thank you 2010-07-16T10:21:22 *** lekernel has joined #rtems 2010-07-16T10:25:53 *** aniceberg has quit IRC 2010-07-16T10:36:36 *** dr__house` has joined #rtems 2010-07-16T10:36:36 *** dr__house` has joined #rtems 2010-07-16T10:38:34 *** aniceberg has joined #rtems 2010-07-16T10:39:10 *** dr__house has quit IRC 2010-07-16T10:55:06 *** jan_ has quit IRC 2010-07-16T12:04:43 *** tuxmaniac has quit IRC 2010-07-16T12:41:20 *** zwj has quit IRC 2010-07-16T12:45:57 *** dr__house` is now known as dr__house 2010-07-16T12:46:04 *** dr__house is now known as dr__house` 2010-07-16T12:46:12 *** dr__house` is now known as dr__house 2010-07-16T12:50:11 *** exception13 has left #rtems 2010-07-16T12:52:06 *** exception13 has joined #rtems 2010-07-16T13:13:48 *** alinrus has joined #rtems 2010-07-16T13:20:12 *** Raj_ has quit IRC 2010-07-16T13:30:58 *** bubaflub has quit IRC 2010-07-16T13:47:54 *** bubaflub has joined #rtems 2010-07-16T13:50:45 *** gedare has quit IRC 2010-07-16T14:10:54 any m68k expert? 2010-07-16T14:31:49 *** gedare has joined #rtems 2010-07-16T14:33:49 *** aniceberg has quit IRC 2010-07-16T14:55:43 *** _Lucretia__ is now known as _Lucretia_ 2010-07-16T14:55:49 *** _Lucretia_ has joined #rtems 2010-07-16T15:02:35 *** alinrus has left #rtems 2010-07-16T15:17:15 *** kiwichris has joined #rtems 2010-07-16T15:31:29 someone working with gcc4.5? 2010-07-16T15:32:23 how do you mean? 2010-07-16T15:32:50 using gcc-4.5 to compile :) 2010-07-16T15:33:07 they changed a generated macro for a cpu family 2010-07-16T15:33:59 and i don't know how to proceed, if i change the checking macro in newlib or if i try to fix it in gcc 2010-07-16T15:34:06 http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00568.html 2010-07-16T15:34:27 look at the m51qe devices change family field (3rd field) 2010-07-16T15:34:47 oh i see 2010-07-16T15:36:03 you dev hand-by-hand with gcc & newlib guys 2010-07-16T15:36:11 GCC is upstream of newlib. It looks like a patch is needed for newlib 2010-07-16T15:36:15 any advice on how to proceed? 2010-07-16T15:36:24 ok 2010-07-16T15:36:28 if gcc has the fix but newlib doesn't, that would be the way to go 2010-07-16T15:36:33 i'll try this approach then 2010-07-16T15:36:37 Please create the patch etc and post to the newlib list. 2010-07-16T15:36:41 if you get it working, post...ya 2010-07-16T15:36:51 hi chris. 2010-07-16T15:36:55 Hi 2010-07-16T15:36:55 i've it working here 2010-07-16T15:37:01 Great. 2010-07-16T15:37:03 i'll prepare a patch 2010-07-16T15:37:10 Which v1 device ? 2010-07-16T15:37:11 I'm copying the confdefs method for configuring filesystems as a way to configure schedulers... 2010-07-16T15:37:22 m51jm 2010-07-16T15:37:22 Nice. 2010-07-16T15:37:22 does that seem reasonable 2010-07-16T15:37:25 128 one 2010-07-16T15:37:36 methri_work, nice. 2010-07-16T15:37:49 methri_work, any debugging support ? 2010-07-16T15:37:58 gedare, this seems like a good idea. 2010-07-16T15:38:05 i'm step by step to get newlib and later on rtems 2010-07-16T15:38:18 kiwichris: ok good thanks. hard to get a hold of Joel lately, so I thought I'd just give it a go. 2010-07-16T15:38:33 kiwichris: i don't know, i hope to work mostly 2010-07-16T15:38:43 gedare, I am also away in NZ. On a lake called Hawea 2010-07-16T15:38:45 all the instructions :) 2010-07-16T15:39:13 kiwichris: sounds nice, i hope you have a laptop and a beer 2010-07-16T15:39:38 methri_work, does the board have a debug port (BDM) ? 2010-07-16T15:39:46 gedare, it is 8am :) 2010-07-16T15:40:00 oops! a blooody mary? 2010-07-16T15:40:01 ;) 2010-07-16T15:40:04 kiwichris, yes 2010-07-16T15:40:10 gedare, some very nice wine makers around here 2010-07-16T15:40:22 kiwichris, the next step is to try to use your bdm tool ;) 2010-07-16T15:40:26 kiwichris: i'd like to visit that area sometime, although i don't want the flight. 2010-07-16T15:40:34 methri_work, any idea that protocol ? 2010-07-16T15:40:57 kiwichris, it's the cs08 one 2010-07-16T15:41:07 1 wire 2010-07-16T15:41:11 gedare, oh come on, us Kiwi's always fly up your way 2010-07-16T15:41:52 methri_work, I suspect BDM will not work out of the box. I suspect we need add to support. 2010-07-16T15:41:55 kiwichris, lucky you that are on holidays 2010-07-16T15:42:00 1 wire is awesome :p 2010-07-16T15:42:17 *** dr__house has quit IRC 2010-07-16T15:42:27 kiwichris, well, then we have to code some lines in the BDM project ;) 2010-07-16T15:43:03 methri_work, yeah. Does it have a USB port or a separate adaptor ? 2010-07-16T15:43:34 it has a USB port with a P&E BDM integrated on Board 2010-07-16T15:43:54 but i would like to get a USBDM device working with it too 2010-07-16T15:44:10 methri_work, of the osbdm or what ever freescale call it ? 2010-07-16T15:44:54 must go and pack to head to Sydney 2010-07-16T15:44:57 well, is a "win" opensource project based on OSBDM, but with more features and multi-device support 2010-07-16T15:45:30 methri_work, yes this is the next task for the BDM project, including OSBDM as a package 2010-07-16T15:46:07 kiwichris, take a look here http://opax.swin.edu.au/~3340694/USBDM/USBDM/html/ 2010-07-16T15:46:34 kiwichris: hate to interrupt, but did you send in the mid-term review for GSoC? 2010-07-16T15:48:23 it's there a macro to check the GCC version at? 2010-07-16T15:48:39 i think gcc has a builtin like __version__ or something ... 2010-07-16T15:48:47 but don't quote me on that one ;) 2010-07-16T15:49:29 gedare, thank you 2010-07-16T15:51:35 methri_work: __VERSION__ is a string that will return the version 2010-07-16T16:04:43 it's this coding aceptable to newlib? http://pastebin.com/iZfd4119 2010-07-16T16:04:55 s/coding/coding style 2010-07-16T16:05:52 Should newlib be changed to __mcf_family_51 ? 2010-07-16T16:06:10 don't know. you mispelt change 2010-07-16T16:06:42 kiwichris, yes with gcc >= 4.5.0 2010-07-16T16:06:46 If GCC has changed should newlib follow the change rather than filter it ? 2010-07-16T16:06:57 Ok 2010-07-16T16:08:32 i'll send a patch to newlib ml 2010-07-16T16:09:04 cc the rtems ml too 2010-07-16T16:12:01 ups!! i'll send to rtems too 2010-07-16T16:18:03 *** exception13 has left #rtems 2010-07-16T16:31:16 i sen't the wrong patch 2010-07-16T16:31:25 monday morning i'll send a working one 2010-07-16T16:31:28 bye 2010-07-16T16:36:11 *** krzabr has joined #rtems 2010-07-16T16:37:48 *** methri_work has quit IRC 2010-07-16T16:55:32 *** bubaflub has quit IRC 2010-07-16T17:17:29 *** gedare has quit IRC 2010-07-16T17:26:40 *** krzabr has quit IRC 2010-07-16T17:26:48 *** kiwichris has quit IRC 2010-07-16T18:55:55 *** methril_ has quit IRC 2010-07-16T18:59:49 *** methril_ has joined #rtems 2010-07-16T23:29:20 *** methril__ has joined #rtems 2010-07-16T23:30:27 *** methril_ has quit IRC 2010-07-17T01:41:15 *** madrazr has joined #rtems 2010-07-17T01:46:49 *** madrazr has quit IRC 2010-07-17T04:17:54 *** exception13 has joined #rtems 2010-07-17T05:11:25 *** madrazr has joined #rtems 2010-07-17T05:40:15 *** Raj_ has joined #rtems 2010-07-17T06:02:54 *** lekernel has quit IRC 2010-07-17T06:06:54 *** exception13 has left #rtems 2010-07-17T06:06:57 *** exception13 has joined #rtems 2010-07-17T06:24:23 *** lekernel has joined #rtems 2010-07-17T06:35:54 *** tuxmaniac has joined #rtems 2010-07-17T07:20:31 *** krzabr has joined #rtems 2010-07-17T07:53:30 *** Raj_ has quit IRC 2010-07-17T08:04:37 *** madrazr has quit IRC 2010-07-17T08:23:38 *** krzabr has quit IRC 2010-07-17T08:43:02 *** zwj has joined #rtems 2010-07-17T08:43:51 *** madrazr has joined #rtems 2010-07-17T09:08:02 *** madrazr has quit IRC 2010-07-17T11:08:06 *** exception13 has left #rtems 2010-07-17T11:24:17 *** exception13 has joined #rtems 2010-07-17T11:46:47 *** Raj_ has joined #rtems 2010-07-17T11:54:58 *** krzabr has joined #rtems 2010-07-17T11:55:58 how many loc have rtems source ? 2010-07-17T11:56:54 *** zwj has quit IRC 2010-07-17T12:55:15 *** krzabr has quit IRC 2010-07-17T13:02:53 *** exception13 has left #rtems 2010-07-17T13:02:57 *** exception13 has joined #rtems 2010-07-17T13:14:02 *** exception13 has left #rtems 2010-07-17T13:18:17 *** madrazr has joined #rtems 2010-07-17T14:07:07 *** exception13 has joined #rtems 2010-07-17T15:40:51 *** Raj_ has quit IRC 2010-07-17T16:08:55 *** exception13 has left #rtems 2010-07-17T16:09:01 *** exception13 has joined #rtems 2010-07-17T16:32:37 *** bernauer has joined #rtems 2010-07-17T17:03:33 *** exception13 has left #rtems 2010-07-17T18:13:20 *** tuxmaniac has quit IRC 2010-07-18T02:41:36 *** madrazr has joined #rtems 2010-07-18T02:59:59 *** exception13 has joined #rtems 2010-07-18T03:10:18 *** exception13 has left #rtems 2010-07-18T03:10:21 *** exception13 has joined #rtems 2010-07-18T03:18:57 *** madrazr has quit IRC 2010-07-18T05:53:35 *** exception13 has quit IRC 2010-07-18T05:53:35 *** n3oo3n has quit IRC 2010-07-18T05:54:14 *** exception13 has joined #rtems 2010-07-18T05:54:14 *** n3oo3n has joined #rtems 2010-07-18T07:13:35 *** kv has joined #rtems 2010-07-18T07:50:03 *** kv has quit IRC 2010-07-18T08:32:53 *** zwj has joined #rtems 2010-07-18T08:52:37 *** kuzew has joined #rtems 2010-07-18T09:07:11 *** lekernel has quit IRC 2010-07-18T09:10:41 *** lekernel has joined #rtems 2010-07-18T10:25:02 *** methril__ is now known as methril 2010-07-18T11:24:41 *** madrazr has joined #rtems 2010-07-18T11:40:15 *** zwj has quit IRC 2010-07-18T11:53:30 *** Raj_ has joined #rtems 2010-07-18T12:09:58 * Fallenou can send ethernet packets \o/ 2010-07-18T12:26:40 *** dr__house has joined #rtems 2010-07-18T12:35:36 *** _Lucretia_ has quit IRC 2010-07-18T12:38:19 *** tuxmaniac has joined #rtems 2010-07-18T12:45:29 *** tuxmaniac has quit IRC 2010-07-18T12:48:30 *** tuxmaniac has joined #rtems 2010-07-18T12:51:17 *** dr__house has quit IRC 2010-07-18T12:52:57 *** arvind_khadri has joined #rtems 2010-07-18T13:05:45 *** _Lucretia_ has joined #rtems 2010-07-18T13:20:49 *** Raj_ has joined #rtems 2010-07-18T13:27:59 *** Raj_ has quit IRC 2010-07-18T13:36:10 *** Raj_ has joined #rtems 2010-07-18T13:45:56 *** arvind_khadri has quit IRC 2010-07-18T13:57:09 *** lekernel has quit IRC 2010-07-18T14:09:20 *** lekernel has joined #rtems 2010-07-18T14:16:03 *** kuzew has quit IRC 2010-07-18T14:22:19 *** kuzew has joined #rtems 2010-07-18T14:25:23 *** kuzew has quit IRC 2010-07-18T14:27:07 *** krzabr has joined #rtems 2010-07-18T14:27:19 *** kuzew has joined #rtems 2010-07-18T14:36:36 *** tuxmaniac has quit IRC 2010-07-18T14:54:01 *** Raj_ has quit IRC 2010-07-18T15:08:21 *** krzabr has quit IRC 2010-07-18T16:04:31 *** exception13 has left #rtems 2010-07-18T16:42:05 *** kuzew has quit IRC 2010-07-18T16:43:43 *** kuzew has joined #rtems 2010-07-18T18:14:43 *** projectgus has joined #rtems 2010-07-18T18:51:54 *** kiwichris has joined #rtems 2010-07-18T20:00:49 *** methril has quit IRC 2010-07-18T20:22:03 *** methril has joined #rtems 2010-07-18T21:21:52 *** Raj_ has joined #rtems 2010-07-18T21:22:56 *** mikeg has quit IRC 2010-07-18T21:23:19 *** mikeg has joined #rtems 2010-07-18T21:26:12 *** Raj_ has quit IRC 2010-07-18T21:36:02 *** Raj_ has joined #rtems 2010-07-18T21:56:17 *** mikeg has quit IRC 2010-07-18T22:12:45 *** methril has quit IRC 2010-07-18T22:13:03 *** methril has joined #rtems 2010-07-18T22:58:38 *** Raj__ has joined #rtems 2010-07-18T23:01:54 *** Raj_ has quit IRC 2010-07-18T23:33:22 *** aniceberg has joined #rtems