Rust bindings for bcm2835

59 views
Skip to first unread message

Abhijith C V

unread,
Oct 30, 2020, 3:32:48 AM10/30/20
to bcm2835
I have been creating Rust bindings for bcm2835 lib.
Its incomplete and needs work.
Since I am new to the world of open source,  question is how do I select an open source license for the bindings.

John L. Males

unread,
Oct 30, 2020, 3:48:18 AM10/30/20
to Abhijith C V
Abhijith,

If you have not searched already there are a few sites that
cover the various Open Source Licences and the key elements of
each Open Source License. I would suggest you review those and
simialar Open Source Licence resources to have a feel of the
choices and choose one that suits you.

As a foot note there are those that do not like GPL V3, but
fine with GPL V2 even years after GPL V3 was created. That
means many that were GPL V2 before GPL V3 was created do not
want to change to GPL V3. MIT Type license is another many
use. I am not trying to bias your decision at all. I am no
expert. I do know I have and still read about GPL V2 vs V3 to
this day by chance without seeking to do so.

I do not know if there is a place/mailing list that focus is
about Open Source Licenses, but maybe you might find ther eis
and if so likely good place to ask and discuss choices that
suit you.


John L. Males
Toronto, Ontario
Canada
30 October 2020 03:48 -0400 EDT


================================================================

2020-10-30 07:39:01+0000-UTC Time: 1604043541 PC/System time

30 Oct 07:39:01 ntpdate[113]: ntpdate 4.2.8p12-a (1)

30 Oct 07:39:16 ntpdate[5478]: step time server 206.108.0.132
offset +0.000112 sec

FreeBSD 11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep 1
08:22:33 UTC 2020
ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

(Work in progress alternative to Linux Kernel of its own right,
Debian, and
other Linux based Kernel distributions determined.)

Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz
Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz (1396.86-MHz K8-class
CPU) Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz (1396.86-MHz
K8-class CPU) Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz
(1396.86-MHz K8-class CPU) Intel(R) Core(TM) i3-2367M CPU @
1.40GHz (1396.86-MHz K8-class CPU) Intel(R) Core(TM) i3-2367M
CPU @ 1.40GHz (1396.86-MHz K8-class CPU)

dev.cpu.0.temperature: 72.0C
dev.cpu.1.temperature: 73.0C
dev.cpu.2.temperature: 71.0C
dev.cpu.3.temperature: 71.0C
hw.acpi.thermal.tz0.temperature: 73.1C

vmstat -s:

875836818 cpu context switches
25042429 device interrupts
4110087 software interrupts
466949214 traps
2077117105 system calls
27 kernel threads created
1067255 fork() calls
22353 vfork() calls
0 rfork() calls
1448 swap pager pageins
7491 swap pager pages paged in
558 swap pager pageouts
10636 swap pager pages paged out
21544 vnode pager pageins
209543 vnode pager pages paged in
253 vnode pager pageouts
274 vnode pager pages paged out
239 page daemon wakeups
132504342 pages examined by the page daemon
0 clean page reclamation shortfalls
5441998 pages reactivated by the page daemon
43362070 copy-on-write faults
178699 copy-on-write optimized faults
351496940 zero fill pages zeroed
7253 zero fill pages prezeroed
172519 intransit blocking page faults
485629871 total VM faults taken
30447 page faults requiring I/O
0 pages affected by kernel thread creation
37724786 pages affected by fork()
784978 pages affected by vfork()
0 pages affected by rfork()
460769131 pages freed
13813379 pages freed by daemon
195498754 pages freed by exiting processes
642248 pages active
2165141 pages inactive
513779 pages in the laundry queue
674224 pages wired down
57373 pages free
4096 bytes per page
63197578 total name lookups
cache hits (85% pos + 5% neg) system 0% per-directory
deletions 0%, falsehits 0%, toolong 0%

Boot time : 1603881059

procs memory page disks
faults cpu0 cpu1 cpu2 cpu3 r b w avm
fre flt re pi po fr sr ad0 pa0 in sy cs us sy
id us sy id us sy id us sy id 0 0 0 89812568 229432 2989
33 0 0 2836 815 0 0 154 12782 5390 11 4 86 11 3
86 11 4 86 11 3 86

memory info:

real memory = 17179869184 (16384 MB)
avail memory = 16495013888 (15730 MB)

last pid: 31407; load averages: 1.17, 0.84, 0.90 up
1+21:08:18 07:39:17 68 processes: 1 running, 66 sleeping, 1
zombie

Mem: 2509M Active, 8458M Inact, 2007M Laundry, 2634M Wired,
1554M Buf, 223M Free Swap: 48G Total, 36M Used, 48G Free

hw.physmem: 17053859840
hw.usermem: 14292070400
hw.realmem: 17179869184

total used free shared
buffers cached Mem: 16210872 7320928
8889944 0 0 0 Swap:
50331644 36708 50294936

swapinfo:

Device 1K-blocks Used Avail Capacity
/dev/ada0s1b 50331644 36708 50294936 0%

vmstat:

procs memory page disks
faults cpu r b w avm fre flt re pi po
fr sr ad0 pa0 in sy cs us sy id 0 0 0 89812568
229436 2989 33 0 0 2836 815 0 0 154 12782 5390
11 4 86


Message replied to:

Date: Fri, 30 Oct 2020 00:32:48 -0700 (PDT)
From: Abhijith C V <abhijith...@gmail.com>
To: bcm2835 <bcm...@googlegroups.com>
Subject: [bcm2835] Rust bindings for bcm2835


> Abhijith
Message has been deleted

Abhijith C V

unread,
Oct 30, 2020, 6:36:02 AM10/30/20
to bcm2835
Thank you for your opinion
Reply all
Reply to author
Forward
0 new messages