Bash Script to find discrepancies in BSP file organization

Gedare Bloom gedare at rtems.org
Sat Aug 31 15:16:04 UTC 2013


On Sat, Aug 31, 2013 at 11:11 AM, Gedare Bloom <gedare at rtems.org> wrote:
> Also, tm27.h can be (usually is) overwritten by the BSP and located in
> ./include/tm27.h.
>
The same goes for coverhd.h

> On Sat, Aug 31, 2013 at 11:08 AM, Gedare Bloom <gedare at rtems.org> wrote:
>> Vipul, would it make sense to also look for the specified files under
>> the BSP in all its subdirectories and report that information in case
>> the file is not found where it is expected?
>>
>> double check all of the BSP hook files. I noticed bsppredriverhook.c
>> has the wrong location for ../shared/startup/bsppredriverhook.c (it
>> omits "startup")
The same goes for bspstart.c, bspclean.c, bspgetworkarea.c, and
probably bsppost.c but I don't think any BSPs in the tree override
bsppost.

>>
>> -Gedare
>>
>> On Fri, Aug 30, 2013 at 6:49 PM, Vipul Nayyar <nayyar_vipul at yahoo.com> wrote:
>>> Hello DrJoel,
>>>
>>> Haven't heard from you for a long time. I hope you're well. I also sincerely
>>> hope that you're following the discussion about the project. I've attached a
>>> bash script, somewhat similar to what we both wrote during the start. Please
>>> have a look & verify whether it's output is upto your satisfaction. It
>>> checks more rules for a BSP that I observed & wrote by looking at lpc24xx.
>>>
>>> Just drop the script in libbsp, or some where down in an architecture or a
>>> bsp folder. Or else you can give it the path of a bsp from the terminal.
>>> I've tested it & I think it's giving the required results.
>>>
>>> Please observe it & I'm all ears for any improvements that you suggest.
>>> Hoping to hear from you soon.
>>>
>>> Regards
>>> Vipul Nayyar
>>>



More information about the devel mailing list