Hi Niranjan,
Please note that u-boot elf containing the full debug symbols is u-boot file (not u-boot.elf) and this is already built/generated when u-boot is built.
My commands for patching/cleaning/deploying u-boot:
1. clean the existing u-boot build
bitbake -c cleanall u-boot-imx
2. Unpack the u-boot source code
bitbake -c unpack u-boot-imx
3. now you can write the code/updating the u-boot
4. just build u-boot
bitbake -c deploy u-boot-imx
u-boot not stripped file (for debugging purpose) is in the work directory, not in images (here are kept only the binaries files).
b32331@fsr-ub1664-133:/work/mcu/stash/fsl-release-bsp/imx7dsabresd/tmp/work/imx7dsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/build/mx7dsabresd_config$ pwd
/work/mcu/stash/fsl-release-bsp/imx7dsabresd/tmp/work/imx7dsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/build/mx7dsabresd_config
b32331@fsr-ub1664-133:/work/mcu/stash/fsl-release-bsp/imx7dsabresd/tmp/work/imx7dsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/build/mx7dsabresd_config$ file u-boot
u-boot: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /usr/lib/ld.so.1, not stripped
Best regards,
Marius