<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot/uboot/common, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Move sys/boot to stand. Fix all references to new location</title>
<updated>2017-11-14T23:02:19+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-11-14T23:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ca987d4641cdcd7f27e153db17c5bf064934faf5'/>
<id>ca987d4641cdcd7f27e153db17c5bf064934faf5</id>
<content type='text'>
Sponsored by:	Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>Move fdt and uboot defines into common uboot.mk.</title>
<updated>2017-10-22T22:49:51+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-10-22T22:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=392c874409c1ece12354792b8dafa8bfd1a0bb9b'/>
<id>392c874409c1ece12354792b8dafa8bfd1a0bb9b</id>
<content type='text'>
Sponsored by: Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by: Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct a comment... the stack used by ubldr is the same stack u-boot was</title>
<updated>2017-04-01T22:03:00+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2017-04-01T22:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1982abfd4aaded4a8d792bd4c1be9c854ddd4706'/>
<id>1982abfd4aaded4a8d792bd4c1be9c854ddd4706</id>
<content type='text'>
running on when it jumped to the ubldr entry point.  None of the arches
that use this code set up a different stack in their start.S routines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
running on when it jumped to the ubldr entry point.  None of the arches
that use this code set up a different stack in their start.S routines.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce boot loader version string duplication</title>
<updated>2016-12-18T13:57:23+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-12-18T13:57:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0bf23e313efc69325d447dfe7909a7703cd6d0a8'/>
<id>0bf23e313efc69325d447dfe7909a7703cd6d0a8</id>
<content type='text'>
Instead of repeating "%s, Revision %s" "(%s %s)" in each loader, just
create the full version string in vers.c

Reviewed by:	bapt
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8823
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of repeating "%s, Revision %s" "(%s %s)" in each loader, just
create the full version string in vers.c

Reviewed by:	bapt
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8823
</pre>
</div>
</content>
</entry>
<entry>
<title>sys/boot: use our nitems() macro when it is available through param.h.</title>
<updated>2016-04-19T23:44:33+00:00</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-19T23:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2464bbf05ac2af46a81e4dbb3c2a7e4a62bb35f1'/>
<id>2464bbf05ac2af46a81e4dbb3c2a7e4a62bb35f1</id>
<content type='text'>
No functional change, only trivial cases are done in this sweep,

Discussed in:	freebsd-current
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional change, only trivial cases are done in this sweep,

Discussed in:	freebsd-current
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve U-Boot API detection</title>
<updated>2016-03-09T11:45:48+00:00</updated>
<author>
<name>Stanislav Galabov</name>
<email>sgalabov@FreeBSD.org</email>
</author>
<published>2016-03-09T11:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=08190ef7de1b9b155fda22bec28edd747223a421'/>
<id>08190ef7de1b9b155fda22bec28edd747223a421</id>
<content type='text'>
Until now, ubldr has been trying to locate the U-Boot API using a hint
address (U-Boot's current stack pointer), aligning it to 1MiB and going
over a 3MiB (or 1MiB in case of MIPS) memory region searching for a
valid API signature.

This change introduces an alternative way of doing this, namely the
following:
- both U-Boot's bootelf and go commands actually pass argc and argv to
  the entry point (e.g., ubldr's start function, but they should also
  be passed over to main() transparently)
- so, instead of trying to go and look for a valid API signature, we
  look at the parameters passed to main()
- if there's an option '-a' with argument, which is a valid hexadecimal
  unsigned  long number (x), we try to verify whether we have a valid
  API signature at address x. If so - we use it. If not - we fallback
  to the original way of locating the API signature.

The U-Boot change, which causes the API structure address to be
exported as an environment variable, was committed to mainline U-Boot
as commit 22aa61f707574dd569296f521fcfc46a05f51c48

Reviewed by:	andrew, adrian
Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5492
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Until now, ubldr has been trying to locate the U-Boot API using a hint
address (U-Boot's current stack pointer), aligning it to 1MiB and going
over a 3MiB (or 1MiB in case of MIPS) memory region searching for a
valid API signature.

This change introduces an alternative way of doing this, namely the
following:
- both U-Boot's bootelf and go commands actually pass argc and argv to
  the entry point (e.g., ubldr's start function, but they should also
  be passed over to main() transparently)
- so, instead of trying to go and look for a valid API signature, we
  look at the parameters passed to main()
- if there's an option '-a' with argument, which is a valid hexadecimal
  unsigned  long number (x), we try to verify whether we have a valid
  API signature at address x. If so - we use it. If not - we fallback
  to the original way of locating the API signature.

The U-Boot change, which causes the API structure address to be
exported as an environment variable, was committed to mainline U-Boot
as commit 22aa61f707574dd569296f521fcfc46a05f51c48

Reviewed by:	andrew, adrian
Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5492
</pre>
</div>
</content>
</entry>
<entry>
<title>These changes attempt to put things in order before the introduction of MIPS</title>
<updated>2016-02-29T07:27:49+00:00</updated>
<author>
<name>Stanislav Galabov</name>
<email>sgalabov@FreeBSD.org</email>
</author>
<published>2016-02-29T07:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b981b8bd869140a572e5cfa713d4c6f67d1534ab'/>
<id>b981b8bd869140a572e5cfa713d4c6f67d1534ab</id>
<content type='text'>
ubldr.

The changes are mostly dealing with removing unnecessary casts from the U-Boot
API (we're passing only pointers, no obvious reason to cast them to uint32_t),
cleaning up some compiler warnings and using the proper printf format
specifiers in order to be able to compile cleanly for both 32-bit and 64-bit
MIPS targets.

Reviewed by:	imp
Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5312
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ubldr.

The changes are mostly dealing with removing unnecessary casts from the U-Boot
API (we're passing only pointers, no obvious reason to cast them to uint32_t),
cleaning up some compiler warnings and using the proper printf format
specifiers in order to be able to compile cleanly for both 32-bit and 64-bit
MIPS targets.

Reviewed by:	imp
Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5312
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the error checking for the ubenv command.  This moves the check for an</title>
<updated>2015-12-29T21:29:05+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2015-12-29T21:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b8466276a1a328ba6b3df1cd4e9a8896b7187d64'/>
<id>b8466276a1a328ba6b3df1cd4e9a8896b7187d64</id>
<content type='text'>
empty ldvar (which amounts to the varname string starting with '=') into
the if block that manipulates ldvar, which avoids later referencing ldvar
when it was never initialized.

Submitted by:	Thomas Skibo
Pointy hat:	ian
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
empty ldvar (which amounts to the varname string starting with '=') into
the if block that manipulates ldvar, which avoids later referencing ldvar
when it was never initialized.

Submitted by:	Thomas Skibo
Pointy hat:	ian
</pre>
</div>
</content>
</entry>
<entry>
<title>Enhance the "ubenv import" command to allow importing a u-boot env var</title>
<updated>2015-12-14T22:00:46+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2015-12-14T22:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=36f17e5176accaafe3ae62015f3e61e7462ecb5e'/>
<id>36f17e5176accaafe3ae62015f3e61e7462ecb5e</id>
<content type='text'>
directly into a loader (and thus kernel) env var, using the syntax

  ubenv import ldvarname=ubvarname

Without the varname= prefix it uses the historical behavior of importing
to the name uboot.ubvarname.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
directly into a loader (and thus kernel) env var, using the syntax

  ubenv import ldvarname=ubvarname

Without the varname= prefix it uses the historical behavior of importing
to the name uboot.ubvarname.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove stray unescaped `%` in `Booting from ...` informational message</title>
<updated>2015-12-05T23:59:30+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-12-05T23:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f23ba0f0e91a53345cd48ffe0825b6fac5fd5c53'/>
<id>f23ba0f0e91a53345cd48ffe0825b6fac5fd5c53</id>
<content type='text'>
PR: 204944
MFC after: 1 week
X-MFC with: r291164
Reported by: David Binderman &lt;dcb314@hotmail.com&gt;
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR: 204944
MFC after: 1 week
X-MFC with: r291164
Reported by: David Binderman &lt;dcb314@hotmail.com&gt;
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
</feed>
