2016-05-09T05:40:56 *** sebhub has joined #rtems 2016-05-09T05:47:42 *** monstr has joined #rtems 2016-05-09T11:07:14 [git] c70f9d1 by Sebastian Huber: [bsp/qoriq: Set M and G bits in ENTRY_DEV_CACHED() Set M and G MMU attribute bits in ENTRY_DEV_CACHED().] http://devel.rtems.org/changeset/c70f9d1/rtems 2016-05-09T11:07:15 [git] f57f513 by Sebastian Huber: [bsp/qoriq: Add portal clear functions] http://devel.rtems.org/changeset/f57f513/rtems 2016-05-09T14:06:02 *** monstr has quit IRC 2016-05-09T14:13:47 *** dougk_ has joined #rtems 2016-05-09T15:42:32 *** jkridner has joined #rtems 2016-05-09T15:43:38 *** jkridner has joined #rtems 2016-05-09T17:44:11 *** mumptai has joined #rtems 2016-05-09T18:29:07 *** jkridner has quit IRC 2016-05-09T18:32:24 *** beng-nl has joined #rtems 2016-05-09T18:39:21 *** jkridner has joined #rtems 2016-05-09T18:46:36 *** peerst has quit IRC 2016-05-09T18:48:56 *** peerst has joined #rtems 2016-05-09T19:02:03 *** mumptai has quit IRC 2016-05-09T19:04:34 *** mumptai has joined #rtems 2016-05-09T19:14:41 *** mumptai has quit IRC 2016-05-09T19:34:37 *** mumptai has joined #rtems 2016-05-09T19:57:42 *** sirfranklin has quit IRC 2016-05-09T20:14:51 *** sirfranklin has joined #rtems 2016-05-09T22:40:43 *** mumptai has quit IRC 2016-05-10T03:01:01 *** indy has quit IRC 2016-05-10T04:08:04 *** indy has joined #rtems 2016-05-10T04:19:05 *** monstr has joined #rtems 2016-05-10T04:42:30 *** jkridner has quit IRC 2016-05-10T06:09:54 *** jkridner has joined #rtems 2016-05-10T06:15:10 *** jkridner has joined #rtems 2016-05-10T06:21:10 *** jkridner has joined #rtems 2016-05-10T06:39:09 *** jkridner has quit IRC 2016-05-10T06:43:07 *** jkridner has joined #rtems 2016-05-10T06:43:40 *** jkridner has quit IRC 2016-05-10T06:52:04 *** jkridner has joined #rtems 2016-05-10T09:03:46 *** jkridner has quit IRC 2016-05-10T09:04:23 *** jkridner has joined #rtems 2016-05-10T11:57:01 *** guillaum1 has quit IRC 2016-05-10T13:01:19 *** guillaum1 has joined #rtems 2016-05-10T13:10:32 *** guillaum1 has quit IRC 2016-05-10T13:50:33 *** jkridner has quit IRC 2016-05-10T13:51:12 *** jkridner has joined #rtems 2016-05-10T13:58:49 *** jkridner has quit IRC 2016-05-10T14:47:00 *** jkridner has joined #rtems 2016-05-10T15:11:06 *** jkridner has quit IRC 2016-05-10T15:11:43 *** jkridner has joined #rtems 2016-05-10T16:44:20 [trac] GSoC/2016/LwIPwithRTEMS created http://devel.rtems.org/wiki/GSoC/2016/LwIPwithRTEMS 2016-05-10T16:45:20 [trac] GSoC/2016/LwIPwithRTEMS edited by sacha (empty comment) http://devel.rtems.org/wiki/GSoC/2016/LwIPwithRTEMS 2016-05-10T16:53:46 [trac] GSoC/2016 edited by sacha (empty comment) http://devel.rtems.org/wiki/GSoC/2016 2016-05-10T17:59:49 *** monstr has quit IRC 2016-05-10T19:16:09 *** mumptai has joined #rtems 2016-05-10T20:38:10 *** mumptai has quit IRC 2016-05-10T21:16:58 [trac] #2704/defect (v:4.11) created by pggauvin (Weak symbols not found by loaded code) http://devel.rtems.org/ticket/2704 2016-05-10T21:17:24 [trac] libdl-weak-sym-test.tar.gz () attached to #2704 by pggauvin http://devel.rtems.org/ticket/2704 2016-05-10T21:22:44 i should be following the GSOC mailing-list a bit more closely 2016-05-10T21:57:25 *** guillaum1 has joined #rtems 2016-05-10T22:03:22 *** jkridner has quit IRC 2016-05-10T23:36:20 *** kiwichris_ has joined #rtems 2016-05-11T00:02:03 *** dr__house|away has quit IRC 2016-05-11T00:09:29 *** dr__house|away has joined #rtems 2016-05-11T02:22:58 [git] ac7b68c by Chris Johns: [Get rtems_waf fix for command expansion.] http://devel.rtems.org/changeset/ac7b68c/rtems-libbsd 2016-05-11T03:01:37 [git] 014292a by Chris Johns: [i386/pc386: Add support for the gdb stub to use available console drivers. Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1.] 2016-05-11T03:01:37 http://devel.rtems.org/changeset/014292a/rtems 2016-05-11T03:01:37 [git] 03ad2a5 by Chris Johns: [i386/pc386: Add IO and memory support to PCI UART devices. Use the BAR to determine IO and memory mapped support for PCI UART boards.] http://devel.rtems.org/changeset/03ad2a5/rtems 2016-05-11T03:01:37 [git] 8ce7567 by Chris Johns: [ibchip/ns16550: Minor optimisation.] http://devel.rtems.org/changeset/8ce7567/rtems 2016-05-11T03:01:37 [git] 43f18a1 by Chris Johns: [bsp/shared: Add bsp_interrupt_handler_is_empty.] http://devel.rtems.org/changeset/43f18a1/rtems 2016-05-11T03:01:37 [git] b61f58f by Chris Johns: [bsp/shared: Print the exception stack frame before the shut down message. This lets you see the exception otherwise the key press clears the screen on the reboot on a PC BSP. Also state there has been a fatal error.] http://devel.rtems.org/changeset/b61f58f/rtems 2016-05-11T03:01:37 [git] beefa11 by Chris Johns: [bsp/pc386: Use irq-generic.] http://devel.rtems.org/changeset/beefa11/rtems 2016-05-11T03:01:38 [git] 292dbff by Chris Johns: [i386/pc386: Fix printk with the console changes.] http://devel.rtems.org/changeset/292dbff/rtems 2016-05-11T03:01:38 [git] 93fb879 by Chris Johns: [i386/pc386: Fix interrupt support. Fix the interrupt and stop the spurious interrupt from happening. The fix moves the EOI to C code and cleans that functionality out of the asm part of the ISR handler. The code checks the ISR and IRR registers on the enable. Only ack the master for a slave IRQ if the slave has no other 2016-05-11T03:01:39 pending requests.] http://devel.rtems.org/changeset/93fb879/rtems 2016-05-11T03:01:39 [git] 02ef5d9 by Chris Johns: [i386/pc386: Add --ide-disable boot command line option.] http://devel.rtems.org/changeset/02ef5d9/rtems 2016-05-11T03:01:40 [git] fc138a1 by Chris Johns: [i386/pc386: EOI the master and slave for slave IRQ signals.] http://devel.rtems.org/changeset/fc138a1/rtems 2016-05-11T05:50:25 *** monstr has joined #rtems 2016-05-11T06:02:42 *** mumptai has joined #rtems 2016-05-11T08:28:57 *** kiwichris has joined #rtems 2016-05-11T08:29:08 *** mumptai has quit IRC 2016-05-11T09:44:57 [trac] GSoC/2016/StrongAPAScheduling edited by darnir (empty comment) http://devel.rtems.org/wiki/GSoC/2016/StrongAPAScheduling 2016-05-11T09:55:35 [trac] mmc-sd-card.c (the main c file) attached to #2705 by mickye_chn http://devel.rtems.org/ticket/2705 2016-05-11T09:55:59 [trac] mmc_write.c () attached to #2705 by mickye_chn http://devel.rtems.org/ticket/2705 2016-05-11T10:12:36 *** mkhoory has joined #rtems 2016-05-11T10:13:25 hi kiwichris, I've been going through the blksync code as you mentioned in your email. What I don't understand is .. what argument do you give to blksync? 2016-05-11T10:16:29 I've tried the path to my ramdisk device file, also the filenames of files I want to sync, and the path of my mounted filesystem. no dice 2016-05-11T10:35:16 well, I found an example, and I should be using it correctly... but it doesn't work for /dev/rda (ramdisk, no partitions) 2016-05-11T10:35:21 hmm... 2016-05-11T10:41:47 *** gigetoo has quit IRC 2016-05-11T10:42:47 *** gigetoo has joined #rtems 2016-05-11T11:48:09 I would not use rtems 4.10 for such kind of stuff 2016-05-11T11:48:22 4.11 is much better in terms of file system support 2016-05-11T12:05:46 *** benjamint has joined #rtems 2016-05-11T12:10:47 *** jkridner has joined #rtems 2016-05-11T13:24:14 *** dipupo__ has joined #rtems 2016-05-11T13:24:14 *** dipupo has quit IRC 2016-05-11T13:24:14 *** dipupo_ has quit IRC 2016-05-11T13:25:03 *** dipupo has joined #rtems 2016-05-11T14:07:54 [git] 35c8efc by Sebastian Huber: [score: Avoid use of uninitialized variable Properly set the needs_help to NULL in _Scheduler_SMP_Enqueue_ordered() in case the thread is inserted into the ready set.] http://devel.rtems.org/changeset/35c8efc/rtems 2016-05-11T14:31:22 *** monstr has quit IRC 2016-05-11T14:44:33 [git] 2b71210 by Sebastian Huber: [Revert "score: Avoid use of uninitialized variable" Sorry, I should not fix warnings unmindfully. This reverts commit 35c8efc9501b5f6b1a4dfeaa4b1aa6a1d6dbf08e.] http://devel.rtems.org/changeset/2b71210/rtems 2016-05-11T14:52:06 *** gedare_ has joined #rtems 2016-05-11T16:06:35 *** dipupo has quit IRC 2016-05-11T16:06:35 *** dipupo__ has quit IRC 2016-05-11T16:59:53 *** gedare_ has quit IRC 2016-05-11T17:20:04 *** mumptai has joined #rtems 2016-05-11T17:26:32 *** mumptai has quit IRC 2016-05-11T17:32:28 *** gedare_ has joined #rtems 2016-05-11T17:45:34 *** gigetoo has quit IRC 2016-05-11T17:46:10 *** gigetoo has joined #rtems 2016-05-11T18:04:03 *** gigetoo has quit IRC 2016-05-11T18:04:35 *** gigetoo has joined #rtems 2016-05-11T18:41:47 *** gedare_ has quit IRC 2016-05-11T18:42:33 *** gedare_ has joined #rtems 2016-05-11T18:42:55 *** kiwichri_ has joined #rtems 2016-05-11T18:42:57 *** kiwichris has quit IRC 2016-05-11T18:55:03 *** gedare_ has quit IRC 2016-05-11T19:12:33 *** kiwichri_ has quit IRC 2016-05-11T19:12:52 *** kiwichris has joined #rtems 2016-05-11T19:29:06 *** kiwichris has quit IRC 2016-05-11T19:29:38 *** kiwichris has joined #rtems 2016-05-11T19:34:59 *** kiwichris has quit IRC 2016-05-11T19:37:55 *** kiwichris has joined #rtems 2016-05-11T20:12:12 *** jkridner has quit IRC 2016-05-11T21:00:12 *** mumptai has joined #rtems 2016-05-11T21:03:32 *** hesham has quit IRC 2016-05-11T21:13:12 *** hesham has joined #rtems 2016-05-11T22:17:03 *** mumptai has quit IRC 2016-05-11T23:14:12 *** commander has quit IRC 2016-05-11T23:14:22 *** commander has joined #rtems 2016-05-12T00:02:17 *** jkridner has joined #rtems 2016-05-12T04:40:59 sebhub, good to know. Looking forward to the stable release. 2016-05-12T05:05:50 I would not wait for the release, the 4.11 branch is already there 2016-05-12T05:07:48 *** mumptai has joined #rtems 2016-05-12T05:45:55 *** monstr has joined #rtems 2016-05-12T06:12:19 *** mumptai has quit IRC 2016-05-12T07:39:35 *** gigetoo has quit IRC 2016-05-12T07:40:25 *** gigetoo has joined #rtems 2016-05-12T07:49:17 sebhub, is it stable? or are changes still being commited? 2016-05-12T07:50:27 not unless someone finds a bug 2016-05-12T08:03:24 ok 2016-05-12T08:03:40 so it's very close to stable then 2016-05-12T09:03:22 [trac] #2706/defect (v:4.11) created by sebastian.huber (Buffer allocation of capture engine is broken on SMP configurations) http://devel.rtems.org/ticket/2706 2016-05-12T09:05:36 [trac] #2707/defect (v:4.11) created by sebastian.huber (Unsafe use of current processor index in capture engine) http://devel.rtems.org/ticket/2707 2016-05-12T09:45:00 *** mumptai has joined #rtems 2016-05-12T09:49:08 *** mumptai has quit IRC 2016-05-12T11:33:09 [git] 9276fde by Sebastian Huber: [score: Fix CORE mutex initialization The priority inheritance and ceiling CORE mutexes wrongly used the FIFO queueing discipline. Delete misleading _CORE_mutex_Is_priority(). Bug introduced by 1e1a91ed11458ddbb27b94d0001d8f0fc2ef7a97. Add test sptests/spmutex01, since no existing uni-processor test covered the thread 2016-05-12T11:33:10 priority queueing discipline fo...] http://devel.rtems.org/changeset/9276fde/rtems 2016-05-12T11:33:19 [git] 1a9d36b by Sebastian Huber: [score: Add _ISR_lock_Is_owner()] http://devel.rtems.org/changeset/1a9d36b/rtems 2016-05-12T11:33:29 [git] 3e0bb67 by Sebastian Huber: [score: Ensure matching lock acquire and release Ensure matching lock acquire and release for SMP locks if RTEMS_DEBUG is defined.] http://devel.rtems.org/changeset/3e0bb67/rtems 2016-05-12T11:33:38 [git] a0162bf by Sebastian Huber: [mpci: Delete unused region support] http://devel.rtems.org/changeset/a0162bf/rtems 2016-05-12T11:33:47 [git] d9bb9eb by Sebastian Huber: [posix: Make _POSIX_signals_Action_handler() static] http://devel.rtems.org/changeset/d9bb9eb/rtems 2016-05-12T11:33:57 [git] af20467 by Sebastian Huber: [score: Add _Thread_queue_Is_lock_owner() Add _Thread_queue_Is_lock_owner() in case RTEMS_DEBUG is defined.] http://devel.rtems.org/changeset/af20467/rtems 2016-05-12T11:34:06 [trac] #2556/enhancement (accepted) updated by Sebastian Huber (In [changeset:"6e4f929296b1cfd50fc8f41f117459e65214b816/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2556 2016-05-12T11:34:06 [git] 6e4f929 by Sebastian Huber: [score: Introduce thread state lock Update #2556.] http://devel.rtems.org/changeset/6e4f929/rtems 2016-05-12T11:34:16 [git] 105b4e6 by Sebastian Huber: [rtems: Use thread state lock for signals] http://devel.rtems.org/changeset/105b4e6/rtems 2016-05-12T11:34:25 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"4d76300ae524f798bf665f6c28dca420fd23a59c/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:34:26 [git] 4d76300 by Sebastian Huber: [rtems: Avoid Giant lock for some task operations Avoid Giant lock for rtems_task_set_priority(), rtems_task_suspend() and rtems_task_resume(). Update #2555.] http://devel.rtems.org/changeset/4d76300/rtems 2016-05-12T11:34:35 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"11c66437e750e6f8c464a96476c5f5221c1808a6/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:34:35 [git] 11c6643 by Sebastian Huber: [rtems: Avoid Giant lock rtems_task_is_suspended() Update #2555.] http://devel.rtems.org/changeset/11c6643/rtems 2016-05-12T11:34:44 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"bd12dda405e1bab16c522f7ef0dd2b455230d269/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:34:45 [git] bd12dda by Sebastian Huber: [score: Use thread state lock for current state In addition protect scheduler of thread by thread state lock. Enables use of scheduler per-instance locks. Update #2555.] http://devel.rtems.org/changeset/bd12dda/rtems 2016-05-12T11:34:54 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"e135271b933c896068a343b161773ce3b685be43/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:34:55 [git] e135271 by Sebastian Huber: [score: Avoid Giant lock _Scheduler_Set_affinity() Update #2555.] http://devel.rtems.org/changeset/e135271/rtems 2016-05-12T11:35:04 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"d99529999451043166c6dbf3ef22be42463e16f3/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:35:04 [git] d995299 by Sebastian Huber: [score: Avoid Giant lock _Scheduler_Get_affinity() Update #2555.] http://devel.rtems.org/changeset/d995299/rtems 2016-05-12T11:35:14 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"8bc6bf28aa098a03c25763e3c59274874bfbe3da/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:35:14 [git] 8bc6bf2 by Sebastian Huber: [posix: Avoid Giant lock for some pthread functions Avoid Giant lock for pthread_getattr_np(), pthread_setschedparam() and pthread_getschedparam(). Replace POSIX threads scheduler lock with thread state lock. Update #2555.] http://devel.rtems.org/changeset/8bc6bf2/rtems 2016-05-12T11:35:24 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"ef6f8a8377964a2d94eb7215724d11b499ec078b/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-12T11:35:24 [git] ef6f8a8 by Sebastian Huber: [score: Avoid Giant lock for scheduler set/get Update #2555.] http://devel.rtems.org/changeset/ef6f8a8/rtems 2016-05-12T11:35:33 [trac] #2707/defect (new) updated by Sebastian Huber (In [changeset:"0727760336bfcb4f66771f1a86ee3bb923d2cfc4/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2707 2016-05-12T11:35:34 [git] 0727760 by Sebastian Huber: [rtems: Add rtems_interrupt_lock_interrupt_disable Update #2707.] http://devel.rtems.org/changeset/0727760/rtems 2016-05-12T11:35:43 [trac] #2554/enhancement (accepted) updated by Sebastian Huber (In [changeset:"1379d840a483ccdce109fa8e45ef63d51a6e8e00/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2554 2016-05-12T11:35:43 [git] 1379d84 by Sebastian Huber: [smptests/smpcapture02: Adjust for clock changes Fix overall clock tick count. Change introduced by 90d8567d34a6d80da04b1cb37b667a3173f584c4. Update #2554.] http://devel.rtems.org/changeset/1379d84/rtems 2016-05-12T11:35:52 [trac] #2706/defect (closed) updated by Sebastian Huber (In [changeset:"2f11d4a0144207321838f746471b56c4cfa40a0d/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2706 2016-05-12T11:35:53 [git] 2f11d4a by Sebastian Huber: [capture: Fix buffer allocation and free Do not use function static variables. Remove superfluous volatile qualifiers. Use proper integer types. Close #2706.] http://devel.rtems.org/changeset/2f11d4a/rtems 2016-05-12T11:36:02 [git] 7bd1869 by Sebastian Huber: [capture: Compact rtems_capture_record_t Order fields according to alignment to reduce structure internal padding.] http://devel.rtems.org/changeset/7bd1869/rtems 2016-05-12T11:36:11 [git] d449c12 by Sebastian Huber: [capture: Remove superfluous includes] http://devel.rtems.org/changeset/d449c12/rtems 2016-05-12T11:36:20 [trac] #2707/defect (closed) updated by Sebastian Huber (In [changeset:"df23f464be5733b489eae03428d5449a37b310b9/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2707 2016-05-12T11:36:21 [git] df23f46 by Sebastian Huber: [capture: Fix use of per-processor data Get the current processor index only once and with interrupts disabled. Close #2707.] http://devel.rtems.org/changeset/df23f46/rtems 2016-05-12T14:26:41 *** guillaum1 has quit IRC 2016-05-12T14:49:38 *** gedare has joined #rtems 2016-05-12T14:49:38 *** ChanServ sets mode: +o gedare 2016-05-12T14:51:09 *** guillaum1 has joined #rtems 2016-05-12T15:59:04 *** guillaum1 has quit IRC 2016-05-12T16:14:06 *** guillaum1 has joined #rtems 2016-05-12T16:26:27 *** benjamint has quit IRC 2016-05-12T16:41:58 *** gigetoo has quit IRC 2016-05-12T16:45:12 *** gigetoo has joined #rtems 2016-05-12T17:36:21 *** gigetoo has quit IRC 2016-05-12T17:41:59 *** gigetoo has joined #rtems 2016-05-12T18:27:02 *** mumptai has joined #rtems 2016-05-12T19:02:27 *** gedare has quit IRC 2016-05-12T19:08:38 *** monstr has quit IRC 2016-05-12T20:04:10 *** gedare has joined #rtems 2016-05-12T20:04:10 *** ChanServ sets mode: +o gedare 2016-05-12T20:18:23 *** gigetoo has quit IRC 2016-05-12T20:21:06 *** gigetoo has joined #rtems 2016-05-12T20:47:49 *** gedare has quit IRC 2016-05-12T20:52:17 *** mumptai has quit IRC 2016-05-12T22:32:21 *** gedare has joined #rtems 2016-05-12T22:32:21 *** ChanServ sets mode: +o gedare 2016-05-12T22:38:39 *** gedare has quit IRC 2016-05-12T23:27:24 *** gigetoo has quit IRC 2016-05-12T23:30:13 *** gigetoo has joined #rtems 2016-05-13T00:44:11 *** jordang has joined #rtems 2016-05-13T00:44:25 howdy 2016-05-13T00:53:51 *** gigetoo has quit IRC 2016-05-13T00:54:49 *** gigetoo has joined #rtems 2016-05-13T01:05:28 *** jordang has quit IRC 2016-05-13T05:18:14 sebhub: e870941bb0f2f300e8fd252c7e30ecaabbe50841 removed bspinit.c and the commit comment is wrong. 2016-05-13T05:18:36 sure no network init but the code should stay 2016-05-13T05:21:27 this is a regression for 4.11 against 4.10, it breaks real applications on 4.10 2016-05-13T05:43:22 what is wrong with the commit message? 2016-05-13T05:43:47 if a certain behaviour is desired, then there should be a test case for this 2016-05-13T05:43:48 The code happened to have a network init, it was not about network initialisation. 2016-05-13T05:44:05 "Do not initialize the network by default." 2016-05-13T05:44:25 Yes, the code was not about that 2016-05-13T05:44:51 -#ifdef RTEMS_NETWORKING 2016-05-13T05:44:53 - rtems_bsdnet_initialize_network (); 2016-05-13T05:44:54 -#endif 2016-05-13T05:45:09 Sure, remove that code or ask about it rather than remove the whole file. 2016-05-13T05:45:52 The code converted boot command lines into argc/argv 2016-05-13T05:46:17 it moved to cpukit/libmisc/dummy/default-configuration.c 2016-05-13T05:46:36 Let me look, hang on. 2016-05-13T05:47:07 I just build a real app and I got a link error for Init 2016-05-13T05:48:01 It includes confdefs.h and so this is wrong. 2016-05-13T05:48:02 on which bsp? pc386? 2016-05-13T05:48:17 bsp, a coldfire and the zynq use to use it. 2016-05-13T05:48:22 bsp -> pc 2016-05-13T05:48:31 I used it where I had a valid command line 2016-05-13T05:48:48 Seems a shame to remove the ability to do this. 2016-05-13T05:49:00 The dummy version has lost the weak attribute 2016-05-13T05:49:34 I think there is still a use for the code but not in the dummy/... way 2016-05-13T05:50:19 there was a discussion on the mailing list including you about this patch 2016-05-13T05:50:37 it it broke something, then we should fix it 2016-05-13T05:50:55 Yes, I wanted to find out about the reasons for the change first :) 2016-05-13T05:50:56 I am no sure what the problem is 2016-05-13T05:51:36 the reason were strange linker errors if you pull in your config and dummy.c 2016-05-13T05:51:39 We need a bspinit.c as before without the network init and remove the Init code from dummy, The weak reference will pick up the bspinit.c version 2016-05-13T05:51:54 I got Init as unresolved 2016-05-13T05:52:10 I use confdefs.h to configure my app 2016-05-13T05:52:38 the weak will help you not 2016-05-13T05:52:46 sigh, yes it does 2016-05-13T05:53:28 It means a real Init in an app override the library version 2016-05-13T05:53:56 the Init in which file? 2016-05-13T05:54:01 In the case of no Init in the app the library provides one and then wants a main which means we follow the standard. 2016-05-13T05:54:07 *** monstr has joined #rtems 2016-05-13T05:54:29 An Init in an object in an app will override a weak Init in the library 2016-05-13T05:54:47 a weak Init in which file? 2016-05-13T05:55:07 If no Init in an object in an app the library willl provide one. The original bspini.c had Init as weak 2016-05-13T05:55:41 It is a neat trick to not break existing code and yet allow a simple way to get to main 2016-05-13T05:55:50 no, the bspinit.c hand no weak Init 2016-05-13T05:56:07 Check 4.10 2016-05-13T05:56:58 https://git.rtems.org/rtems/tree/c/src/lib/libbsp/shared/bspinit.c?h=4.10#n96 2016-05-13T05:57:37 ok, didn't check the last line of the file 2016-05-13T05:57:42 :) 2016-05-13T05:58:17 I did not want to put it back in case there was something else going on I did not know about. 2016-05-13T05:58:52 Also I am adding rc.conf support to libbsd 2016-05-13T05:59:03 *** monstr has quit IRC 2016-05-13T05:59:09 As per FreeBSD for the bits we want 2016-05-13T05:59:22 this weak is a hack and makes it hard to figure out how an application Init will look like 2016-05-13T05:59:40 its was also BSP specific 2016-05-13T06:00:08 The last part is a function or a poor make system, the first part is a view I do not share. 2016-05-13T06:00:54 if you want a default Init function, then it should be the same and available for every BSP 2016-05-13T06:01:12 it should be documented in the user manual 2016-05-13T06:01:23 Every BSP should build bspinit.c 2016-05-13T06:01:34 but only two did actually 2016-05-13T06:01:41 Sure, and a bug report should be added. 2016-05-13T06:02:28 ok, five bsps 2016-05-13T06:02:49 I choose not to effect a number of BSPs I could not test. 2016-05-13T06:03:18 there should be also a test case in the test suite for this default Init 2016-05-13T06:03:27 It was early in the shared bsp code life and yes doco should be added etc. 2016-05-13T06:03:40 There is with the posix tests that have main 2016-05-13T06:03:51 Except the dummy code is doing that 2016-05-13T06:05:07 The app init is the same. You create a file and add the defines etc and include confdefs.h. The only thing that changes is main is called for you. 2016-05-13T06:05:57 Given everyone learns about main when learning C it is a more natural way to get RTEMS running. The whole Init things is a specific RTEMS complexity which very few if anyone ever uses. 2016-05-13T06:06:44 I didn't say that I am against this default Init, but it should be not BSP-specific, documented and tested 2016-05-13T06:06:56 Yeap, I 100% agree. 2016-05-13T06:07:25 yes, this Init is one of the most confusing things for newcommers 2016-05-13T06:07:45 a normal main + configuration would be much mor useful 2016-05-13T06:07:49 Anyway onto rc.conf. I am adding it to libbsd. It will be in C and not shell stuff like on FreeBSD but I will try and get the syntax as close 2016-05-13T06:08:10 I will post a bspinit patch for review when I can get to it. 2016-05-13T06:09:43 I don't see BSP-specific parts, why not move it to cpukit? 2016-05-13T06:10:16 the command line is passed to Init via the task arg 2016-05-13T06:10:28 sure, libmisc/startup? 2016-05-13T06:10:37 e.g. refactor Init out of default-configuration 2016-05-13T06:10:48 go on? 2016-05-13T06:10:50 *** monstr has joined #rtems 2016-05-13T06:10:59 In what way? 2016-05-13T06:11:28 make it Init global and move it to a separate file 2016-05-13T06:11:40 no need for a weak attribute 2016-05-13T06:11:49 Sure 2016-05-13T06:12:04 if you have no configuration, then you get default-configuration.c 2016-05-13T06:12:11 Oh I see default-configuration as in the c file 2016-05-13T06:12:14 if you have no Init, then you get default-init.c 2016-05-13T06:12:26 Yeap 2016-05-13T06:13:03 I am working on lowering the bar to getting libbsd going for users. The test stuff is really nice but not useful for users. 2016-05-13T06:13:54 yes, the configuration is a bit difficult 2016-05-13T06:14:10 It can be simpler :) 2016-05-13T06:14:35 we should also move the user docs to the new docs repo 2016-05-13T06:14:49 which user docs? 2016-05-13T06:15:08 we have a bit in libbsd.txt and bsd.h and the tests 2016-05-13T06:15:19 Oh, yes I have that on my list. 2016-05-13T06:15:44 its scattered around and burried 2016-05-13T06:15:50 I need a way to build an app which I can document do bring it all together. 2016-05-13T06:16:23 Using rc.conf means the stack becomes a file and a couple of calls. 2016-05-13T06:16:59 We can add things like 'cloned_interfaces="bridge0 tap0 tap1 tap2"' 2016-05-13T06:17:07 autobridge_interfaces="bridge0" 2016-05-13T06:17:14 autobridge_bridge0="re0 tap0 tap1 tap2" 2016-05-13T06:17:19 and you have a working bridge 2016-05-13T06:17:55 I have little freebsd admin knowledge 2016-05-13T06:18:14 I would not install it, you might like then where would you be :) 2016-05-13T06:18:25 .. like it .. 2016-05-13T06:19:26 FTPD can become 'ftpd_enable="YES"' 2016-05-13T06:20:15 but in this case you have to link everything possible into your app 2016-05-13T06:20:46 Maybe not. 2016-05-13T06:21:10 The backend of the rc.conf parser has specific handlers you add in 2016-05-13T06:22:15 Once I have things like 'ifconfig_re0="inet 10.10.5.2 netmask 0xffffff00"' I will look at the services. 2016-05-13T06:23:24 ah, very nice 2016-05-13T06:24:32 this could really make it more user friendly 2016-05-13T06:24:51 What is nice is standard FreeBSD doco and forum answers will work 2016-05-13T06:25:54 You add a handler and ask for a regex to get the parts of the file you want, eg 'ifconfig_.*' 2016-05-13T06:26:18 This just calls the function you have already provided. 2016-05-13T06:27:16 To use: 2016-05-13T06:27:21 rtems_bsd_initialize(); 2016-05-13T06:27:29 rtems_bsd_run_etc_rc_conf(); 2016-05-13T06:27:42 or a variant with a file or an in memory version of rc.conf 2016-05-13T06:28:19 and before the rtems_bsd_initialize() you add all the features you want? 2016-05-13T06:28:34 Features? 2016-05-13T06:28:44 like ftpd a specific driver 2016-05-13T06:29:17 I am using SYSINIT so I need to sort out a specific way to handle this, ie nexus on the PC 2016-05-13T06:29:44 I have not figured out a suitable solution yet for that 2016-05-13T06:29:49 i am away for a couple of minutes 2016-05-13T06:29:53 sure 2016-05-13T12:37:00 *** jkridner has quit IRC 2016-05-13T12:41:45 *** jkridner has joined #rtems 2016-05-13T13:14:54 *** sebhub has quit IRC 2016-05-13T13:22:02 *** jkridner has quit IRC 2016-05-13T13:22:37 *** jkridner has joined #rtems 2016-05-13T13:27:44 *** jkridner has quit IRC 2016-05-13T13:43:13 *** guillaum1 has quit IRC 2016-05-13T13:57:59 *** guillaum1 has joined #rtems 2016-05-13T15:21:17 *** gedare_ has joined #rtems 2016-05-13T15:43:24 *** guillaum1 has quit IRC 2016-05-13T15:56:25 *** guillaum1 has joined #rtems 2016-05-13T16:03:45 *** jkridner has joined #rtems 2016-05-13T16:16:01 *** jkridner has quit IRC 2016-05-13T16:16:39 *** jkridner has joined #rtems 2016-05-13T17:49:11 *** Davidbrcz has quit IRC 2016-05-13T17:50:11 *** Davidbrcz has joined #rtems 2016-05-13T18:03:28 *** gedare_ has quit IRC 2016-05-13T19:41:31 *** monstr has quit IRC 2016-05-13T21:14:51 *** jkridner has quit IRC 2016-05-13T21:15:28 *** jkridner has joined #rtems 2016-05-13T21:20:10 *** jkridner has quit IRC 2016-05-14T00:06:23 *** jkridner has joined #rtems 2016-05-14T00:36:10 *** jkridner has quit IRC 2016-05-14T01:46:49 *** jkridner has joined #rtems 2016-05-14T01:51:36 *** jkridner has quit IRC 2016-05-14T09:51:32 *** ita has quit IRC 2016-05-14T10:02:24 *** ita has joined #rtems 2016-05-14T10:17:37 *** jkridner has joined #rtems 2016-05-14T11:51:11 *** Nebula_ has joined #rtems 2016-05-14T11:52:37 *** Nebula_ has quit IRC 2016-05-14T11:53:12 *** Nebula_ has joined #rtems 2016-05-14T11:55:26 *** Nebula_ has left #rtems 2016-05-14T12:42:31 *** darnir has quit IRC 2016-05-14T12:47:08 *** darnir has joined #rtems 2016-05-14T13:04:25 *** jkridner has quit IRC 2016-05-14T14:15:58 *** jkridner|work has joined #rtems 2016-05-14T15:22:29 [trac] #2709/defect (v:4.10) created by dcb (comm/i386-stub.c:1025: possible missing break ?) http://devel.rtems.org/ticket/2709 2016-05-14T15:26:14 [trac] #2710/defect (v:4.10) created by dcb (smsc9218i.c: 4 * Suspicious condition) http://devel.rtems.org/ticket/2710 2016-05-14T15:28:51 [trac] #2711/defect (v:4.10) created by dcb (grtc.c:1840]: (style) Suspicious condition) http://devel.rtems.org/ticket/2711 2016-05-14T15:31:26 *** jkridner|work has quit IRC 2016-05-14T15:48:45 [trac] #2708/defect (new) updated by joel.sherrill (Out of curiosity, does it work on the master? I recall having the same problem. ...) http://devel.rtems.org/ticket/2708 2016-05-14T16:42:02 *** jkridner has joined #rtems 2016-05-14T16:46:27 *** jkridner has quit IRC 2016-05-14T19:00:05 *** gedare has joined #rtems 2016-05-14T19:00:06 *** ChanServ sets mode: +o gedare 2016-05-14T19:08:05 *** gedare has quit IRC 2016-05-15T01:36:17 *** guillaum1 has quit IRC 2016-05-15T01:36:45 *** guillaum1 has joined #rtems 2016-05-15T04:56:28 *** mkhoory-2 has joined #rtems 2016-05-15T05:00:26 *** mkhoory has quit IRC 2016-05-15T05:00:33 *** mkhoory-2 has quit IRC 2016-05-15T05:05:11 *** mkhoory-2 has joined #rtems 2016-05-15T06:13:34 *** mkhoory-2 has quit IRC 2016-05-15T06:35:47 *** mkhoory-2 has joined #rtems 2016-05-15T07:05:22 *** sacha has joined #rtems 2016-05-15T07:07:33 *** sacha has quit IRC 2016-05-15T09:57:08 *** jkridner has joined #rtems 2016-05-15T12:39:44 *** mkhoory-2 has quit IRC 2016-05-15T13:56:44 *** meltingwax has joined #rtems 2016-05-15T13:57:25 *** meltingwax has left #rtems 2016-05-15T13:57:43 *** mkhoory-2 has joined #rtems 2016-05-15T14:08:03 *** mkhoory-2 has quit IRC 2016-05-15T14:53:29 *** mkhoory-2 has joined #rtems 2016-05-15T14:58:12 *** mkhoory-2 has quit IRC 2016-05-15T18:34:02 *** dougk_ has quit IRC 2016-05-15T18:46:36 *** dougk_ has joined #rtems 2016-05-15T21:16:34 *** jkridner has quit IRC 2016-05-15T21:18:29 *** jkridner has joined #rtems 2016-05-15T23:01:05 [trac] #2712/defect (v:4.11) created by chrisj (_rtems_octal2ulong shared by tar code.) http://devel.rtems.org/ticket/2712 2016-05-15T23:02:25 [trac] #2708/defect (assigned) updated by chrisj (I broke this when doing some work on Windows. I need to fix it.) http://devel.rtems.org/ticket/2708 2016-05-15T23:09:35 [trac] #2215/defect (closed) updated by chrisj (Duplicate of #2415.) http://devel.rtems.org/ticket/2215 2016-05-15T23:51:27 [trac] #2415/defect (new) updated by chrisj (Reviewing the code I suspect it might be difficult to merge the functionality as ...) http://devel.rtems.org/ticket/2415