aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2020-02-25 20:07:38 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-12 12:59:44 +0100
commit63f5268c7ffc774da6f1c3e2fa4bab15527a5632 (patch)
treeab30c3b0798e158e02c30586451001cd8d9933f0 /target/linux
parentfef2114b317d7e1788edf8b96c3cb4f6c63bf1fb (diff)
downloadupstream-63f5268c7ffc774da6f1c3e2fa4bab15527a5632.tar.gz
upstream-63f5268c7ffc774da6f1c3e2fa4bab15527a5632.tar.bz2
upstream-63f5268c7ffc774da6f1c3e2fa4bab15527a5632.zip
layerscape: ls1012afrdm: convert image to squashfs
This commit replaces UBIFS root partition with squashfs+overlay. It's preparation for introducing dynamic partitioning. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/layerscape/image/armv8_64b.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk
index c2e091fb2a..70af95aa28 100644
--- a/target/linux/layerscape/image/armv8_64b.mk
+++ b/target/linux/layerscape/image/armv8_64b.mk
@@ -23,9 +23,8 @@ define Device/ls1012afrdm
tfa-ls1012afrdm \
kmod-ppfe
DEVICE_DTS := freescale/fsl-ls1012a-frdm
- UBINIZE_OPTS := -E 5
BLOCKSIZE := 256KiB
- PAGESIZE := 1
+ FILESYSTEMS := squashfs
IMAGE/firmware.bin := \
ls-clean | \
ls-append $(1)-bl2.pbl | pad-to 1M | \
@@ -34,7 +33,7 @@ define Device/ls1012afrdm
ls-append pfe.itb | pad-to 15M | \
ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \
append-kernel | pad-to 32M | \
- append-ubi | check-size 67108865
+ append-rootfs | pad-rootfs | check-size 67108865
KERNEL_INITRAMFS := kernel-bin | fit none $$(DTS_DIR)/$$(DEVICE_DTS).dtb
endef
TARGET_DEVICES += ls1012afrdm