From 8ba203a5eed77ea613d1eaee6809f05f6632ab80 Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Tue, 28 Apr 2020 23:45:41 +0900 Subject: [PATCH] ramips: fix initramfs image for I-O DATA mt7621 devices This is additional fix of c998ae7f0e9bd51be4935055efbc3834a92698b1. The sysupgrade image of I-O DATA MT7621 devices manufactured by MSTC (MitraStar Technology Corp.) faced to the booting issue. This was caused by imcomplete extraction of large kernel image by U-Boot, and this issue is occurred in initramfs image after fixing of sysupgrade image. So, use lzma-loader for initramfs image to fix the issue. Signed-off-by: INAGAKI Hiroshi Co-developed-by: Yanase Yuki Signed-off-by: Yanase Yuki Tested-by: Yanase Yuki [wn-ax2033gr] --- target/linux/ramips/image/mt7621.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 79a2d641fb..baf2c5a948 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -408,8 +408,8 @@ define Device/iodata_wn-ax1167gr2 $(Device/iodata_nand) UIMAGE_MAGIC := 0x434f4d42 DEVICE_MODEL := WN-AX1167GR2 - KERNEL_INITRAMFS := $(KERNEL_DTB) | custom-initramfs-uimage 3.10(XBC.1)b10 | \ - iodata-mstc-header + KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \ + custom-initramfs-uimage 3.10(XBC.1)b10 | iodata-mstc-header DEVICE_PACKAGES := kmod-mt7615e wpad-openssl endef TARGET_DEVICES += iodata_wn-ax1167gr2 @@ -418,8 +418,8 @@ define Device/iodata_wn-ax2033gr $(Device/iodata_nand) UIMAGE_MAGIC := 0x434f4d42 DEVICE_MODEL := WN-AX2033GR - KERNEL_INITRAMFS := $(KERNEL_DTB) | custom-initramfs-uimage 3.10(VST.1)C10 | \ - iodata-mstc-header + KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \ + custom-initramfs-uimage 3.10(VST.1)C10 | iodata-mstc-header DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e wpad-openssl endef TARGET_DEVICES += iodata_wn-ax2033gr @@ -428,8 +428,8 @@ define Device/iodata_wn-dx1167r $(Device/iodata_nand) UIMAGE_MAGIC := 0x434f4d43 DEVICE_MODEL := WN-DX1167R - KERNEL_INITRAMFS := $(KERNEL_DTB) | custom-initramfs-uimage 3.10(XIK.1)b10 | \ - iodata-mstc-header + KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \ + custom-initramfs-uimage 3.10(XIK.1)b10 | iodata-mstc-header DEVICE_PACKAGES := kmod-mt7615e wpad-openssl endef TARGET_DEVICES += iodata_wn-dx1167r