config: Add FreeBSD kconfig options
Get series with b4
b4 am 20161111160734.GG27304@bill-the-catVersions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options
Quoted 13 lines · Emmanuel Vadot
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: AddSYS_DCACHE_OFFoption
kconfig: Add a FREEBSD option
distro_bootcmd: Add command to run FreeBSD
Quoted 5 lines
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!
Signature · 8 lines
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>