From: Jeroen Hofstee Date: Sat, 21 Jan 2017 11:31:16 +0100 Subject: [U-Boot] [PATCH v2 2/4] kconfig: Add a FREEBSD option In-Reply-To: References: <20170117155019.47932-1-manu@bidouilliste.com> <20170117155019.47932-3-manu@bidouilliste.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On 21-01-17 04:51, Simon Glass wrote: > Hi, > > On 17 January 2017 at 08:50, Emmanuel Vadot 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 >> --- >> 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