I flashed my Wyze v3 (T31x) via wz_flash-helper with:
- latest u-boot from @gtxaspec u-boot-ingenic repo
- openipc_t31x_kernel.bin and openipc_t31x_rootfs.bin from this post
The camera was booting but the sdcard reader and the wifi wasn’t working.
I thought setting the wlanssid wlanpass via setenv and saveenv would fix the wifi issue but unfortunately didn’t.
So I decided to flash a thingino firmware build from @themactep repo.
As both the sdcard reader and the wifi both weren’t working I actually did this by quickly desoldering the GD25B128C chip and flashing the file directly via CH341A. This worked perfectly fine but the sdcard reader and wifi still weren’t working. I assumed the problems exist due to missing or wrong configured GPIO settings and since @archandanime wrote here that the "SD card detect pin" should be set to 62 the first thing I tried was:
setenv gpio_mmc_cd 62
saveenv
This didn’t fix the sdcard reader problem so I took a closer look at the serial output and saw:
GPIO: gpio_mmc_power: No GPIO env settings provided
Unfortunatly I couldn’t find any information regarding the correct setting for this or even better for all GPIOs on wyze v3. Can anyone give me some information on this?
Here is also the full boot output:
Ingenic U-Boot 2013.07-gd350136 (Feb 22 2024 - 08:08:52)
Platform: ISVP (Ingenic XBurst1)
Built profile: T31X
SOC Name: T31ZX
DRAM: 128 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 689k for U-Boot at: 83f50000
Reserving 32832k for malloc() at: 81f40000
Reserving 32 Bytes for Board Info at: 81f3ffe0
Reserving 124 Bytes for Global Data at: 81f3ff64
Reserving 256k for boot params() at: 81efff64
Stack Pointer at: 81efff48
Now running in RAM - U-Boot at: 83f50000
MMC: msc: 0
SF: Vendor: c8
SF: Detected GD25Q128
Net: HW Ethernet address: A6:C5:FA:E3:1B:83
In: serial
Out: serial
Err: serial
KEY: Reset button undefined
GPIO: Loading gpio_default
GPIO: 25 set to input
GPIO: 25 input pull-down disabled
GPIO: 26 set to input
GPIO: 26 input pull-up disabled
GPIO: 26 input pull-down disabled
ETH: Searching for valid PHY
ETH: Error: Invalid PHY configuration.
ETH: PHY not found!
GPIO: gpio_default_net: No GPIO env settings provided
GPIO: gpio_mmc_power: No GPIO env settings provided
GPIO: Loading gpio_ircut
GPIO: 52 set to input
GPIO: 53 set to input
GPIO: 49 set to input
GPIO: 50 set to input
GPIO: 57 set to input
GPIO: 58 set to input
GPIO: gpio_user: No GPIO env settings provided
GPIO: gpio_motor_v: No GPIO env settings provided
GPIO: gpio_motor_h: No GPIO env settings provided
MMC: Checking for autoupdate files...
MMC: Checking for kernel image from MMC...
reading factory_t31_kernel
reading factory_t31_ZMC6tiIDQN
reading factory_ZMC6tiIDQN
MMC: Kernel file not found.
MMC: Checking for for boot / env files...
** Bad device mmc 0 **
** Bad device mmc 0 **
KEY: ###### Press Ctrl-C now to interrupt boot... loading in 3s ######
SF: Vendor: c8
SF: Detected GD25Q128
SF: probe command completed in 4ms
SQ: SquashFS found at 0x1E0000
SF: 1638400 bytes @ 0x50000 Read: OK
SF: read command completed in 528ms
###### Booting kernel from Legacy Image at 0x80600000 ######
Image Name: Linux-3.10.14__isvp_swan_1.0__-t
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1631650 Bytes = 1.6 MiB
Load Address: 80010000
Entry Point: 803821a0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...