I found Vincent's u-boot guide on the following link,
https://community.freescale.com/docs/DOC-95015
He seems to be using a different u-boot source link than me, so I did a fresh checkout of it. One concern I have is that his instructions are about booting from one of the on-board SD-card slots. I'm trying to boot off the eMMC. Either way, I followed his instructions but can't build a working image. (Something gets built, but it doesn't load on my sabresd board).
To solve the issue, I tried running the 'objdump' tool on the generated "u-boot" file that gets created on the top-level. Here is a snippet of what I see for the NOT-working binary,
u-boot: file format elf32-littlearm
Disassembly of section .text:
17800000 <__image_copy_start>:
17800000: 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 ................
17800010: 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 ................
17800020 <_undefined_instruction>:
17800020: 17800120 .word 0x17800120
17800024 <_software_interrupt>:
17800024: 17800180 .word 0x17800180
17800028 <_prefetch_abort>:
17800028: 178001e0 .word 0x178001e0
1780002c <_data_abort>:
1780002c: 17800240 .word 0x17800240
NOTE: The above is for a compile from checking out the code from git://git.denx.de/u-boot.git.
Now here is the same thing for my working file,
u-boot: file format elf32-littlearm
Disassembly of section .text:
27800000 <ivt_header-0x400>:
27800000: ea0001b6 b 278006e0 <_start>
...
27800400 <ivt_header>:
27800400: 402000d1 .word 0x402000d1
27800404 <app_code_jump_v>:
27800404: 278006e0 .word 0x278006e0
27800408 <reserv1>:
27800408: 00000000 .word 0x00000000
2780040c <dcd_ptr>:
2780040c: 2780042c .word 0x2780042c
I recognize the IVT header and DTD layout from figure 8-21 of the Processor Reference Manual. What I can't figure out is why it's not coming for the fresh u-boot checkout.
AnsonHuang - Could you tell me the exact link from where you downloaded the u-boot source? I can't find the branch you mention in either git://git.denx.de/u-boot-imx.git or git://git.denx.de/u-boot.git
-Abraham V.