Thanks for your reply. I used this link:
https://github.com/psolyca/Yi_4k_ROOTFS/releases/tag/v1.0
instead of this link:
This add option -o and -n to the firmware build script. -o take the number of the modified firmware -n take the number of the new firmware
github.com
It worked fine !
After I was happy to finally try to connect to my Wifi AP. I Followed your instructions on the wiki and created a wifi.conf file on the root of my sd card.
I used TextWrangler on my Mac and saved the file with following parameters: Encoding: Unicode (UTF-8) Line breaks: (LX-Unix)
Unfortunately it don't works In the Wifi menu/Wifi infos it shows SSID:FAKE so I followed the instructions you gave Jacques in this feed and tried to add AP_COUNTRY=FR because my camera settings are Language French and country France. It didn't work. I created the files: console_enable.script and save_log_enable.script. and got these logs:
Thanks in advance for your insights !
=================================================================
Call_Time: Sun May 5 12:18:22 UTC 2019
Call_Script: /usr/local/share/script/wifi_configure.sh AP_CHANNEL_5G=1 AP_SSID=YDXJ_0528995_5G AP_PASSWD=1234567890 AP_COUNTRY=FR WIFI_MAC=58:70:C6:08:12:63 WIFI_MODE=ap CHIP_TYPE=43340
=================================================================
SET Wi-Fi Config > AP_CHANNEL_5G=1
SET Wi-Fi Config > AP_SSID=YDXJ_0528995_5G
SET Wi-Fi Config > AP_PASSWD=1234567890
SET Wi-Fi Config > AP_COUNTRY=FR
SET Wi-Fi Config > WIFI_MAC=58:70:C6:08:12:63
SET Wi-Fi Config > WIFI_MODE=ap
SET Wi-Fi Config > CHIP_TYPE=43340
----------------------------call result ok-----------------------
=================================================================
Call_Time: Sun May 5 12:18:23 UTC 2019
Call_Script: /usr/local/share/script/wifi_xy_restart.sh
=================================================================
stop Wi-Fi ...
killall hostapd dnsmasq udhcpc wpa_supplicant wpa_cli wpa_event.sh
t gpio 124 sw out0
start Wi-Fi from system ...
Load wifi.conf from SDCard ...
t gpio 124 sw out0
t gpio 124 sw out1
load_mod > MAC = 58:70:C6:08:12:63 CHIP = 43340
wlan0 Link encap:Ethernet HWaddr E0:76
0:E1:AE:35
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Found WIFI interface!
AP_SSID=YDXJ_0528995_5G
CHANNEL_INIT >> AP_COUNTRY = FR AP_CHANNEL = 0 AP_CHANNEL_5G = 1
open DJ 5G
rval=0
restart Wi-Fi finished ...
----------------------------call result ok-----------------------
=================================================================
Call_Time: Sun May 5 12:18:43 UTC 2019
Call_Script: /usr/local/share/script/wifi_configure.sh AP_CHANNEL_5G=1 AP_SSID=YDXJ_0528995_5G AP_PASSWD=1234567890 AP_COUNTRY=FR WIFI_MAC=58:70:C6:08:12:63 WIFI_MODE=sta CHIP_TYPE=43340
=================================================================
SET Wi-Fi Config > AP_CHANNEL_5G=1
SET Wi-Fi Config > AP_SSID=YDXJ_0528995_5G
SET Wi-Fi Config > AP_PASSWD=1234567890
SET Wi-Fi Config > AP_COUNTRY=FR
SET Wi-Fi Config > WIFI_MAC=58:70:C6:08:12:63
SET Wi-Fi Config > WIFI_MODE=sta
SET Wi-Fi Config > CHIP_TYPE=43340
----------------------------call result ok-----------------------
=================================================================
Call_Time: Sun May 5 12:18:43 UTC 2019
Call_Script: /usr/local/share/script/wifi_xc_restart.sh ctype=1 dscantime=0 drestart=0
=================================================================
stop Wi-Fi ...
OK
killall hostapd dnsmasq udhcpc wpa_supplicant wpa_cli wpa_event.sh
t gpio 124 sw out0
start Wi-Fi from system ...
Load wifi.conf from SDCard ...
t gpio 124 sw out0
t gpio 124 sw out1
load_mod > MAC = 58:70:C6:08:12:63 CHIP = 43340
wlan0 Link encap:Ethernet HWaddr E0:76
0:E1:AE:35
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Found WIFI interface!
FR
Selected interface 'wlan0'
OK etc.. see attachment for all the complete logs