Comments (12)
All the problems turned out to be due to the stock u-boot 2016. Because of it, new versions were not installed. Thanks Alx for the help in this question. The installation script does not flash a new u-boot. Possible script error.
I install a new u-boot manually according to the instructions
https://github.com/openlumi/openwrt/releases/tag/v21.02.0-20210902
After that, everything is installed.
thanks for the help @Alx2000y, @devbis, @G1K
from openlumi.github.io.
Here I was wrong! The new script 21.02.5 flashes u-boot, but firmware still does not work. There is already a problem not in u-boot. In any case, in manual mode, according to the instructions above, everything is set. True, in my particular case, the firmware did not have time to load and reboot by WDT. Therefore, I did for myself a dbt file with a disabled WDT. I'll leave the converted files here for those who understand what to do with them
openlumi-21.02.5-imx6-imx6ull-xiaomi-dgnwg05lm_nowd.zip
openlumi-22.03.2-imx-cortexa7-imx6ull-xiaomi-dgnwg05lm_nowd.zip
from openlumi.github.io.
You may try to flash the system with replacing DTB with the same but with disabled watchdog (for 21 or higher). It helped in several similar cases. This one is for Aqara:
imx6ull-aqara-zhwg11lm.dtb.zip
from openlumi.github.io.
This is the firmware log from working Mi stoc to OpenWTR 19.07.7 via mfgtools. After OpenWRT start, cyclic loading
Install OWRT21 - boot after install
stoc_mfgtools-19.txt
from openlumi.github.io.
Try to install firmware by UART via ZOC terminal. Write all partitions and reboot. And I have boot loop.
When write in log Reset cause: WDOG
Start after UART firmware log
OWRT21-UART-ZOC-start-loop.txt
from openlumi.github.io.
Now I'm testing firmware OpenWRT 22.03.2 on Xiaomi Gateway DGNWG05LM from here https://openlumi.github.io/releases/22.03.2/targets/imx/cortexa7/
Only dtb took my 22.03.2without WDT, the one that is fixed above.
I will post my test results here. But remember that I have WDT disabled and my particular case may differ from yours.
Installing packages mc, nano, htop from luci - no problem
- lumimqtt - install and works without problems. Generally satisfied
- zigbee2MQTT seems to work. So far I have installed the latest Zigate firmware on 115200 (https://github.com/openlumi/ZiGate/releases/tag/60a8--20220808-1857). I took a couple of test Aqara vibration sensors (DJT11LM) - they seem to connected and work. Cooler than in Mi! While there is nothing more to check with
- MPD does not want to work. I start with HA radio, I see incoming traffic on luci, but there is no sound! It feels like there is no sound. Periodically I do not see MPD in HA! Didn't understand. On version 19 it worked immediately and the radio started
- ble2mqtt doesn't work. At the same time, some mqtt sends from the devices, but there is no data from the sensors. Issue created on Github.(devbis/ble2mqtt#47) While turned off
- ESPruinoHab - works, sends data from the sensor. Basically functional! But devices in HA Discovery are registered very primitively! There is no firmware, no model, no device manufacturer. There is nothing on the device, but there is data from the sensors!
- Put Russian on luci - somehow more familiar
What does not work:
reboot, poweroff do not work correctly! The system goes to Halt. The diodes not turned off! If with poweroff - okay, but you canβt see when the device can be turned off, then the reboot just hangs and you need to chop off the power!
Didn't check network reset/hard reset - still ahead!
The wires are soldered off! The device is assembled. As I play enough - I will reset and put only what I will use
from openlumi.github.io.
I managed to start MPD on 22.03.2
Remove the mpd-full
package if necessary. Now download from version 21.02.5:
https://downloads.openwrt.org/releases/21.02.5/packages/arm_cortex-a7_neon-vfpv4/packages/libnpupnp_4.1.1-1_arm_cortex-a7_neon-vfpv4.ipk
https://downloads.openwrt.org/releases/21.02.5/packages/arm_cortex-a7_neon-vfpv4/packages/mpd-full_0.21.26-1_arm_cortex-a7_neon-vfpv4.ipk
Now we install libnpupnp
first, then mpd-full
. I installed in luci via "Upload package"
Check the settings, restart the service. Working
PS
I use a Home assistant
.
After rebooting the gateway, the Home assistant does not immediately find the MPD. Appears after about 3-5 minutes. Although the port on the gateway is open for connection. Didn't understand why
from openlumi.github.io.
Checked the network settings reset on 22.03.2
I hold the button for 10-12 seconds, release it - blinks yellow 3 times
All networks are down! 3 min passed - nothing (reboot doesn't work!)
I reboot with the power off. Loading 2-3 minutes (well, in my case) - OpenWRT
network appears
Then everything is according to the instructions. The root password remains the same as you set
Checked the factory reset on 22.03.2
I hold the button for 20-22 seconds, release it - Approximately 5-6 seconds (erases the software), blinks red 3 times
All networks are down! 3 min passed - nothing (reboot doesn't work!)
I reboot with the power off. Loading 70-80 sec (well, in my case) - OpenWRT
network appears
Then everything is according to the instructions. The root password is reset to blank!
from openlumi.github.io.
Hi @Viper7000 , I was also trying to install openwrt on my hub identical to yours and I get the same errors as you. Could you explain me better with a few more details the procedure to start open wrt on my hub? thanks
from openlumi.github.io.
You should solder USB and try flashing DTB without watchdog (Viper7000 attached it to the comment above)
Use UUU or mfgtools for it.
from openlumi.github.io.
Hello,
I'm on the same boat but, with the ZHWG11LM version.
Stock works (not interessted) and I can flash it through mfgtools.
If I try to go to OpenWrt through the OTA method it leads to system halted.
Flashing with mfgtools Openwrt 19 leads to cycle rebooting due to the watchdog.
Flashing with uuu Openwrt 21 gives the same result, the watchdog reboots the system before finishing.
One thing I noticed is that the board is identified, incorrectly, as DGNWG05LM, don't know if is related to the problem.
In the log I also can spot an error mounting rootfs, I will update later with a log.
I guess that the next step should be to use dtc to make a dtb without watchdog for the ZHWG11LM, but maybe there should be other way...
boot_openwrt_19_07_flashed_mfgtools.txt
boot_openwrt_21_02_flashed_uuu.txt
boot_stock_aqara.txt
flash_log_mfgtools_openwrt_19_07.txt
flash_log_uuu_openwrt_21_02.txt
Updated with the logs
from openlumi.github.io.
Thank you devbis, it works and can do sysupgrade with this dtb without watchdog as Viper7000 stated already.
The only downside, also mentioned, is that it doesn't reboots, but much better than the stock, so thanks again!!!
from openlumi.github.io.
Related Issues (20)
- Python build without Bluetooth support HOT 2
- Problem installing snapclient on Openwrt version 21.02 HOT 3
- I delete /etc/inittab HOT 2
- Problem after root HOT 2
- Error 255 HOT 2
- Stuck after rebooting HOT 2
- DGNWG05LM welding issue on PCB board HOT 1
- Restored Stock is Not HomeKit Compatible
- The ssh server won't start. HOT 8
- Error on rooting HOT 5
- DGNWG05LM - No wireless extensions HOT 1
- Gateway seems to crash after booting HOT 3
- wifi problem HOT 2
- there is no wifi_start.sh in the rc.local file HOT 2
- Support to ZHWG20LM HOT 1
- Wifi connection lost
- Zigbee Router Mode HOT 1
- Gateway does not connect to wi-fi after reboot
- MacOs Ventura HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openlumi.github.io.