[U-Boot] [PATCH v5] palmtreo680: add utility that writes u-boot to flash

Mike Dunn mikedunn at newsguy.com
Sat Apr 20 21:07:33 CEST 2013


On 04/20/2013 11:01 AM, Marek Vasut wrote:
> Dear Mike Dunn,
> 
>> On 04/20/2013 03:25 AM, Marek Vasut wrote:
>>> Dear Mike Dunn,
>>>
>>>
>>> I fixed the calloc() semantics and applied, thanks. Please repost
>>> whatever is still missing in u-boot-pxa/master and I'll then roll pullRQ
>>> for mainline.
>>
>> Oops, the board support patch is not in your tree either.  Will repost.
> 
> Did I not ramble about it? Check that first please, I'm not sure now ;-)
> 


Yes, we went back-and-forth about it, and the latest version was v4.  But I need
to rework it because the spl build now fails due to a recent change to
arch/arm/cpu/pxa/start.S in commit 7086e91b0e9930139e703c8f9f857b52baf2bef4

  arm: relocate_code(): Use __image_copy_end for end of relocation

I was using my own linker script for the spl, which does not define the
__image_copy_end symbol that is now referenced in start.S.  I don't exactly
remember why I felt the need to avoid using the script in
arch/arm/cpu/u-boot-spl.lds, except that I didn't like all the sections created
by the --ffunction-sections and --fdata-sections compiler flags and wanted them
combined with a '*' wildcard.  But I removed my linker script and the
CONFIG_SPL_LDSCRIPT line from my config file and it is testing fine.  So I will
have to post a v5 of the patch.

Thanks again Marek,
Mike


More information about the U-Boot mailing list