Hi,
On Thu, Nov 9, 2023 at 7:21 AM Billa Surendra <
billa.i...@gmail.com> wrote:
>
>
> On Thu, Aug 18, 2022 at 8:00 PM Christoph Müllner <
christoph...@vrull.eu> wrote:
>>
>> Hi Billa,
>>
>> CONFIG_RISCV_ISA_C can be disabled by the following steps:
>>
>> 1) Enable CONFIG_NONPORTABLE
>> 2) Disable CONFIG_EFI
>> 3) Disable CONFIG_RISCV_ISA_C
>>
>> In case you depend on CONFIG_EFI you are out of luck because EFI support currently requires CONFIG_RISCV_ISA_C.
>>
>
>
> Dear Christoph,
>
> Previously, you had suggested that we compile the kernel with CONFIG_RISCV_ISA_C disabled, and the CONFIG_EFI option also disabled. Now, we need to enable the CONFIG_EFI option to support EFI.
>
> We understand that enabling CONFIG_EFI while disabling CONFIG_RISCV_ISA_C can be a bit challenging, but we have a plan to proceed with the following options:
>
> 1. Enabling CONFIG_EFI:
> Since our system relies on CONFIG_EFI and we require EFI support, we aim to maintain it. We are aware that EFI currently requires CONFIG_RISCV_ISA_C. We will work on finding a solution that allows us to keep EFI functionality while disabling CONFIG_RISCV_ISA_C.
>
> 2. Disabling CONFIG_RISCV_ISA_C:
> We also need to disable CONFIG_RISCV_ISA_C as we require a kernel image without compressed instructions.
>
> If you have any additional insights or recommendations regarding this configuration change, your input would be greatly appreciated.
Björn proposed something for the kernel and openSBI in order to
support EFI without C here:
https://lore.kernel.org/linux-riscv/871qd04...@all.your.base.are.belong.to.us/T/#m63aa2ba8ac95b2f0d1a2e7c0223ee305efa6cc29
>
> Thank you for your assistance, and we eagerly anticipate your continued guidance as we move forward with these changes.
>
> Best regards,
>
> Billa
>
>>
>> BR
>> Christoph
>>
>>
>> On Thu, Aug 18, 2022 at 2:50 PM Billa Surendra <
billa.i...@gmail.com> wrote:
>>>
>>> Dear All,
>>>
>>> I am unable to port Linux kernel-5.19.6 to the RISC-V (RV64IMAFD) target. I have generated a cross compiler with arch=rv64imafd and abi=lp64d flags. Cross compiled sample program and checked, generated binary does not have compressed instructions.
>>>
>>> I tried compiling linux-5.19.6 with a cross compiler but no luck. In Between I have checked the .config file, C model is enabled (CONFIG_RISCV_ISA_C=y), Tried disabling but after running make menuconfig again it is enabled. Even not possible to disable with the help of make menuconfig.
>>> Here I am attaching screenshots for reference.
>>>
>>> Please advise me The following things
>>> 1. how to port the linux kernel to rv64imafd ?.
>>> 2. Any specific linux kernel version will support for rv64imafd ?.
>>>
>>> I am really struck by this. Please help me.
>>>
>>> Thank you
>>> Billa
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to
sw-dev+un...@groups.riscv.org.
>>> To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAKBF_5rmVcFS0Ji1hwHAq%2BjpEoasXBoG3e%3DEBpM4JbXdpbQ6Og%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sw-dev+un...@groups.riscv.org.
> To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAKBF_5ov7%3DfbfUam655wAZfu2xXDSRw27fZQHzgLM%2Bk3WvKKSg%40mail.gmail.com.