
5 May
2015
5 May
'15
8:10 p.m.
Hi Davide,
On Tue, May 5, 2015 at 9:35 AM, Davide BONFANTI davide.bonfanti@bticino.it wrote:
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>
See the command called setexpr. Just #define CONFIG_CMD_SETEXPR
setexpr[.b, .w, .l] name [*]value - load a value into a variable
Cheers, -Joe