2013-08-12T00:03:11 *** monstr_ has joined #rtems 2013-08-12T02:02:10 *** sebhub has joined #rtems 2013-08-12T02:06:59 good morning 2013-08-12T03:14:16 sebhub, is there any reason not to build newlib with all the encodings ? Does it bloat the runtime is not used ? 2013-08-12T03:50:01 *** arvind_khadri has joined #rtems 2013-08-12T05:54:14 *** tictoc has joined #rtems 2013-08-12T06:29:21 if you use iconv() then all the stuff is linked in 2013-08-12T06:29:37 it is possible to dynamically add the tables, but i don't know how 2013-08-12T06:30:10 i asked this on the newlib list, but got no answer, i suppose this is not an often used feature (the iconv()) 2013-08-12T07:02:08 can I create / write a text file from the RTEMS shell? 2013-08-12T07:07:18 there is no editor for the rtems shell, but you can port "ed" if you want ;-) 2013-08-12T07:26:44 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-08-12T07:42:27 *** freenix has joined #rtems 2013-08-12T07:50:06 no thanks :). I just added a custom user command 2013-08-12T08:00:42 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-08-12T08:34:54 *** MegaAlex|away is now known as MegaAlex 2013-08-12T09:26:34 *** sebhub has quit IRC (Ping timeout: 246 seconds) 2013-08-12T09:47:11 *** freenix has quit IRC (Remote host closed the connection) 2013-08-12T10:13:23 *** antgreen has joined #rtems 2013-08-12T10:50:55 *** antgreen has quit IRC (Read error: Operation timed out) 2013-08-12T11:08:39 *** antgreen has joined #rtems 2013-08-12T11:13:54 *** tictoc has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]) 2013-08-12T11:41:53 *** monstr_ has quit IRC (Ping timeout: 240 seconds) 2013-08-12T12:15:17 *** antgreen has quit IRC (Ping timeout: 248 seconds) 2013-08-12T12:31:55 *** antgreen has joined #rtems 2013-08-12T14:57:41 *** antgreen has quit IRC (Read error: Operation timed out) 2013-08-12T18:26:11 *** MegaAlex is now known as MegaAlex|away 2013-08-12T18:33:55 *** antgreen has joined #rtems 2013-08-12T19:05:50 *** antgreen has quit IRC (Read error: Operation timed out) 2013-08-12T21:44:26 *** antgreen has joined #rtems 2013-08-13T00:05:49 *** monstr_ has joined #rtems 2013-08-13T00:44:05 *** sebhub has joined #rtems 2013-08-13T00:45:08 good morning 2013-08-13T01:24:44 *** arvind_khadri has joined #rtems 2013-08-13T01:45:26 *** tictoc has joined #rtems 2013-08-13T02:02:10 sebhub, with the iconv should the tools be built with the large list of encodings ? 2013-08-13T02:07:16 yes, otherwise the iconv is just an empty function 2013-08-13T02:07:21 sebhub, with pthread_once and the need for a mutex should I always add 1 to the number on confdefs.h or check is the user has used --enable-cxx ? 2013-08-13T02:07:45 some architectures (e.g. AVR) cannot use this iconv support 2013-08-13T02:07:45 sebhub, I will add this to the RSB so iconv does the right thing 2013-08-13T02:07:52 since some arrays are too large 2013-08-13T02:08:09 I can disable it in the arch specific configuration 2013-08-13T02:26:29 sebhub, came across a massive hack in gcc libstdc++v3 support today 2013-08-13T02:27:03 There is a directory called include and it copies the thread support headers from libgcc and munches them with sed 2013-08-13T02:27:34 and there is a specific support to manage funny cases so you edit the header this stuff breaks 2013-08-13T02:40:15 dealing with gcc internals is always a pleasure 2013-08-13T03:03:23 sebhub, a mutex for pthread_once will not work 2013-08-13T03:05:06 why? 2013-08-13T03:06:26 I single mutex is taken and in the init handler it calls pthread_once 2013-08-13T03:07:22 Having a mutex per pthread_once_t is no good because there is no destroy 2013-08-13T03:08:10 I need to track the state in the pthread_once_t and error on an init neating on the same pthread_once_t 2013-08-13T03:08:11 one mutex for all pthread once 2013-08-13T03:08:20 It nests 2013-08-13T03:08:32 e.g. the allocator mutex 2013-08-13T03:08:39 huh ? 2013-08-13T03:08:40 use a recursive mutex 2013-08-13T03:09:13 Yes, I then need to track the state to catch the same once struct nesting which is a bug 2013-08-13T03:09:49 It is not an optimal approach because the once calls are serialised 2013-08-13T03:10:37 its not optimal, but what is the optimal approach? 2013-08-13T03:11:25 A task queue in each pthread_once_t 2013-08-13T03:11:43 How important it is I do not know. 2013-08-13T03:12:11 I also need to add stuff to confdefs.h to manage the POSIX resources used by libstdc 2013-08-13T03:12:17 ++ 2013-08-13T03:12:49 the RTEMS workspace approach has its problem with all this dynamic stuff 2013-08-13T03:13:12 Yes 2013-08-13T03:13:37 If you enable Go support the number of mutexes is set to 1 2013-08-13T03:13:51 There are so many corner cases 2013-08-13T03:27:43 sebhub, in _POSIX_Once_Manager_initialization if I cannot init a mutex I need to raise a fatal error. What error should I raise ? 2013-08-13T03:28:36 you need an internal mutex 2013-08-13T03:28:46 huh ? 2013-08-13T03:29:06 which function do you use to allocate the mutex? 2013-08-13T03:29:27 A new one called _POSIX_Once_Manager_initialization 2013-08-13T03:29:55 is it a classic, posix or internal mutex 2013-08-13T03:30:03 POSIX 2013-08-13T03:30:25 What is an internal mutex ? 2013-08-13T03:30:34 the allocator mutex for example 2013-08-13T03:30:50 Ah ok. I will take a look. That maybe what I am after 2013-08-13T03:30:55 _API_Mutex_Allocate 2013-08-13T03:31:07 object id based ? 2013-08-13T03:31:40 it is an object, but the id is not used 2013-08-13T03:31:49 quite a crazy construct 2013-08-13T03:32:00 Hmm ok 2013-08-13T03:32:05 I will take a look 2013-08-13T03:33:38 nesting ? 2013-08-13T03:33:52 is allowed 2013-08-13T03:34:30 This is a POSIX specific mutex. 2013-08-13T03:35:04 I may leave it within the posix bits 2013-08-13T03:35:19 I see the apimutex.h has specifics for the allocator. 2013-08-13T04:11:28 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2013-08-13T04:24:56 *** arvind_khadri has joined #rtems 2013-08-13T05:40:34 *** MegaAlex|away has quit IRC (*.net *.split) 2013-08-13T05:46:34 *** MegaAlex|away has joined #rtems 2013-08-13T06:03:52 *** MegaAlex|away is now known as MegaAlex 2013-08-13T06:21:11 Hey, I am trying to send a UDP package from RTEMS running in Qemu my Linux host OS. The tap interface is configured with the IP 10.1.2.2, which I also specified as the target address in my RTEMS application. The package does arrive in Linux, but tcpdump tells mit it gets rejected with the following message: 2013-08-13T06:21:13 13:13:05.201823 IP 10.1.2.5.50002 > 10.1.2.2.50002: UDP, length 10 2013-08-13T06:21:14 13:13:05.201878 IP 10.1.2.2 > 10.1.2.5: ICMP host 10.1.2.2 unreachable - admin prohibited, length 46 2013-08-13T06:21:32 Am I missing something or did I configure something wrong? 2013-08-13T06:25:20 ah I think it might be the firewall after all 2013-08-13T06:36:55 yep got it working 2013-08-13T09:34:20 *** tictoc has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]) 2013-08-13T10:12:09 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-08-13T10:34:01 *** antgreen has quit IRC (Ping timeout: 246 seconds) 2013-08-13T13:30:27 *** antgreen has joined #rtems 2013-08-13T14:18:56 *** monstr_ has quit IRC (Remote host closed the connection) 2013-08-13T19:52:30 *** peerst has quit IRC (Ping timeout: 245 seconds) 2013-08-13T20:27:39 *** MegaAlex is now known as MegaAlex|away 2013-08-13T20:55:54 *** peerst has joined #rtems 2013-08-13T23:53:04 *** sebhub has quit IRC (Ping timeout: 246 seconds) 2013-08-14T00:23:25 *** arvind_khadri has joined #rtems 2013-08-14T00:40:45 *** sebhub has joined #rtems 2013-08-14T02:00:09 *** arvind_khadri has quit IRC (Ping timeout: 264 seconds) 2013-08-14T02:14:36 sebhub, hi 2013-08-14T02:15:12 *** sebhub has quit IRC (Ping timeout: 256 seconds) 2013-08-14T02:16:27 Hmm 2013-08-14T02:36:49 *** tictoc has joined #rtems 2013-08-14T02:51:33 *** arvind_khadri has joined #rtems 2013-08-14T03:50:19 *** S_Somani has joined #rtems 2013-08-14T04:03:52 *** arvind_khadri has quit IRC (Read error: Connection reset by peer) 2013-08-14T04:05:07 *** arvind_khadri has joined #rtems 2013-08-14T04:08:41 *** arvind_khadri has quit IRC (Read error: No route to host) 2013-08-14T04:10:07 *** arvind_khadri has joined #rtems 2013-08-14T04:27:07 *** arvind_khadri has quit IRC (Ping timeout: 246 seconds) 2013-08-14T04:39:50 *** MegaAlex|away is now known as MegaAlex 2013-08-14T04:53:11 *** sebhub has joined #rtems 2013-08-14T05:20:26 sebhub, thanks for the typo fix 2013-08-14T07:16:14 *** arvind_khadri has joined #rtems 2013-08-14T07:33:40 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2013-08-14T07:41:02 *** arvind_khadri has joined #rtems 2013-08-14T08:12:31 *** sebhub has quit IRC (Ping timeout: 246 seconds) 2013-08-14T08:12:42 *** sebhub has joined #rtems 2013-08-14T08:27:10 *** S_Somani has left #rtems 2013-08-14T09:17:01 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-08-14T09:34:23 *** sebhub has quit IRC (Remote host closed the connection) 2013-08-14T12:12:11 *** tictoc has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]) 2013-08-14T12:55:24 *** MegaAlex is now known as MegaAlex|away 2013-08-14T15:43:35 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2013-08-14T18:38:03 *** kiwichris has joined #rtems 2013-08-14T19:02:37 *** beng-nl has quit IRC (Read error: Connection reset by peer) 2013-08-14T19:02:45 *** beng-nl has joined #rtems 2013-08-14T22:48:25 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2013-08-14T23:24:07 *** kiwichris has joined #rtems 2013-08-15T00:56:24 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2013-08-15T01:10:18 *** kiwichris has joined #rtems 2013-08-15T01:49:16 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2013-08-15T02:02:46 *** kiwichris has joined #rtems 2013-08-15T02:56:49 *** keon has joined #rtems 2013-08-15T02:57:54 *** keon has quit IRC (Client Quit) 2013-08-15T05:31:57 *** tictoc has joined #rtems 2013-08-15T09:01:28 *** dhananjay has joined #rtems 2013-08-15T09:02:15 *** dhananjay has quit IRC (Client Quit) 2013-08-15T09:08:13 *** dhananjay has joined #rtems 2013-08-15T10:42:49 *** tictoc has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]) 2013-08-15T11:08:14 *** S_Somani has joined #rtems 2013-08-15T11:37:34 *** arvind_khadri has joined #rtems 2013-08-15T11:50:50 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2013-08-15T13:38:58 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-08-15T13:58:14 *** S_Somani has left #rtems 2013-08-15T15:33:57 *** antgreen has joined #rtems 2013-08-16T02:28:21 *** tictoc has joined #rtems 2013-08-16T02:47:30 *** rokka has quit IRC (Ping timeout: 245 seconds) 2013-08-16T11:21:08 *** tictoc has quit IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]) 2013-08-16T13:27:09 *** arvind_khadri has joined #rtems 2013-08-16T16:26:18 *** arvind_khadri has quit IRC (Ping timeout: 264 seconds) 2013-08-16T20:08:07 *** antgreen has quit IRC (Quit: Leaving) 2013-08-16T20:11:12 *** freenix has joined #rtems 2013-08-16T22:28:34 *** arvind_khadri has joined #rtems 2013-08-16T22:48:01 hi,kiwichris 2013-08-16T23:12:42 hey 2013-08-17T00:51:53 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-08-17T01:25:35 hi,kiwichris 2013-08-17T04:45:39 *** freenix has quit IRC (Quit: Leaving) 2013-08-17T07:06:38 *** phipse has joined #rtems 2013-08-17T09:43:02 *** S_Somani has joined #rtems 2013-08-17T10:04:40 *** phipse has quit IRC (Ping timeout: 264 seconds) 2013-08-17T10:28:53 *** S_Somani has left #rtems 2013-08-17T11:07:56 *** phipse has joined #rtems 2013-08-17T13:22:34 *** salil93 has joined #rtems 2013-08-17T13:26:28 Hello 2013-08-17T13:27:32 I am new to RTEMS and need some guidance 2013-08-17T13:42:11 *** S_Somani has joined #rtems 2013-08-17T13:47:10 *** salil93 has quit IRC (Ping timeout: 246 seconds) 2013-08-17T14:06:52 *** salil93 has joined #rtems 2013-08-17T14:10:09 *** S_Somani has left #rtems 2013-08-17T15:28:10 *** salil93 has quit IRC (Quit: Leaving) 2013-08-17T18:29:38 *** phipse has quit IRC (Quit: leaving) 2013-08-18T01:52:29 *** S_Somani has joined #rtems 2013-08-18T04:32:46 *** S_Somani has left #rtems 2013-08-18T04:32:49 *** freenix has joined #rtems 2013-08-18T09:13:52 *** freenix has quit IRC (Quit: Leaving) 2013-08-18T10:19:14 *** S_Somani has joined #rtems 2013-08-18T10:56:55 *** S_Somani has left #rtems 2013-08-18T19:55:33 *** freenix has joined #rtems 2013-08-18T22:20:32 *** freenix has quit IRC (Quit: Leaving) 2013-08-18T23:10:29 *** antgreen has joined #rtems 2013-08-18T23:26:43 *** monstr__ has joined #rtems