No compatibility aliases for riscv64/riscv32. Out-of-tree fallout is
silent-and-weird rather than a clean error:
- meta-riscv/conf/machine/baremetal-riscv64.conf: DEFAULTTUNE = "riscv64" →
empty TUNE_FEATURES
- meta-sifive/conf/machine/include/riscv/tune-sifive.inc:
TUNE_FEATURES:tune-sifive-5-series = "${TUNE_FEATURES:tune-riscv64}
sifive-5-series" → collapses to just sifive-5-series and there might be
more layers.
Either keep riscv64/riscv32 in AVAILTUNES as aliases for a release
(TUNE_FEATURES:tune-riscv64 := "${TUNE_FEATURES:tune-riscv64gc}") or land
coordinated BSP patches plus a release note.
On Sat, Sep 19, 2026 at 6:26 PM Khem Raj <[email protected]> wrote:
>
>
> On Tue, Sep 15, 2026 at 12:03 PM Trevor Gamblin <[email protected]>
> wrote:
>
>> Add a new RISC-V tune option which adds the 'v' (vector) extension,
>> compared to the default.
>>
>> Signed-off-by: Trevor Gamblin <[email protected]>
>> ---
>> meta/conf/machine/include/riscv/tune-riscv.inc | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/conf/machine/include/riscv/tune-riscv.inc
>> b/meta/conf/machine/include/riscv/tune-riscv.inc
>> index f55c122fe3..3eb057680a 100644
>> --- a/meta/conf/machine/include/riscv/tune-riscv.inc
>> +++ b/meta/conf/machine/include/riscv/tune-riscv.inc
>> @@ -2,12 +2,15 @@ require conf/machine/include/riscv/arch-riscv.inc
>>
>> DEFAULTTUNE ?= "riscv64gc"
>>
>> -AVAILTUNES += "riscv64gc riscv32gc riscv64nc riscv64nf riscv32nf"
>> +AVAILTUNES += "riscv64gcv riscv64gc riscv32gc riscv64nc riscv64nf
>> riscv32nf"
>>
>> # Default
>> TUNE_FEATURES:tune-riscv64gc := "${@oe.tune.riscv_isa_to_tune("rv64gc")}"
>> PACKAGE_EXTRA_ARCHS:tune-riscv64gc = "${TUNE_RISCV_PKGARCH}"
>>
>> +TUNE_FEATURES:tune-riscv64gcv :=
>> "${@oe.tune.riscv_isa_to_tune("rv64gcv")}"
>> +PACKAGE_EXTRA_ARCHS:tune-riscv64gcv = "${TUNE_RISCV_PKGARCH}"
>> +
>> TUNE_FEATURES:tune-riscv32 := "${@oe.tune.riscv_isa_to_tune("rv32gc")}"
>> PACKAGE_EXTRA_ARCHS:tune-riscv32gc = "${TUNE_RISCV_PKGARCH}"
>>
>>
> So riscv32gc has no TUNE_FEATURES and riscv32 has no PACKAGE_EXTRA_ARCHS.
> Nothing later in the series fixes it AFAICT. And
> meta/conf/machine/qemuriscv32.conf:5 still says DEFAULTTUNE ?= "riscv32",
> so qemuriscv32 ends up with an empty PACKAGE_EXTRA_ARCHS after this patch.
>
>
>> --
>> 2.55.0
>>
>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246249):
https://lists.openembedded.org/g/openembedded-core/message/246249
Mute This Topic: https://lists.openembedded.org/mt/121267424/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-