layerscape: Switch LS1012A-FRDM initramfs to gzip
authorPawel Dembicki <paweldembicki@gmail.com>
Thu, 20 Oct 2022 07:54:18 +0000 (09:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Nov 2022 12:18:29 +0000 (13:18 +0100)
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@gmail.com>
package/boot/uboot-layerscape/files/fsl_ls1012a-frdm-uEnv.txt
target/linux/layerscape/image/armv8_64b.mk

index b5da9971b60dd5449c3169c82c180258e6b60f48..b9fefb4e0dd95c94b12f00e862e14ebe7e53659b 100644 (file)
@@ -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
index 94fb8225f2ce525897802e7ace5df78c6ef17c98..e8b2e84abb4af7a195d1de1540bed63271ad956c 100644 (file)
@@ -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