diff --git a/apertis-image-mx6qsabrelite.yaml b/apertis-image-mx6qsabrelite.yaml index b6b64c834f6bcdabd093ce58b6257fd02dc6cd40..08bb4ca1217c0645ed86e9f4f9f66a188c82ff14 100644 --- a/apertis-image-mx6qsabrelite.yaml +++ b/apertis-image-mx6qsabrelite.yaml @@ -100,6 +100,17 @@ actions: source: /usr/lib/u-boot/mx6qsabrelite/u-boot.imx offset: {{ sector 2 }} + - action: run + description: Create defaut environment for u-boot + chroot: false + command: echo "bootcount=0" > ${ARTIFACTDIR}/u-boot-env.txt ; mkenvimage -s 0x2000 -o ${ARTIFACTDIR}/u-boot.env ${ARTIFACTDIR}/u-boot-env.txt + + - action: raw + description: Install U-Boot environment + origin: filesystem + source: ${ARTIFACTDIR}/u-boot.env + offset: 0xC0000 + - action: run description: "Save installed package status" chroot: false