From 8dcb27b6381ff040e0527bf826ab38569f768544 Mon Sep 17 00:00:00 2001 From: remittor Date: Thu, 6 Feb 2025 11:36:56 +0300 Subject: [PATCH] Revert "install_fw: Fix corruption ubi1 partition (EOF flag)" This reverts commit bcab47f1e77058fbe62e4825974efb9495fb37e5. --- install_fw.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/install_fw.py b/install_fw.py index de41b7e..045b076 100644 --- a/install_fw.py +++ b/install_fw.py @@ -1080,13 +1080,6 @@ class XqFlash(): if not rc: die(f'Cannot change nvram parameters!') - if self.install_method == 400 and not self.img_stock: - if fw_img.cmd and self.install_fw_num and self.install_fw_num == 1: - print(f'WARNING: It is not safe to write initramfs image to partition "{fw_img.partname}"!') - print(f'RECOMMENDATION: Change active UBI-partition to "ubi1"') - print(f'RECOMMENDATION: Connect to device -> option 8 -> option 6 -> Enter kernel number = 1 -> reboot') - sys.exit(45) - if fw_img.cmd: self.flash_data_to_mtd('firmware', fw_img, timeout = 60)