[openwrt/openwrt] layerscape: Switch LS1012A-FRDM initramfs to gzip
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 27 04:26:28 PST 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/afcccaad82f1ffbcb918fb95783f7c869aa57460
commit afcccaad82f1ffbcb918fb95783f7c869aa57460
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Thu Oct 20 09:54:18 2022 +0200
layerscape: Switch LS1012A-FRDM initramfs to gzip
At this moment LS1012A-FRDM have uncompressed initramfs image.
Error was caused, because gzip extract area overlap image.
Let's change loadaddr and enable gzip initramfs images again.
Signed-off-by: Pawel Dembicki <paweldembicki at gmail.com>
---
package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt | 2 +-
target/linux/layerscape/image/armv8_64b.mk | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt b/package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt
index b5da9971b6..b9fefb4e0d 100644
--- a/package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt
+++ b/package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt
@@ -1,5 +1,5 @@
fdtaddr=0x8f000000
-loadaddr=0x81000000
+loadaddr=0x88000000
fdt_high=0x8fffffff
initrd_high=0xffffffffffffffff
qspi_boot=sf probe 0:0;sf read $loadaddr 1000000 2800000;bootm $loadaddr
diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk
index 94fb8225f2..e8b2e84abb 100644
--- a/target/linux/layerscape/image/armv8_64b.mk
+++ b/target/linux/layerscape/image/armv8_64b.mk
@@ -46,7 +46,6 @@ define Device/fsl_ls1012a-frdm
append-rootfs | pad-rootfs | \
check-size $(LS_SYSUPGRADE_IMAGE_SIZE) | append-metadata
KERNEL := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
- KERNEL_INITRAMFS := kernel-bin | fit none $$(DTS_DIR)/$$(DEVICE_DTS).dtb
endef
TARGET_DEVICES += fsl_ls1012a-frdm
More information about the lede-commits
mailing list