From: Emmanuel Vadot Date: Tue, 17 Jan 2017 20:41:48 +0100 Subject: [U-Boot] [PATCH v2 0/4] Add FreeBSD kconfig options In-Reply-To: References: <20170117155019.47932-1-manu@bidouilliste.com> Message-ID: <20170117204148.e549dc169a3aba8008f1932d@bidouilliste.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan, On Tue, 17 Jan 2017 10:08:54 -0800 Stefan Agner wrote: > On 2017-01-17 07:50, Emmanuel Vadot wrote: > > This series of patches add the needed bits for booting the FreeBSD > > loader and kernel. > > FreeBSD loader and kernel needs the U-Boot API and dcache/icache flushed > > for it to run so add this operation in go/bootelf command and when closing > > the API. > > Also add some some boot command that locate and run the FreeBSD loader > > if found. > > Are FreeBSD's entry conditions documented? Not really, you can find some stuff in the source code but that's all. > Linux has some things documented, especially the MMU must be off and > also data cache: > https://www.kernel.org/doc/Documentation/arm/Booting > > -- > Stefan > > > > > Changes in v2: > > Remove SYS_DCACHE_OFF option > > Flush dcache/icache in go/boot command > > Flush dcache/icache in API closedev > > > > Emmanuel Vadot (3): > > kconfig: Add API kconfig file > > kconfig: Add a FREEBSD option > > distro_bootcmd: Add command to run FreeBSD > > > > Warner Losh (1): > > api: FreeBSD: flush cache before starting loader/kernel > > > > Kconfig | 2 ++ > > api/Kconfig | 9 +++++++++ > > api/api.c | 5 +++++ > > cmd/boot.c | 5 +++++ > > cmd/elf.c | 8 +++++++- > > common/Kconfig | 9 +++++++++ > > include/config_distro_bootcmd.h | 32 ++++++++++++++++++++++++++++++++ > > 7 files changed, 69 insertions(+), 1 deletion(-) > > create mode 100644 api/Kconfig -- Emmanuel Vadot