<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/stand/lua, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add support for getting early entropy from UEFI</title>
<updated>2022-03-14T21:26:33+00:00</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2022-02-17T21:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de4045353b14da663737659cf103302e337d7299'/>
<id>de4045353b14da663737659cf103302e337d7299</id>
<content type='text'>
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm), re (delphij)
Differential Revision:	https://reviews.freebsd.org/D20780
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm), re (delphij)
Differential Revision:	https://reviews.freebsd.org/D20780
</pre>
</div>
</content>
</entry>
<entry>
<title>lualoader: fix the autoboot_delay countdown message</title>
<updated>2022-03-09T21:21:54+00:00</updated>
<author>
<name>Katsuyuki Miyoshi</name>
<email>katsubsd@gmail.com</email>
</author>
<published>2021-10-26T16:21:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9cb5ea3dd2ec87a08cef3963823a1015611a1b94'/>
<id>9cb5ea3dd2ec87a08cef3963823a1015611a1b94</id>
<content type='text'>
When the timer drops from double to single digits, a spare 'e' is left
on the end of the line as we don't overwrite it. Include an extra space
at the end to account for this and overwrite the leftover character.

PR:		259429

(cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the timer drops from double to single digits, a spare 'e' is left
on the end of the line as we don't overwrite it. Include an extra space
at the end to account for this and overwrite the leftover character.

PR:		259429

(cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: lua: test that /boot exists first</title>
<updated>2022-01-13T07:58:54+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2021-12-13T13:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=28d2b8b70047f6f3a6cc0d02c5090d333f7a61cb'/>
<id>28d2b8b70047f6f3a6cc0d02c5090d333f7a61cb</id>
<content type='text'>
Otherwise on fs like tftp where no directory listing is possible we fail
on the .dir method.

Reviewed by:	imp, kevans
MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33414

(cherry picked from commit c4dc907254a4275d8f3ecd9a6b615c6e2a2438e9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise on fs like tftp where no directory listing is possible we fail
on the .dir method.

Reviewed by:	imp, kevans
MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33414

(cherry picked from commit c4dc907254a4275d8f3ecd9a6b615c6e2a2438e9)
</pre>
</div>
</content>
</entry>
<entry>
<title>cli.lua.8: make the command match the code</title>
<updated>2021-09-12T15:56:15+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2021-07-29T02:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6c8ad124a253e42285a809667aad51853e724d19'/>
<id>6c8ad124a253e42285a809667aad51853e724d19</id>
<content type='text'>
It's disable-device, not device-disable

Spotted by:		jrtc27
Sponsored by:		Netflix

(cherry picked from commit 6b51baf6a8de7241a4e1b0c8436d70299cd55270)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's disable-device, not device-disable

Spotted by:		jrtc27
Sponsored by:		Netflix

(cherry picked from commit 6b51baf6a8de7241a4e1b0c8436d70299cd55270)
</pre>
</div>
</content>
</entry>
<entry>
<title>lua loader: Add disable-device to disable a device.</title>
<updated>2021-09-12T15:56:15+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2021-07-28T22:52:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25b4b24edf465f3ebc8ad796bbfd11c2588a4e79'/>
<id>25b4b24edf465f3ebc8ad796bbfd11c2588a4e79</id>
<content type='text'>
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily
disable a device attaching during boot.

Reviewed by:		tsoome
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D31297

(cherry picked from commit 07c4b78d0a1d26b6441cf3e52b917f20c932b9d0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily
disable a device attaching during boot.

Reviewed by:		tsoome
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D31297

(cherry picked from commit 07c4b78d0a1d26b6441cf3e52b917f20c932b9d0)
</pre>
</div>
</content>
</entry>
<entry>
<title>lualoader: use more concise verbiage for autoboot</title>
<updated>2021-09-12T05:34:28+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2021-09-08T21:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8df27f0acea8a11d48431f84b84fa6d52b73a64d'/>
<id>8df27f0acea8a11d48431f84b84fa6d52b73a64d</id>
<content type='text'>
The behavior remains the same, but lualoader now uses the more concise
verbiage that forthloader used.  This is particularly important because
the previous line would exceed the right boundary of the menu and run
straight into space that would typically be allowed for the logo.

This makes it slightly easier to port logos from forthloader to
lualoader.

(cherry picked from commit ed107537b43cabf7a18e73a17856a9d9e170c6e9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behavior remains the same, but lualoader now uses the more concise
verbiage that forthloader used.  This is particularly important because
the previous line would exceed the right boundary of the menu and run
straight into space that would typically be allowed for the logo.

This makes it slightly easier to port logos from forthloader to
lualoader.

(cherry picked from commit ed107537b43cabf7a18e73a17856a9d9e170c6e9)
</pre>
</div>
</content>
</entry>
<entry>
<title>lualoader: allow brands to specify a shift</title>
<updated>2021-09-12T05:34:28+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2021-09-08T21:33:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0c675cb9c9cbe089eb9d881fb01d70bffddd24d6'/>
<id>0c675cb9c9cbe089eb9d881fb01d70bffddd24d6</id>
<content type='text'>
Some brands will want to specify a shift to make sure they're properly
centered; let it happen.

(cherry picked from commit e19d9a9b6e44e15087a140a26ab3e24b07f6ba56)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some brands will want to specify a shift to make sure they're properly
centered; let it happen.

(cherry picked from commit e19d9a9b6e44e15087a140a26ab3e24b07f6ba56)
</pre>
</div>
</content>
</entry>
<entry>
<title>lualoader: remove shadowed local from graphics:drawitem()</title>
<updated>2021-09-12T05:34:28+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2021-09-08T21:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973'/>
<id>b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973</id>
<content type='text'>
for loop vars are local already and distinct from this earlier
declaration; remove it.

(cherry picked from commit 763bcebe0b6d5e53e5c8940a677de662e5652b6d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for loop vars are local already and distinct from this earlier
declaration; remove it.

(cherry picked from commit 763bcebe0b6d5e53e5c8940a677de662e5652b6d)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: do not output empty menu title</title>
<updated>2021-04-28T09:35:54+00:00</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2021-04-21T11:42:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eabfffcb4c14751d1d2852ed82a1976b69854166'/>
<id>eabfffcb4c14751d1d2852ed82a1976b69854166</id>
<content type='text'>
As we output spaces around the menu title, we should also check,
if the title is actually empty string.

PR:		255299
Submitted by:	Jose Luis Duran
Reported by:	Jose Luis Duran

(cherry picked from 4ba91fa0736bb0672d475b6b56d9e7b06e78ff69)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we output spaces around the menu title, we should also check,
if the title is actually empty string.

PR:		255299
Submitted by:	Jose Luis Duran
Reported by:	Jose Luis Duran

(cherry picked from 4ba91fa0736bb0672d475b6b56d9e7b06e78ff69)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: insert spaces around menu title</title>
<updated>2021-04-03T23:03:33+00:00</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2021-03-23T05:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d019c774e9063e36c0a80e75df02df8b4b202f47'/>
<id>d019c774e9063e36c0a80e75df02df8b4b202f47</id>
<content type='text'>
Small visual nit, make menu title more clean

(cherry picked from 62ffcaab8f3ccba6053d4a5622c5ef2de9f636b5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Small visual nit, make menu title more clean

(cherry picked from 62ffcaab8f3ccba6053d4a5622c5ef2de9f636b5)
</pre>
</div>
</content>
</entry>
</feed>
