<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/tools, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>shlib-compat: Fix two typos in error messages</title>
<updated>2026-04-04T07:11:11+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2026-04-04T07:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3957e233dd9cf7b7599dd0a5efc59a78adfa9441'/>
<id>3957e233dd9cf7b7599dd0a5efc59a78adfa9441</id>
<content type='text'>
- s/implemeted/implemented/

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/implemeted/implemented/

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: embedded: Time stamp the code image</title>
<updated>2026-03-19T17:14:36+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=894992e7860596ce27961771fc00e52812da91f1'/>
<id>894992e7860596ce27961771fc00e52812da91f1</id>
<content type='text'>
While there is a function nano_makefs() that already takes care of this
issue, we are not yet ready to consume it.

Just add the time stamp and FFS options to makefs.  This is done
primarily to use UFS2 (UFS version 2).  If the user needs further
customization, the variable NANO_MAKEFS can be overridden.  Timestamping
takes care of making the images bit-for-bit identical.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54980
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While there is a function nano_makefs() that already takes care of this
issue, we are not yet ready to consume it.

Just add the time stamp and FFS options to makefs.  This is done
primarily to use UFS2 (UFS version 2).  If the user needs further
customization, the variable NANO_MAKEFS can be overridden.  Timestamping
takes care of making the images bit-for-bit identical.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54980
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: Minor cleanup</title>
<updated>2026-03-19T17:14:24+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5902c1834d82737137152eeaf8b60f1cd6652fad'/>
<id>5902c1834d82737137152eeaf8b60f1cd6652fad</id>
<content type='text'>
No functional change intended.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54979
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional change intended.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54979
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: embedded: Fix more regressions from last cleanup</title>
<updated>2026-03-19T17:13:59+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:13:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=60f8d36f7eedf397a8ec21ce58cb33a26f1aa4fc'/>
<id>60f8d36f7eedf397a8ec21ce58cb33a26f1aa4fc</id>
<content type='text'>
Commit c99bb5747f5e changed "()" grouping into "{}", but in these cases
we chdir and depended on the subshell not changing the directory for the
caller.  Restore the old behavior.  While things appear to work without
this change, the previous code was intentionally structured this way.

Reviewed by:	imp
Fixes:		c99bb5747f5e ("nanobsd: minor formatting cleanup")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54978
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit c99bb5747f5e changed "()" grouping into "{}", but in these cases
we chdir and depended on the subshell not changing the directory for the
caller.  Restore the old behavior.  While things appear to work without
this change, the previous code was intentionally structured this way.

Reviewed by:	imp
Fixes:		c99bb5747f5e ("nanobsd: minor formatting cleanup")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54978
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: embedded: Remove stray comment</title>
<updated>2026-03-19T17:13:29+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:13:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21970f278028464f053fa15d45321cfa727c488a'/>
<id>21970f278028464f053fa15d45321cfa727c488a</id>
<content type='text'>
Remove an outdated comment about NanoBSD not being able to remove the
firstboot sentinel file.

It was fixed in cb51e2bc3db7 ("rc: Allow the removal of
firstboot_sentinel on read-only file systems").

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54977
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove an outdated comment about NanoBSD not being able to remove the
firstboot sentinel file.

It was fixed in cb51e2bc3db7 ("rc: Allow the removal of
firstboot_sentinel on read-only file systems").

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54977
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: embedded: Remove mtools dependency</title>
<updated>2026-03-19T17:12:51+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:12:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5de9a54c76cf4ce423685531f3d9ec256a31b1b6'/>
<id>5de9a54c76cf4ce423685531f3d9ec256a31b1b6</id>
<content type='text'>
Rely on makefs -t msdos to create the MS-DOS partition and remove the
dependency on filesystems/mtools.

Note that NANO_SLICE_FAT_SIZEs defined in sectors (ending with an "s")
are no longer supported, as a workaround the letter "b" (blocks) may be
used instead.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54976
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rely on makefs -t msdos to create the MS-DOS partition and remove the
dependency on filesystems/mtools.

Note that NANO_SLICE_FAT_SIZEs defined in sectors (ending with an "s")
are no longer supported, as a workaround the letter "b" (blocks) may be
used instead.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54976
</pre>
</div>
</content>
</entry>
<entry>
<title>nanobsd: embedded: Calculate FAT type and scheme</title>
<updated>2026-03-19T17:12:26+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-19T17:12:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=68f5e5b1244d1285f0ec5ea3f88ff63f2c9554dd'/>
<id>68f5e5b1244d1285f0ec5ea3f88ff63f2c9554dd</id>
<content type='text'>
Determine the FAT (MS-DOS) type (FAT32, FAT16, or FAT12) and partition
scheme (fat32lba or fat16b) based on partition size.

Accept any (NetBSD) strsuftoll(3)-compatible string, as the value will
be fed to makefs(8) "-s" in a future commit.

NANO_SLICE_FAT_SIZEs defined in sectors (ending with an "s") will not be
supported.  As a workaround, the letter "b" (blocks) may be used.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Determine the FAT (MS-DOS) type (FAT32, FAT16, or FAT12) and partition
scheme (fat32lba or fat16b) based on partition size.

Accept any (NetBSD) strsuftoll(3)-compatible string, as the value will
be fed to makefs(8) "-s" in a future commit.

NANO_SLICE_FAT_SIZEs defined in sectors (ending with an "s") will not be
supported.  As a workaround, the letter "b" (blocks) may be used.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54975
</pre>
</div>
</content>
</entry>
<entry>
<title>sanitize.lua: A tool to extract interfaces from files</title>
<updated>2026-02-27T00:40:32+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2026-02-27T00:40:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7951411672fab14367d9e785bfc6fe7d9a29668c'/>
<id>7951411672fab14367d9e785bfc6fe7d9a29668c</id>
<content type='text'>
This is a simple too to remove all comments, extra whitespace and other
unnecessary things that may have creative content. What remains can be
just the minimal interface described by the header file. When used with
care, this can mechanically sanitize files, like some device tree
bindings file, that are only #defines that are meant to be used in
multiple context (the dts files and in C code to interpret the resulting
dtb).

Sponsored by:		Netflix
Reviewed by:		kevans
Differential Revision:	https://reviews.freebsd.org/D55087
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a simple too to remove all comments, extra whitespace and other
unnecessary things that may have creative content. What remains can be
just the minimal interface described by the header file. When used with
care, this can mechanically sanitize files, like some device tree
bindings file, that are only #defines that are meant to be used in
multiple context (the dts files and in C code to interpret the resulting
dtb).

Sponsored by:		Netflix
Reviewed by:		kevans
Differential Revision:	https://reviews.freebsd.org/D55087
</pre>
</div>
</content>
</entry>
<entry>
<title>syscall_timing: add Makefile.depend</title>
<updated>2026-02-25T05:38:40+00:00</updated>
<author>
<name>Ka Ho Ng</name>
<email>khng@FreeBSD.org</email>
</author>
<published>2026-02-25T05:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0ac5cddebe1e98d7d29493f0e6e829021be7fcef'/>
<id>0ac5cddebe1e98d7d29493f0e6e829021be7fcef</id>
<content type='text'>
This was part of review D44761. It was separated into another commit for
better clarity.

Obtained from:	Hewlett Packard Enterprise
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44761
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was part of review D44761. It was separated into another commit for
better clarity.

Obtained from:	Hewlett Packard Enterprise
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44761
</pre>
</div>
</content>
</entry>
<entry>
<title>Use NO_SHARED instead of explicitly using -static flag</title>
<updated>2026-02-25T05:29:04+00:00</updated>
<author>
<name>Stephen J. Kiernan</name>
<email>stevek@FreeBSD.org</email>
</author>
<published>2026-02-25T05:25:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de773bcc2ffb8472f68283985bf4b7b698c57914'/>
<id>de773bcc2ffb8472f68283985bf4b7b698c57914</id>
<content type='text'>
NO_SHARED is the proper way to declare linking a program without
shared libraries.

Obtained from:	Hewlett Packard Enterprise
MFC after:	1 week
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D44761
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NO_SHARED is the proper way to declare linking a program without
shared libraries.

Obtained from:	Hewlett Packard Enterprise
MFC after:	1 week
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D44761
</pre>
</div>
</content>
</entry>
</feed>
