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

Wolfgang Denk wd at denx.de
Thu Jun 2 17:43:17 CEST 2005


In message <3B58B875DBDE504F94D2A1A1C9DF6F1FD6206F at 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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Our universe is a fragile house of atoms, held together by the mortar
of cause-and-effect. One magician would be two too many.
                        - Terry Pratchett, _The Dark Side of the Sun_




More information about the U-Boot mailing list