RTEMS / Packages / LibBSD¶
Go to Issues or Merge Requests
Issues¶
109 - Fix BBB networking¶
Id |
109 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-09-29T04:02:37.141Z |
Closed |
2026-10-31T16:25:49.151Z |
Updated |
2026-10-31T16:25:49.210Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/109 |
Merges |
0 |
Summary¶
Beagle Bone Black networking is broken on 7-freebsd-14. A number of drivers are missing and the FDT is broken.
Author: Chris Johns
2026-09-29T04:02:37.225Z
cloned from #108
Author: Chris Johns
2026-09-29T04:02:55.522Z
added rtems#15 as parent item
Author: Chris Johns
2026-09-29T04:48:03.606Z
mentioned in merge request !164
Author: Chris Johns
2026-09-29T04:58:13.817Z
The FDT sources I have tested with are:
This file is derived from the FreeBSD FDT some of which are GPL 2 so please check and consider the license. I have not regenerated the DTB from the original sources as I think there are some mistakes in it.
Author: Chris Johns
2026-10-31T16:25:49.177Z
set status to Done
113 - counter_u64 is broken on SMP archs¶
Id |
113 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Sebastian Huber |
Closed by |
Chris Johns |
Created |
2026-10-02T08:31:08.403Z |
Closed |
2026-10-08T05:31:47.430Z |
Updated |
2026-10-08T05:31:47.477Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14, smp |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/113 |
Merges |
0 |
Summary¶
Running netstat -i on an SMP LibBSD build of RTEMS just after booting results in:
xcon [/] # netstat -i
Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll
cgem0 1500 <Link#1> 72:44:fa:b0:29:da 153687 0 0 86831 0 0
cgem0 - 10.10.5.0/24 10.10.5.70 86733 - - 48516 - -
lo0 16384 <Link#2> lo0 128 0 0 26324640 13999735 26384
lo0 - ::1/128 ::1 64 - - 64 - -
lo0 - fe80::%lo0/64 fe80::1%lo0 0 - - 0 - -
lo0 - 127.0.0.0/8 127.0.0.1 48 - - 48 - -
It looks like something is not aligned correctly. These calls are used by LibBSD in if.c to manage the 64bit counters in a safe way on SMP.
Steps to reproduce¶
Run netstat -i on a Zynq or ZynqMP SMP system. Verified on Zynq and ZynqMP hardware.
Author: Chris Johns
2026-10-02T08:31:08.496Z
cloned from rtems/rtos/rtems#5793
Author: Chris Johns
2026-10-02T08:31:25.402Z
added rtems/rtos/rtems#15 as parent item
Author: Chris Johns
2026-10-02T08:31:37.912Z
changed title from
coun
d
er_u64 is broken on SMP archs
to
coun
t
er_u64 is broken on SMP archs
Author: Chris Johns
2026-10-03T00:53:08.219Z
moved from rtems/rtos/rtems#5794
Author: Chris Johns
2026-10-08T05:31:47.453Z
set status to Done
107 - Backport Fxp fix to 6-freebsd-14¶
Id |
107 |
State |
closed |
Type |
ISSUE |
Author |
Vijay Banerjee |
Assignee(s) |
Vijay Banerjee |
Closed by |
Vijay Banerjee |
Created |
2026-08-31T15:11:08.537Z |
Closed |
2026-10-07T14:11:49.452Z |
Updated |
2026-10-07T14:11:49.510Z |
Milestone |
6.3 |
Labels |
arch:powerpc, backport, libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/107 |
Merges |
0 |
Summary¶
Backport https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/157
Steps to reproduce¶
Author: Vijay Banerjee
2026-08-31T15:11:08.640Z
set status to To do
Author: Vijay Banerjee
2026-08-31T15:11:08.742Z
assigned to @vijay
Author: Vijay Banerjee
2026-09-04T18:09:39.965Z
set status to In progress
Author: Vijay Banerjee
2026-09-04T18:25:38.477Z
mentioned in issue rtems/rtos/rtems#5681
Author: Vijay Banerjee
2026-09-04T19:49:20.379Z
changed type to Issue
Author: Vijay Banerjee
2026-09-04T19:49:41.313Z
moved from rtems/rtos/rtems#5735
Author: Vijay Banerjee
2026-09-04T19:53:28.415Z
mentioned in merge request !161
Author: Joel Sherrill
2026-09-17T22:13:54.214Z
mentioned in commit eaa16d77718dd4c73198fdd3304cf91f794bac22
Author: Vijay Banerjee
2026-10-07T14:11:49.484Z
set status to Done
100 - Backport 7-freebsd-14 changes to 6-freebsd-14¶
Id |
100 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-07-28T02:21:41.393Z |
Closed |
2026-07-31T00:35:08.058Z |
Updated |
2026-07-31T00:35:08.062Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/100 |
Merges |
0 |
Summary¶
A number of MR has been added to 7-freebsd-14 that should be back ported to 6-freebsd-14. This work item is to provide a place in the 6.3 to track this.
Merge request !152 has the commits. It is a single MR of all the commits and the MR warning is from a commit to 7-freebsd-14 that has been merged.
Author: Chris Johns
2026-07-28T02:21:41.553Z
added rtems#15 as parent item
Author: Chris Johns
2026-07-28T02:21:41.663Z
set status to In progress
Author: Chris Johns
2026-07-28T02:21:41.840Z
assigned to @chris
Author: Sang Woo Kim
2026-07-28T12:35:18.607Z
mentioned in merge request !154
Author: Chris Johns
2026-07-31T00:35:08.091Z
set status to Done
99 - Add rc.cont generation from RTEMS_NET_* environment variables¶
Id |
99 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-07-27T04:51:52.047Z |
Closed |
2026-07-31T00:33:59.904Z |
Updated |
2026-07-31T00:33:59.961Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/99 |
Merges |
0 |
Summary¶
Provide support to generate /rtc/rc.conf from environment variables. A BSP can define environment variables based on boot loader settings and these can then be used as the settings to initialize LibBSD using rc.conf.
Author: Chris Johns
2026-07-27T04:51:52.146Z
cloned from #88
Author: Chris Johns
2026-07-27T04:52:05.067Z
set status to In progress
Author: Chris Johns
2026-07-28T02:13:41.190Z
added rtems#15 as parent item
Author: Chris Johns
2026-07-31T00:33:59.937Z
set status to Done
34 - sendmsg() is not POSIX compliant¶
Id |
34 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2025-02-03T03:07:35.278Z |
Closed |
2026-07-31T00:17:51.016Z |
Updated |
2026-07-31T00:17:51.076Z |
Milestone |
6.3 |
Labels |
libbsd |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/34 |
Merges |
0 |
I found a POSIX compliance bug. In file rtems-bsd-syscall-api.c,line 644.
https://pubs.opengroup.org/onlinepubs/009604599/functions/sendmsg.html
Upon successful completion, sendmsg() shall return the number of bytes sent.
But in RTEMS
sendmsg()only returns an errno.This problem exists in
6-freebsd-14
Author: Chris Johns
2025-02-03T03:07:35.505Z
cloned from #33
Author: Chris Johns
2025-02-03T03:07:35.439Z
assigned to @chris
Author: Chris Johns
2025-02-03T03:07:44.022Z
Author: Chris Johns
2025-02-03T03:10:18.939Z
changed the description
Author: Chris Johns
2025-02-03T03:10:26.219Z
cloned to #35
Author: Chris Johns
2025-02-03T03:10:38.567Z
changed the description
Author: Chris Johns
2025-02-03T04:37:14.373Z
mentioned in merge request !52
Author: Chris Johns
2025-02-03T04:54:27.394Z
mentioned in merge request !54
Author: Chris Johns
2025-10-09T22:51:30.697Z
added rtems#15 as parent epic
Author: Chris Johns
2026-07-31T00:14:16.247Z
changed the description
Author: Chris Johns
2026-07-31T00:17:51.051Z
set status to Done
89 - Fix beatnik BSP when used on MVME5500¶
Id |
89 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-05-26T00:43:20.669Z |
Closed |
2026-07-27T04:17:33.080Z |
Updated |
2026-07-27T04:17:33.149Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/89 |
Merges |
0 |
Summary¶
The beatnik BSP supports the MVME6100 and MVME5500 however these boards have different networking devices. Provide suitable support.
Author: Chris Johns
2026-05-26T00:43:20.777Z
cloned from #79
Author: Chris Johns
2026-05-26T00:43:41.754Z
added rtems#15 as parent epic
Author: Chris Johns
2026-05-26T00:43:47.769Z
set status to In progress
Author: Chris Johns
2026-05-26T00:51:13.035Z
mentioned in merge request !142
Author: Chris Johns
2026-05-28T02:00:03.714Z
mentioned in commit 1cb550467decbd2d56ee611448fd761196a840e2
Author: Chris Johns
2026-07-27T04:17:33.121Z
set status to Done
90 - Add E1000 support to the powerpc/beatnik BSP¶
Id |
90 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-05-26T00:44:07.953Z |
Closed |
2026-07-27T04:17:11.708Z |
Updated |
2026-07-27T04:17:11.778Z |
Milestone |
6.3 |
Labels |
arch:powerpc, libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/90 |
Merges |
0 |
Add support for the E1000 driver to the powerpc/beatnik BSP.
Author: Chris Johns
2026-05-26T00:44:08.076Z
cloned from #85
Author: Chris Johns
2026-05-26T00:44:18.522Z
added rtems#15 as parent epic
Author: Chris Johns
2026-05-26T01:05:55.036Z
mentioned in merge request !143
Author: Chris Johns
2026-07-27T04:17:11.749Z
set status to Done
87 - Add KDTRACE support¶
Id |
87 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-05-26T00:05:30.954Z |
Closed |
2026-07-27T03:57:35.843Z |
Updated |
2026-07-27T03:57:35.907Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/87 |
Merges |
0 |
Add:
The ability to build with
KDTRACE_HOOKSAdd FreebSD
KDTRACEsupport files.Provide a simple probe and an
ltracecommand to access the probe data
The support to trace the probes. It does not attempt to do anything close to what dtrace can do. A full dtrace needs CTF format support and specific target back end support and that is a massive task. The purpose of this support is to get at the runtime probe support built into FreeBSD.
Author: Chris Johns
2026-05-26T00:05:31.388Z
cloned from #82
Author: Chris Johns
2026-05-26T00:05:47.464Z
added rtems#15 as parent epic
Author: Chris Johns
2026-05-26T00:32:13.433Z
mentioned in merge request !141
Author: Chris Johns
2026-07-27T03:57:35.881Z
set status to Done
81 - INVARIANTS do not build¶
Id |
81 |
State |
closed |
Type |
ISSUE |
Author |
Chris Johns |
Closed by |
Chris Johns |
Created |
2026-04-27T01:48:31.389Z |
Closed |
2026-05-08T05:31:13.258Z |
Updated |
2026-05-08T05:31:13.319Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/81 |
Merges |
0 |
Adding --freebsd-options=invariants to libbsd’s configure does not build:
In file included from ../../freebsd/sys/sys/systm.h:44,
from ../../freebsd/sys/sys/mbuf.h:41,
from ../../rtemsbsd/rtems/rtems-bsd-cxx.cc:49:
../../freebsd/sys/sys/libkern.h: In function 'u_char bcd2bin(int)':
../../freebsd/sys/sys/kassert.h:129:17: error: 'kassert_panic' was not declared in this scope
129 | kassert_panic msg; \\
| ^~~~~~~~~~~~~
../../freebsd/sys/sys/libkern.h:65:9: note: in expansion of macro 'KASSERT'
65 | KASSERT(bcd >= 0 && bcd < LIBKERN_LEN_BCD2BIN,
| ^~~~~~~
../../freebsd/sys/sys/libkern.h: In function 'u_char bin2bcd(int)':
../../freebsd/sys/sys/kassert.h:129:17: error: 'kassert_panic' was not declared in this scope
129 | kassert_panic msg; \\
| ^~~~~~~~~~~~~
../../freebsd/sys/sys/libkern.h:74:9: note: in expansion of macro 'KASSERT'
74 | KASSERT(bin >= 0 && bin < LIBKERN_LEN_BIN2BCD,
| ^~~~~~~
../../freebsd/sys/sys/libkern.h: In function 'char hex2ascii(int)':
../../freebsd/sys/sys/kassert.h:129:17: error: 'kassert_panic' was not declared in this scope
129 | kassert_panic msg; \\
| ^~~~~~~~~~~~~
../../freebsd/sys/sys/libkern.h:83:9: note: in expansion of macro 'KASSERT'
83 | KASSERT(hex >= 0 && hex < LIBKERN_LEN_HEX2ASCII,
| ^~~~~~~
../../freebsd/sys/sys/libkern.h: In function 'int ilog2_int(int)':
../../freebsd/sys/sys/kassert.h:129:17: error: 'kassert_panic' was not declared in this scope
129 | kassert_panic msg; \\
| ^~~~~~~~~~~~~
../../freebsd/sys/sys/libkern.h:242:9: note: in expansion of macro 'KASSERT'
242 | KASSERT(n != 0, ("ilog argument must be nonzero"));
| ^~~~~~~
../../freebsd/sys/sys/libkern.h: In function 'int ilog2_long(long int)':
../../freebsd/sys/sys/kassert.h:129:17: error: 'kassert_panic' was not declared in this scope
129 | kassert_panic msg; \\
| ^~~~~~~~~~~~~
[snip]
Author: Chris Johns
2026-04-27T01:48:31.534Z
cloned from #80
Author: Chris Johns
2026-04-27T01:49:06.918Z
unassigned @chris
Author: Chris Johns
2026-04-27T01:49:13.021Z
set status to To do
Author: Chris Johns
2026-05-08T05:31:13.290Z
set status to Done
93 - Backport Python fixes for waf_libbsd.py (opened)¶
Id |
93 |
State |
opened |
Type |
ISSUE |
Author |
Chris Johns |
Created |
2026-07-04T05:24:40.481Z |
Updated |
2026-07-08T05:05:05.021Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/93 |
Merges |
0 |
Summary¶
Python 3.13.3 warns about escape sequences that will become errors.
The MR is !151 .
Author: Chris Johns
2026-07-04T05:24:40.586Z
set status to To do
Author: Chris Johns
2026-07-04T05:25:37.170Z
See #92
Author: Chris Johns
2026-07-08T04:57:28.538Z
added rtems#40 as parent item
Author: Chris Johns
2026-07-08T05:05:04.984Z
cloned to #98
96 - Update rtems_waf for 6-freebsd-14 (opened)¶
Id |
96 |
State |
opened |
Type |
ISSUE |
Author |
Chris Johns |
Created |
2026-07-08T05:03:23.280Z |
Updated |
2026-07-08T05:03:43.062Z |
Milestone |
6.3 |
Labels |
lang::python, tool::waf |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/96 |
Merges |
0 |
Summary¶
Update rtems_waf to fix python warnings.
Author: Chris Johns
2026-07-08T05:03:23.380Z
cloned from #95
Author: Chris Johns
2026-07-08T05:03:43.133Z
changed title from
Update rtems_waf for
7
-freebsd-14
to
Update rtems_waf for
6
-freebsd-14
Author: Chris Johns
2026-07-08T05:03:49.585Z
cloned to #97
78 - powerpc qoriq does not build on 6-freebsd-14 (opened)¶
Id |
78 |
State |
opened |
Type |
ISSUE |
Author |
Chris Johns |
Assignee(s) |
Chris Johns |
Created |
2026-03-28T01:52:45.309Z |
Updated |
2026-03-30T03:29:58.547Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/78 |
Merges |
0 |
Summary¶
LibBSD fails to build on powerpc-rtems7-qoriq_core_0
Building 7-freebsd-14 I get the following errors:
target (_bsd_ ./libbsd.a(vfs_cache.c.23.o):
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
/opt/work/aaron/rtems/libbsd/rtems-libbsd/build/powerpc-rtems7-qoriq_core_0-everything/../../freebsd/sys/kern/vfs_cache.c:2722:(.t
ext.nchinit+0x11e): relocation truncated to fit: R_PPC_SDAREL16 against symbol `_bsd_vfs_smr' defined in .data.read_frequently sec
tion in ./libbsd.a(vfs_subr.c.23.o)
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
./libbsd.a(vfs_cache.c.23.o): in function `atomic_store_rel_int':
/opt/work/aaron/rtems/libbsd/rtems-libbsd/build/powerpc-rtems7-qoriq_core_0-everything/../../rtemsbsd/include/machine/atomic.h:313
:(.text.cache_fpl_aborted_impl.isra.0+0x8e): relocation truncated to fit: R_PPC_SDAREL16 against symbol `_bsd_vfs_smr' defined in
.data.read_frequently section in ./libbsd.a(vfs_subr.c.23.o)
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
/opt/work/aaron/rtems/libbsd/rtems-libbsd/build/powerpc-rtems7-qoriq_core_0-everything/../../rtemsbsd/include/machine/atomic.h:313
:(.text.cache_fplookup_partial_setup.constprop.0+0x66): relocation truncated to fit: R_PPC_SDAREL16 against symbol `_bsd_vfs_smr'
defined in .data.read_frequently section in ./libbsd.a(vfs_subr.c.23.o)
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
/opt/work/aaron/rtems/libbsd/rtems-libbsd/build/powerpc-rtems7-qoriq_core_0-everything/../../rtemsbsd/include/machine/atomic.h:313
:(.text.cache_fplookup_dirfd+0x8a): additional relocation overflows omitted from the output
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_
vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
...
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
/opt/work/rtems/7/lib/gcc/powerpc-rtems7/15.2.0/../../../../powerpc-rtems7/bin/ld: ./libbsd.a(vfs_cache.c.23.o): the target (_bsd_vfs_smr) of a R_PPC_SDAREL16 relocation is in the wrong output section (.data)
collect2: error: ld returned 1 exit status
Steps to reproduce¶
Build a powerpc BSP on LibBSD on 7-freebsd-14
Author: Chris Johns
2026-03-28T01:52:45.417Z
cloned from #75
Author: Chris Johns
2026-03-28T01:53:23.005Z
added rtems#15 as parent epic
Author: Chris Johns
2026-03-30T03:29:58.638Z
changed title from
powerpc qoriq does not build on
7
-freebsd-14
to
powerpc qoriq does not build on
6
-freebsd-14
Author: Chris Johns
2026-03-30T03:29:58.670Z
changed the description
Merge Requests¶
166 - ZONE(9): Fix per-CPU counters on SMP¶
Id |
166 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2026-10-08T05:30:28.618Z |
Assignee(s) |
Sebastian Huber |
Created |
2026-10-03T07:08:59.006Z |
Updated |
2026-10-08T05:30:31.884Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14, smp |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/166 |
Commit |
Summary¶
Issue #112: counter_u64 is broken on SMP archs
This is the backport of !165 to 6-freebsd-14. The commit applies without a change.
The update to FreeBSD 14 dropped the processor offset from zpcpu_get(). All processors added to the slot of processor 0 without an atomic operation.
The new keg_layout() places the items of a per-CPU slab in its first page and the copy of each processor in a page of its own. The RTEMS value of UMA_PCPU_ALLOC_SIZE was PAGE_SIZE / 32. counter_u64_fetch() therefore added the values of unrelated counters, and an M_ZERO allocation cleared them. This gave the netstat -i output of the issue.
Use PAGE_SIZE for UMA_PCPU_ALLOC_SIZE and restore the processor offset in zpcpu_get(), as FreeBSD does. Give the size of the early counter in uint64_t elements. On a target with 32 processors, the early counter takes 128 KiB.
The new test counter01 checks the sum of each counter and the slot of each processor. It fails without the fix. With the fix, counter01, epoch01, smp01, loopback01 and init01 pass against RTEMS 6.
The branch does not build for sparc/gr740 without a local change. freebsd/sys/arm/ti/am335x/am335x_scm.c uses phandle_t, but no header of an RTEMS 6 build provides <dev/ofw/openfirm.h> to it. The tests ran with this include added. This defect predates the merge request.
BSP sparc/gr740 with RTEMS_SMP · Simulator sis -gr740 -m 4
AI Details¶
Prompt used¶
None as a single prompt. The work was done in an interactive Claude Code session on the rtems-libbsd tree. The task was to fix issue #112 and to backport the fix. Each change was directed and reviewed.
AI model used¶
Claude Opus 5.5 (claude-opus-5-5), through Claude Code.
How AI was used for the contribution¶
( ) Formatting
Test creation.
Code comments.
( ) The entire contribution was generated using AI
( ) AI code completion such as Copilot in VSCode.
The diagnosis, the implementation and the test were produced in that session under my direction, and the commit message was drafted there.
Access¶
I have not used a product which claims copyright in its output, and I have legitimate access to the one I used.
Author: Chris Johns
2026-10-08T05:30:24.335Z
enabled an automatic merge when all merge checks for a5a18251301a8aa7daa16f7e62a052ac6f5137e1 pass
Author: Chris Johns
2026-10-08T05:30:25.443Z
approved this merge request
Author: Chris Johns
2026-10-08T05:30:55.516Z
assigned to @sebhub
164 - Fix Beagle Bone Black networking in 6-freebsd14¶
Id |
164 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2026-10-01T02:14:57.827Z |
Created |
2026-09-29T04:48:01.260Z |
Updated |
2026-10-01T02:14:57.817Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/164 |
Commit |
Summary¶
Fix Beagle Bone Black networking
Closes #109
Generative AI¶
None
Author: Chris Johns
2026-09-29T04:48:01.526Z
marked this merge request as blocked by !163
Author: Chris Johns
2026-09-29T04:48:10.080Z
enabled an automatic merge when all merge checks for 8330264d7a1e105355709d0044508836684f8718 pass
Author: Chris Johns
2026-09-29T07:02:18.487Z
added 1 commit
2f2ab2d2 - arm/beagleboneblack: Fix Beagle Bone Black networking
Author: Chris Johns
2026-09-29T07:03:25.228Z
enabled an automatic merge when all merge checks for 2f2ab2d206f357d56039aa3e640db45f06a36360 pass
Author: Chris Johns
2026-10-01T01:34:13.515Z
Blocking this MR until !163 has been merged and I can update this MR with the changes.
Author: Chris Johns
2026-10-01T01:34:13.515Z
I have updated this MR to the commits merged on to
7-freebsd-14.
Author: Chris Johns
2026-10-01T01:33:15.218Z
added 2 commits
e873f140 - arm/beagleboneblack: Import TI drivers from FreeBSD 14
86102312 - arm/beagleboneblack: Fix Beagle Bone Black networking
Author: Chris Johns
2026-10-01T01:34:13.535Z
resolved all threads
Author: Chris Johns
2026-10-01T01:34:19.212Z
enabled an automatic merge when all merge checks for 86102312403dca2087e3d565aaa99a519ba1d301 pass
Author: Joel Sherrill
2026-10-01T02:14:53.298Z
approved this merge request
161 - rtemsbsd: Fix fxp support for motorola powerpc bsps¶
Id |
161 |
State |
merged |
Merged by |
Joel Sherrill |
Merged at |
2026-09-17T22:13:53.023Z |
Assignee(s) |
Vijay Banerjee |
Created |
2026-09-04T19:53:22.652Z |
Updated |
2026-09-17T22:13:53.015Z |
Milestone |
6.3 |
Labels |
arch:powerpc, backport |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/161 |
Commit |
Summary¶
rtemsbsd: Fix fxp support for motorola powerpc bsps
This commit fixes the fxp support used by mvme5100 bsp
Closes #107
(Cherry picked from 181401815565c5563ac1e05ea20e2c70affbf505)
Generative AI¶
Author: Vijay Banerjee
2026-09-04T19:53:22.892Z
assigned to @vijay
Author: Joel Sherrill
2026-09-17T22:13:49.242Z
approved this merge request
154 - rtemsbsd/libio: Give a duplicated descriptor an identity of its own (6-freebsd-14)¶
Id |
154 |
State |
merged |
Merged by |
Joel Sherrill |
Merged at |
2026-08-20T23:19:05.944Z |
Assignee(s) |
Sang Woo Kim |
Reviewer(s) |
Chris Johns |
Created |
2026-07-28T12:35:01.408Z |
Updated |
2026-08-20T23:19:05.873Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/154 |
Commit |
The 6-freebsd-14 version of !153: dup() of a socket returns a broken descriptor (#101), a kqueue-registered descriptor can never be closed (#102), pipe() is not connected to the libbsd implementation (#39), select/poll drop the hold of the wrong descriptor after a dup2 (#103), and getdirentries() reads a vnode out of a descriptor that has none (#104). Each commit carries its testsuite case; filed on the 6-freebsd-14 tracking issue #100 alongside !152.
Author: Sang Woo Kim
2026-07-28T12:35:20.800Z
mentioned in issue #104
Author: Sang Woo Kim
2026-07-30T12:13:31.284Z
added 5 commits
08d8e275 - rtemsbsd/libio: Give a duplicated descriptor an identity of its own
36880e4d - rtemsbsd/kqueue: Release the hold taken on a registered descriptor
4ede31f8 - rtems/syscall: Give pipe() and pipe2() the libbsd implementation
1d06fe5a - freebsd/sys_generic: Pass the scan the descriptor whose hold it drops
d8a187bc - rtems/syscall: Do not read a vnode out of a descriptor that has none
Author: Chris Johns
2026-08-02T22:53:38.060Z
assigned to @physwkim
Author: Chris Johns
2026-08-02T22:54:17.150Z
requested review from @chris
Author: Joel Sherrill
2026-08-20T23:18:57.652Z
enabled an automatic merge when all merge checks for d8a187bc2e54deb31e319e63d6e12ec531fed209 pass
Author: Joel Sherrill
2026-08-20T23:18:59.278Z
approved this merge request
152 - Backport 7-freebsd-14 fixes to 6-freebsd-14¶
Id |
152 |
State |
merged |
Merged by |
Amar Takhar |
Merged at |
2026-07-28T03:10:47.103Z |
Assignee(s) |
Chris Johns |
Created |
2026-07-27T05:52:33.631Z |
Updated |
2026-07-28T03:10:47.092Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/152 |
Commit |
This MR is a back port of commits to the 7-freebsd-14 branch. The commits are:
caaef66868608f43efaf902dfd7a0a23a61247d0
82c13a1871a90b335aeba6aac6e7db6e66d96cd8
eece52c53d32a9c05f3ed65b13076d7f087c0763
9a2ef1040f298d9e348ed50c4b729f98b1e68ade
8012a095ce304ac32d1f4b2eeecd433c464081b1
7e11daba6b80ca1fa74149c113fccc113357dd42
83e6f365b5900823839ba8da83168830991f0b74
29161cfb4d37ebc596f3663ce1fdc519edc58b20
e966cc4db8729b8c01b444dd61861c20aeb5593f
b9ca539ce8a89351882cd3531de4637bcde6182b
Generative AI¶
None
Author: Chris Johns
2026-07-27T05:52:33.857Z
assigned to @chris
Author: Chris Johns
2026-07-27T05:52:47.764Z
enabled an automatic merge when all merge checks for ec8c8464f20632767515f1fe68db1533486f383f pass
Author: Chris Johns
2026-07-28T03:10:39.386Z
The pipeline warning for an empty commit message is from one of the back ported commits.
Author: Chris Johns
2026-07-28T02:12:24.047Z
added 2 commits
2c3fdef0 - rtemsbsd: Add support to create rc.conf from environment variables
4c6f3c40 - libbsd.py: Use implicit declaration warning on cflags only
Author: Chris Johns
2026-07-28T02:21:42.559Z
mentioned in issue #100
Author: Amar Takhar
2026-07-28T03:10:43.981Z
enabled an automatic merge when all merge checks for 4c6f3c4063740c1175c846f45185f6c9eee3d022 pass
Author: Amar Takhar
2026-07-28T03:10:44.642Z
approved this merge request
Author: Sang Woo Kim
2026-07-28T12:35:19.101Z
mentioned in merge request !154
143 - 6-freebsd-14 - powerpc/beatnik: Support generic interrupts and add e1000¶
Id |
143 |
State |
merged |
Merged by |
Joel Sherrill |
Merged at |
2026-05-28T23:23:03.557Z |
Assignee(s) |
Chris Johns |
Created |
2026-05-26T01:05:49.195Z |
Updated |
2026-05-28T23:23:03.428Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/143 |
Commit |
Summary¶
Support generic interrupts on the beatnik
Support legacy bus scans for more than PCI bus 0 for the MVME5500
Add e1000 driver to the beatnik
Closes #90
Generative AI¶
None
Author: Chris Johns
2026-05-26T01:05:49.365Z
assigned to @chris
Author: Chris Johns
2026-05-26T01:06:03.381Z
enabled an automatic merge when all merge checks for b0675bd0c033aa3126eeece971f2672199781e31 pass
Author: Chris Johns
2026-05-26T01:17:12.094Z
Results of running
nuttcpon a MVME5500:SHLL [/] # nuttcp -v 10.10.5.8 nuttcp-t: v8.2.2: socket nuttcp-t: buflen=65536, nstream=1, port=5101 tcp -> 10.10.5.8 nuttcp-t: time limit = 10.00 seconds nuttcp-t: connect to 10.10.5.8 with mss=1460, RTT=0.142 ms af=inet nuttcp-t: send window size = 33580, receive window size = 65700 nuttcp-t: 201.4375 MB in 18.00 real seconds = 11458.56 KB/sec = 93.8685 Mbps nuttcp-t: 3223 I/O calls, msec/call = 5.72, calls/sec = 179.04 nuttcp-t: 4.2user 13.7sys 0:18real 99% i+d maxrss +pf csw nuttcp-r: v8.2.2: socket nuttcp-r: buflen=65536, nstream=1, port=5101 tcp nuttcp-r: accept from 10.10.5.45 with af=inet nuttcp-r: send window size = 33580, receive window size = 65700 nuttcp-r: 201.4375 MB in 18.13 real seconds = 11379.40 KB/sec = 93.2200 Mbps nuttcp-r: 149078 I/O calls, msec/call = 0.12, calls/sec = 8224.18 nuttcp-r: 0.0user 0.1sys 0:18real 1% 114i+218d 660maxrss 0+18pf 145873+0csw
Author: Joel Sherrill
2026-05-28T23:19:45.855Z
aborted the automatic merge because target branch was updated
Author: Joel Sherrill
2026-05-28T23:20:52.667Z
approved this merge request
Author: Joel Sherrill
2026-05-28T23:20:59.638Z
added 3 commits
b0675bd0…6157414b - 2 commits from branch
rtems/pkg:6-freebsd-14b53ff401 - powerpc/beatnik: Support generic interrupts and add e1000
Author: Joel Sherrill
2026-05-28T23:21:04.726Z
enabled an automatic merge when all merge checks for b53ff40126329139129b54148f210fae43bb25b3 pass
141 - 6-freebsd-14: Add KDTRACE support¶
Id |
141 |
State |
merged |
Merged by |
Joel Sherrill |
Merged at |
2026-05-28T23:19:44.167Z |
Assignee(s) |
Chris Johns |
Created |
2026-05-26T00:32:04.237Z |
Updated |
2026-05-28T23:19:44.155Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/141 |
Commit |
Summary¶
Add KDTRACE support
Added FreeBSD source files for KDTRACE
Updates #87
Generative AI¶
None
Author: Chris Johns
2026-05-26T00:32:04.404Z
assigned to @chris
Author: Chris Johns
2026-05-26T00:32:18.417Z
enabled an automatic merge when all merge checks for d694f6d90d3349ad5c72f51d951cc5272057ecc1 pass
Author: Chris Johns
2026-05-28T02:00:07.666Z
aborted the automatic merge because target branch was updated
Author: Joel Sherrill
2026-05-28T23:19:28.252Z
approved this merge request
Author: Joel Sherrill
2026-05-28T23:19:29.989Z
added 3 commits
1cb55046 - 1 commit from branch
rtems/pkg:6-freebsd-14702d9020 - freebsd: Add KDTRACE support
6157414b - freebsd/kdtrace: Add probe support for KDTRACE
Author: Joel Sherrill
2026-05-28T23:19:42.347Z
enabled an automatic merge when all merge checks for 6157414bb362c86bc9d9b73e11f9e7445fcb81df pass
142 - 6-freebsd-14 - rtemsbsd/if_mve: Use probe to check if the driver is supported¶
Id |
142 |
State |
merged |
Merged by |
Chris Johns |
Merged at |
2026-05-28T02:00:02.584Z |
Assignee(s) |
Chris Johns |
Created |
2026-05-26T00:51:04.922Z |
Updated |
2026-05-28T02:00:02.569Z |
Milestone |
6.3 |
Labels |
libbsd::freebsd-14 |
Link |
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/142 |
Commit |
Summary¶
Use probe to check if the driver is supported in rtemsbsd/if_mve
Update #89
Generative AI¶
None
Author: Chris Johns
2026-05-26T00:51:05.099Z
assigned to @chris
Author: Chris Johns
2026-05-26T00:51:17.898Z
enabled an automatic merge when all merge checks for 1cb550467decbd2d56ee611448fd761196a840e2 pass
Author: Kinsey Moore
2026-05-28T02:00:00.552Z
approved this merge request