From 43a1ed927b34403aab9a22016961d900104f07d9 Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Mon, 12 Dec 2022 23:05:23 +0100 Subject: Replace the preboot uboot variable to unlock the stick with the correct one from the manufacturer (#43) * Replace the preboot uboot variable to unlock the stick with the correct one from the manufacturer --- _ont/ont-fs-com-gpon-onu-stick-with-mac.md | 2 +- _ont/ont-huawei-ma5671a-root.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md index 8784290..d4c97d0 100644 --- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md +++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md @@ -50,7 +50,7 @@ layout: default ```sh fw_setenv bootdelay 5 fw_setenv asc0 0 -fw_setenv preboot "gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3;gpio set 109;gpio set 110;gpio clear 423;gpio clear 422;gpio clear 325;gpio clear 402;gpio clear 424" +fw_setenv preboot "gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108" ``` If you haven't done this and the stick doesn't work due to your changes you can follow the [Huawei MA5671A unlock guide](/ont-huawei-ma5671a-root) diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md index 0812c99..88bc6a7 100644 --- a/_ont/ont-huawei-ma5671a-root.md +++ b/_ont/ont-huawei-ma5671a-root.md @@ -66,7 +66,7 @@ try: time.sleep(1) print('[+] Transfer command sequence 4') ser.write( - 'setenv preboot "gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3;gpio set 109;gpio set 110;gpio clear 423;gpio clear 422;gpio clear 325;gpio clear 402;gpio clear 424"\n'.encode()) + 'gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode()) time.sleep(1) print('[+] Transfer command sequence 5') ser.write('saveenv\n'.encode()) -- cgit v1.2.3