-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moes Tuya ZigBee Gateway Support #25
Comments
Its looks very nice and 2 EFR32MG21 modules for BT and one for Zigbee so cant loading one RCP firmware on the Zigbee module and you can running BT + Zigbee and Open Thread at the same time over Ethernet :-)) Hope you can getting the root password and looking little more in the Linux tuya is using and how the hardware is configured. |
The SOC have 3 comports ttys0 = consolle and ttys1 and 2 plus one ch341 that is likely used for Zigbee module or for one extra USB console. |
Sadly for now i cant unpack\unsquashfs dumped partitions. I've tried using
So its either me dumping in a wrong way, or different unpacking way should be used. I'll attach the dump, in case anyone more experienced wishes to take a look |
the file had endianness issues, I've fixed it, it can now be extracted. @dmitriy-sqrt |
Hi, just bought the hub for experiments and was passing by this repo to see if instructions here will still apply for the hub i have.
So i have this version of a gateway:
Examples of aliexpress link:
https://www.aliexpress.com/item/4000452898540.html
https://www.aliexpress.com/item/1005003190609659.html
This is how the mobo looks like:
(its pretty different, you can note it uses RTL8197FS)
And I've started my experiments.
UPD: powering via 5V power pin gave more stability then micro usb power, with usb dumping script got stuck randomly.
ESC
on the early load steps0000000000000
. And thats pretty expected, the partitions\addresses\offsets might be differentpython dump_flash.py --serial-port /dev/ttyUSB0 --output-file rootfs.bin --start-addr 0x270000 --end-addr 0x640000
sudo unsquashfs rootfs.bin
.Default squashfs version for linux (1:4.4-1) i was using and latest one build from source (4.4 with all compression extensions i could enable) gets me a
Also, the squashfs-tools-ng gets me a
rootfs.bin: reading super block: wrong magic value in super bloc
For now i'm thinking that dumping could go wrong and i have a corrupted img.
13. ...
14. I'll try to share if will be able to gain more progress
Thanks again for the instructions & scripts
The text was updated successfully, but these errors were encountered: