4
0

added update & uboot functions

This commit is contained in:
Benjamin Böhmke
2019-12-01 21:20:32 +01:00
parent 1e9904b64b
commit cecb06c7ac
6 changed files with 327 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -e
# get current partition index

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -e
image_file=$1

View File

@ -71,7 +71,7 @@ int main(int argc, char* argv[]) {
data[1] = 0;
// boot partition
data[2] = 2; // A=2, B=3
data[2] = 2; // A=1, B=2
}
// handle commands