[PATCH 4/6] build: Add support to make bootloader images

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 11 10:39:01 UTC 2024



On 11.03.24 00:40, Chris Johns wrote:
> On 7/3/2024 5:27 pm, Sebastian Huber wrote:
>> On 07.03.24 02:09, Chris Johns wrote:
>>> On 6/3/2024 8:33 am, Gedare Bloom wrote:
>>>> If script generation needs to be done, it should be implemented in
>>>> Python with input from the yml spec item as necessary to fill out a
>>>> templated script with variables to customize for the BSP, and with
>>>> appropriate injection of comments etc to allow traceability backward
>>>> to the original source data and source program that generated the
>>>> script.
>>> We cannot import the YML data in external code without coping it as it all
>>> resides in the wscript file. I would prefer seeing the YML python support moved
>>> into `spec` as modules with unitests that can be imported. This would allow us
>>> to add eco-system tools to support, manage and use the YML data.
>> The module to work with specification items is here:
>>
>> https://github.com/RTEMS/rtems-central/blob/master/rtemsspec/items.py
>>
>> This stuff has tests, code formatting, static analysis, and even a CI script.
> This does not help rtens.git ans that is the scope of this patch set.

Yes, but you talked about "We cannot import the YML data in external 
code without coping it...". I assumed this referred to the RTEMS Tools.
> 
>> Independent of this, working with the build specification items would be the
>> wrong approach. You need the input of a configured BSP.
> I do not understand what this means. What is the "input of a configured BSP"?

Lets assume you have a BSP which has its RAM origin at A or B depending 
on the BSP configuration options. If you have a BSP installed configured 
to use A, then the bootloader image probably needs to be created using 
A. If it is configured to use B, it needs to use B.

-- 
embedded brains GmbH & Co. KG
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/


More information about the devel mailing list