diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2020-06-29 16:18:57 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 14:44:23 +0200 |
commit | 2a5460b11b9718ed5f398fcc381edc89bce72695 (patch) | |
tree | f47bc25baabaa3292d2685cfcdb29e7233f19e59 /target/linux/layerscape/image/Makefile | |
parent | 0841b68c91d3536dffc4aca67a58adf37720be6d (diff) | |
download | upstream-2a5460b11b9718ed5f398fcc381edc89bce72695.tar.gz upstream-2a5460b11b9718ed5f398fcc381edc89bce72695.tar.bz2 upstream-2a5460b11b9718ed5f398fcc381edc89bce72695.zip |
layerscape: define IMAGE_SIZE and LS_SYSUPGRADE_IMAGE_SIZE
Define 64m IMAGE_SIZE for flash firmware.bin since the flash size
is 64MB. Define 48m LS_SYSUPGRADE_IMAGE_SIZE for flash sysupgrade.bin
which contains maximum 16MB kernel and 32MB rootfs according to
memory map.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'target/linux/layerscape/image/Makefile')
-rw-r--r-- | target/linux/layerscape/image/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index f5a5ad9980..8a38a25041 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -11,6 +11,9 @@ LS_SD_ROOTFSPART_OFFSET = 64 LS_SD_IMAGE_SIZE = $(shell echo $$((($(LS_SD_ROOTFSPART_OFFSET) + \ $(CONFIG_TARGET_ROOTFS_PARTSIZE)) * 1024 * 1024))) +# The limitation of flash sysupgrade.bin is 16MB kernel + 32MB rootfs +LS_SYSUPGRADE_IMAGE_SIZE = 48m + define Build/ls-clean rm -f $@ endef |