[U-Boot] distro boot on ls2085ardb

york sun york.sun at nxp.com
Wed Feb 8 23:12:39 UTC 2017


On 02/08/2017 03:08 PM, Peter Newton wrote:
>> From: york sun

<snip>

>>
>> It was for backward compatibility. Even I have pointed out numerous times (internally) that cp.b should not be used for this case, and
>> even pointed out how to make a FIT image with load address, the board
>> maintainer(s) didn't act. One change I can propose is to drop the "cp.b $kernel_start $kernel_load $kernel_size" and run "bootm
>> $kernel_start"
>> directly. If it fails, then falls to distro_bootcmd.
>
> I wondered why we needed the cp.b at all.  How do you add the load address to fit?
>

FIT image header has load address and entry address. Our SDK didn't fill 
in load address before (not sure now). If the load address exists, the 
image(s) would be copied accordingly.

York


More information about the U-Boot mailing list