Skip to content

OpenSBI Kconfig Support

Andrew Jones opensbi 7 versions – New

Get series with b4
b4 am 20220805062218.5dyhkttzkcplhcr3@kamzik

Versions newest first · linked by author and title

  1. v7 Latest2 of 17 patches 0 repliesNew
  2. v5 posting 2/20 of 16 patches 0 repliesSuperseded
  3. v5 posting 1/23 of 16 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 2/20 of 15 patches0 repliesSuperseded
v4 posting 1/20 of 15 patches0 repliesSuperseded
v2 posting 2/20 of 14 patches0 repliesSuperseded
v2 posting 1/20 of 14 patches0 repliesSuperseded

2 of 17 patches are in this archive. The cover letter announces 17.

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
16/17docs: Update documentation for kconfig support+0 -00 replies
17/17Makefile: Fix typo related to object.mk+0 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
16/17R-b
17/17R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 00/17] OpenSBI Kconfig Support
Quoted 10 lines · Anup Patel

In future, we will see more drivers in OpenSBI for system reset, serial port, power management, etc platform specific devices. We need platform specific compile time configuration to allow users control the size of OpenSBI generic firmware binaries by only enabling desired drivers. In other words, users should be allowed to restrict the set of RISC-V platforms on which OpenSBI generic firmwares built by them can run.

To address above, we add Kconfig support for OpenSBI platforms using the Kconfiglib project which is a standalone kconfig parser.

Quoted 7 lines

To try OpenSBI Kconfig support with generic platform, here are few example commands:
make PLATFORM=generic <-- builds OpenSBI using "defconfig"
make PLATFORM=generic menuconfig <-- launches graphical interface for changes

These patches can also be found in the kconfig_v7 branch at:
https://github.com/avpatel/opensbi.git

Hi Anup,

The series looks good to me. I don't think I'll go line by line through the makefile changes because testing shows that the build result is the same after as before.

Thanks,
drew