diff options
Diffstat (limited to 'meta-xilinx-core/classes-recipe/amd_spi_image.bbclass')
| -rw-r--r-- | meta-xilinx-core/classes-recipe/amd_spi_image.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass b/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass index 6dd18d76..5020b02b 100644 --- a/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass +++ b/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass | |||
| @@ -62,7 +62,7 @@ def generate_spi_image(d): | |||
| 62 | qspi_data.write(b'\xFF' * qspi_size) | 62 | qspi_data.write(b'\xFF' * qspi_size) |
| 63 | 63 | ||
| 64 | # Image Selector - Primary, Backup, Image A and Image B | 64 | # Image Selector - Primary, Backup, Image A and Image B |
| 65 | imgsel_file = d.getVar("DEPLOY_DIR_IMAGE")+"/imgsel-"+d.getVar("MACHINE")+".bin" | 65 | imgsel_file = d.getVar("DEPLOY_DIR_IMAGE")+"/image-selector-"+d.getVar("MACHINE")+".bin" |
| 66 | try: | 66 | try: |
| 67 | with open(imgsel_file, "rb") as il: | 67 | with open(imgsel_file, "rb") as il: |
| 68 | imgsel = il.read(-1) | 68 | imgsel = il.read(-1) |
| @@ -105,7 +105,7 @@ def generate_spi_image(d): | |||
| 105 | qspi_data.write(bootbin) | 105 | qspi_data.write(bootbin) |
| 106 | 106 | ||
| 107 | # Recovery Image & Recovery Image Backup | 107 | # Recovery Image & Recovery Image Backup |
| 108 | imgrcry_file = d.getVar("DEPLOY_DIR_IMAGE")+"/imgrcry-"+d.getVar("MACHINE")+".bin" | 108 | imgrcry_file = d.getVar("DEPLOY_DIR_IMAGE")+"/image-recovery-"+d.getVar("MACHINE")+".bin" |
| 109 | try: | 109 | try: |
| 110 | with open(imgrcry_file, "rb") as iy: | 110 | with open(imgrcry_file, "rb") as iy: |
| 111 | imgrcry = iy.read(-1) | 111 | imgrcry = iy.read(-1) |
