[U-Boot] [PATCH 0/5] Create an API for safely accessing BMP header fields

Jeroen Hofstee jeroen at myspectrum.nl
Mon Feb 4 22:02:13 CET 2013


Hello Wolfgang,

On 02/04/2013 09:35 PM, Wolfgang Denk wrote:
> Dear Nikita Kiryanov,
>
> In message <510FAB72.3050901 at compulab.co.il> you wrote:
>> I did mention that I consider that fix as temporary. I believe this fix
>> is better because it addresses the issue everywhere and does so in a
>> more maintainable way (does not require the address fix to be duplicated
>> everywhere there is a problem).
> Can you please explain (again) what exactly you consider the problem?
>
> That I can load a BMP image to anodd address, and that this will
> result in odd results?
>
If you use eldk 5.3, a board will be bricked if you set the load address
to not (an aligned address _+ 2_). So anyone who didn't know the +2
requirement, has a bricked board (and can't recover). So this is
really a different then md trapping, since resetting the board won't
help... it is broken / kaput.

That said, I am not really in favor of this solution. But I do think it 
needs
to be fixed.

Regards,
Jeroen





More information about the U-Boot mailing list