[U-Boot] Command to Assign a RAM value to a variable

Davide BONFANTI davide.bonfanti at bticino.it
Tue May 5 16:35:27 CEST 2015


In order to perform a crc32 integrity check of a zImage, I would like to read the zImage length from its header (offset 0x2C).
To perform this I would need a command letting me to set an environment variable to the value of a certain RAM address.

If this command is not available (maybe I'm just not able to find it out!) and if there is no other way for my purpose, I can try implementing it.

I would need something like
# m2v[.b, .w, .l] <variable_name> <ram address>

Waiting for comments,
Davide




________________________________

Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir des informations sensibles et/ ou confidentielles ne devant pas être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous recevez ce message par erreur), nous vous remercions de le notifier immédiatement à son expéditeur, et de détruire ce message. Toute copie, divulgation, modification, utilisation ou diffusion, non autorisée, directe ou indirecte, de tout ou partie de ce message, est strictement interdite.


This e-mail, and any document attached hereby, may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden.


More information about the U-Boot mailing list