From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options
Date: Fri, 11 Nov 2016 11:07:34 -0500 [thread overview]
Message-ID: <20161111160734.GG27304@bill-the-cat> (raw)
In-Reply-To: <20161107083431.24855-1-manu@bidouilliste.com>
On Mon, Nov 07, 2016 at 09:34:27AM +0100, Emmanuel Vadot wrote:
> This series of patches add the needed bits for booting the FreeBSD
> loader.
> FreeBSD loader needs the U-Boot API and dache disabled for it to run so
> add kconfig options for them.
> Also add some some boot command that locate and run the FreeBSD loader
> if found.
>
> Emmanuel Vadot (4):
> kconfig: Add API kconfig file
> kconfig: arm: Add SYS_DCACHE_OFF option
> kconfig: Add a FREEBSD option
> distro_bootcmd: Add command to run FreeBSD
>
> Kconfig | 2 ++
> api/Kconfig | 9 +++++++++
> arch/arm/Kconfig | 6 ++++++
> common/Kconfig | 9 +++++++++
> include/config_distro_bootcmd.h | 32 ++++++++++++++++++++++++++++++++
This is a good first start. But I think there's a few things that need
tweaking. First, we don't want to globally turn off dcache, but it does
need to be migrated to Kconfig (so we know if it's enabled or not).
Second, we should instead use CMD_CACHE and the 'dcache' command to
disable dcache prior to running the FreeBSD loader. Then we make sure
that the generic distro feature has CMD_CACHE if !SYS_DCACHE_OFF (and
!SYS_ICACHE_OFF). Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161111/3704eb3c/attachment.sig>
next prev parent reply other threads:[~2016-11-11 16:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 8:34 [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options Emmanuel Vadot
2016-11-07 8:34 ` [U-Boot] [PATCH 1/4] kconfig: Add API kconfig file Emmanuel Vadot
2016-11-07 8:34 ` [U-Boot] [PATCH 2/4] kconfig: arm: Add SYS_DCACHE_OFF option Emmanuel Vadot
2016-11-07 8:34 ` [U-Boot] [PATCH 3/4] kconfig: Add a FREEBSD option Emmanuel Vadot
2016-11-07 8:34 ` [U-Boot] [PATCH 4/4] distro_bootcmd: Add command to run FreeBSD Emmanuel Vadot
2016-11-11 16:07 ` Tom Rini [this message]
2016-11-17 14:12 ` [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options Emmanuel Vadot
2016-11-17 16:27 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161111160734.GG27304@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox