[PATCH] riscv/start: Startup sequence update.

somesh deshmukh someshdeshmukh07 at gmail.com
Mon May 3 11:47:35 UTC 2021


On Mon, May 3, 2021 at 5:01 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 03/05/2021 13:25, somesh deshmukh wrote:
>
> >
> > I tried this patch with the master branch and the build is failing
> > after applying the patch.
> >
> > The error message includes:
> >
> >
> /home/somesh/Documents/rtems-temp/rtems/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld:
>
> >
> /home/somesh/work/rtems-master/rtems/build/riscv/rv64imafdc_medany/testsuites/samples/hello.exe
>
> > section `.unexpected_sections' will not fit in region
> > `UNEXPECTED_SECTIONS'
> >
> /home/somesh/Documents/rtems-temp/rtems/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld:
>
> > region `UNEXPECTED_SECTIONS' overflowed by 65537 bytes
> > collect2: error: ld returned 1 exit status
> >
> > The overflowed size is equal to the size allocated for bsp_fdt_blob in
> > the bss section.  From example .lst file ' .bss 0000000000010000
> > bsp_fdt_blob'
> >
> > I found this in the riscv linkcmds.base.in <http://linkcmds.base.in>
> file:
> You probably have to run ./waf configure again to regenerate the linker
> command file.
>
I performed the following sequence of instruction:
./waf clean
./waf configure
./waf

Tried this couple of times but the same result always.
I will try this again with fresh sources from rsb and rtems master branches.


> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210503/2579d9f8/attachment.html>


More information about the devel mailing list