-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
ramips: add support for Creality Wifi Box v1 #13150
base: main
Are you sure you want to change the base?
Conversation
This is the same as, PR #3802, what is the problem? why is still not merged? |
48a7a76
to
e6cf182
Compare
help needed |
You can change it to And if this work wasn't done by you, please don't change the original author. You can clone the original repo and add your changes and then add your |
de8e1e0
to
8a45e89
Compare
Okay I think its ready :) |
The Creality WB-01 (unhelpfully referred to interchangably as the "Creality Wifi Box" or simply the "Creality Box") is a device intended to interface Creality brand 3D printers to a cloud service. Specifications: SoC: MediaTek MT7688AN @ 580 MHz Flash: BoyaMicro BY25Q128AS (16 MiB, SPI NOR) This flash is not supported currently so I wrote a patch for it. RAM: 128 MiB DDR2 (Winbond W971GG6SB-25) Peripheral: Genesys Logic GL850G 2 port USB 2.0 hub I/O: 1x 10/100 Ethernet port, microSD SD-XC Class 10 slot, 4x LEDs, 2x USB 2.0 ports, micro USB input (for power only), reset button FCC ID: 2AXH6CREALITY-BOX UART: test pads: (square on silkscreen) 3V3, TX, RX, GND LEDs: 40 red - microSD presence (OpenWrt has no function for this I think) 42 green - "Cloud service or network configuration indicator" 43 blue - Ethernet 44 yellow - Wi-Fi Reset button = 38 SD presence switch = 23 MAC addresses: factory 0x28 wlan and label MAC factory 0x04 is identical but unused. factory 0x2e eth0? there is a mac here, but TODO: check if it is used Stock firmware /proc/mtd dev: size erasesize name mtd0: 01000000 00010000 "ALL" mtd1: 00030000 00010000 "Bootloader" mtd2: 00010000 00010000 "Config" mtd3: 00010000 00010000 "Factory" mtd4: 000d0000 00010000 "Kernel" mtd5: 00ee0000 00010000 "RootFS" Flashing: Rename whatever-cxsw_update.tar.bz2 to cxsw_update.tar.bz2 Copy it to the root of a FAT32 formatted microSD card. Turn on the device, wait for it to start, then insert the card. The stock firmware reads the install.sh script from this archive, the build script I added creates one that works in a similar way. Web firmware update didn't work in my testing. You can use telnet on stock to flash without SD among other things: connect to the device through ethernet (or the wireless AP) go to http://10.10.10.254/adm/system_command.shtml login as admin:admin type killall telnetd to kill the telnetd with a login type telnetd -l /bin/ash to make a root telnet. There is also a U-Boot accessible via the UART if you wish to use TFTP through that. More information can be found in https://github.com/chepo92/OpenWrt And https://github.com/figgyc/openwrt/tree/wb01 Co-authored-by: George Brooke <figgyc@figgyc.uk> Co-authored-by: Axel Sepulveda <ansepulveda@uc.cl> Signed-off-by: Axel Sepulveda <ansepulveda@uc.cl>
Ready to merge |
What about these two statements in the commit message: |
The Creality WB-01 (unhelpfully referred to interchangably as the
"Creality Wifi Box" or simply the "Creality Box") is a device intended
to interface Creality brand 3D printers to a cloud service.
Specifications:
This flash is not supported currently so I wrote a patch for it.
2x USB 2.0 ports, micro USB input (for power only), reset button
LEDs:
40 red - microSD presence (OpenWrt has no function for this I think)
42 green - "Cloud service or network configuration indicator"
43 blue - Ethernet
44 yellow - Wi-Fi
Reset button = 38
SD presence switch = 23
MAC addresses:
factory 0x28 wlan and label MAC
factory 0x04 is identical but unused.
factory 0x2e eth0? there is a mac here, but TODO: check if it is used
Stock firmware /proc/mtd
dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 000d0000 00010000 "Kernel"
mtd5: 00ee0000 00010000 "RootFS"
Flashing:
The stock firmware reads the install.sh script from this archive, the
build script I added creates one that works in a similar way.
Web firmware update didn't work in my testing.
You can use telnet on stock to flash without SD among other things:
There is also a U-Boot accessible via the UART if you wish to use TFTP
through that.
Stock firmware files can be downloaded from links in this JSON file:
https://file2-cdn.creality.com/model/cfg/android_setting.cg
Author: George Brooke figgyc@figgyc.uk
Signed-off-by: George Brooke figgyc@figgyc.uk