Hello all,
 I am using uboot 2024.07 on a Verdin imx8mp board and would like to save the 
output of the result (the bytes) into a variable.We have developed an spi 
peripheral that would retrieve us value that we would use further in the boot 
process (we would parse the spi output and set proper boot partition and devnum 
in u-boot-initial-env).For example : 
        Verdin iMX8MP # sspi 1:0.0 16 00
        AA03
  How can I save in variable the result in hex (AA03 in such case), or if there 
is a way to do it in u-boot-initial-env ? I have seen so far only scripts and 
if statements that looks at the return code , but not the output on the 
console.  Many thanks!
                Best regards,                           Valentina.

Reply via email to