Repository navigation
gk7201v200_lite_xm-7201v2-02m10-sp2308-rtl8733bu-16mb: add the XM 7201V2_02M10 board - #267
Conversation
…1V2_02M10 board XM72010200 (GK7201V200) board with an SP2308 sensor (sold as OS02M10), RTL8733BU USB Wi-Fi and 16 MB NOR, sold as JN-107AR-D-WIFI (#248). A copy of gk7201v200_lite_xm-7205-rtl8733bu-16mb, the same SoC, Wi-Fi and flash: - sensor sp2308 with /etc/sensors/sp2308_i2c_1080p.ini, which firmware ships for this SoC since OpenIPC/firmware#2864; - Wi-Fi through the sibling's rtl8733bu-gk7201v200-xm profile, GPIO9 low then the driver built from source, as confirmed on this board; - S71irmux: pad 0x120c0014 to 0x1e02 (GPIO13) after S70vendor, since xm_sysconfig leaves it as JTAG_TCK, with GPIO13 and GPIO15 held low; - IR-cut on GPIO15 (night) and GPIO13 (day), day and night from the picture (the IR LEDs follow the board's own light sensor); - microphone on at 8 kHz A-law, speaker output off. The IR-cut pins and mux, Wi-Fi power and microphone were verified by two owners on three units of this board running their own builds; this profile itself has not run on one yet.
PR Summary by QodoAdd XM 7201V2_02M10 SP2308 camera profile
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
Review of #267. S95wifi-tune came with the copy of the 7205 sibling: generic RTL8733BU tuning (Turbo-EDCA off, WEXT power management off), nothing in it about this board, and nobody on this board reported needing it -- the owners' Wi-Fi ran without it. The driver's power saving is already off from /etc/wireless/usb (rtw_power_mgnt=0 rtw_ips_mode=0), so the overlay keeps only what this board needs.
|
Response to the Qodo review: |
Adds a profile for the XM72010200 board from #248. It's a GK7201V200 board with an SP2308 sensor (sold as OS02M10), RTL8733BU USB Wi-Fi and 16 MB NOR. The PCB silkscreen reads
7201V2_02M10_1.0, and the camera is sold as JN-107AR-D-WIFI.It is copied from
gk7201v200_lite_xm-7205-rtl8733bu-16mb, which has the same SoC, Wi-Fi and flash. What differs:fw_setenv sensor sp2308with/etc/sensors/sp2308_i2c_1080p.ini. Firmware has shipped that file for this SoC since gk7201v200: SP2308 sensor (OS02M10, chip ID 0x5302) firmware#2864.rtl8733bu-gk7201v200-xmprofile, which pulls GPIO9 low and then loads the driver built from source. GPIO9 was confirmed active-low on this board. The sibling'sS95wifi-tunescript is not copied: it's generic RTL8733BU tuning, nobody on this board reported needing it, and the driver's power saving is already off from/etc/wireless/usb.S71irmux): pad register0x120c0014defaults to0x1e00(JTAG_TCK), and the vendorxm_sysconfigmodule leaves it that way. Value0x1e02turns the pad into GPIO13, the day coil. The script runs after S70vendor, the same point at which the stock firmware writes it. GPIO13 and GPIO15 are held low first, so neither coil is driven while the pad changes function.muxes.shwon't do here: S30customizer runs it before the vendor modules load.irCutPin1 15(night) andirCutPin2 13(day). That's the order owners verified by ear on three units. The IR LEDs are switched by the board's own light sensor, and no SoC pin reads that sensor, so day and night are decided from the picture (lightMonitor,colorToGray).Testing. Two owners verified the IR-cut pins and pad value, GPIO9 Wi-Fi power and the microphone on three units of this board. They were running their own builds, not this profile. The automatic day/night switching and the profile image itself have not run on a camera yet.
ci-matrix.py --self-testpasses.