[U-Boot] [PATCH v2 2/4] kconfig: Add a FREEBSD option
Jeroen Hofstee
dasuboot at myspectrum.nl
Sat Jan 21 11:31:16 CET 2017
Hello Simon,
On 21-01-17 04:51, Simon Glass wrote:
> Hi,
>
> On 17 January 2017 at 08:50, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>> Add a FreeBSD option that enable the API and enable the data cache
>> command as it is needed to boot the FreeBSD loader.
>>
>> Signed-off-by: Emmanuel Vadot <manu at bidouilliste.com>
>> ---
>> common/Kconfig | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>> diff --git a/common/Kconfig b/common/Kconfig
>> index a04ee1084f..b719ccd888 100644
>> --- a/common/Kconfig
>> +++ b/common/Kconfig
>> @@ -389,4 +389,13 @@ config DISPLAY_BOARDINFO
>> when U-Boot starts up. The board function checkboard() is called
>> to do this.
>>
>> +config FREEBSD
>> + bool "Enable FreeBSD boot"
>> + select API
>> + select CMD_CACHE
>> + default n
>> + help
>> + This option adds boot configuration that can run the FreeBSD
>> + loader.
> What is the FreeBSD loader?
see https://www.freebsd.org/cgi/man.cgi?loader(8). Which is rather nice,
FreeBSD uses
the same loader independent of arch, so booting the previous kernel /
kernel module stuff
and rescue things are roughly the same on i386, amd64 and arm. The
loader communicates
with u-boot by its api.
> Do you mean that U-Boot can boot FreeBSD?
>
Hence he meant what he wrote. Be able to run the FreeBSD _loader_.
The FreeBSD loader will take care of booting FreeBSD.
Regards,
Jeroen
More information about the U-Boot
mailing list