[PATCH] [sim-scripts] renanme or1ksim BSP to generic_or1k

Hesham ALMatary heshamelmatary at gmail.com
Sun Apr 19 16:00:25 UTC 2015


On Sun, Apr 19, 2015 at 4:50 PM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> On 04/19/2015 10:48 AM, Hesham ALMatary wrote:
>>
>> On Sun, Apr 19, 2015 at 4:42 PM, Joel Sherrill
>> <joel.sherrill at oarcorp.com>  wrote:
>>>
>>> This patch does not renamed or1ksim in sim-scripts.
>>>
>> or1ksim in sim-scripts refers to the simulator not the BSP, like
>> qemu-or1k.
>
> The sim-scripts use the name of the BSP as the name of the
> script for consistency. Otherwise there is code/memory to
> remember the mapping. This makes it easier to script testing.
>
Yeah I see. What if there are different simulators that can run the
same BSP? I think we can make qemu-or1k the default (i.e. renaming it
to generic_or1k) this way.
>>> Don't forget .gitignore.
>>>
>>>
>>> On 04/19/2015 06:20 AM, Hesham ALMatary wrote:
>>>>
>>>> ---
>>>>    sim-scripts/qemu-or1k.in | 4 ++--
>>>>    1 file changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/sim-scripts/qemu-or1k.in b/sim-scripts/qemu-or1k.in
>>>> index a9c2974..fbeb826 100644
>>>> --- a/sim-scripts/qemu-or1k.in
>>>> +++ b/sim-scripts/qemu-or1k.in
>>>> @@ -1,5 +1,5 @@
>>>>    #
>>>> -#  or1ksim/QEMU BSP Qemu Support
>>>> +#  generic_or1k BSP QEMU Support
>>>>    #
>>>>
>>>>    bspUsesGDBSimulator="no"
>>>> @@ -17,7 +17,7 @@ runARGS()
>>>>        COVERAGE_ARG="--exec-trace ${1}.cov"
>>>>      fi
>>>>
>>>> -  echo "-serial mon:stdio -serial /dev/null -net none -nographic -m
>>>> 128M
>>>> -kernel ${1}"
>>>> +  echo "-serial mon:stdio -serial /dev/null -net none -nographic -m 32M
>>>> -kernel ${1}"
>>>>    }
>>>>
>>>>    checkBSPFaults()
>>>
>>>
>>>
>>> --
>>> -- Joel Sherrill
>>> Ask me about RTEMS: a free RTOS
>>> Support and Training Available
>>>
>>
>>
>
>
> --
> -- Joel Sherrill
> Ask me about RTEMS: a free RTOS
> Support and Training Available
>



-- 
Hesham



More information about the devel mailing list