dl06

Chris Johns chrisj at rtems.org
Tue Nov 19 01:04:40 UTC 2019


On 19/11/19 4:33 am, Jonathan Brandmeyer wrote:
> On Mon, Nov 18, 2019 at 1:12 AM Sebastian Huber
> <sebastian.huber at embedded-brains.de <mailto:sebastian.huber at embedded-brains.de>>
> wrote:
> 
>     On 18/11/2019 08:59, Chris Johns wrote:
>     >
> 
>     >
>     > Converting to C is a broken path IMO. it does not scale.
> 
>     I would convert the individual object files with bin2c and load them
>     with IMFS_make_linfile().
> 
> 
> We stopped using rtems-bin2c in our project, because the performance was so poor
> for larger files.  Both bin2c and gcc were very slow.

I have experienced this as well.

>  We've replaced that
> workflow with something based on GNU AS `.incbin` instead, which is fast enough
> to be unnoticeable.

I have used objcopy to copy a binary format file to the support ELF object file.
Doing this scales well and is almost fully portable across architectures, I
think the i386 needs a special option.

Chris


More information about the devel mailing list