[Buildroot] [PATCH v2 3/6] package/elf2flt: add RISC-V support

Damien Le Moal Damien.LeMoal at wdc.com
Wed Sep 9 06:48:12 UTC 2020


On 2020/09/09 15:45, Peter Korsgaard wrote:
>>>>>> "Damien" == Damien Le Moal <damien.lemoal at wdc.com> writes:
> 
>  > From: Christoph Hellwig <hch at lst.de>
>  > Enable selecting elf2flt for RISC-V no MMU builds ad add support for it.
> 
>  > Signed-off-by: Christoph Hellwig <hch at lst.de>
>  > Signed-off-by: Damien Le Moal <damien.lemoal at wdc.com>
>  > ---
>  >  .../0002-elf2flt-add-riscv-support.patch      | 302 ++++++++++++++++++
>  >  package/elf2flt/Config.in.host                |   2 +-
>  >  2 files changed, 303 insertions(+), 1 deletion(-)
>  >  create mode 100644 package/elf2flt/0002-elf2flt-add-riscv-support.patch
> 
>  > diff --git a/package/elf2flt/0002-elf2flt-add-riscv-support.patch b/package/elf2flt/0002-elf2flt-add-riscv-support.patch
>  > new file mode 100644
>  > index 0000000000..2f3ce5ac69
>  > --- /dev/null
>  > +++ b/package/elf2flt/0002-elf2flt-add-riscv-support.patch
>  > @@ -0,0 +1,302 @@
>  > +From 9a1c84590f31897e681a8142481c73456a7eedcf Mon Sep 17 00:00:00 2001
>  > +From: Christoph Hellwig <hch at lst.de>
>  > +Date: Mon, 10 Jun 2019 09:21:57 +0200
>  > +Subject: elf2flt: add riscv support
>  > +
>  > +We need a new linker script - riscv has a global_pointer and is
>  > +very picky about some section ordering.
>  > +
>  > +Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> What is the upstream status of this patch? I don't see a PR for it?
> 
> https://github.com/uclinux-dev/elf2flt/pulls?q=is%3Apr+is%3Aclosed
> 

Sending it now. Christoph did not send it before and I forgot too.

-- 
Damien Le Moal
Western Digital Research


More information about the buildroot mailing list