[U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin

Jon Loeliger loeliger at gmail.com
Thu Jul 31 14:57:49 CEST 2014


On Thu, Jul 31, 2014 at 5:24 AM,  <TigerLiu at via-alliance.com> wrote:
> Hi, Albert:
>
> I am studying 2014.07 release u-boot package.
>
> I found u-boot.bin's first bytes were not code in start.S .
>
> Taken for compling smdkv310 as an example:
>
> The compiled u-boot.bin's first 0x20 bytes were:
>
> 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5
>
> 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5
>
> ......
>
>
>
> So, Is it equal to "ldr pc, [pc,#0x18]" ?

Hard to say.  Perhaps.

You should study the linker script (*.lds) for this board.
It is likely that the code you are seeing is the reset vector.

jdl


More information about the U-Boot mailing list