blob: 162f41ffb4508cd4e24b9bc000e9ca143cf54633
1 | # This structure describes the content of a block in flash |
2 | # that is used for recovery and the bootloader to talk to |
3 | # each other |
4 | |
5 | # struct bootloader_message { |
6 | # char command[32]; |
7 | # char status[32]; |
8 | # char recovery[768]; |
9 | |
10 | # // The 'recovery' field used to be 1024 bytes. It has only ever |
11 | # // been used to store the recovery command line, so 768 bytes |
12 | # // should be plenty. We carve off the last 256 bytes to store the |
13 | # // stage string (for multistage packages) and possible future |
14 | # // expansion. |
15 | # char stage[32]; |
16 | # char slot_suffix[32]; |
17 | # char reserved[192]; |
18 | # }; |
19 | |
20 | # Set the member variable |
21 | # Notice: According to this format must! |
22 | command: uboot-command |
23 | status: N/A |
24 | recovery: setenv aa 11;setenv bb 22;setenv cc 33;saveenv; |
25 |