mirror of https://github.com/hak5/openwrt.git
layerscape: use MKUBIFS_OPTS for per-device ubi parameters
UBIFS_OPTS couldn't be used for per-device ubi parameters. Let's use MKUBIFS_OPTS instead. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>openwrt-19.07
parent
68904cb8fd
commit
583af20b8b
|
@ -9,6 +9,7 @@ define Device/Default
|
||||||
PROFILES := Default
|
PROFILES := Default
|
||||||
IMAGES := firmware.bin
|
IMAGES := firmware.bin
|
||||||
FILESYSTEMS := ubifs
|
FILESYSTEMS := ubifs
|
||||||
|
MKUBIFS_OPTS := -m 1 -e 262016 -c 128
|
||||||
KERNEL := kernel-bin | uImage none
|
KERNEL := kernel-bin | uImage none
|
||||||
KERNEL_NAME := zImage
|
KERNEL_NAME := zImage
|
||||||
KERNEL_LOADADDR := 0x80008000
|
KERNEL_LOADADDR := 0x80008000
|
||||||
|
@ -24,7 +25,6 @@ define Device/ls1012ardb
|
||||||
u-boot-ls1012ardb-image \
|
u-boot-ls1012ardb-image \
|
||||||
kmod-ppfe
|
kmod-ppfe
|
||||||
DEVICE_DTS := ../../../arm64/boot/dts/freescale/fsl-ls1012a-rdb
|
DEVICE_DTS := ../../../arm64/boot/dts/freescale/fsl-ls1012a-rdb
|
||||||
UBIFS_OPTS := -m 1 -e 262016 -c 128
|
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 256KiB
|
BLOCKSIZE := 256KiB
|
||||||
PAGESIZE := 1
|
PAGESIZE := 1
|
||||||
|
@ -99,7 +99,6 @@ define Device/ls1046ardb
|
||||||
layerscape-ppa-ls1046ardb \
|
layerscape-ppa-ls1046ardb \
|
||||||
u-boot-ls1046ardb-image
|
u-boot-ls1046ardb-image
|
||||||
DEVICE_DTS := ../../../arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk
|
DEVICE_DTS := ../../../arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk
|
||||||
UBIFS_OPTS := -m 1 -e 262016 -c 128
|
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 256KiB
|
BLOCKSIZE := 256KiB
|
||||||
PAGESIZE := 1
|
PAGESIZE := 1
|
||||||
|
|
|
@ -9,6 +9,7 @@ define Device/Default
|
||||||
PROFILES := Default
|
PROFILES := Default
|
||||||
IMAGES := firmware.bin
|
IMAGES := firmware.bin
|
||||||
FILESYSTEMS := ubifs
|
FILESYSTEMS := ubifs
|
||||||
|
MKUBIFS_OPTS := -m 1 -e 262016 -c 128
|
||||||
KERNEL := kernel-bin | gzip | uImage gzip
|
KERNEL := kernel-bin | gzip | uImage gzip
|
||||||
KERNEL_LOADADDR := 0x80080000
|
KERNEL_LOADADDR := 0x80080000
|
||||||
KERNEL_ENTRY_POINT := 0x80080000
|
KERNEL_ENTRY_POINT := 0x80080000
|
||||||
|
@ -22,7 +23,6 @@ define Device/ls1012ardb
|
||||||
layerscape-ppa-ls1012ardb \
|
layerscape-ppa-ls1012ardb \
|
||||||
kmod-ppfe
|
kmod-ppfe
|
||||||
DEVICE_DTS := freescale/fsl-ls1012a-rdb
|
DEVICE_DTS := freescale/fsl-ls1012a-rdb
|
||||||
UBIFS_OPTS := -m 1 -e 262016 -c 128
|
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 256KiB
|
BLOCKSIZE := 256KiB
|
||||||
PAGESIZE := 1
|
PAGESIZE := 1
|
||||||
|
@ -115,7 +115,6 @@ define Device/ls1046ardb
|
||||||
layerscape-fman-ls1046ardb \
|
layerscape-fman-ls1046ardb \
|
||||||
layerscape-ppa-ls1046ardb
|
layerscape-ppa-ls1046ardb
|
||||||
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
||||||
UBIFS_OPTS := -m 1 -e 262016 -c 128
|
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 256KiB
|
BLOCKSIZE := 256KiB
|
||||||
PAGESIZE := 1
|
PAGESIZE := 1
|
||||||
|
@ -162,7 +161,6 @@ define Device/ls1088ardb
|
||||||
layerscape-ppa-ls1088ardb \
|
layerscape-ppa-ls1088ardb \
|
||||||
restool
|
restool
|
||||||
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
||||||
UBIFS_OPTS := -m 1 -e 262016 -c 128
|
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 256KiB
|
BLOCKSIZE := 256KiB
|
||||||
PAGESIZE := 1
|
PAGESIZE := 1
|
||||||
|
@ -258,6 +256,6 @@ define Device/traverse-five64
|
||||||
IMAGES = root sysupgrade.tar
|
IMAGES = root sysupgrade.tar
|
||||||
IMAGE/root = append-rootfs
|
IMAGE/root = append-rootfs
|
||||||
IMAGE/sysupgrade.tar = sysupgrade-tar
|
IMAGE/sysupgrade.tar = sysupgrade-tar
|
||||||
UBIFS_OPTS := -m 2048 -e 124KiB -c 4096
|
MKUBIFS_OPTS := -m 2048 -e 124KiB -c 4096
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += traverse-five64
|
TARGET_DEVICES += traverse-five64
|
||||||
|
|
Loading…
Reference in New Issue