[PATCH] arm/raspberrypi: Fix linker map

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jul 29 06:35:24 UTC 2019


On 29/07/2019 08:24, Chris Johns wrote:
> On 29/7/19 4:16 pm, Sebastian Huber wrote:
>> On 29/07/2019 08:12, Chris Johns wrote:
>>> On 29/7/19 4:08 pm, Sebastian Huber wrote:
>>>> On 29/07/2019 08:04, Chris Johns wrote:
>>>>>> The new one is probably:
>>>>>>
>>>>>> 0x00200080
>>>>>>
>>>>>> I am not sure about the 0x80 tail, it should be the same as it was previously.
>>>>> Better but interrupts?
>>>>>
>>>>> The address 0x00200000 works with hello but ticker prints the "TEST VERSION"
>>>>> banner and then nothing more.
>>>> Then the vector table needs to be probably at 0x0.  Not really a great position
>>>> if you have a NULL pointer access.
>>>>
>>> Agreed.
>>>
>>> Can you set the vector base on this ARM? If you can is that missing from this
>>> BSP?
>> You can try this (v2 of the patch moves the vector base to 0, but it would be
>> better to have a NULL pointer protection):
> This works (and v2 also works).

Ok, you can decide. Do you want a better NULL pointer protection at the 
expense of some memory and an mkimage change?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list