RTEMS / Packages / LibBSD

Go to Issues or Merge Requests


Issues

23 - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP for 6-freebsd-13

Id

23

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2024-12-06T22:40:35.216Z

Closed

2025-03-02T01:46:46.419Z

Updated

2025-03-02T01:46:46.432Z

Milestone

6.2

Labels

libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/23

Merges

0

This issue is to backport the mbufs fix for ZynqMP to the 6-freebsd-13 branch.

Author: Kinsey Moore

2024-12-06T22:40:35.486Z

cloned from #20

Author: Kinsey Moore

2024-12-06T22:40:35.285Z

assigned to @opticron

Author: Kinsey Moore

2024-12-06T22:40:40.924Z

Author: Kinsey Moore

2024-12-06T22:41:23.348Z

changed title from testsuite: Restore BSP-selected values and increase mbufs for ZynqMP for 6-freebsd-1{-4-} to testsuite: Restore BSP-selected values and increase mbufs for ZynqMP for 6-freebsd-1{+3+}

Author: Kinsey Moore

2024-12-06T22:41:23.385Z

changed the description

Author: Kinsey Moore

2024-12-06T22:43:42.531Z

mentioned in merge request !30

Author: Joel Sherrill

2024-12-17T16:18:11.780Z

mentioned in commit 8b10b2e15ef4ea161e8ba3b922b2bf11a88aaef1

20 - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP for 6-freebsd-14

Id

20

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2024-11-26T03:26:44.393Z

Closed

2025-03-02T01:46:42.666Z

Updated

2025-03-02T01:46:42.688Z

Milestone

6.2

Labels

libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/20

Merges

0

Author: Chris Johns

2024-11-26T03:26:44.855Z

Author: Chris Johns

2024-11-26T03:28:30.659Z

assigned to @opticron

Author: Kinsey Moore

2024-11-26T15:38:15.961Z

This is handled in #31

Author: Kinsey Moore

2024-11-26T15:38:48.283Z

mentioned in merge request !31

Author: Gedare Bloom

2024-12-04T21:40:37.971Z

Author: Kinsey Moore

2024-12-06T22:40:35.531Z

cloned to #23

28 - Install OFW driver headers

Id

28

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Aaron Nyholm

Closed by

Chris Johns

Created

2025-01-31T06:08:30.887Z

Closed

2025-02-03T03:04:28.740Z

Updated

2025-02-03T03:04:28.754Z

Milestone

6.2

Labels

libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/28

Merges

0

Install the OFW driver headers to make it easier to support custom drivers in applications.

Author: Chris Johns

2025-01-31T06:08:31.477Z

Author: Chris Johns

2025-01-31T06:10:28.520Z

@eagleirony can you please provide an MR?

Author: Chris Johns

2025-01-31T06:10:54.752Z

assigned to @eagleirony

Author: Chris Johns

2025-01-31T06:11:02.462Z

cloned to #29

Author: Aaron Nyholm

2025-01-31T06:18:16.890Z

mentioned in merge request !49

34 - sendmsg() is not POSIX compliant (opened)

Id

34

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2025-02-03T03:07:35.278Z

Updated

2025-02-03T04:54:27.426Z

Milestone

6.2

Labels

libbsd

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/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

35 - sendmsg() is not POSIX compliant (opened)

Id

35

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2025-02-03T03:10:25.789Z

Updated

2025-02-03T04:52:16.554Z

Milestone

6.2

Labels

libbsd

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/35

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-12

Author: Chris Johns

2025-02-03T03:10:26.130Z

cloned from #34

Author: Chris Johns

2025-02-03T03:10:25.962Z

assigned to @chris

Author: Chris Johns

2025-02-03T03:10:26.574Z

Author: Chris Johns

2025-02-03T04:26:55.887Z

mentioned in merge request !51

Author: Chris Johns

2025-02-03T04:52:16.521Z

mentioned in merge request !53

24 - freebsd-to-rtems.py may need fixing (opened)

Id

24

State

opened

Type

ISSUE

Author

Ning Yang

Created

2024-12-07T12:05:47.394Z

Updated

2024-12-10T22:26:38.821Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/24

Merges

0

Summary

The branch I’m using is 6-freebsd-14.

I followd the CONTRIBUTING.md to run:

./freebsd-to-rtems.py -R
./freebsd-to-rtems.py

The working directory is no longer clean, some files were changed.

The code #include <machine/rtems-bsd-user-space.h> is included twice in these files. !`image <https://gitlab.rtems.org/-/project/uploads/678794d818b67b4ae8454a08f5b376f5/image.png>`_

Author: Ning Yang

2024-12-07T12:06:47.590Z

changed the description

Merge Requests

49 - libbsd.py: Install dev/ofw header files

Id

49

State

merged

Merged by

Amar Takhar

Merged at

2025-01-31T07:30:44.400Z

Created

2025-01-31T06:18:00.921Z

Updated

2025-05-08T23:46:41.428Z

Milestone

6.2

Labels

libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/49

Commit

844f01d4c687b549915cfd7b089f1b711b653166

Summary

libbsd.py: Install dev/ofw header files

Closes #28

Closes #6

Author: Amar Takhar

2025-01-31T07:30:33.759Z

approved this merge request

63 - gitlab: Add link to CI

Id

63

State

merged

Merged by

Kinsey Moore

Merged at

2025-03-13T22:47:11.125Z

Assignee(s)

Amar Takhar

Created

2025-02-14T09:39:44.871Z

Updated

2025-03-13T22:47:14.088Z

Milestone

6.2

Labels

ci

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/63

Commit

c442209c73217b7cada371d30dd9a8f110d21cba

Summary

gitlab: Add link to CI

This runs only the commit message and merge request checker.

Required so we can have ‘all pipelines must pass’ enabled due to a bug in GitLab.

Author: Amar Takhar

2025-02-14T09:39:45.115Z

assigned to @amar

Author: Kinsey Moore

2025-03-13T22:46:53.332Z

approved this merge request

64 - gitlab: Add link to CI

Id

64

State

merged

Merged by

Kinsey Moore

Merged at

2025-03-13T22:46:38.650Z

Assignee(s)

Amar Takhar

Created

2025-02-14T09:40:46.023Z

Updated

2025-03-13T22:46:41.978Z

Milestone

6.2

Labels

ci

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/64

Commit

9860a245377a9a20d9c041ee56292de517605841

Summary

gitlab: Add link to CI

This runs only the commit message and merge request checker.

Required so we can have ‘all pipelines must pass’ enabled due to a bug in GitLab.

Author: Amar Takhar

2025-02-14T09:40:46.210Z

assigned to @amar

Author: Kinsey Moore

2025-03-13T22:46:19.979Z

approved this merge request

54 - rtems/syscall: Return the data sent when calling sendmsg

Id

54

State

merged

Merged by

Kinsey Moore

Merged at

2025-02-03T13:30:43.190Z

Assignee(s)

Chris Johns

Created

2025-02-03T04:54:19.485Z

Updated

2025-02-03T13:30:51.569Z

Milestone

6.2

Labels

libbsd, libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/54

Commit

fc6e4a656da22557df76a1329b297bd69b418901

Return the data sent when calling sendmsg

Closes #34

Author: Chris Johns

2025-02-03T04:54:19.767Z

assigned to @chris

Author: Kinsey Moore

2025-02-03T13:30:26.599Z

approved this merge request

53 - rtems/syscall: Return the data sent when calling sendmsg

Id

53

State

merged

Merged by

Kinsey Moore

Merged at

2025-02-03T13:30:41.019Z

Assignee(s)

Chris Johns

Created

2025-02-03T04:52:02.056Z

Updated

2025-02-03T13:30:49.461Z

Milestone

6.2

Labels

libbsd

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/53

Commit

210718248d934d5ce7095bf52fe390b18dc910c9

Return the data sent when calling sendmsg

Closes #35

Author: Chris Johns

2025-02-03T04:52:02.858Z

assigned to @chris

Author: Kinsey Moore

2025-02-03T13:30:28.352Z

approved this merge request

31 - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

Id

31

State

merged

Merged by

Joel Sherrill

Merged at

2024-12-17T16:19:03.701Z

Assignee(s)

Kinsey Moore

Created

2024-11-22T16:19:01.369Z

Updated

2024-12-17T16:19:05.298Z

Milestone

6.2

Labels

arch:aarch64, libbsd, libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/31

Commit

42cd064a76c12e21ae5028ed3eb336b64c718ae3

Summary

testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

In cases where DHCP is selected, network-config.h is not used which is what provides the bsp.h include when static network configuraton is used. Adding the bsp.h include to default-network-init.h directly allows selection of default values based on BSP regardless of whether DHCP is in use.

Closes #16 Closes #20

Author: Kinsey Moore

2024-11-22T16:19:01.608Z

assigned to @opticron

Author: Kinsey Moore

2024-11-22T16:19:27.744Z

mentioned in issue #18

Author: Kinsey Moore

2024-11-26T15:34:41.147Z

mentioned in issue #19

Author: Kinsey Moore

2024-11-26T15:38:48.183Z

changed the description

Author: Kinsey Moore

2024-12-06T22:44:47.878Z

added 1 commit

  • e399cd5e - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

Compare with previous version

Author: Joel Sherrill

2024-12-17T16:18:54.063Z

added 2 commits

  • e355f774 - 1 commit from branch rtems/pkg:6-freebsd-14

  • 42cd064a - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

Compare with previous version

Author: Joel Sherrill

2024-12-17T16:18:59.451Z

approved this merge request

30 - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

Id

30

State

merged

Merged by

Joel Sherrill

Merged at

2024-12-17T16:18:11.222Z

Assignee(s)

Kinsey Moore

Created

2024-11-22T16:14:44.929Z

Updated

2024-12-17T16:18:12.594Z

Milestone

6.2

Labels

arch:aarch64, libbsd, libbsd::freebsd-13

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/30

Commit

8b10b2e15ef4ea161e8ba3b922b2bf11a88aaef1

Summary

testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

In cases where DHCP is selected, network-config.h is not used which is what provides the bsp.h include when static network configuraton is used. Adding the bsp.h include to default-network-init.h directly allows selection of default values based on BSP regardless of whether DHCP is in use.

Closes #23

Author: Kinsey Moore

2024-11-22T16:14:45.128Z

assigned to @opticron

Author: Kinsey Moore

2024-12-06T22:43:07.925Z

added 1 commit

  • 8b10b2e1 - testsuite: Restore BSP-selected values and increase mbufs for ZynqMP

Compare with previous version

Author: Kinsey Moore

2024-12-06T22:43:42.458Z

changed the description

Author: Joel Sherrill

2024-12-17T16:18:06.321Z

approved this merge request

15 - Draft: Raspberrypi4b: Add Genet Ethernet driver (closed)

Id

15

State

closed

Closed by

Ning Yang

Created

2024-09-27T12:46:49.390Z

Closed

2025-07-09T16:30:09.774Z

Updated

2025-07-09T16:40:08.746Z

Milestone

6.2

Labels

arch:aarch64, network

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/15

Commit

ca9359f14022ddf775e78c23c3558cf6855c85c9

Summary

Author: Ning Yang

2024-09-27T12:50:35.345Z

I’m trying to port genet to libbsd. It compiles successfully. how should I test whether the network driver is working?

Author: Ning Yang

2024-10-06T13:44:04.748Z

added 1 commit

  • 45d615a4 - if_genet.c latest

Compare with previous version

Author: Ning Yang

2024-10-06T14:16:39.519Z

added 1 commit

  • 11ec3f7b - base

Compare with previous version

Author: Ning Yang

2024-10-10T13:43:05.377Z

added 1 commit

  • dacd24a5 - genet earlist version

Compare with previous version

Author: Ning Yang

2024-10-18T08:08:19.084Z

added 3 commits

  • b6b30616 - genet commit2

  • 31175eb7 - tx and rx work well.

  • 517538b5 - add __rtems__

Compare with previous version

Author: Ning Yang

2024-10-19T05:24:04.381Z

added 1 commit

  • d5e5a05b - GENET

Compare with previous version

Author: Ning Yang

2024-10-23T05:14:53.208Z

mentioned in issue #11

Author: Ning Yang

2024-10-23T15:20:14.351Z

added 1 commit

  • e1831858 - genet works good.

Compare with previous version

Author: Ning Yang

2024-10-26T04:14:28.050Z

added 2 commits

  • 0931c9b1 - 1 commit from branch rtems/pkg:main

  • 29d2ff27 - genet works good.

Compare with previous version

Author: Chris Johns

2024-11-08T00:32:11.692Z

I have moved this to 6.2. If this status changes please update the MR to reflect this.

Author: Ning Yang

2024-11-14T15:43:17.615Z

The reason currently blocking merge is dtb license issue. Genet driver works good.

Author: Ning Yang

2024-11-14T15:54:52.334Z

https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/313

fdt license issue has been resolved

Author: Ning Yang

2024-11-13T09:42:29.795Z

added 441 commits

  • 29d2ff27…dc540af6 - 440 commits from branch rtems/pkg:main

  • d7bc767d - genet works good

Compare with previous version

Author: Ning Yang

2024-11-14T15:37:07.997Z

marked this merge request as ready

Author: Ning Yang

2024-11-14T15:38:19.415Z

added 1 commit

  • 85a07b62 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2024-11-14T15:42:51.174Z

changed title from {-r-}aspberrypi4: {-ge-}net driver to {+R+}aspberrypi4{+b+}: {+Add Genet Ether+}net driver

Author: Ning Yang

2024-11-14T15:43:17.631Z

resolved all threads

Author: Ning Yang

2024-11-15T06:27:32.018Z

added 1 commit

  • 9ea6d1f9 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2024-11-20T05:27:54.009Z

added 3 commits

  • 9ea6d1f9…3de45fac - 2 commits from branch rtems/pkg:main

  • fe874657 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2024-11-22T05:41:06.407Z

mentioned in issue #18

Author: Ning Yang

2024-11-22T05:45:59.570Z

changed target branch from main to 6-freebsd-14

Author: Ning Yang

2024-11-22T05:48:25.704Z

added 1 commit

  • b2d8ce77 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2024-11-23T08:28:55.348Z

added 1 commit

  • 3073bada - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2024-11-29T14:58:54.565Z

marked this merge request as draft

Author: Amar Takhar

2025-07-03T18:19:08.520Z

@yangn0 This needs to be rebased manually. We’ll look at this during the meeting tomorrow thanks.

Author: Ning Yang

2025-07-03T18:19:08.520Z

ok. I will completed it today

Author: Amar Takhar

2025-07-03T18:19:08.520Z

Awesome thank you!

Author: Ning Yang

2025-07-03T18:19:08.520Z

Done.

Author: Ning Yang

2025-07-03T18:15:38.772Z

added 19 commits

  • 3073bada…48eadd12 - 18 commits from branch rtems/pkg:6-freebsd-14

  • b0d7dcaa - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2025-07-03T18:17:23.792Z

resolved all threads

Author: Ning Yang

2025-07-03T18:18:42.408Z

marked this merge request as ready

Author: Kinsey Moore

2025-07-03T18:19:08.540Z

resolved all threads

Author: Ning Yang

2025-07-03T18:21:27.870Z

added 1 commit

  • a56541a9 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Amar Takhar

2025-07-03T18:40:03.671Z

This is for 6-freebsd-14 is there any plan to forward port this to 7? Or does it already exist there?

Author: Ning Yang

2025-07-03T18:40:03.671Z

When I ported genet, there was no 7-libbsd.

It will probably be easy to port genet to 7. I will port it later.

Author: Kinsey Moore

2025-07-03T18:29:44.665Z

Is this change intentional?

Author: Ning Yang

2025-07-03T18:29:44.665Z

No. It is an mistake. I have deleted it.

Author: Kinsey Moore

2025-07-03T18:25:48.632Z

64MB seems excessive given that ZynqMP with 4 interfaces only requires 16MB. Is 64MB the minimum required to run the LibBSD tests?

Author: Ning Yang

2025-07-03T18:42:18.761Z

I don’t have a raspberrypi4 right now. I will test it tomorrow

Author: Kinsey Moore

2025-07-03T18:33:31.556Z

Please use lowercase hexadecimal to be consistent with the other constants here.

Author: Ning Yang

2025-07-03T18:33:15.841Z

changed this line in version 19 of the diff

Author: Ning Yang

2025-07-03T18:33:16.192Z

added 1 commit

  • c8dcbcd0 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2025-07-03T18:53:03.637Z

added 1 commit

  • ca9359f1 - Raspberrypi4b: Add Genet Ethernet driver

Compare with previous version

Author: Ning Yang

2025-07-09T16:27:28.917Z

marked this merge request as draft

Author: Ning Yang

2025-07-09T16:40:29.793Z

rtems6 does not support the genet FDT, so the 6-freebsd-14 branch genet driver is useless. I will close this MR and submit a new one for 7-libbsd.

Author: Amar Takhar

2025-07-09T16:40:08.727Z

Okay, thank you!

52 - rtems/syscall: Return the data sent when calling sendmsg (closed)

Id

52

State

closed

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-02-03T04:37:08.113Z

Closed

2025-02-03T04:46:23.016Z

Updated

2025-02-03T04:46:23.001Z

Milestone

6.2

Labels

libbsd

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/52

Commit

ccdf6afb54e0e69b165080aeded7bdc9d1d6d681

Return the data sent when calling sendmsg

Closes #34

Author: Chris Johns

2025-02-03T04:37:08.324Z

assigned to @chris

Author: Chris Johns

2025-02-03T04:37:25.807Z

added 3 commits

  • 98fe4752…844f01d4 - 2 commits from branch rtems/pkg:6-freebsd-14

  • ccdf6afb - rtems/syscall: Return the data sent when calling sendmsg

Compare with previous version

51 - rtems/syscall: Return the data sent when calling sendmsg (closed)

Id

51

State

closed

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-02-03T04:26:49.998Z

Closed

2025-02-03T04:46:22.347Z

Updated

2025-02-03T04:46:22.329Z

Milestone

6.2

Labels

libbsd

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/51

Commit

513828c519dfc7b08d8b0abd036e690a52d6160a

Return the data sent when calling sendmsg

Closes #35

Author: Chris Johns

2025-02-03T04:26:50.209Z

assigned to @chris

Author: Chris Johns

2025-02-03T04:27:10.228Z

added 2 commits

  • 41743b9a - 1 commit from branch rtems/pkg:6-freebsd-12

  • 513828c5 - rtems/syscall: Return the data sent when calling sendmsg

Compare with previous version

82 - Update libbsd 6-freebsd-14 for GCC 14 (opened)

Id

82

State

opened

Assignee(s)

Kinsey Moore

Created

2025-07-04T00:11:49.801Z

Updated

2025-07-04T00:21:58.170Z

Milestone

6.2

Labels

libbsd::freebsd-14, tool::gcc

Link

https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/82

Commit

8e22db4a259e9de392a4ed8db4bc5b5b5a1d76cd

Summary

This updates 6-freebsd-14 with the GCC 14 fixes to make future backports easier where necessary.

Closes #46

Author: Kinsey Moore

2025-07-04T00:11:49.931Z

assigned to @opticron

Author: Kinsey Moore

2025-07-04T00:21:40.342Z

added 6 commits

  • f20d6eb8 - freebsd: Restore missing return type

  • efd4f8f3 - freebsd/rtemsbsd: Resolve mismatched type errors

  • 565d5641 - freebsd: Resolve incorrect return types

  • 90ce2b89 - rtemsbsd: Fix incorrect function signatures

  • 478214ca - bsd/dhcpcd/testsuite: Resolve missing prototypes

  • 8e22db4a - rtemsbsd: Remove unused file

Compare with previous version

Author: Kinsey Moore

2025-07-04T00:21:58.228Z

changed the description