diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2020-05-28 16:02:28 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 14:44:23 +0200 |
commit | 0841b68c91d3536dffc4aca67a58adf37720be6d (patch) | |
tree | 18f25ac5c15d278d4f124b64fa8efe9a4bbcfc3b /target/linux/layerscape/image/armv7.mk | |
parent | c4d0e57e160e9d5c9ada8c99e385cdd5f742e79e (diff) | |
download | upstream-0841b68c91d3536dffc4aca67a58adf37720be6d.tar.gz upstream-0841b68c91d3536dffc4aca67a58adf37720be6d.tar.bz2 upstream-0841b68c91d3536dffc4aca67a58adf37720be6d.zip |
layerscape: support sysupgrade for SD card ext4 rootfs
Support sysupgrade for SD card ext4 rootfs.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'target/linux/layerscape/image/armv7.mk')
-rw-r--r-- | target/linux/layerscape/image/armv7.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/layerscape/image/armv7.mk b/target/linux/layerscape/image/armv7.mk index 27246740d5..9bcf72f2cb 100644 --- a/target/linux/layerscape/image/armv7.mk +++ b/target/linux/layerscape/image/armv7.mk @@ -41,7 +41,7 @@ define Device/ls1021atwr-sdboot DEVICE_VARIANT := SD Card Boot DEVICE_DTS := ls1021a-twr FILESYSTEMS := ext4 - IMAGES := sdcard.img + IMAGES := sdcard.img sysupgrade.bin IMAGE/sdcard.img := \ ls-clean | \ ls-append-sdhead $(1) | pad-to 4K | \ @@ -50,6 +50,12 @@ define Device/ls1021atwr-sdboot ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \ append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \ append-rootfs | check-size $(LS_SD_IMAGE_SIZE) + IMAGE/sysupgrade.bin := \ + ls-clean | \ + ls-append-sdhead $(1) | pad-to 16M | \ + append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \ + append-rootfs | check-size $(LS_SD_IMAGE_SIZE) | append-metadata + SUPPORTED_DEVICES := fsl,ls1021a-twr-sdboot endef TARGET_DEVICES += ls1021atwr-sdboot |