[U-Boot-Users] [newbie] Basic doubt on U-boot relocation

Dear all,
I am a newbie to Uboot. My doubt is that when we do a relocation of Uboot from Flash (ROM) to RAM are we doing a check on the image before relocating. How are we making sure that the uboot image is fine? If not, is it possible to do a check on the image before relocation?
With Regards, C.R.Srivatsan

In message 3B58B875DBDE504F94D2A1A1C9DF6F1FD6206F@bglnt005.asia.ad.flextronics.com you wrote:
I am a newbie to Uboot. My doubt is that when we do a relocation of Uboot from Flash (ROM) to RAM are we doing a check on the image before relocating. How are we making sure that the uboot image is fine? If not, is it possible to do a check on the image before relocation?
If enough of U-Boot is running fine to actually survice the relocation to RAM then your image sis probably fine. If you're looking for some checksum testing or so: no such checks are made.
Note that in many situations such checks are not possible at all. For example, many systems use the smalee "boot sectors" in their flash chips for the U-Boot environment; often this results in the environ- ment being "embedded" into the U-Boot image. And the environment changes with each "saveenv" command...
Best regards,
Wolfgang Denk
participants (2)
-
Srivatsan CR
-
Wolfgang Denk