Skip to content
Advertisement

How to print memory variable in U-boot?

i have the following lines in my U-boot environment:

JavaScript

The comparison works. But how can i echo the contents of the memory address 10e00000?

I tried to print in the failure handler:

JavaScript

but when i print the environment i can see that it has replaced the variable with the memory address:

JavaScript

How can i print the contents of the memory address?

Thanks!

Advertisement

Answer

For printing ‘contents of the memory address 10e00000‘ try:

JavaScript

or by using variable:

JavaScript

Where 1 is the wanted length of the dump.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement