diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2020-05-28 12:48:29 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 14:44:22 +0200 |
commit | c4d0e57e160e9d5c9ada8c99e385cdd5f742e79e (patch) | |
tree | 62da3a0ec8ec33ba955d3d929f2c44f50e897e87 /target/linux/layerscape/image/armv7.mk | |
parent | 3a99b624d87b32a95210ae58bd782a144ba12fc2 (diff) | |
download | upstream-c4d0e57e160e9d5c9ada8c99e385cdd5f742e79e.tar.gz upstream-c4d0e57e160e9d5c9ada8c99e385cdd5f742e79e.tar.bz2 upstream-c4d0e57e160e9d5c9ada8c99e385cdd5f742e79e.zip |
layerscape: support sysupgrade for squashfs rootfs
Support sysupgrade for all Layerscape boards with squashfs
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 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/layerscape/image/armv7.mk b/target/linux/layerscape/image/armv7.mk index e1a9efb8b6..27246740d5 100644 --- a/target/linux/layerscape/image/armv7.mk +++ b/target/linux/layerscape/image/armv7.mk @@ -1,5 +1,5 @@ # -# Copyright 2018 NXP +# Copyright 2018-2020 NXP # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,11 +8,13 @@ define Device/Default PROFILES := Default FILESYSTEMS := squashfs - IMAGES := firmware.bin + IMAGES := firmware.bin sysupgrade.bin KERNEL := kernel-bin | uImage none KERNEL_NAME := zImage KERNEL_LOADADDR := 0x80008000 KERNEL_ENTRY_POINT := 0x80008000 + IMAGE/sysupgrade.bin := append-kernel | pad-to 16M | \ + append-rootfs | pad-rootfs | check-size 50331649 | append-metadata endef define Device/ls1021atwr @@ -29,6 +31,7 @@ define Device/ls1021atwr ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \ append-kernel | pad-to 32M | \ append-rootfs | pad-rootfs | check-size 67108865 + SUPPORTED_DEVICES := fsl,ls1021a-twr endef TARGET_DEVICES += ls1021atwr |