No subject


Thu Jun 25 05:52:11 EDT 2020


since it does not get used anywhere (unless you need append-ubi or do
some padding in the image). 

mksquashfs for example uses a separate
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE value 
(which is usually 256 KiB or more) due to:

|https://github.com/Othernet-Project/squashfs-tools/blob/master/README#L350
|
|There are a large number of options that can be used to control the
|compression in mksquashfs.  By and large the defaults are the most
|optimum settings and should only be changed in exceptional circumstances!
|Note, this does not apply to the block size, increasing the block size
|from the default of 128Kbytes will increase compression (especially
|for the xz compressor) and should increase I/O performance too.  However,
|a block size of greater than 128Kbytes may increase latency in certain
|cases (where the filesystem contains lots of fragments, and no locality
|of reference is observed).  For this reason the block size default is
|configured to the less optimal 128Kbytes.  Users should experiment
|with 256Kbyte sizes or above.

I've also stumpled at this in the past with the RT-AC58U and MR33 and
I left the BLOCKSIZE at what was in the NAND's datasheet. That said,
it's OK either way.

> +	PAGESIZE := 2048
> +	DEVICE_TITLE := ASUS Lyra MAP-AC2200
> +	IMAGES := sysupgrade.bin
> +	DEVICE_PACKAGES := ipq-wifi-map-ac2200 ath10k-firmware-qca9888-ct kmod-ath3k
> +endef
> +TARGET_DEVICES += asus_map-ac2200
> +
>  define Device/asus_rt-ac58u
>  	$(call Device/FitImageLzma)
>  	DEVICE_DTS := qcom-ipq4018-rt-ac58u
> diff --git a/target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch b/target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
> index 46c34038d6..1ec1361da6 100644
> --- a/target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
> +++ b/target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
> @@ -10,7 +10,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
>  
>  --- a/arch/arm/boot/dts/Makefile
>  +++ b/arch/arm/boot/dts/Makefile
> -@@ -697,7 +697,21 @@ dtb-$(CONFIG_ARCH_QCOM) += \
> +@@ -697,7 +697,22 @@ dtb-$(CONFIG_ARCH_QCOM) += \
>   	qcom-apq8074-dragonboard.dtb \
>   	qcom-apq8084-ifc6540.dtb \
>   	qcom-apq8084-mtp.dtb \
> @@ -26,6 +26,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
>   	qcom-ipq4019-ap.dk01.1-c1.dtb \
>  +	qcom-ipq4019-a62.dtb \
>  +	qcom-ipq4019-ap.dk04.1-c1.dtb \
> ++	qcom-ipq4019-map-ac2200.dtb \
>  +	qcom-ipq4028-wpj428.dtb \
>  +	qcom-ipq4029-gl-b1300.dtb \
>  +	qcom-ipq4029-mr33.dtb \
> 





_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list