[U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin
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] ? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin
On Thu, Jul 31, 2014 at 5:24 AM, tiger...@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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin
Hi, On Thu, Jul 31, 2014 at 12:24 PM, tiger...@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 . For ARM processors, it's in arch/arm/lib/vectors.S. Regards, Christian 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] ? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot